Searched refs:digest_len (Results 1 – 6 of 6) sorted by relevance
/external/openssh/ |
D | dns.c | 78 u_char **digest, u_int *digest_len, Key *key) in dns_read_key() argument 96 *digest = key_fingerprint_raw(key, SSH_FP_SHA1, digest_len); in dns_read_key() 103 *digest_len = 0; in dns_read_key() 115 u_char **digest, u_int *digest_len, u_char *rdata, int rdata_len) in dns_read_rdata() argument 125 *digest_len = rdata_len - 2; in dns_read_rdata() 127 if (*digest_len > 0) { in dns_read_rdata() 128 *digest = (u_char *) xmalloc(*digest_len); in dns_read_rdata() 129 memcpy(*digest, rdata + 2, *digest_len); in dns_read_rdata()
|
D | schnorr.c | 69 u_int digest_len; in schnorr_hash() local 92 &digest, &digest_len) != 0) { in schnorr_hash() 96 if (BN_bin2bn(digest, (int)digest_len, h) == NULL) { in schnorr_hash() 104 bzero(digest, digest_len); in schnorr_hash() 106 digest_len = 0; in schnorr_hash() 456 u_int digest_len; in hash_buffer() local 470 if (EVP_DigestFinal_ex(&evp_md_ctx, digest, &digest_len) != 1) { in hash_buffer() 474 *digestp = xmalloc(digest_len); in hash_buffer() 475 *lenp = digest_len; in hash_buffer() 481 digest_len = 0; in hash_buffer()
|
D | auth2-jpake.c | 143 u_int digest_len; in derive_rawsalt() local 174 &digest, &digest_len) != 0) in derive_rawsalt() 177 if (len > digest_len) in derive_rawsalt() 179 __func__, len, digest_len); in derive_rawsalt() 181 bzero(digest, digest_len); in derive_rawsalt()
|
D | pkcs11.h | 865 unsigned long *digest_len)); 874 unsigned long *digest_len));
|
/external/chromium/crypto/ |
D | encryptor_nss.cc | 74 unsigned int digest_len; in Encrypt() local 77 &digest_len, in Encrypt() 83 op_len + digest_len); in Encrypt() 112 unsigned int digest_len; in Decrypt() local 115 &digest_len, in Decrypt() 121 op_len + digest_len); in Decrypt()
|
/external/chromium/net/base/ |
D | dnssec_chain_verifier.cc | 521 unsigned digest_len; in DigestKey() local 528 digest_len = base::SHA1_LENGTH; in DigestKey() 532 digest_len = sizeof(temp2); in DigestKey() 537 uint8* output = static_cast<uint8*>(malloc(4 + digest_len)); in DigestKey() 543 memcpy(output + 4, digest, digest_len); in DigestKey() 544 *out = base::StringPiece(reinterpret_cast<char*>(output), 4 + digest_len); in DigestKey()
|