Lines Matching refs:ecdsa
181 #include <openssl/ecdsa.h>
574 EC_KEY *ecdsa[EC_NUM];
614 for (i=0; i<EC_NUM; i++) ecdsa[i] = NULL;
944 else if (strcmp(*argv,"ecdsa") == 0)
1062 BIO_printf(bio_err,"ecdsa\n");
2144 ecdsa[j] = EC_KEY_new_by_curve_name(test_curves[j]);
2145 if (ecdsa[j] == NULL)
2154 EC_KEY_precompute_mult(ecdsa[j], NULL);
2157 EC_KEY_generate_key(ecdsa[j]);
2159 &ecdsasiglen, ecdsa[j]);
2168 pkey_print_message("sign","ecdsa",
2179 ecdsa[j]);
2199 ecdsasiglen, ecdsa[j]);
2208 pkey_print_message("verify","ecdsa",
2215 ret=ECDSA_verify(0, buf, 20, ecdsasig, ecdsasiglen, ecdsa[j]);
2459 "%4u bit ecdsa (%s) %8.4fs %8.4fs %8.1f %8.1f\n",
2510 if (ecdsa[i] != NULL)
2511 EC_KEY_free(ecdsa[i]);