Searched refs:TestCtx (Results 1 – 16 of 16) sorted by relevance
/external/boringssl/src/util/fipstools/cavp/ |
D | cavp_aes_test.cc | 31 struct TestCtx { struct 43 static bool MonteCarlo(const TestCtx *ctx, FileTest *t, in MonteCarlo() 129 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestCipher() 159 if (ctx->mode == TestCtx::kKAT) { in TestCipher() 195 enum TestCtx::Mode test_mode; in cavp_aes_test_main() 197 test_mode = TestCtx::kKAT; in cavp_aes_test_main() 199 test_mode = TestCtx::kMCT; in cavp_aes_test_main() 216 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_aes_test_main()
|
D | cavp_tdes_test.cc | 31 struct TestCtx { struct 44 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestKAT() 168 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestMCT() 309 enum TestCtx::Mode test_mode; in cavp_tdes_test_main() 311 test_mode = TestCtx::kKAT; in cavp_tdes_test_main() 313 test_mode = TestCtx::kMCT; in cavp_tdes_test_main() 326 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_tdes_test_main() 328 FileTestFunc test_fn = test_mode == TestCtx::kKAT ? &TestKAT : &TestMCT; in cavp_tdes_test_main()
|
D | cavp_aes_gcm_test.cc | 32 struct TestCtx { struct 50 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestAEADEncrypt() 88 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestAEADDecrypt() 157 TestCtx ctx = {aead}; in cavp_aes_gcm_test_main()
|
D | cavp_sha_test.cc | 29 struct TestCtx { struct 36 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestSHA() 88 TestCtx ctx = {std::string(argv[1])}; in cavp_sha_test_main()
|
D | cavp_sha_monte_test.cc | 30 struct TestCtx { struct 37 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestSHAMonte() 94 TestCtx ctx = {std::string(argv[1])}; in cavp_sha_monte_test_main()
|
D | cavp_rsa2_sigver_test.cc | 33 struct TestCtx { struct 41 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestRSA2SigVer() 108 TestCtx ctx; in cavp_rsa2_sigver_test_main()
|
D | cavp_rsa2_siggen_test.cc | 32 struct TestCtx { struct 40 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestRSA2SigGen() 111 TestCtx ctx; in cavp_rsa2_siggen_test_main()
|
D | cavp_keywrap_test.cc | 30 struct TestCtx { struct 96 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestCipher() 157 TestCtx ctx = {encrypt, padding}; in cavp_keywrap_test_main()
|
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/ |
D | cavp_aes_test.cc | 31 struct TestCtx { struct 43 static bool MonteCarlo(const TestCtx *ctx, FileTest *t, in MonteCarlo() 129 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestCipher() 159 if (ctx->mode == TestCtx::kKAT) { in TestCipher() 195 enum TestCtx::Mode test_mode; in cavp_aes_test_main() 197 test_mode = TestCtx::kKAT; in cavp_aes_test_main() 199 test_mode = TestCtx::kMCT; in cavp_aes_test_main() 216 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_aes_test_main()
|
D | cavp_tdes_test.cc | 31 struct TestCtx { struct 44 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestKAT() 168 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestMCT() 309 enum TestCtx::Mode test_mode; in cavp_tdes_test_main() 311 test_mode = TestCtx::kKAT; in cavp_tdes_test_main() 313 test_mode = TestCtx::kMCT; in cavp_tdes_test_main() 326 TestCtx ctx = {cipher, has_iv, test_mode}; in cavp_tdes_test_main() 328 FileTestFunc test_fn = test_mode == TestCtx::kKAT ? &TestKAT : &TestMCT; in cavp_tdes_test_main()
|
D | cavp_aes_gcm_test.cc | 32 struct TestCtx { struct 50 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestAEADEncrypt() 88 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestAEADDecrypt() 157 TestCtx ctx = {aead}; in cavp_aes_gcm_test_main()
|
D | cavp_sha_test.cc | 29 struct TestCtx { struct 36 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestSHA() 88 TestCtx ctx = {std::string(argv[1])}; in cavp_sha_test_main()
|
D | cavp_sha_monte_test.cc | 30 struct TestCtx { struct 37 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestSHAMonte() 94 TestCtx ctx = {std::string(argv[1])}; in cavp_sha_monte_test_main()
|
D | cavp_rsa2_sigver_test.cc | 33 struct TestCtx { struct 41 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestRSA2SigVer() 108 TestCtx ctx; in cavp_rsa2_sigver_test_main()
|
D | cavp_rsa2_siggen_test.cc | 32 struct TestCtx { struct 40 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestRSA2SigGen() 111 TestCtx ctx; in cavp_rsa2_siggen_test_main()
|
D | cavp_keywrap_test.cc | 30 struct TestCtx { struct 96 TestCtx *ctx = reinterpret_cast<TestCtx *>(arg); in TestCipher() 157 TestCtx ctx = {encrypt, padding}; in cavp_keywrap_test_main()
|