Home | History | Annotate | Download | only in ecdh

Lines Matching refs:curve

5  * The Elliptic Curve Public-Key Crypto Library (ECC Code) included
473 # define test_ecdh_kat(bio, curve, bits) \
474 ecdh_kat(bio, curve, NID_brainpoolP##bits##r1, \
503 (NID_X9_62_prime192v1, "NIST Prime-Curve P-192", ctx, out))
505 if (!test_ecdh_curve(NID_secp224r1, "NIST Prime-Curve P-224", ctx, out))
508 (NID_X9_62_prime256v1, "NIST Prime-Curve P-256", ctx, out))
510 if (!test_ecdh_curve(NID_secp384r1, "NIST Prime-Curve P-384", ctx, out))
512 if (!test_ecdh_curve(NID_secp521r1, "NIST Prime-Curve P-521", ctx, out))
516 if (!test_ecdh_curve(NID_sect163k1, "NIST Binary-Curve K-163", ctx, out))
518 if (!test_ecdh_curve(NID_sect163r2, "NIST Binary-Curve B-163", ctx, out))
520 if (!test_ecdh_curve(NID_sect233k1, "NIST Binary-Curve K-233", ctx, out))
522 if (!test_ecdh_curve(NID_sect233r1, "NIST Binary-Curve B-233", ctx, out))
524 if (!test_ecdh_curve(NID_sect283k1, "NIST Binary-Curve K-283", ctx, out))
526 if (!test_ecdh_curve(NID_sect283r1, "NIST Binary-Curve B-283", ctx, out))
528 if (!test_ecdh_curve(NID_sect409k1, "NIST Binary-Curve K-409", ctx, out))
530 if (!test_ecdh_curve(NID_sect409r1, "NIST Binary-Curve B-409", ctx, out))
532 if (!test_ecdh_curve(NID_sect571k1, "NIST Binary-Curve K-571", ctx, out))
534 if (!test_ecdh_curve(NID_sect571r1, "NIST Binary-Curve B-571", ctx, out))
537 if (!test_ecdh_kat(out, "Brainpool Prime-Curve brainpoolP256r1", 256))
539 if (!test_ecdh_kat(out, "Brainpool Prime-Curve brainpoolP384r1", 384))
541 if (!test_ecdh_kat(out, "Brainpool Prime-Curve brainpoolP512r1", 512))