/aosp12/system/keymaster/cppcose/ |
H A D | cppcose.cpp | 225 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 D | android_keymaster_test.cpp | 2303 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 D | android_keymaster_test_utils.cpp | 469 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 D | KeymasterHidlTest.cpp | 480 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 D | keymaster_hidl_hal_test.cpp | 2787 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 D | ocb_utils.cpp | 116 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 D | keymaster_hidl_hal_test.cpp | 2926 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 D | KeyMintTest.cpp | 4406 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 D | KeyMintAidlTestBase.cpp | 650 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 D | auth_encrypted_key_blob.h | 48 KeymasterKeyBlob ciphertext; member
|
/aosp12/system/vold/ |
H A D | KeyStorage.cpp | 380 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 D | SyntheticPasswordCrypto.java | 116 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 D | SecureBox.java | 335 private static byte[] aesGcmDecrypt(SecretKey key, byte[] nonce, byte[] ciphertext, byte[] aad) in aesGcmDecrypt()
|
/aosp12/system/security/keystore2/src/km_compat/ |
H A D | lib.rs | 304 let ciphertext = result.unwrap(); in test_begin_update_finish() localVariable
|
/aosp12/system/security/keystore2/src/crypto/ |
H A D | lib.rs | 136 let mut ciphertext: Vec<u8> = vec![0; plaintext.len()]; in aes_gcm_encrypt() localVariable
|
/aosp12/system/security/keystore/ |
H A D | keystore_cli_v2.cpp | 396 auto ciphertext = std::move(*optCiphertext); in encryptWithAuthentication() local
|
/aosp12/system/security/keystore2/src/ |
H A D | super_key.rs | 179 ciphertext: Vec<u8>, // with tag appended field
|
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/ |
H A D | tink-android-1.5.0.jar | com/google/crypto/tink/subtle/prf/StreamingPrf.class
StreamingPrf.java
package ... |