/freebsd/crypto/openssl/test/ |
H A D | sm2_internal_test.c | 92 if (!TEST_true(BN_hex2bn(&p, p_hex)) in create_EC_group() 93 || !TEST_true(BN_hex2bn(&a, a_hex)) in create_EC_group() 94 || !TEST_true(BN_hex2bn(&b, b_hex))) in create_EC_group() 105 if (!TEST_true(BN_hex2bn(&g_x, x_hex)) in create_EC_group() 106 || !TEST_true(BN_hex2bn(&g_y, y_hex)) in create_EC_group() 111 if (!TEST_true(BN_hex2bn(&order, order_hex)) in create_EC_group() 112 || !TEST_true(BN_hex2bn(&cof, cof_hex)) in create_EC_group() 153 || !TEST_true(BN_hex2bn(&priv, privkey_hex))) in test_sm2_crypt() 322 if (!TEST_true(BN_hex2bn(&priv, privkey_hex))) in test_sm2_sign() 350 if (!TEST_true(BN_hex2bn( in test_sm2_sign() [all...] |
H A D | ectest.c | 178 || !TEST_true(BN_hex2bn(&p, "17")) in prime_field_tests() 179 || !TEST_true(BN_hex2bn(&a, "1")) in prime_field_tests() 180 || !TEST_true(BN_hex2bn(&b, "1")) in prime_field_tests() 204 || !TEST_true(BN_hex2bn(&x, "D")) in prime_field_tests() 280 || !TEST_true(BN_hex2bn(&p, "FFFFFFFF" in prime_field_tests() 283 || !TEST_true(BN_hex2bn(&a, "FFFFFFFF" in prime_field_tests() 285 || !TEST_true(BN_hex2bn(&b, "1C97BEFC" in prime_field_tests() 288 || !TEST_true(BN_hex2bn(&x, "4A96B568" in prime_field_tests() 290 || !TEST_true(BN_hex2bn(&y, "23a62855" in prime_field_tests() 301 || !TEST_true(BN_hex2bn(&z, "0100000000" in prime_field_tests() [all …]
|
H A D | srptest.c | 125 if (!TEST_true(BN_hex2bn(&tmp, hexbn))) in check_bn() 154 BN_hex2bn(&s, "BEB25379D1A8581EB5A727673A2441EE"); in run_srp_kat() 171 BN_hex2bn(&b, "E487CB59D31AC550471E81F00F6928E01DDA08E974A004F49E61F5D1" in run_srp_kat() 190 BN_hex2bn(&a, "60975527035CF2AD1989806F0407210BC81EDC04E2762A56AFD529DD" in run_srp_kat()
|
H A D | test_test.c | 424 r = TEST_true(BN_hex2bn(&a, as)) in test_long_bignum() 425 && TEST_true(BN_hex2bn(&b, bs)) in test_long_bignum() 426 && TEST_true(BN_hex2bn(&c, cs)) in test_long_bignum() 427 && TEST_true(BN_hex2bn(&d, ds)) in test_long_bignum() 527 && !TEST_true(BN_hex2bn(&b, bn_output_tests[n]))) in test_bn_output()
|
H A D | ec_internal_test.c | 232 if (!TEST_int_gt(BN_hex2bn(&x1, x1str), 0) in underflow_test() 233 || !TEST_int_gt(BN_hex2bn(&y1, p521m1), 0) in underflow_test() 234 || !TEST_int_gt(BN_hex2bn(&z1, p521m1), 0) in underflow_test() 235 || !TEST_int_gt(BN_hex2bn(&k, "02"), 0) in underflow_test()
|
H A D | ecdsatest.c | 46 || !TEST_true(BN_hex2bn(&tmp, numbers[fbytes_counter])) in fbytes() 115 || !TEST_true(BN_hex2bn(&r, r_in)) in x9_62_tests() 116 || !TEST_true(BN_hex2bn(&s, s_in))) in x9_62_tests()
|
H A D | params_test.c | 108 if (!TEST_true(BN_hex2bn(&obj->p3, p3_init))) in init_object() 337 if (!BN_hex2bn(&app_p3, app_p3_init) in init_app_variables() 448 || !TEST_true(BN_hex2bn(&verify_p3, p3_init))) { in test_case_variant() 505 if (!TEST_true(BN_hex2bn(&verify_p3, app_p3_init))) { in test_case_variant()
|
H A D | bntest.c | 71 int ret = BN_hex2bn(out, bigstring); in parse_bigBN() 83 return BN_hex2bn(out, in); in parseBN() 484 if (!(TEST_true(BN_hex2bn(&a, in test_modexp_mont5() 489 && TEST_true(BN_hex2bn(&b, in test_modexp_mont5() 494 && TEST_true(BN_hex2bn(&n, in test_modexp_mont5() 567 if (!(TEST_true(BN_hex2bn(&a, in test_modexp_mont5() 571 && TEST_true(BN_hex2bn(&n, in test_modexp_mont5() 579 if (!(TEST_true(BN_hex2bn(&a, in test_modexp_mont5() 584 && TEST_true(BN_hex2bn(&b, in test_modexp_mont5() 589 && TEST_true(BN_hex2bn(&n, in test_modexp_mont5() [all …]
|
H A D | ecstresstest.c | 89 if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult)) in test_curve()
|
H A D | ssl_old_test.c | 2948 ret = BN_hex2bn(&bn, pskkey); in psk_key2bn()
|
/freebsd/usr.bin/factor/ |
H A D | factor.c | 93 static int BN_hex2bn(BIGNUM **, const char *); 337 BN_hex2bn(BIGNUM **a, const char *str) in BN_hex2bn() function 393 n = BN_hex2bn(val, ++p); in convert_str2bn() 395 n = is_hex_str(p) ? BN_hex2bn(val, p) : BN_dec2bn(val, p); in convert_str2bn()
|
/freebsd/crypto/openssh/ |
H A D | dh.c | 132 if (BN_hex2bn(&dhg->g, gen) == 0) { in parse_prime() 136 if (BN_hex2bn(&dhg->p, prime) == 0) { in parse_prime() 320 if (BN_hex2bn(&dh_p, modulus) == 0 || in dh_new_group_asc() 321 BN_hex2bn(&dh_g, gen) == 0) in dh_new_group_asc()
|
H A D | moduli.c | 669 if (BN_hex2bn(&a, cp) == 0) in prime_test() 686 if (BN_hex2bn(&a, cp) == 0) in prime_test()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_bn2bin.pod | 7 BN_bn2nativepad, BN_native2bn, BN_bn2hex, BN_bn2dec, BN_hex2bn, BN_dec2bn, 26 int BN_hex2bn(BIGNUM **a, const char *str); 63 BN_hex2bn() takes as many characters as possible from the string B<str>, 98 on error. BN_hex2bn() and BN_dec2bn() return the number of characters
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_conv.c | 126 int BN_hex2bn(BIGNUM **bn, const char *a) in BN_hex2bn() function 281 if (!BN_hex2bn(bn, p + 2)) in BN_asc2bn()
|
/freebsd/crypto/openssl/apps/ |
H A D | prime.c | 123 r = BN_hex2bn(&bn, argv[0]); in prime_main()
|
H A D | ca.c | 1238 if (!BN_hex2bn(&serial, pp[DB_serial])) in ca_main()
|
/freebsd/crypto/openssh/regress/unittests/sshkey/ |
H A D | common.c | 81 ASSERT_INT_NE(BN_hex2bn(&ret, (const char *)sshbuf_ptr(buf)), 0); in load_bignum()
|
/freebsd/crypto/openssl/crypto/ |
H A D | params_from_text.c | 53 r = BN_hex2bn(tmpbn, value); in prepare_from_text()
|
/freebsd/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf_getput_crypto.c | 77 ASSERT_INT_GT(BN_hex2bn(&bnn, b), 0); \ in sshbuf_getput_crypto_tests()
|
/freebsd/lib/libmp/ |
H A D | mpasbn.c | 620 BN_ERRCHECK(msg, BN_hex2bn(&mp->bn, s)); in _xtom()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | bn.h | 340 int BN_hex2bn(BIGNUM **a, const char *str);
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_utl.c | 225 ret = BN_hex2bn(&bn, value); in s2i_ASN1_INTEGER()
|
/freebsd/crypto/openssl/ |
H A D | NEWS.md | 569 * Fix BN_hex2bn/BN_dec2bn NULL pointer deref/heap corruption 670 * Fix BN_hex2bn/BN_dec2bn NULL pointer deref/heap corruption
|
/freebsd/secure/lib/libcrypto/ |
H A D | Version.map | 506 BN_hex2bn;
|