Searched refs:hashLength (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/ |
H A D | issue_credential.c | 55 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-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/ |
H A D | verifier_transaction.c | 151 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()
|