Home
last modified time | relevance | path

Searched defs:plaintext (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp118 const KeymasterKeyBlob& plaintext, // in AesGcmEncryptKey()
179 KeymasterKeyBlob plaintext(plaintext_len); in AesGcmDecryptKey() local
290 EncryptedKey EncryptKey(const KeymasterKeyBlob& plaintext, AuthEncryptedBlobFormat format, in EncryptKey()
Docb_utils.cpp115 const KeymasterKeyBlob& plaintext, const Buffer& nonce, in OcbEncryptKey()
148 const Buffer& tag, KeymasterKeyBlob* plaintext) { in OcbDecryptKey()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp1541 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); in TEST_P() local
1715 string plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext, params); in TEST_F() local
1840 string plaintext = DecryptMessage(ciphertext, KM_PAD_NONE); in TEST_P() local
1987 string plaintext = DecryptMessage(ciphertext, KM_DIGEST_SHA_2_256, KM_PAD_RSA_OAEP); in TEST_P() local
2003 string plaintext = in TEST_P() local
2018 string plaintext = DecryptMessage(ciphertext, KM_DIGEST_SHA_2_224, KM_PAD_RSA_OAEP); in TEST_P() local
2157 string plaintext = DecryptMessage(ciphertext, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P() local
2192 string plaintext = DecryptMessage(ciphertext, digest, padding); in TEST_P() local
2274 string plaintext = DecryptMessage(ciphertext1, KM_MODE_ECB, KM_PAD_NONE); in TEST_P() local
2318 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); in TEST_P() local
[all …]
Dkey_blob_test.cpp135 KeymasterKeyBlob plaintext = DecryptKey(move(deserialized), hidden_, master_key_, &error); in TEST_F() local
/system/keymaster/cppcose/
Dcppcose.cpp410 const bytevec& plaintext) { in aesGcmEncrypt()
442 bytevec plaintext(ciphertextWithTag.size() - kAesGcmTagSize); in aesGcmDecrypt() local
/system/vold/
DKeyStorage.cpp473 static bool encryptWithoutKeymaster(const std::string& preKey, const KeyBuffer& plaintext, in encryptWithoutKeymaster()
524 KeyBuffer* plaintext) { in decryptWithoutKeymaster()
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp507 Buffer encrypted_key, plaintext; in UnwrapKey() local