Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Ddsa_no_digest_size_test.c133 size_t sigLength; in sign_and_verify() local
163 if (EVP_PKEY_sign(ctx, NULL, &sigLength, dataToSign, len) != 1) { in sign_and_verify()
168 if (!TEST_ptr(signature = OPENSSL_malloc(sigLength))) in sign_and_verify()
171 if (EVP_PKEY_sign(ctx, signature, &sigLength, dataToSign, len) != 1) { in sign_and_verify()
181 if (EVP_PKEY_verify(ctx, signature, sigLength, dataToSign, len) != 1) { in sign_and_verify()
187 if (EVP_PKEY_verify(ctx, signature, sigLength, paddedData, digestlen) != 1) { in sign_and_verify()
193 if (DSA_verify(0, dataToSign, len, signature, sigLength, dsakey) != 1) { in sign_and_verify()
198 if (DSA_verify(0, paddedData, digestlen, signature, sigLength, dsakey) != 1) { in sign_and_verify()