Searched refs:hashLength (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/
H A Dissue_credential.c55 UINT32 digest_n0Length, contextHashLength, hashLength, daaCount; local
132 hashLength = EVP_MD_CTX_size(&mdctx);
133 hash = (BYTE *)malloc( hashLength);
135 LogError("malloc of %d bytes failed", hashLength);
140 if( credentialRequest->authenticationProofLength != hashLength ||
141 memcmp( credentialRequest->authenticationProof, hash, hashLength) != 0) {
148 hashLength,
149 dump_byte_array( hashLength, hash));
154 dump_byte_array( hashLength, hash));
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/
H A Dverifier_transaction.c150 int hashLength = bi_nbin_size( issuer_pk->gamma) + sizeof(int); local
156 hash = (BYTE *)malloc( hashLength);
158 LogError("malloc of %d bytes failed", hashLength);
166 bytes = compute_bytes( hashLength, hash,
175 LogError("malloc of %d bytes failed", hashLength);

Completed in 103 milliseconds