Home
last modified time | relevance | path

Searched refs:BN_hex2bn (Results 1 – 25 of 37) sorted by relevance

12

/third_party/openssl/test/
Dsm2_internal_test.c92 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()
321 if (!TEST_true(BN_hex2bn(&priv, privkey_hex))) in test_sm2_sign()
347 if (!TEST_true(BN_hex2bn(&r, r_hex)) in test_sm2_sign()
[all …]
Dectest.c178 || !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 …]
Dsrptest.c125 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()
Dtest_test.c424 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()
Dec_internal_test.c232 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()
Dparams_test.c107 if (!TEST_true(BN_hex2bn(&obj->p3, p3_init))) in init_object()
336 if (!BN_hex2bn(&app_p3, app_p3_init) in init_app_variables()
447 || !TEST_true(BN_hex2bn(&verify_p3, p3_init))) { in test_case_variant()
504 if (!TEST_true(BN_hex2bn(&verify_p3, app_p3_init))) { in test_case_variant()
Decdsatest.c46 || !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()
Dbntest.c71 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 …]
Decstresstest.c89 if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult)) in test_curve()
Dssl_old_test.c2944 ret = BN_hex2bn(&bn, pskkey); in psk_key2bn()
/third_party/openssl/doc/man3/
DBN_bn2bin.pod7 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
/third_party/openssl/crypto/bn/
Dbn_conv.c126 int BN_hex2bn(BIGNUM **bn, const char *a) in BN_hex2bn() function
281 if (!BN_hex2bn(bn, p + 2)) in BN_asc2bn()
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_conv.c126 int BN_hex2bn(BIGNUM **bn, const char *a) in BN_hex2bn() function
281 if (!BN_hex2bn(bn, p + 2)) in BN_asc2bn()
/third_party/openssl/apps/
Dprime.c123 r = BN_hex2bn(&bn, argv[0]); in prime_main()
/third_party/node/deps/openssl/openssl/apps/
Dprime.c123 r = BN_hex2bn(&bn, argv[0]); in prime_main()
/third_party/openssl/crypto/
Dparams_from_text.c53 r = BN_hex2bn(tmpbn, value); in prepare_from_text()
/third_party/node/deps/openssl/openssl/crypto/
Dparams_from_text.c53 r = BN_hex2bn(tmpbn, value); in prepare_from_text()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dbn.rs113 pub fn BN_hex2bn(a: *mut *mut BIGNUM, s: *const c_char) -> c_int; in BN_hex2bn() function
/third_party/ffmpeg/libavformat/
Drtmpdh.c153 #define bn_hex2bn(bn, buf, ret) ret = BN_hex2bn(&bn, buf)
/third_party/rust/crates/rust-openssl/openssl/src/
Dbn.rs973 #[corresponds(BN_hex2bn)]
979 cvt(ffi::BN_hex2bn(&mut bn, c_str.as_ptr() as *const _))?; in from_hex_str()
/third_party/openssl/ohos_lite/include/openssl/
Dbn.h311 int BN_hex2bn(BIGNUM **a, const char *str);
/third_party/openssl/include/openssl/
Dbn.h340 int BN_hex2bn(BIGNUM **a, const char *str);
/third_party/node/deps/openssl/openssl/include/openssl/
Dbn.h340 int BN_hex2bn(BIGNUM **a, const char *str);
/third_party/openssl/crypto/x509/
Dv3_utl.c225 ret = BN_hex2bn(&bn, value); in s2i_ASN1_INTEGER()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dv3_utl.c225 ret = BN_hex2bn(&bn, value); in s2i_ASN1_INTEGER()

12