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

/freebsd-current/crypto/openssl/test/
H A Dsm2_internal_test.c92 if (!TEST_true(BN_hex2bn(&p, p_hex))
93 || !TEST_true(BN_hex2bn(&a, a_hex))
94 || !TEST_true(BN_hex2bn(&b, b_hex)))
105 if (!TEST_true(BN_hex2bn(&g_x, x_hex))
106 || !TEST_true(BN_hex2bn(&g_y, y_hex))
111 if (!TEST_true(BN_hex2bn(&order, order_hex))
112 || !TEST_true(BN_hex2bn(&cof, cof_hex))
153 || !TEST_true(BN_hex2bn(&priv, privkey_hex)))
321 if (!TEST_true(BN_hex2bn(&priv, privkey_hex)))
347 if (!TEST_true(BN_hex2bn(
[all...]
H A Dectest.c178 || !TEST_true(BN_hex2bn(&p, "17"))
179 || !TEST_true(BN_hex2bn(&a, "1"))
180 || !TEST_true(BN_hex2bn(&b, "1"))
204 || !TEST_true(BN_hex2bn(&x, "D"))
280 || !TEST_true(BN_hex2bn(&p, "FFFFFFFF"
283 || !TEST_true(BN_hex2bn(&a, "FFFFFFFF"
285 || !TEST_true(BN_hex2bn(&b, "1C97BEFC"
288 || !TEST_true(BN_hex2bn(&x, "4A96B568"
290 || !TEST_true(BN_hex2bn(&y, "23a62855"
301 || !TEST_true(BN_hex2bn(
[all...]
H A Dsrptest.c125 if (!TEST_true(BN_hex2bn(&tmp, hexbn)))
154 BN_hex2bn(&s, "BEB25379D1A8581EB5A727673A2441EE");
171 BN_hex2bn(&b, "E487CB59D31AC550471E81F00F6928E01DDA08E974A004F49E61F5D1"
190 BN_hex2bn(&a, "60975527035CF2AD1989806F0407210BC81EDC04E2762A56AFD529DD"
H A Decstresstest.c89 if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult))
H A Dtest_test.c424 r = TEST_true(BN_hex2bn(&a, as))
425 && TEST_true(BN_hex2bn(&b, bs))
426 && TEST_true(BN_hex2bn(&c, cs))
427 && TEST_true(BN_hex2bn(&d, ds))
527 && !TEST_true(BN_hex2bn(&b, bn_output_tests[n])))
H A Decdsatest.c46 || !TEST_true(BN_hex2bn(&tmp, numbers[fbytes_counter]))
115 || !TEST_true(BN_hex2bn(&r, r_in))
116 || !TEST_true(BN_hex2bn(&s, s_in)))
H A Dec_internal_test.c232 if (!TEST_int_gt(BN_hex2bn(&x1, x1str), 0)
233 || !TEST_int_gt(BN_hex2bn(&y1, p521m1), 0)
234 || !TEST_int_gt(BN_hex2bn(&z1, p521m1), 0)
235 || !TEST_int_gt(BN_hex2bn(&k, "02"), 0)
H A Dparams_test.c108 if (!TEST_true(BN_hex2bn(&obj->p3, p3_init)))
337 if (!BN_hex2bn(&app_p3, app_p3_init)
448 || !TEST_true(BN_hex2bn(&verify_p3, p3_init))) {
505 if (!TEST_true(BN_hex2bn(&verify_p3, app_p3_init))) {
H A Dbntest.c66 * Parse BIGNUM from sparse hex-strings, return |BN_hex2bn| result.
71 int ret = BN_hex2bn(out, bigstring);
83 return BN_hex2bn(out, in);
484 if (!(TEST_true(BN_hex2bn(&a,
489 && TEST_true(BN_hex2bn(&b,
494 && TEST_true(BN_hex2bn(&n,
567 if (!(TEST_true(BN_hex2bn(&a,
571 && TEST_true(BN_hex2bn(&n,
579 if (!(TEST_true(BN_hex2bn(&a,
584 && TEST_true(BN_hex2bn(
[all...]
H A Dssl_old_test.c2948 ret = BN_hex2bn(&bn, pskkey);
/freebsd-current/usr.bin/factor/
H A Dfactor.c93 static int BN_hex2bn(BIGNUM **, const char *);
337 BN_hex2bn(BIGNUM **a, const char *str) function
393 n = BN_hex2bn(val, ++p);
395 n = is_hex_str(p) ? BN_hex2bn(val, p) : BN_dec2bn(val, p);
/freebsd-current/crypto/openssh/
H A Ddh.c132 if (BN_hex2bn(&dhg->g, gen) == 0) {
136 if (BN_hex2bn(&dhg->p, prime) == 0) {
320 if (BN_hex2bn(&dh_p, modulus) == 0 ||
321 BN_hex2bn(&dh_g, gen) == 0)
H A Dmoduli.c669 if (BN_hex2bn(&a, cp) == 0)
670 fatal("BN_hex2bn failed");
686 if (BN_hex2bn(&a, cp) == 0)
687 fatal("BN_hex2bn failed");
H A Dssh-keygen.c2988 if (BN_hex2bn(&start, opts[i]+6) == 0)
/freebsd-current/crypto/openssl/apps/
H A Dprime.c123 r = BN_hex2bn(&bn, argv[0]);
H A Dca.c1238 if (!BN_hex2bn(&serial, pp[DB_serial]))
/freebsd-current/crypto/openssl/crypto/bn/
H A Dbn_conv.c126 int BN_hex2bn(BIGNUM **bn, const char *a) function
281 if (!BN_hex2bn(bn, p + 2))
/freebsd-current/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.c81 ASSERT_INT_NE(BN_hex2bn(&ret, (const char *)sshbuf_ptr(buf)), 0);
/freebsd-current/crypto/openssl/crypto/
H A Dparams_from_text.c53 r = BN_hex2bn(tmpbn, value);
/freebsd-current/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_crypto.c77 ASSERT_INT_GT(BN_hex2bn(&bnn, b), 0); \
/freebsd-current/lib/libmp/
H A Dmpasbn.c620 BN_ERRCHECK(msg, BN_hex2bn(&mp->bn, s));
/freebsd-current/crypto/openssl/crypto/x509/
H A Dv3_utl.c225 ret = BN_hex2bn(&bn, value);
/freebsd-current/crypto/openssl/include/openssl/
H A Dbn.h340 int BN_hex2bn(BIGNUM **a, const char *str);
/freebsd-current/secure/lib/libcrypto/man/man3/
H A DMakefile1020 MLINKS+= BN_bn2bin.3 BN_hex2bn.3

Completed in 444 milliseconds