Lines Matching refs:ecdsa
220 #include <openssl/ecdsa.h>
715 EC_KEY *ecdsa[EC_NUM];
755 for (i=0; i<EC_NUM; i++) ecdsa[i] = NULL;
1076 else if (strcmp(*argv,"ecdsa") == 0)
1186 BIO_printf(bio_err,"ecdsa\n");
2172 ecdsa[j] = EC_KEY_new_by_curve_name(test_curves[j]);
2173 if (ecdsa[j] == NULL)
2182 EC_KEY_precompute_mult(ecdsa[j], NULL);
2185 EC_KEY_generate_key(ecdsa[j]);
2187 &ecdsasiglen, ecdsa[j]);
2196 pkey_print_message("sign","ecdsa",
2207 ecdsa[j]);
2227 ecdsasiglen, ecdsa[j]);
2236 pkey_print_message("verify","ecdsa",
2243 ret=ECDSA_verify(0, buf, 20, ecdsasig, ecdsasiglen, ecdsa[j]);
2516 "%4u bit ecdsa (%s) %8.4fs %8.4fs %8.1f %8.1f\n",
2567 if (ecdsa[i] != NULL)
2568 EC_KEY_free(ecdsa[i]);