Searched defs:ciphertext (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/key_blob_utils/ |
D | ocb_utils.cpp | 122 KeymasterKeyBlob* ciphertext, Buffer* tag) { in OcbEncryptKey() 157 const KeymasterKeyBlob& ciphertext, const Buffer& nonce, in OcbDecryptKey()
|
/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 1788 string ciphertext = EncryptMessage(message, KM_MODE_ECB, KM_PAD_PKCS7); in TEST_P() local 1964 string ciphertext = ProcessMessage(KM_PURPOSE_ENCRYPT, message, params); in TEST_F() local 2089 string ciphertext = EncryptMessage(message, KM_PAD_NONE); in TEST_P() local 2210 string ciphertext = EncryptMessage(string(message), KM_DIGEST_SHA_2_256, KM_PAD_RSA_OAEP); in TEST_P() local 2227 string ciphertext = EncryptMessage(string(message), KM_DIGEST_SHA_2_224, KM_PAD_RSA_OAEP); in TEST_P() local 2287 string ciphertext = EncryptMessage(string(message), KM_DIGEST_SHA_2_256, KM_PAD_RSA_OAEP); in TEST_P() local 2331 string ciphertext = EncryptMessage(string(message), KM_DIGEST_SHA_2_256, KM_PAD_RSA_OAEP); in TEST_P() local 2372 string ciphertext = EncryptMessage(message, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P() local 2410 string ciphertext = EncryptMessage(message, digest, padding); in TEST_P() local 2443 string ciphertext = EncryptMessage(string(message), KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P() local [all …]
|
D | android_keymaster_test_utils.cpp | 470 string ciphertext = in EncryptMessage() local 501 string ciphertext = in EncryptMessage() local 520 string ciphertext = in EncryptMessage() local 540 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_padding_t padding) { in DecryptMessage() 548 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage() 558 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_block_mode_t block_mode, in DecryptMessage() 568 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage() 579 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_block_mode_t block_mode, in DecryptMessage() 591 const string& ciphertext, keymaster_digest_t digest, in DecryptMessage() 654 string ciphertext = in CheckAesCtrTestVector() local
|
/system/vold/ |
D | KeyStorage.cpp | 241 std::string* ciphertext, bool keepOld) { in encryptWithKeymasterKey() 269 const std::string& ciphertext, KeyBuffer* message, in decryptWithKeymasterKey() 347 std::string* ciphertext) { in encryptWithoutKeymaster() 396 static bool decryptWithoutKeymaster(const std::string& preKey, const std::string& ciphertext, in decryptWithoutKeymaster()
|