Lines Matching refs:BlockMode

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()
939 .BlockMode(block_mode) in EncryptMessage()
947 string KeyMintAidlTestBase::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage()
952 .BlockMode(block_mode) in EncryptMessage()
961 string KeyMintAidlTestBase::EncryptMessage(const string& message, BlockMode block_mode, in EncryptMessage()
965 .BlockMode(block_mode) in EncryptMessage()
990 string KeyMintAidlTestBase::DecryptMessage(const string& ciphertext, BlockMode block_mode, in DecryptMessage()
994 .BlockMode(block_mode) in DecryptMessage()
1070 vector<BlockMode> KeyMintAidlTestBase::ValidBlockModes(Algorithm algorithm) { in ValidBlockModes()
1074 BlockMode::CBC, in ValidBlockModes()
1075 BlockMode::CTR, in ValidBlockModes()
1076 BlockMode::ECB, in ValidBlockModes()
1077 BlockMode::GCM, in ValidBlockModes()
1081 BlockMode::CBC, in ValidBlockModes()
1082 BlockMode::ECB, in ValidBlockModes()
1090 BlockMode blockMode) { in ValidPaddingModes()
1094 case BlockMode::CBC: in ValidPaddingModes()
1095 case BlockMode::ECB: in ValidPaddingModes()
1097 case BlockMode::CTR: in ValidPaddingModes()
1098 case BlockMode::GCM: in ValidPaddingModes()
1105 case BlockMode::CBC: in ValidPaddingModes()
1106 case BlockMode::ECB: in ValidPaddingModes()
1117 BlockMode blockMode) { in InvalidPaddingModes()
1121 case BlockMode::CTR: in InvalidPaddingModes()
1122 case BlockMode::GCM: in InvalidPaddingModes()
1203 AuthorizationSetBuilder().BlockMode(BlockMode::ECB).Padding(PaddingMode::NONE)); in UseAesKey()