Lines Matching refs:signature
139 unsigned char *signature = NULL;
164 TEST_error("Failed to get signature length, len=%d", len);
168 if (!TEST_ptr(signature = OPENSSL_malloc(sigLength)))
171 if (EVP_PKEY_sign(ctx, signature, &sigLength, dataToSign, len) != 1) {
176 /* Check that the signature is okay via the EVP interface */
181 if (EVP_PKEY_verify(ctx, signature, sigLength, dataToSign, len) != 1) {
187 if (EVP_PKEY_verify(ctx, signature, sigLength, paddedData, digestlen) != 1) {
193 if (DSA_verify(0, dataToSign, len, signature, sigLength, dsakey) != 1) {
198 if (DSA_verify(0, paddedData, digestlen, signature, sigLength, dsakey) != 1) {
208 OPENSSL_free(signature);