/aosp12/system/keymaster/tests/ |
H A D | android_keymaster_test_utils.h | 269 std::string DecryptMessage(const std::string& ciphertext, keymaster_padding_t padding); 270 std::string DecryptMessage(const std::string& ciphertext, keymaster_digest_t digest, 272 std::string DecryptMessage(const std::string& ciphertext, keymaster_block_mode_t block_mode, 274 std::string DecryptMessage(const std::string& ciphertext, keymaster_digest_t digest, 276 std::string DecryptMessage(const std::string& ciphertext, keymaster_digest_t digest, 278 std::string DecryptMessage(const std::string& ciphertext, keymaster_block_mode_t block_mode, 280 std::string DecryptMessage(const AuthorizationSet& update_params, const std::string& ciphertext, 283 std::string DecryptMessage(const AuthorizationSet& update_params, const std::string& ciphertext,
|
H A D | android_keymaster_test_utils.cpp | 566 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_padding_t padding) { in DecryptMessage() function in keymaster::test::Keymaster2Test 574 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage() function in keymaster::test::Keymaster2Test 584 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_block_mode_t block_mode, in DecryptMessage() function in keymaster::test::Keymaster2Test 594 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage() function in keymaster::test::Keymaster2Test 605 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_block_mode_t block_mode, in DecryptMessage() function in keymaster::test::Keymaster2Test 616 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage() function in keymaster::test::Keymaster2Test 627 string Keymaster2Test::DecryptMessage(const AuthorizationSet& update_params, in DecryptMessage() function in keymaster::test::Keymaster2Test
|
H A D | android_keymaster_test.cpp | 1541 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); in TEST_P() 1840 string plaintext = DecryptMessage(ciphertext, KM_PAD_NONE); in TEST_P() 2157 string plaintext = DecryptMessage(ciphertext, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P() 2192 string plaintext = DecryptMessage(ciphertext, digest, padding); in TEST_P() 2274 string plaintext = DecryptMessage(ciphertext1, KM_MODE_ECB, KM_PAD_NONE); in TEST_P() 2318 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); in TEST_P() 3114 string plaintext = DecryptMessage(ciphertext1, KM_MODE_ECB, KM_PAD_NONE); in TEST_P() 3848 EXPECT_EQ(message, DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_NONE)); in TEST_P() 3872 EXPECT_EQ(message, DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_NONE)); in TEST_P() 3892 EXPECT_EQ(message, DecryptMessage(ciphertext, KM_PAD_NONE)); in TEST_P() [all …]
|
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/ |
H A D | KeymasterHidlTest.h | 197 string DecryptMessage(const HidlBuf& key_blob, const string& ciphertext, 199 string DecryptMessage(const string& ciphertext, const AuthorizationSet& params); 200 string DecryptMessage(const string& ciphertext, BlockMode block_mode, PaddingMode padding_mode,
|
H A D | keymaster_hidl_hal_test.cpp | 2200 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 2303 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 2396 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 2906 plaintext = DecryptMessage(ciphertext2, params_iv2); in TEST_P() 2910 plaintext = DecryptMessage(ciphertext1, params_iv2); in TEST_P() 2912 plaintext = DecryptMessage(ciphertext2, params_iv1); in TEST_P() 3179 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3191 plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3199 plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3227 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() [all …]
|
H A D | KeymasterHidlTest.cpp | 603 string KeymasterHidlTest::DecryptMessage(const HidlBuf& key_blob, const string& ciphertext, in DecryptMessage() function in android::hardware::keymaster::V4_0::test::KeymasterHidlTest 613 string KeymasterHidlTest::DecryptMessage(const string& ciphertext, const AuthorizationSet& params) { in DecryptMessage() function in android::hardware::keymaster::V4_0::test::KeymasterHidlTest 615 return DecryptMessage(key_blob_, ciphertext, params); in DecryptMessage() 618 string KeymasterHidlTest::DecryptMessage(const string& ciphertext, BlockMode block_mode, in DecryptMessage() function in android::hardware::keymaster::V4_0::test::KeymasterHidlTest 625 return DecryptMessage(key_blob_, ciphertext, params); in DecryptMessage()
|
/aosp12/hardware/interfaces/security/keymint/aidl/vts/functional/ |
H A D | KeyMintTest.cpp | 3354 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3421 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3739 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3769 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3900 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 4528 plaintext = DecryptMessage(ciphertext2, params_iv2); in TEST_P() 4532 plaintext = DecryptMessage(ciphertext1, params_iv2); in TEST_P() 4534 plaintext = DecryptMessage(ciphertext2, params_iv1); in TEST_P() 4787 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 4799 plaintext = DecryptMessage(ciphertext, params); in TEST_P() [all …]
|
H A D | KeyMintAidlTestBase.h | 202 string DecryptMessage(const vector<uint8_t>& key_blob, const string& ciphertext, 204 string DecryptMessage(const string& ciphertext, const AuthorizationSet& params); 205 string DecryptMessage(const string& ciphertext, BlockMode block_mode, PaddingMode padding_mode,
|
H A D | KeyMintAidlTestBase.cpp | 973 string KeyMintAidlTestBase::DecryptMessage(const vector<uint8_t>& key_blob, in DecryptMessage() function in aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase 984 string KeyMintAidlTestBase::DecryptMessage(const string& ciphertext, in DecryptMessage() function in aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase 987 return DecryptMessage(key_blob_, ciphertext, params); in DecryptMessage() 990 string KeyMintAidlTestBase::DecryptMessage(const string& ciphertext, BlockMode block_mode, in DecryptMessage() function in aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase 997 return DecryptMessage(key_blob_, ciphertext, params); in DecryptMessage()
|
/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 2500 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 2571 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 2785 string plaintext = DecryptMessage(ciphertext1, params); in TEST_P() 3045 plaintext = DecryptMessage(ciphertext2, params_iv2); in TEST_P() 3049 plaintext = DecryptMessage(ciphertext1, params_iv2); in TEST_P() 3051 plaintext = DecryptMessage(ciphertext2, params_iv1); in TEST_P() 3313 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3325 plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3333 plaintext = DecryptMessage(ciphertext, params); in TEST_P() 3361 string plaintext = DecryptMessage(ciphertext, params); in TEST_P() [all …]
|