Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dbntest.c80 static int parseBN(BIGNUM **out, const char *in) in parseBN() function
102 if (parseBN(&ret, hex) != (int)strlen(hex)) { in getBN()
1921 if (!TEST_int_eq(parseBN(&bn, "0"), 1) in test_hex2bn()
1929 if (!TEST_int_eq(parseBN(&bn, "256"), 3) in test_hex2bn()
1939 if (!TEST_int_eq(parseBN(&bn, "-42"), 3) in test_hex2bn()
1949 if (!TEST_int_eq(parseBN(&bn, "cb"), 2) in test_hex2bn()
1959 if (!TEST_int_eq(parseBN(&bn, "-0"), 2) in test_hex2bn()
1968 if (!TEST_int_eq(parseBN(&bn, "abctrailing garbage is ignored"), 3) in test_hex2bn()