Home
last modified time | relevance | path

Searched refs:digestlen (Results 1 – 3 of 3) sorted by relevance

/openssl/test/
H A Ddsa_no_digest_size_test.c134 int digestlen = BN_num_bytes(DSA_get0_q(dsakey)); in sign_and_verify() local
138 unsigned char *paddedData = OPENSSL_malloc(digestlen); in sign_and_verify()
148 memset(paddedData, 0, digestlen); in sign_and_verify()
149 if (len > digestlen) in sign_and_verify()
150 memcpy(paddedData, dataToSign, digestlen); in sign_and_verify()
152 memcpy(paddedData + digestlen - len, dataToSign, len); in sign_and_verify()
187 if (EVP_PKEY_verify(ctx, signature, sigLength, paddedData, digestlen) != 1) { in sign_and_verify()
198 if (DSA_verify(0, paddedData, digestlen, signature, sigLength, dsakey) != 1) { in sign_and_verify()
/openssl/apps/
H A Dcms.c302 long digestlen = 0; in cms_main() local
903 digestbin = OPENSSL_hexstr2buf(digesthex, &digestlen); in cms_main()
1133 if (!CMS_final_digest(cms, digestbin, digestlen, NULL, flags)) in cms_main()
/openssl/engines/
H A De_devcrypto.c685 int digestlen; member
954 digest_data[i].digestlen) in prepare_digest_methods()

Completed in 16 milliseconds