Home
last modified time | relevance | path

Searched refs:parseBN (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dbntest.c84 static int parseBN(BIGNUM **out, const char *in) in parseBN() function
106 if (parseBN(&ret, hex) != (int)strlen(hex)) { in getBN()
2074 if (!TEST_int_eq(parseBN(&bn, "0"), 1) in test_hex2bn()
2082 if (!TEST_int_eq(parseBN(&bn, "256"), 3) in test_hex2bn()
2092 if (!TEST_int_eq(parseBN(&bn, "-42"), 3) in test_hex2bn()
2102 if (!TEST_int_eq(parseBN(&bn, "cb"), 2) in test_hex2bn()
2112 if (!TEST_int_eq(parseBN(&bn, "-0"), 2) in test_hex2bn()
2121 if (!TEST_int_eq(parseBN(&bn, "abctrailing garbage is ignored"), 3) in test_hex2bn()