Lines Matching refs:signature
106 ECDSA_SIG *signature = NULL;
148 /* create the signature via ECDSA_sign_setup to avoid use of ECDSA nonces */
151 || !TEST_ptr(signature = ECDSA_do_sign_ex(digest, dgst_len,
153 /* verify the signature */
154 || !TEST_int_eq(ECDSA_do_verify(digest, dgst_len, signature, key), 1))
157 /* compare the created signature with the expected signature */
158 ECDSA_SIG_get0(signature, &sig_r, &sig_s);
174 ECDSA_SIG_free(signature);
190 * - create a signature
191 * - accept that signature
192 * - reject that signature with a different public key
193 * - reject that signature if its length is not correct
194 * - reject that signature after modifying the message
195 * - accept that signature after un-modifying the message
196 * - reject that signature after modifying the signature
197 * - accept that signature after un-modifying the signature
237 /* create a signature */
245 /* negative test, verify with wrong signature length, -1 return */
269 * Muck with the ECDSA signature. The DER encoding is one of:
274 * in that case, DER-parsing of the whole signature should fail.
283 * in that case, the signature verification should fail.
286 * in that case, the signature verification should fail.
289 * Because the ratio of DER overhead to signature bytes is small.