Searched refs:block_mode (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
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,
|
D | KeymasterHidlTest.cpp | 484 void KeymasterHidlTest::CheckTripleDesTestVector(KeyPurpose purpose, BlockMode block_mode, in CheckTripleDesTestVector() argument 490 .BlockMode(block_mode) in CheckTripleDesTestVector() 495 auto begin_params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckTripleDesTestVector() 554 string KeymasterHidlTest::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage() argument 557 auto params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding); in EncryptMessage() 564 string KeymasterHidlTest::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage() argument 567 auto params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding); in EncryptMessage() 577 string KeymasterHidlTest::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage() argument 581 .BlockMode(block_mode) in EncryptMessage() 589 string KeymasterHidlTest::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage() argument [all …]
|
D | keymaster_hidl_hal_test.cpp | 2815 for (auto block_mode : block_modes) { in TEST_P() local 2818 .BlockMode(block_mode) in TEST_P() 2835 switch (block_mode) { in TEST_P() 2851 switch (block_mode) { in TEST_P() 2865 switch (block_mode) { in TEST_P() 2869 ASSERT_TRUE(iv.isOk()) << "No IV for block mode " << block_mode; in TEST_P() 2870 EXPECT_EQ(block_mode == BlockMode::GCM ? 12U : 16U, iv.value().size()); in TEST_P() 2880 << "Decrypt begin() failed for block mode " << block_mode; in TEST_P() 2889 ASSERT_EQ(ErrorCode::OK, error) << "Decryption failed for block mode " << block_mode in TEST_P() 2893 << block_mode << " and increment " << increment; in TEST_P() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | authorization_set.h | 398 for (auto block_mode : block_modes) { in BlockMode() local 399 Authorization(TAG_BLOCK_MODE, block_mode); in BlockMode()
|
D | keymaster_tags.h | 370 inline const char* stringify(BlockMode block_mode) { 371 switch (block_mode) {
|
D | keymaster_hidl_hal_test.cpp | 3073 for (auto block_mode : block_modes) { in TEST_P() local 3076 .BlockMode(block_mode) in TEST_P() 3091 switch (block_mode) { in TEST_P() 3107 switch (block_mode) { in TEST_P() 3121 switch (block_mode) { in TEST_P() 3125 ASSERT_TRUE(iv.isOk()) << "No IV for block mode " << block_mode; in TEST_P() 3126 EXPECT_EQ(block_mode == BlockMode::GCM ? 12U : 16U, iv.value().size()); in TEST_P() 3136 << "Decrypt begin() failed for block mode " << block_mode; in TEST_P() 3146 << "Decryption failed for block mode " << block_mode << " and increment " in TEST_P() 3150 << block_mode << " and increment " << increment; in TEST_P()
|