Searched refs:padding_mode (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.h | 199 PaddingMode padding_mode, const string& iv, 209 PaddingMode padding_mode, const string& key, const string& iv, 240 string DecryptMessage(const string& ciphertext, BlockMode block_mode, PaddingMode padding_mode, 384 PaddingMode padding_mode, const string& iv,
|
D | KeyMintTest.cpp | 685 for (auto padding_mode : ValidPaddingModes(Algorithm::AES, block_mode)) { in TEST_P() local 687 << "AES-" << key_size << "-" << block_mode << "-" << padding_mode); in TEST_P() 693 .Padding(padding_mode) in TEST_P() 724 for (auto padding_mode : ValidPaddingModes(Algorithm::AES, block_mode)) { in TEST_P() local 726 << "AES-" << key_size << "-" << block_mode << "-" << padding_mode); in TEST_P() 732 .Padding(padding_mode) in TEST_P() 744 for (auto padding_mode : ValidPaddingModes(Algorithm::AES, block_mode)) { in TEST_P() local 745 SCOPED_TRACE(testing::Message() << "AES-unknown-" << block_mode << "-" << padding_mode); in TEST_P() 752 .Padding(padding_mode) in TEST_P() 772 for (auto padding_mode : InvalidPaddingModes(Algorithm::AES, block_mode)) { in TEST_P() local [all …]
|
D | KeyMintAidlTestBase.cpp | 811 PaddingMode padding_mode, const string& iv, in AesCheckEncryptOneByteAtATime() argument 819 .Padding(padding_mode); in AesCheckEncryptOneByteAtATime() 824 CheckEncryptOneByteAtATime(block_mode, 16 /*block_size*/, padding_mode, iv, plaintext, in AesCheckEncryptOneByteAtATime() 829 PaddingMode padding_mode, const string& iv, in CheckEncryptOneByteAtATime() argument 834 auto params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckEncryptOneByteAtATime() 943 PaddingMode padding_mode, const string& key, in CheckTripleDesTestVector() argument 950 .Padding(padding_mode); in CheckTripleDesTestVector() 955 auto begin_params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckTripleDesTestVector() 1311 PaddingMode padding_mode, const vector<uint8_t>& iv) { in DecryptMessage() argument 1315 .Padding(padding_mode) in DecryptMessage()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.h | 180 PaddingMode padding_mode, const string& key, const string& iv, 204 string DecryptMessage(const string& ciphertext, BlockMode block_mode, PaddingMode padding_mode,
|
D | KeymasterHidlTest.cpp | 580 PaddingMode padding_mode, const string& key, in CheckTripleDesTestVector() argument 587 .Padding(padding_mode); in CheckTripleDesTestVector() 590 auto begin_params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckTripleDesTestVector() 714 PaddingMode padding_mode, const HidlBuf& iv) { in DecryptMessage() argument 718 .Padding(padding_mode) in DecryptMessage()
|
D | keymaster_hidl_hal_test.cpp | 3911 const PaddingMode padding_mode; member 4003 CheckTripleDesTestVector(test->purpose, test->block_mode, test->padding_mode, in TEST_P()
|