Home
last modified time | relevance | path

Searched refs:hashLength (Results 1 – 4 of 4) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/
H A Dissue_credential.c55 UINT32 digest_n0Length, contextHashLength, hashLength, daaCount; in verify_authentificity() local
133 hashLength = EVP_MD_CTX_size(mdctx); in verify_authentificity()
134 hash = (BYTE *)malloc( hashLength); in verify_authentificity()
136 LogError("malloc of %d bytes failed", hashLength); in verify_authentificity()
141 if( credentialRequest->authenticationProofLength != hashLength || in verify_authentificity()
142 memcmp( credentialRequest->authenticationProof, hash, hashLength) != 0) { in verify_authentificity()
149 hashLength, in verify_authentificity()
150 dump_byte_array( hashLength, hash)); in verify_authentificity()
155 dump_byte_array( hashLength, hash)); in verify_authentificity()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/
H A Dverifier_transaction.c151 int hashLength = bi_nbin_size( issuer_pk->gamma) + sizeof(int); in compute_parameterized_gamma() local
157 hash = (BYTE *)malloc( hashLength); in compute_parameterized_gamma()
159 LogError("malloc of %d bytes failed", hashLength); in compute_parameterized_gamma()
167 bytes = compute_bytes( hashLength, hash, in compute_parameterized_gamma()
176 LogError("malloc of %d bytes failed", hashLength); in compute_parameterized_gamma()
/netbsd/external/apache2/mDNSResponder/dist/mDNSCore/
H A DDNSCommon.c359 if (hashLength) in NSEC3Parse()
360 *hashLength = hlen; in NSEC3Parse()
471 int hashLength, bitmaplen, i; in GetRRDisplayString_rdb() local
493 hashLength = (int)*p++; in GetRRDisplayString_rdb()
495 length += baseEncode(buffer + length, RemSpc, p, hashLength, ENC_BASE32); in GetRRDisplayString_rdb()
500 p += hashLength; in GetRRDisplayString_rdb()
3275 int hashLength, bitmaplen; in SetRData() local
3300 hashLength = (int)*p++; in SetRData()
3301 if (!hashLength) in SetRData()
3306 p += hashLength; in SetRData()
[all …]
H A DDNSCommon.h232 extern void NSEC3Parse(const ResourceRecord *const rr, mDNSu8 **salt, int *hashLength, mDNSu8 **nxt…