| /netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/ |
| H A D | signature.c | 167 uint8_t hashbuf[NETPGP_BUFSIZ]; in rsa_sign() local 184 if (keysize > sizeof(hashbuf)) { in rsa_sign() 193 hashbuf[0] = 0; in rsa_sign() 194 hashbuf[1] = 1; in rsa_sign() 199 hashbuf[n] = 0xff; in rsa_sign() 201 hashbuf[n++] = 0; in rsa_sign() 203 (void) memcpy(&hashbuf[n], prefix, prefixsize); in rsa_sign() 205 if ((t = hash->finish(hash, &hashbuf[n])) != expected) { in rsa_sign() 210 pgp_write(out, &hashbuf[n], 2); in rsa_sign() 218 t = pgp_rsa_private_encrypt(sigbuf, hashbuf, keysize, secrsa, pubrsa); in rsa_sign() [all …]
|
| H A D | openssl_crypto.c | 1032 pgp_dsa_sign(uint8_t *hashbuf, in pgp_dsa_sign() argument 1040 dsasig = DSA_do_sign(hashbuf, (int)hashsize, odsa); in pgp_dsa_sign() 1048 pgp_ecdsa_sign(uint8_t *hashbuf, in pgp_ecdsa_sign() argument 1056 ecdsasig = ECDSA_do_sign(hashbuf, (int)hashsize, eckey); in pgp_ecdsa_sign()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | gssapi.c | 586 gss_buffer_desc hashbuf, hash_outbuf; in gssapi_unwraphash() local 587 gss_buffer_t hash_in = &hashbuf, hash_out = &hash_outbuf; in gssapi_unwraphash() 598 hashbuf.length = ntohs(iph1->pl_hash->h.len) - sizeof(*iph1->pl_hash); in gssapi_unwraphash() 599 hashbuf.value = (char *)(iph1->pl_hash + 1); in gssapi_unwraphash() 602 hashbuf.length); in gssapi_unwraphash()
|
| /netbsd-src/usr.bin/vmstat/ |
| H A D | vmstat.c | 1925 void *hashaddr, *hashbuf, *nhashbuf, *nextaddr; in dohashstat() local 1935 hashbuf = NULL; in dohashstat() 2008 if (hashbuf == NULL || thissize > hashbufsize) { in dohashstat() 2009 if ((nhashbuf = realloc(hashbuf, thissize)) == NULL) in dohashstat() 2012 hashbuf = nhashbuf; in dohashstat() 2015 deref_kptr(hashaddr, hashbuf, thissize, in dohashstat() 2020 hashtbl_list = hashbuf; in dohashstat() 2025 hashtbl_slist = hashbuf; in dohashstat() 2030 hashtbl_tailq = hashbuf; in dohashstat()
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | nsec3.c | 890 char hashbuf[512]; in nsec3_add_nonexist_proof() local 892 (void)b32_ntop(hash, sizeof(hash), hashbuf, sizeof(hashbuf)); in nsec3_add_nonexist_proof() 916 dname_to_string(to_prove, NULL), hashbuf, reversebuf)); in nsec3_add_nonexist_proof()
|
| /netbsd-src/external/gpl3/binutils/dist/libctf/ |
| H A D | ctf-dedup.c | 572 char hashbuf[CTF_SHA1_SIZE]; in ctf_dedup_rhash_type() local 610 ctf_sha1_fini (&hash, hashbuf); in ctf_dedup_rhash_type() 612 if ((hval = intern (fp, strdup (hashbuf))) == NULL) in ctf_dedup_rhash_type() 928 ctf_sha1_fini (&hash, hashbuf); in ctf_dedup_rhash_type() 930 if ((hval = intern (fp, strdup (hashbuf))) == NULL) in ctf_dedup_rhash_type()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
| H A D | ctf-dedup.c | 572 char hashbuf[CTF_SHA1_SIZE]; in ctf_dedup_rhash_type() local 610 ctf_sha1_fini (&hash, hashbuf); in ctf_dedup_rhash_type() 612 if ((hval = intern (fp, strdup (hashbuf))) == NULL) in ctf_dedup_rhash_type() 928 ctf_sha1_fini (&hash, hashbuf); in ctf_dedup_rhash_type() 930 if ((hval = intern (fp, strdup (hashbuf))) == NULL) in ctf_dedup_rhash_type()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | zoneverify.c | 690 char hashbuf[DNS_NAME_FORMATSIZE]; in verifynsec3() local 753 dns_name_format(hashname, hashbuf, sizeof(hashbuf)); in verifynsec3() 755 namebuf, hashbuf); in verifynsec3()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | zoneverify.c | 690 char hashbuf[DNS_NAME_FORMATSIZE]; in verifynsec3() 753 dns_name_format(hashname, hashbuf, sizeof(hashbuf)); in verifynsec3() 755 namebuf, hashbuf); in verifynsec3() 689 char hashbuf[DNS_NAME_FORMATSIZE]; verifynsec3() local
|