Searched refs:curves (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | ecparam.c | 318 EC_builtin_curve *curves = NULL; local 324 curves = OPENSSL_malloc((int)(sizeof(EC_builtin_curve) * crv_len)); 326 if (curves == NULL) 329 if (!EC_get_builtin_curves(curves, crv_len)) { 330 OPENSSL_free(curves); 337 comment = curves[n].comment; 338 sname = OBJ_nid2sn(curves[n].nid); 348 OPENSSL_free(curves); 358 * are the same as the curves prime192v1 and prime256v1 defined in
|
H A D | s_cb.c | 454 int i, ncurves, *curves, nid; local 459 curves = OPENSSL_malloc(ncurves * sizeof(int)); 460 if (!curves) { 461 BIO_puts(out, "Malloc error getting supported curves\n"); 464 SSL_get1_curves(s, curves); 471 nid = curves[i]; 485 OPENSSL_free(curves); 490 BIO_puts(out, "\nShared Elliptic curves: "); 943 extname = "elliptic curves";
|
/freebsd-11-stable/crypto/openssl/crypto/ecdsa/ |
H A D | ecdsatest.c | 81 puts("Elliptic curves are disabled."); 292 EC_builtin_curve *curves = NULL; local 316 "with some internal curves:\n"); 318 /* get a list of all internal curves */ 321 curves = OPENSSL_malloc(sizeof(EC_builtin_curve) * crv_len); 323 if (curves == NULL) { 328 if (!EC_get_builtin_curves(curves, crv_len)) { 329 BIO_printf(out, "unable to get internal curves\n"); 337 nid = curves[n].nid; 512 if (curves) [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ec/ |
H A D | ectest.c | 85 puts("Elliptic curves are disabled."); 1608 EC_builtin_curve *curves = NULL; local 1614 curves = OPENSSL_malloc(sizeof(EC_builtin_curve) * crv_len); 1616 if (curves == NULL) 1619 if (!EC_get_builtin_curves(curves, crv_len)) { 1620 OPENSSL_free(curves); 1624 fprintf(stdout, "testing internal curves: "); 1628 int nid = curves[n].nid; 1654 OPENSSL_free(curves); 1661 * implementations of several NIST curves wit [all...] |
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | t1_lib.c | 268 /* The client's default curves / the server's 'auto' curves. */ 272 /* Other >= 256-bit prime curves. */ 280 /* >= 256-bit binary curves. */ 293 /* Other >= 256-bit prime curves. */ 301 /* >= 256-bit binary curves. */ 310 * Remaining curves disabled by default but still permitted if set 382 /* ECC curves from RFC 4492 and RFC 7027 */ 391 /* ECC curves from RFC 4492 and RFC 7027 */ 455 * Get curves lis 531 const unsigned char *curves; local 636 tls1_set_curves(unsigned char **pext, size_t *pextlen, int *curves, size_t ncurves) argument [all...] |
H A D | ssl_locl.h | 684 * example based on supported signature algorithms or curves. 1370 int *curves, size_t ncurves);
|
Completed in 138 milliseconds