/aosp_15_r20/external/rust/beto-rust/nearby/presence/ldt/resources/test/ |
D | ldt-xor-pad-testvectors.json | 4 "ciphertext": "1EC92825283417EAA9B9E30C9DD20353C74A383F6B6F73C6", string 10 "ciphertext": "DF6D484165165DD7CFA444D958C9271C952AB5918AC48FD8AC", string 16 "ciphertext": "C02D7D5467F07C478DF4CC16A0E3DCCB1397C2CE40", string 22 "ciphertext": "7C31E4AE1639D0BA7C6152435ADD68041E2A19F1504CE4545823D2BC", string 28 "ciphertext": "E40FA59A8D6D2CE543B497F3E9E440E3E9A3DD1C4BFAF07624DAF1BCB2", string 34 "ciphertext": "5140DCD5C0497CD7BE86FAB5A001947EEF15E4C6C2907CD1", string 40 "ciphertext": "3FF32140E58CA1C915101923CAD15D5AC8", string 46 "ciphertext": "620824B3E9E12DDF898FBF05A4318448", string 52 "ciphertext": "72EB2245B4CB123BBAFEAB60D62A1DFEFB44AF78A7577DBDC989", string 58 "ciphertext": "54F0793F264E5269A5AFFCA86993608E00AEF4EF760DA56BABEFE64BA7", string [all …]
|
/aosp_15_r20/external/tink/cc/integration/awskms/testdata/testvectors/ |
H A D | hpke_boringssl.json | 1 …838a32e18dd1bfa44a30a1c1012e0","encryptions":[{"aad":"436f756e742d30","ciphertext":"1d2ae93bff2fc3… string
|
/aosp_15_r20/external/tink/python/examples/testdata/testvectors/ |
H A D | hpke_boringssl.json | 1 …838a32e18dd1bfa44a30a1c1012e0","encryptions":[{"aad":"436f756e742d30","ciphertext":"1d2ae93bff2fc3… string
|
/aosp_15_r20/external/tink/python/testdata/testvectors/ |
H A D | hpke_boringssl.json | 1 …838a32e18dd1bfa44a30a1c1012e0","encryptions":[{"aad":"436f756e742d30","ciphertext":"1d2ae93bff2fc3… string
|
/aosp_15_r20/external/tink/java_src/examples/testdata/testvectors/ |
H A D | hpke_boringssl.json | 1 …838a32e18dd1bfa44a30a1c1012e0","encryptions":[{"aad":"436f756e742d30","ciphertext":"1d2ae93bff2fc3… string
|
/aosp_15_r20/external/tink/cc/integration/gcpkms/testdata/testvectors/ |
H A D | hpke_boringssl.json | 1 …838a32e18dd1bfa44a30a1c1012e0","encryptions":[{"aad":"436f756e742d30","ciphertext":"1d2ae93bff2fc3… string
|
/aosp_15_r20/external/tink/java_src/testdata/testvectors/ |
H A D | hpke_boringssl.json | 1 …838a32e18dd1bfa44a30a1c1012e0","encryptions":[{"aad":"436f756e742d30","ciphertext":"1d2ae93bff2fc3… string
|
/aosp_15_r20/external/tink/go/testdata/testvectors/ |
H A D | hpke_boringssl.json | 1 …838a32e18dd1bfa44a30a1c1012e0","encryptions":[{"aad":"436f756e742d30","ciphertext":"1d2ae93bff2fc3… string
|
/aosp_15_r20/external/rust/beto-rust/nearby/presence/ldt/resources/test/aluykx-test-vectors/ |
D | ldt_testvectors.json | 4 "ciphertext": "14fde3163e88a22d55729de18017409c", string 10 "ciphertext": "950301cc6e5114b800efd4ae230704facf", string 16 "ciphertext": "11edbeb44b8b64c3e170c00ee110ace78159", string 22 "ciphertext": "5c1886009b5f65bc7ad3d5e010ea6365d10898", string 28 "ciphertext": "495241ff475f27ee64d5f264d7c120f6ee9241bb", string 34 "ciphertext": "a5e28d2cfb46e563e5c645d4b3d3f7d7ebc985792a", string 40 "ciphertext": "aaefcd50d8f62ee434a556238b5a9571fe0f174f6749", string 46 "ciphertext": "86f6e5fb4e323115ef68828a9ec581aa51c1826add8a1c", string 52 "ciphertext": "0f3354a6b5a8a600d3ff2ce31c9305887bbe6edcf42e5ab2", string 58 "ciphertext": "9b033e0d411ff330ceb311dc4ab7302d5c2a6907e719af3ce8", string [all …]
|
/aosp_15_r20/external/rust/beto-rust/nearby/presence/ldt_np_adv/resources/test/ |
D | np_adv_test_vectors.json | 4 "ciphertext": "A3D54A03A1464A5D99ECE37D911D52B4E947D4089A", string 13 "ciphertext": "44C8C117FE2D5586022C937EF257D5C4044BFACD7BA9E87B40", string 22 "ciphertext": "E319FCF0BB99BBFC0777A05AB272EADC7F0E821AF8C338", string 31 "ciphertext": "D788023D9DA9237C2DDED0AAE3BFAD1DF9D1EB2641B3426776C5", string 40 "ciphertext": "2AE1434E1D7E5B3F8F472E2CF8B2534CFF2A1B9A12", string 49 "ciphertext": "F66B47B187370914A59EE09EAEE4316E932B", string 58 "ciphertext": "7778EE076A15789D61B2BBA7B70A7AD47AE2", string 67 "ciphertext": "5D19BEE1FEFC66260CB85107F192824DEB52BD887A5B", string 76 "ciphertext": "43DFAFB88F737CD8C82C984CB63BC53B98", string 85 "ciphertext": "3D546469EAF0B3CD40680CD1882A0BCA2525061690554DD3B0EE22A2", string [all …]
|
/aosp_15_r20/external/tink/cc/subtle/ |
H A D | aes_gcm_boringssl_test.cc | 73 util::StatusOr<std::string> ciphertext = in TEST_F() local 84 util::StatusOr<std::string> ciphertext = in TEST_F() local 138 auto ciphertext = cipher_->Encrypt(kMessage, associated_data); in TEST_F() local 143 auto ciphertext = cipher_->Encrypt(kMessage, ""); in TEST_F() local 148 auto ciphertext = cipher_->Encrypt(kMessage, absl::string_view()); in TEST_F() local 157 util::StatusOr<std::string> ciphertext = in TEST_F() local 166 util::StatusOr<std::string> ciphertext = in TEST_F() local 174 util::StatusOr<std::string> ciphertext = in TEST_F() local 187 util::StatusOr<std::string> ciphertext = in TEST_F() local 197 util::StatusOr<std::string> ciphertext = in TEST_F() local [all …]
|
/aosp_15_r20/external/cronet/crypto/ |
H A D | encryptor_unittest.cc | 30 std::string ciphertext; in TEST() local 82 std::string ciphertext; in TEST() local 196 const unsigned char* ciphertext, size_t ciphertext_size) { in TestAESCTREncrypt() 246 const unsigned char* ciphertext, size_t ciphertext_size) { in TestAESCTRMultipleDecrypt() 320 std::string ciphertext; in TEST() local 403 std::string ciphertext; in TEST() local 433 std::string ciphertext; in TEST() local 484 std::string ciphertext; in TEST() local 527 std::string ciphertext; in TEST() local 566 std::unique_ptr<char[]> ciphertext(new char[1]); in TEST() local
|
/aosp_15_r20/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
H A D | AesGcmAeadCrypter.java | 59 ByteBuffer ciphertext, ByteBuffer plaintext, @Nullable ByteBuffer aad, byte[] nonce) in encryptAad() 73 ByteBuffer plaintext, ByteBuffer ciphertext, @Nullable ByteBuffer aad, byte[] nonce) in decryptAad() 87 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, byte[] nonce) in encrypt() 93 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, ByteBuffer aad, byte[] nonce) in encrypt() 99 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, byte[] nonce) in decrypt() 105 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, ByteBuffer aad, byte[] nonce) in decrypt()
|
H A D | AeadCrypter.java | 36 void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, byte[] nonce) in encrypt() 49 void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, ByteBuffer aad, byte[] nonce) in encrypt() 61 void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, byte[] nonce) in decrypt() 74 void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, ByteBuffer aad, byte[] nonce) in decrypt()
|
/aosp_15_r20/external/rust/android-crates-io/crates/zip/src/ |
D | aes_ctr.rs | 186 let mut ciphertext = []; in crypt_aes_256_0_byte() localVariable 199 let mut ciphertext = [0x98, 0xa9, 0x8c, 0x26, 0x0e]; in crypt_aes_128_5_byte() localVariable 211 let mut ciphertext = [0x36, 0x55, 0x5c, 0x61, 0x3c]; in crypt_aes_192_5_byte() localVariable 223 let mut ciphertext = [0xc2, 0x47, 0xc0, 0xdc, 0x56]; in crypt_aes_256_5_byte() localVariable 236 let mut ciphertext = [ in crypt_aes_128_40_byte() localVariable 252 let mut ciphertext = [ in crypt_aes_192_40_byte() localVariable 268 let mut ciphertext = [ in crypt_aes_256_40_byte() localVariable
|
/aosp_15_r20/packages/modules/Virtualization/libs/bssl/tests/ |
D | aead_test.rs | 37 let ciphertext = aes_256_gcm_encrypt(MESSAGE)?; in aes_256_gcm_encrypts_and_decrypts_successfully() localVariable 70 let ciphertext = aes_256_gcm_encrypt(MESSAGE)?; in aes_256_gcm_fails_to_decrypt_with_wrong_key() localVariable 87 let ciphertext = aes_256_gcm_encrypt(MESSAGE)?; in aes_256_gcm_fails_to_decrypt_with_different_ad() localVariable 104 let ciphertext = aes_256_gcm_encrypt(MESSAGE)?; in aes_256_gcm_fails_to_decrypt_with_different_nonce() localVariable 121 let mut ciphertext = aes_256_gcm_encrypt(MESSAGE)?; in aes_256_gcm_fails_to_decrypt_corrupted_ciphertext() localVariable 145 let ciphertext = aead_ctx.seal(message, &AES_256_GCM_NONCE1, ad, &mut out)?; in aes_256_gcm_encrypt() localVariable
|
/aosp_15_r20/external/tink/cc/hybrid/ |
H A D | hybrid_decrypt_wrapper_test.cc | 142 std::string ciphertext = DummyHybridEncrypt(hybrid_name_0) in TEST_F() local 151 std::string ciphertext = plaintext + hybrid_name_1; in TEST_F() local 161 std::string ciphertext = in TEST_F() local 171 std::string ciphertext = "some bad ciphertext"; in TEST_F() local 282 std::string ciphertext = absl::StrCat((*last)->get_identifier(), in TEST_F() local 322 constexpr absl::string_view ciphertext = "This is some ciphertext!"; in TEST_F() local
|
/aosp_15_r20/external/federated-compute/fcp/secagg/shared/ |
H A D | aes_gcm_encryption_test.cc | 43 std::string ciphertext = aes.Encrypt(key, test_str); in TEST() local 88 std::string ciphertext = aes.Encrypt(key, test_str); in TEST() local 99 std::string ciphertext = aes.Encrypt(key, test_str); in TEST() local 120 std::string ciphertext = aes.Encrypt(key, test_str); in TEST() local 138 std::string ciphertext = aes.Encrypt(key, test_str); in TEST() local 159 std::string ciphertext = aes.Encrypt(key, test_str); in TEST() local
|
/aosp_15_r20/hardware/interfaces/keymaster/4.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 2206 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2309 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2399 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2562 string ciphertext = EncryptMessage( in TEST_P() local 2797 string ciphertext; in TEST_P() local 2819 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2863 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2977 const char* ciphertext; member 3025 const string ciphertext = hex2str(test.ciphertext); in TEST_P() local 3172 string ciphertext = EncryptMessage(message, params, &out_params); in TEST_P() local [all …]
|
H A D | KeymasterHidlTest.cpp | 468 string ciphertext; in CheckAesIncrementalEncryptOperation() local 575 string ciphertext = EncryptMessage(key_blob_, message, params, &out_params); in CheckAesCtrTestVector() local 644 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local 654 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local 664 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local 680 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local 694 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local 698 string KeymasterHidlTest::DecryptMessage(const HidlBuf& key_blob, const string& ciphertext, in DecryptMessage() 708 string KeymasterHidlTest::DecryptMessage(const string& ciphertext, const AuthorizationSet& params) { in DecryptMessage() 713 string KeymasterHidlTest::DecryptMessage(const string& ciphertext, BlockMode block_mode, in DecryptMessage()
|
/aosp_15_r20/external/tink/cc/aead/ |
H A D | kms_envelope_aead_test.cc | 133 auto ciphertext = absl::string_view(*encrypt_result); in TEST_F() local 177 util::StatusOr<std::string> ciphertext = (*aead)->Encrypt(message, aad); in TEST_F() local 215 util::StatusOr<std::string> ciphertext = (*aead)->Encrypt(message, aad); in TEST_F() local 260 util::StatusOr<std::string> ciphertext = in TEST_P() local 329 util::StatusOr<std::string> ciphertext = in TEST_F() local 337 util::StatusOr<std::string> ciphertext = in TEST_F() local
|
/aosp_15_r20/hardware/interfaces/keymaster/3.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 795 string ciphertext = EncryptMessage(key_blob_, message, params, &out_params); in CheckAesCtrTestVector() local 837 string ciphertext = EncryptMessage(message, params, &out_params); in EncryptMessage() local 843 string DecryptMessage(const HidlBuf& key_blob, const string& ciphertext, in DecryptMessage() 853 string DecryptMessage(const string& ciphertext, const AuthorizationSet& params) { in DecryptMessage() 2499 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2567 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2729 string ciphertext = EncryptMessage( in TEST_P() local 2929 string ciphertext; in TEST_P() local 2951 string ciphertext = EncryptMessage(message, params); in TEST_P() local 2995 string ciphertext = EncryptMessage(message, params); in TEST_P() local [all …]
|
/aosp_15_r20/external/tink/cc/daead/ |
H A D | deterministic_aead_wrapper_test.cc | 140 std::string ciphertext = encrypt_result.value(); in TEST_F() local 269 util::StatusOr<std::string> ciphertext = in TEST_F() local 316 util::StatusOr<std::string> ciphertext = in TEST_F() local 367 util::StatusOr<std::string> ciphertext = in TEST_F() local 406 constexpr absl::string_view ciphertext = "This is some ciphertext!"; in TEST_F() local
|
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/aead/internal/ |
H A D | InsecureNonceChaCha20Poly1305Base.java | 73 ByteBuffer ciphertext = ByteBuffer.allocate(plaintext.length + MAC_TAG_SIZE_IN_BYTES); in encrypt() local 120 public byte[] decrypt(final byte[] nonce, final byte[] ciphertext, final byte[] associatedData) in decrypt() 135 public byte[] decrypt(ByteBuffer ciphertext, final byte[] nonce, final byte[] associatedData) in decrypt() 171 private static byte[] macDataRfc8439(final byte[] aad, ByteBuffer ciphertext) { in macDataRfc8439()
|
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider_test/src/aes/ |
D | cbc.rs | 81 let ciphertext = hex!("3f3f39697bd7e88d85a14132be1cbc48"); in aes_256_cbc_test_decrypt() localVariable 93 let ciphertext = hex!("8881e9e02fa9e3037b397957ba1fb7ce64679a46621b792f643542a735f0bbbf"); in aes_256_cbc_test_decrypt_bad_padding() localVariable 104 let mut ciphertext = hex!("3f3f39697bd7e88d85a14132be1cbc48"); in aes_256_cbc_test_decrypt_in_place() localVariable 120 let ciphertext = hex!("8881e9e02fa9e3037b397957ba1fb7ce64679a46621b792f643542a735f0bbbf"); in aes_256_cbc_test_decrypt_in_place_bad_padding() localVariable
|