Searched refs:HexToBIGNUM (Results 1 – 4 of 4) sorted by relevance
/third_party/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 71 static bssl::UniquePtr<BIGNUM> HexToBIGNUM(const char *hex) { in HexToBIGNUM() function 88 bssl::UniquePtr<BIGNUM> p = HexToBIGNUM(kP), a = HexToBIGNUM(kA), in NewSecp160r1Group() 89 b = HexToBIGNUM(kB), x = HexToBIGNUM(kX), in NewSecp160r1Group() 90 y = HexToBIGNUM(kY), n = HexToBIGNUM(kN); in NewSecp160r1Group()
|
/third_party/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_test.cc | 387 static bssl::UniquePtr<BIGNUM> HexToBIGNUM(const char *hex) { in HexToBIGNUM() function 415 bssl::UniquePtr<BIGNUM> p = HexToBIGNUM(kP), a = HexToBIGNUM(kA), in TEST() 416 b = HexToBIGNUM(kB), x = HexToBIGNUM(kX), in TEST() 417 y = HexToBIGNUM(kY), n = HexToBIGNUM(kN), in TEST() 418 d = HexToBIGNUM(kD), qx = HexToBIGNUM(kQX), in TEST() 419 qy = HexToBIGNUM(kQY); in TEST()
|
/third_party/boringssl/src/util/fipstools/cavp/ |
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()
|
/third_party/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 96 static int HexToBIGNUM(bssl::UniquePtr<BIGNUM> *out, const char *in) { in HexToBIGNUM() function 140 if (HexToBIGNUM(&ret, hex.c_str()) != static_cast<int>(hex.size())) { in GetBIGNUMImpl() 1129 int ret = HexToBIGNUM(&bn, "0"); in TEST_F() 1134 ret = HexToBIGNUM(&bn, "256"); in TEST_F() 1139 ret = HexToBIGNUM(&bn, "-42"); in TEST_F() 1144 ret = HexToBIGNUM(&bn, "-0"); in TEST_F() 1149 ret = HexToBIGNUM(&bn, "abctrailing garbage is ignored"); in TEST_F() 1683 ASSERT_TRUE(HexToBIGNUM(&expected, test.hex)); in TEST_F() 2257 EXPECT_NE(0, HexToBIGNUM(&p, str)); in TEST_F()
|