Home
last modified time | relevance | path

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

/third_party/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc71 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/
Dec_test.cc387 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/
Dcavp_test_util.cc162 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/
Dbn_test.cc96 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()