Searched refs:HexToBIGNUM (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/fipstools/ |
D | cavp_test_util.cc | 162 static int HexToBIGNUM(bssl::UniquePtr<BIGNUM> *out, const char *in) { in HexToBIGNUM() function 176 if (HexToBIGNUM(&ret, hex.c_str()) != static_cast<int>(hex.size())) { in GetBIGNUM()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 101 static int HexToBIGNUM(bssl::UniquePtr<BIGNUM> *out, const char *in) { in HexToBIGNUM() function 115 if (HexToBIGNUM(&ret, hex.c_str()) != static_cast<int>(hex.size())) { in GetBIGNUM() 808 int ret = HexToBIGNUM(&bn, "0"); in TEST_F() 813 ret = HexToBIGNUM(&bn, "256"); in TEST_F() 818 ret = HexToBIGNUM(&bn, "-42"); in TEST_F() 823 ret = HexToBIGNUM(&bn, "-0"); in TEST_F() 828 ret = HexToBIGNUM(&bn, "abctrailing garbage is ignored"); in TEST_F() 1335 ASSERT_TRUE(HexToBIGNUM(&expected, test.hex)); in TEST_F()
|