Home
last modified time | relevance | path

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

/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()
2071 if (!TEST_int_eq(parseBN(&bn, "0"), 1) in test_hex2bn()
2079 if (!TEST_int_eq(parseBN(&bn, "256"), 3) in test_hex2bn()
2089 if (!TEST_int_eq(parseBN(&bn, "-42"), 3) in test_hex2bn()
2099 if (!TEST_int_eq(parseBN(&bn, "cb"), 2) in test_hex2bn()
2109 if (!TEST_int_eq(parseBN(&bn, "-0"), 2) in test_hex2bn()
2118 if (!TEST_int_eq(parseBN(&bn, "abctrailing garbage is ignored"), 3) in test_hex2bn()

Completed in 9 milliseconds