/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 952 .Authorization(TAG_BLOCK_MODE, BlockMode::ECB) in TEST_P() 1483 .Authorization(TAG_BLOCK_MODE, BlockMode::ECB))); in TEST_P() 2194 CheckCryptoParam(TAG_BLOCK_MODE, BlockMode::ECB); in TEST_P() 2198 auto params = AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::PKCS7); in TEST_P() 2301 auto params = AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::PKCS7); in TEST_P() 2693 .Authorization(TAG_BLOCK_MODE, BlockMode::ECB) in TEST_P() 2696 auto params = AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::NONE); in TEST_P() 2722 .Authorization(TAG_BLOCK_MODE, BlockMode::CBC) in TEST_P() 2729 AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::NONE))); in TEST_P() 2742 .Authorization(TAG_BLOCK_MODE, BlockMode::GCM) in TEST_P() [all …]
|
D | KeymasterHidlTest.h | 175 void CheckTripleDesTestVector(KeyPurpose purpose, BlockMode block_mode, 189 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding); 190 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding, 192 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding, 194 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding, 200 string DecryptMessage(const string& ciphertext, BlockMode block_mode, PaddingMode padding_mode,
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 785 .BlockMode(BlockMode::CTR) in CheckAesCtrTestVector() 792 .BlockMode(BlockMode::CTR) in CheckAesCtrTestVector() 1786 .Authorization(TAG_BLOCK_MODE, BlockMode::ECB))) in TEST_P() 2494 CheckKm1CryptoParam(TAG_BLOCK_MODE, BlockMode::ECB); in TEST_P() 2498 auto params = AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::PKCS7); in TEST_P() 2870 .Authorization(TAG_BLOCK_MODE, BlockMode::ECB) in TEST_P() 2873 auto params = AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::NONE); in TEST_P() 2899 .Authorization(TAG_BLOCK_MODE, BlockMode::CBC) in TEST_P() 2906 AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::NONE))); in TEST_P() 2919 .Authorization(TAG_BLOCK_MODE, BlockMode::ECB) in TEST_P() [all …]
|
D | authorization_set.h | 290 AuthorizationSetBuilder& BlockMode(std::initializer_list<BlockMode> block_modes); 296 template <typename... T> AuthorizationSetBuilder& BlockMode(T&&... a) { in BlockMode() function 297 return BlockMode({std::forward<T>(a)...}); in BlockMode() 393 return BlockMode(BlockMode::ECB); in EcbMode() 397 AuthorizationSetBuilder::BlockMode(std::initializer_list<V3_0::BlockMode> block_modes) { in BlockMode() function
|
D | keymaster_tags.h | 370 inline const char* stringify(BlockMode block_mode) { 372 case BlockMode::ECB: 374 case BlockMode::CBC: 376 case BlockMode::CTR: 378 case BlockMode::GCM:
|
D | key_param_output.h | 39 ::std::ostream& operator<<(::std::ostream& os, BlockMode value);
|
D | key_param_output.cpp | 50 ::std::ostream& operator<<(::std::ostream& os, BlockMode value) { in operator <<()
|
/hardware/interfaces/security/keymint/support/ |
D | authorization_set.cpp | 204 return Authorization(TAG_BLOCK_MODE, BlockMode::ECB); in EcbMode() 208 return BlockMode(BlockMode::GCM) in GcmModeMinMacLen() 214 return BlockMode(BlockMode::GCM) in GcmModeMacLen() 219 AuthorizationSetBuilder& AuthorizationSetBuilder::BlockMode( in BlockMode() function in aidl::android::hardware::security::keymint::AuthorizationSetBuilder 220 std::initializer_list<aidl::android::hardware::security::keymint::BlockMode> blockModes) { in BlockMode()
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.h | 175 void CheckTripleDesTestVector(KeyPurpose purpose, BlockMode block_mode, 192 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding); 193 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding, 195 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding, 197 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding, 199 string EncryptMessage(const string& message, BlockMode block_mode, PaddingMode padding, 205 string DecryptMessage(const string& ciphertext, BlockMode block_mode, PaddingMode padding_mode, 222 .BlockMode(BlockMode::ECB) 274 vector<BlockMode> ValidBlockModes(Algorithm algorithm); 275 vector<PaddingMode> ValidPaddingModes(Algorithm algorithm, BlockMode blockMode); [all …]
|
D | KeyMintAidlTestBase.cpp | 640 .BlockMode(BlockMode::CTR) in CheckAesCtrTestVector() 647 .BlockMode(BlockMode::CTR) in CheckAesCtrTestVector() 654 void KeyMintAidlTestBase::CheckTripleDesTestVector(KeyPurpose purpose, BlockMode block_mode, in CheckTripleDesTestVector() 660 .BlockMode(block_mode) in CheckTripleDesTestVector() 667 auto begin_params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckTripleDesTestVector() 912 string KeyMintAidlTestBase::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage() 915 auto params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding); in EncryptMessage() 922 string KeyMintAidlTestBase::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage() 925 auto params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding); in EncryptMessage() 935 string KeyMintAidlTestBase::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage() [all …]
|
/hardware/interfaces/security/keymint/aidl/android/hardware/security/keymint/ |
D | KeyParameterValue.aidl | 20 import android.hardware.security.keymint.BlockMode; 38 BlockMode blockMode;
|
D | BlockMode.aidl | 25 enum BlockMode { enum
|
/hardware/interfaces/keymaster/4.1/vts/functional/ |
D | Keymaster4_1HidlTest.h | 66 .BlockMode(BlockMode::ECB) in CreateTestKeys() 113 AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::NONE)); in UseAesKey()
|
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/android/hardware/security/keymint/ |
D | BlockMode.aidl | 37 enum BlockMode { enum
|
D | KeyParameterValue.aidl | 40 android.hardware.security.keymint.BlockMode blockMode;
|
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/current/android/hardware/security/keymint/ |
D | BlockMode.aidl | 37 enum BlockMode { enum
|
D | KeyParameterValue.aidl | 40 android.hardware.security.keymint.BlockMode blockMode;
|
/hardware/interfaces/security/keymint/aidl/vts/performance/ |
D | KeyMintBenchmark.cpp | 77 optional<BlockMode> getBlockMode(string transform) { in getBlockMode() 79 return BlockMode::ECB; in getBlockMode() 81 return BlockMode::CBC; in getBlockMode() 83 return BlockMode::CTR; in getBlockMode() 85 return BlockMode::GCM; in getBlockMode() 171 std::optional<BlockMode> blockMode = getBlockMode(transform); in GenerateKey() 173 authSet.BlockMode(blockMode.value()); in GenerateKey() 174 if (blockMode == BlockMode::GCM) { in GenerateKey() 196 std::optional<BlockMode> blockMode = getBlockMode(transform); in getOperationParams() 201 builder.BlockMode(*blockMode); in getOperationParams() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/performance/ |
D | Benchmark.cpp | 62 using android::hardware::keymaster::V4_0::BlockMode; 139 PaddingMode padding = PaddingMode::NONE, optional<BlockMode> blockMode = {}) { in GenerateKey() 152 authSet.BlockMode(*blockMode); 217 optional<BlockMode> blockMode = getBlockMode(transform); in getOperationParams() 219 builder.BlockMode(*blockMode); in getOperationParams() 329 optional<BlockMode> getBlockMode(string transform) { in getBlockMode() 331 return BlockMode::ECB; in getBlockMode() 333 return BlockMode::CBC; in getBlockMode() 335 return BlockMode::CTR; in getBlockMode() 337 return BlockMode::GCM; in getBlockMode()
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | authorization_set.h | 292 AuthorizationSetBuilder& BlockMode(std::initializer_list<BlockMode> blockModes); 297 AuthorizationSetBuilder& BlockMode(T&&... a) { in BlockMode() function 298 return BlockMode({std::forward<T>(a)...}); in BlockMode()
|
D | key_param_output.h | 32 inline ::std::ostream& operator<<(::std::ostream& os, BlockMode value) {
|
/hardware/interfaces/security/keymint/support/include/keymint_support/ |
D | authorization_set.h | 299 AuthorizationSetBuilder& BlockMode(std::initializer_list<BlockMode> blockModes); 321 AuthorizationSetBuilder& BlockMode(T&&... a) { in BlockMode() function 322 return BlockMode({std::forward<T>(a)...}); in BlockMode()
|
D | key_param_output.h | 45 inline ::std::ostream& operator<<(::std::ostream& os, BlockMode value) {
|
/hardware/interfaces/keymaster/4.0/support/ |
D | authorization_set.cpp | 539 return Authorization(TAG_BLOCK_MODE, BlockMode::ECB); in EcbMode() 543 return BlockMode(BlockMode::GCM) in GcmModeMinMacLen() 549 return BlockMode(BlockMode::GCM) in GcmModeMacLen() 554 AuthorizationSetBuilder& AuthorizationSetBuilder::BlockMode( in BlockMode() function in android::hardware::keymaster::V4_0::AuthorizationSetBuilder 555 std::initializer_list<V4_0::BlockMode> blockModes) { in BlockMode()
|
/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/ |
D | keymaster_tags.h | 27 using V4_0::BlockMode;
|