Home
last modified time | relevance | path

Searched refs:padding_mode (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore/
Dkeystore_client_impl.cpp566 auto padding_mode = NullOrOr(hardware_enforced_characteristics.GetTagValue(TAG_PADDING), in verifyEncryptionKeyAttributes() local
568 if (!padding_mode.isOk() || padding_mode.value() != PaddingMode::PKCS7) { in verifyEncryptionKeyAttributes()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp661 keymaster_padding_t padding_mode, const string& key, in CheckTripleDesTestVector() argument
667 .Padding(padding_mode); in CheckTripleDesTestVector()
675 begin_params.push_back(TAG_PADDING, padding_mode); in CheckTripleDesTestVector()
Dandroid_keymaster_test.cpp1273 for (keymaster_padding_t padding_mode : padding_modes) { in TEST_P() local
1275 if (digest != KM_DIGEST_NONE && padding_mode == KM_PAD_NONE) in TEST_P()
1285 switch (padding_mode) { in TEST_P()
1325 switch (padding_mode) { in TEST_P()
1344 .Padding(padding_mode)); in TEST_P()
1347 SignMessage(message, &signature, digest, padding_mode); in TEST_P()
1348 VerifyMessage(message, signature, digest, padding_mode); in TEST_P()
3489 const keymaster_padding_t padding_mode; member
3644 CheckTripleDesTestVector(test.purpose, test.block_mode, test.padding_mode, in TEST_P()