Home
last modified time | relevance | path

Searched refs:BN_hex2bn (Results 1 - 25 of 26) sorted by relevance

12

/third_party/openssl/test/
H A 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( in test_sm2_sign()
[all...]
H A 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( in prime_field_tests()
[all...]
H A 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()
H A 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()
H A 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()
H A Dec_internal_test.c282 if (!TEST_int_gt(BN_hex2bn(&x1, x1str), 0) in underflow_test()
283 || !TEST_int_gt(BN_hex2bn(&y1, p521m1), 0) in underflow_test()
284 || !TEST_int_gt(BN_hex2bn(&z1, p521m1), 0) in underflow_test()
285 || !TEST_int_gt(BN_hex2bn(&k, "02"), 0) in underflow_test()
H A 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()
H A Dbntest.c66 * Parse BIGNUM from sparse hex-strings, return |BN_hex2bn| result.
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( in test_modexp_mont5()
[all...]
H A Decstresstest.c89 if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult)) in test_curve()
H A Dssl_old_test.c2944 ret = BN_hex2bn(&bn, pskkey); in psk_key2bn()
/third_party/node/deps/openssl/openssl/crypto/bn/
H A 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/crypto/bn/
H A 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/apps/
H A Dprime.c123 r = BN_hex2bn(&bn, argv[0]); in prime_main()
H A Dca.c1238 if (!BN_hex2bn(&serial, pp[DB_serial])) in ca_main()
/third_party/openssl/apps/
H A Dprime.c123 r = BN_hex2bn(&bn, argv[0]); in prime_main()
/third_party/openssl/crypto/
H A Dparams_from_text.c53 r = BN_hex2bn(tmpbn, value); in prepare_from_text()
/third_party/node/deps/openssl/openssl/crypto/
H A Dparams_from_text.c53 r = BN_hex2bn(tmpbn, value); in prepare_from_text()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dbn.rs113 pub fn BN_hex2bn(a: *mut *mut BIGNUM, s: *const c_char) -> c_int; in BN_hex2bn() functions
/third_party/ffmpeg/libavformat/
H A Drtmpdh.c153 #define bn_hex2bn(bn, buf, ret) ret = BN_hex2bn(&bn, buf)
/third_party/rust/crates/rust-openssl/openssl/src/
H A 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/
H A Dbn.h311 int BN_hex2bn(BIGNUM **a, const char *str);
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dbn.h340 int BN_hex2bn(BIGNUM **a, const char *str);
/third_party/openssl/include/openssl/
H A Dbn.h340 int BN_hex2bn(BIGNUM **a, const char *str);
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dv3_utl.c225 ret = BN_hex2bn(&bn, value); in s2i_ASN1_INTEGER()
/third_party/openssl/crypto/x509/
H A Dv3_utl.c225 ret = BN_hex2bn(&bn, value); in s2i_ASN1_INTEGER()

Completed in 25 milliseconds

12