Home
last modified time | relevance | path

Searched defs:ciphertext (Results 1 – 18 of 18) sorted by relevance

/aosp12/system/keymaster/cppcose/
H A Dcppcose.cpp225 auto ciphertext = aesGcmEncrypt(key, nonce, in createCoseEncryptCiphertext() local
245 auto ciphertext = in constructCoseEncrypt() local
273 auto& ciphertext = recipient->asArray()->get(2); in getSenderPubKeyFromCoseEncrypt() local
330 auto& ciphertext = coseEncrypt->asArray()->get(kCoseEncryptPayload); in decryptCoseEncrypt() local
414 bytevec ciphertext(plaintext.size() + kAesGcmTagSize); in aesGcmEncrypt() local
/aosp12/system/keymaster/tests/
H A Dandroid_keymaster_test.cpp2303 string ciphertext; in TEST_P() local
2400 string ciphertext; in TEST_P() local
2606 string ciphertext; in TEST_P() local
2667 string ciphertext; in TEST_P() local
2730 string ciphertext; in TEST_P() local
2825 string ciphertext; in TEST_P() local
2865 string ciphertext; in TEST_P() local
2935 string ciphertext; in TEST_P() local
2988 string ciphertext; in TEST_P() local
3030 string ciphertext; in TEST_P() local
[all …]
H A Dandroid_keymaster_test_utils.cpp469 string ciphertext = in EncryptMessage() local
508 string ciphertext = in EncryptMessage() local
527 string ciphertext = in EncryptMessage() local
546 string ciphertext = in EncryptMessage() local
566 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_padding_t padding) { in DecryptMessage()
574 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage()
584 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_block_mode_t block_mode, in DecryptMessage()
594 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage()
616 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest, in DecryptMessage()
628 const string& ciphertext, keymaster_digest_t digest, in DecryptMessage()
[all …]
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/
H A DKeymasterHidlTest.cpp480 string ciphertext = EncryptMessage(key_blob_, message, params, &out_params); in CheckAesCtrTestVector() local
549 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
559 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
569 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
585 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
599 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
603 string KeymasterHidlTest::DecryptMessage(const HidlBuf& key_blob, const string& ciphertext, in DecryptMessage()
613 string KeymasterHidlTest::DecryptMessage(const string& ciphertext, const AuthorizationSet& params) { in DecryptMessage()
618 string KeymasterHidlTest::DecryptMessage(const string& ciphertext, BlockMode block_mode, in DecryptMessage()
H A Dkeymaster_hidl_hal_test.cpp2787 string ciphertext; in TEST_P() local
3267 string ciphertext; in TEST_P() local
3318 string ciphertext; in TEST_P() local
3425 string ciphertext; in TEST_P() local
3516 string ciphertext; in TEST_P() local
3563 string ciphertext; in TEST_P() local
3623 string ciphertext; in TEST_P() local
3670 string ciphertext; in TEST_P() local
3714 string ciphertext; in TEST_P() local
3760 string ciphertext; in TEST_P() local
[all …]
/aosp12/system/keymaster/key_blob_utils/
H A Docb_utils.cpp116 KeymasterKeyBlob* ciphertext, Buffer* tag) { in OcbEncryptKey()
147 const KeymasterKeyBlob& ciphertext, const Buffer& nonce, in OcbDecryptKey()
/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dkeymaster_hidl_hal_test.cpp2926 string ciphertext; in TEST_P() local
3083 string ciphertext; in TEST_P() local
3160 const char* ciphertext; member
3401 string ciphertext; in TEST_P() local
3471 string ciphertext; in TEST_P() local
3562 string ciphertext; in TEST_P() local
3609 string ciphertext; in TEST_P() local
3668 string ciphertext; in TEST_P() local
3716 string ciphertext; in TEST_P() local
3760 string ciphertext; in TEST_P() local
[all …]
/aosp12/hardware/interfaces/security/keymint/aidl/vts/functional/
H A DKeyMintTest.cpp4406 string ciphertext; in TEST_P() local
4872 string ciphertext; in TEST_P() local
4915 string ciphertext; in TEST_P() local
5042 string ciphertext; in TEST_P() local
5131 string ciphertext; in TEST_P() local
5178 string ciphertext; in TEST_P() local
5219 string ciphertext; in TEST_P() local
5252 string ciphertext; in TEST_P() local
5288 string ciphertext; in TEST_P() local
5330 string ciphertext; in TEST_P() local
[all …]
H A DKeyMintAidlTestBase.cpp650 string ciphertext = EncryptMessage(key_blob_, message, params, &out_params); in CheckAesCtrTestVector() local
907 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
917 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
927 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
943 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
957 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
969 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local
974 const string& ciphertext, in DecryptMessage()
984 string KeyMintAidlTestBase::DecryptMessage(const string& ciphertext, in DecryptMessage()
990 string KeyMintAidlTestBase::DecryptMessage(const string& ciphertext, BlockMode block_mode, in DecryptMessage()
/aosp12/system/keymaster/include/keymaster/key_blob_utils/
H A Dauth_encrypted_key_blob.h48 KeymasterKeyBlob ciphertext; member
/aosp12/system/vold/
H A DKeyStorage.cpp380 const KeyBuffer& message, std::string* ciphertext) { in encryptWithKeymasterKey()
406 const std::string& ciphertext, KeyBuffer* message) { in decryptWithKeymasterKey()
471 std::string* ciphertext) { in encryptWithoutKeymaster()
520 static bool decryptWithoutKeymaster(const std::string& preKey, const std::string& ciphertext, in decryptWithoutKeymaster()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordCrypto.java116 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { in decrypt()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DSecureBox.java335 private static byte[] aesGcmDecrypt(SecretKey key, byte[] nonce, byte[] ciphertext, byte[] aad) in aesGcmDecrypt()
/aosp12/system/security/keystore2/src/km_compat/
H A Dlib.rs304 let ciphertext = result.unwrap(); in test_begin_update_finish() localVariable
/aosp12/system/security/keystore2/src/crypto/
H A Dlib.rs136 let mut ciphertext: Vec<u8> = vec![0; plaintext.len()]; in aes_gcm_encrypt() localVariable
/aosp12/system/security/keystore/
H A Dkeystore_cli_v2.cpp396 auto ciphertext = std::move(*optCiphertext); in encryptWithAuthentication() local
/aosp12/system/security/keystore2/src/
H A Dsuper_key.rs179 ciphertext: Vec<u8>, // with tag appended field
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/
H A Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...