Home
last modified time | relevance | path

Searched defs:aead (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/
DOhttpJniWrapperTest.java82 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeCtxSetupSenderWithSeed_returnsCorrectSharedSecret() local
103 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeCtxSetupSenderWithSeed_returnsCorrectSharedSecret_withServerAuctionMediaTypeChange() local
122 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeEncrypt_returnsCorrectResponse() local
159 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeEncrypt_returnsCorrectResponse_withServerAuctionMediaTypeChange() local
195 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeEncrypt_emptyPlainText_returnsNullCipherText() local
229 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeEncrypt_emptyPlainText_returnsNullCipherText_withServerAuctionMediaTypeChange() local
262 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeCtxSetupSenderWithSeed_nullContext_throwsException() local
288 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeCtxSetupSenderWithSeed_nullContext_throwsException_withServerAuctionMediaChange() local
312 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeCtxSetupSenderWithSeed_emptyPublicKey_throwsException() local
338 AeadNativeRef aead = AeadNativeRef.getHpkeAeadAes256GcmReference(); in hpkeCtxSetupSenderWithSeed_emptyPublicKey_throwsException_withServerAuctionMediaChange() local
[all …]
/aosp_15_r20/external/tink/cc/aead/internal/
H A Dssl_aead_test.cc105 util::StatusOr<std::unique_ptr<SslOneShotAead>> aead = CipherFromName( in TEST_P() local
122 void DoTestEncrypt(SslOneShotAead* aead, absl::string_view message, in DoTestEncrypt()
134 void DoTestDecrypt(SslOneShotAead* aead, absl::string_view message, in DoTestDecrypt()
148 util::StatusOr<std::unique_ptr<SslOneShotAead>> aead = CipherFromName( in TEST_P() local
171 void DoTestEncryptDecryptWithModifiedCiphertext(SslOneShotAead* aead, in DoTestEncryptDecryptWithModifiedCiphertext()
221 util::StatusOr<std::unique_ptr<SslOneShotAead>> aead = CipherFromName( in TEST_P() local
239 util::StatusOr<std::unique_ptr<SslOneShotAead>> aead = CipherFromName( in TEST_P() local
270 void TestDecryptWithEmptyAssociatedData(SslOneShotAead* aead, in TestDecryptWithEmptyAssociatedData()
286 void DoTestWithEmptyAssociatedData(SslOneShotAead* aead, absl::string_view iv, in DoTestWithEmptyAssociatedData()
306 util::StatusOr<std::unique_ptr<SslOneShotAead>> aead = CipherFromName( in TEST_P() local
[all …]
H A Dzero_copy_aead_wrapper.cc73 ZeroCopyAead& aead = aead_set_->get_primary()->get_primitive(); in Encrypt() local
100 ZeroCopyAead& aead = entry->get_primitive(); in Decrypt() local
119 ZeroCopyAead& aead = entry->get_primitive(); in Decrypt() local
141 std::unique_ptr<Aead> aead = in Wrap() local
H A Daead_from_zero_copy_test.cc61 AeadFromZeroCopy aead(std::move(mock_zero_copy_aead)); in TEST() local
75 AeadFromZeroCopy aead(std::move(mock_zero_copy_aead)); in TEST() local
91 AeadFromZeroCopy aead(std::move(mock_zero_copy_aead)); in TEST() local
105 AeadFromZeroCopy aead(std::move(mock_zero_copy_aead)); in TEST() local
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/
H A DChaCha20Poly1305Test.java87 Aead aead = createInstance(Random.randBytes(KEY_SIZE)); in testEncryptDecrypt() local
108 Aead aead = createInstance(key); in testLongMessages() local
121 Aead aead = createInstance(key); in testModifyCiphertext() local
156 Aead aead = createInstance(Random.randBytes(KEY_SIZE)); in testNullPlaintextOrCiphertext() local
185 Aead aead = createInstance(Random.randBytes(KEY_SIZE)); in testEmptyAssociatedData() local
226 Aead aead = createInstance(key); in testRandomNonce() local
271 Aead aead = createInstance(key); in testWycheproofVectors() local
H A DEncryptThenAuthenticateTest.java111 Aead aead = getAead(t.macKey, t.encKey, t.ivSize, t.tagLength, t.macAlg); in testRFCVectors() local
118 Aead aead = getAead(Random.randBytes(16), Random.randBytes(16), 16, 16, "HMACSHA256"); in testBitFlipCiphertext() local
133 Aead aead = getAead(Random.randBytes(16), Random.randBytes(16), 16, 16, "HMACSHA256"); in testBitFlipAad() local
148 Aead aead = getAead(Random.randBytes(16), Random.randBytes(16), 16, 16, "HMACSHA256"); in testEncryptDecrypt() local
162 Aead aead = getAead(Random.randBytes(16), Random.randBytes(16), 16, 16, "HMACSHA256"); in testNullPlaintextOrCiphertext() local
188 Aead aead = getAead(Random.randBytes(16), Random.randBytes(16), 16, 16, "HMACSHA256"); in testEmptyAssociatedData() local
221 Aead aead = getAead(Random.randBytes(16), Random.randBytes(16), 16, 16, "HMACSHA256"); in testTruncation() local
H A DXChaCha20Poly1305Test.java140 Aead aead = createInstance(Random.randBytes(KEY_SIZE)); in testEncryptDecrypt() local
161 Aead aead = createInstance(key); in testLongMessages() local
172 Aead aead = createInstance(key); in testModifyCiphertext() local
225 Aead aead = createInstance(key); in testRandomNonce() local
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/integration/awskms/
H A DAwsKmsAeadTest.java49 Aead aead = new AwsKmsAead(kms, KEY_ARN); in testEncryptDecryptWithKnownKeyArn_success() local
61 Aead aead = new AwsKmsAead(kmsThatDoentKnowKeyArn, KEY_ARN); in testEncryptWithUnknownKeyArn_fails() local
70 Aead aead = new AwsKmsAead(kms, KEY_ARN); in testDecryptWithInvalidKeyArn_fails() local
80 Aead aead = new AwsKmsAead(kms, KEY_ARN); in testDecryptWithDifferentKeyArn_fails() local
100 Aead aead = new AwsKmsAead(kms, KEY_ARN); in testDecryptWithAliasKeyArn_success() local
117 Aead aead = new AwsKmsAead(kms, KEY_ARN); in testDecryptWithInvalidKeyArn_success() local
/aosp_15_r20/external/tink/cc/core/
H A Dkeyset_handle_test.cc199 DummyAead aead("dummy aead 42"); in TEST_F() local
215 DummyAead aead("dummy aead 42"); in TEST_F() local
230 DummyAead aead("dummy aead 42"); in TEST_F() local
244 DummyAead aead("dummy aead 42"); in TEST_F() local
261 DummyAead aead("dummy aead 42"); in TEST_F() local
283 std::unique_ptr<Aead> aead = absl::make_unique<DummyAead>(""); in TEST_F() local
314 DummyAead aead("dummy aead 42"); in TEST_F() local
345 DummyAead aead("dummy aead 42"); in TEST_F() local
360 DummyAead aead("dummy aead 42"); in TEST_F() local
374 DummyAead aead("dummy aead 42"); in TEST_F() local
[all …]
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/integration/gcpkms/
H A DGcpKmsIntegrationTest.java72 Aead aead = keysetHandle.getPrimitive(Aead.class); in kmsAead_encryptDecrypt() local
93 Aead aead = keysetHandle.getPrimitive(Aead.class); in kmsAeadEncryptAndDecryptWithoutAssociatedData_success() local
111 Aead aead = keysetHandle.getPrimitive(Aead.class); in kmsAeadDecryptWithDifferentKeyUri_fails() local
139 Aead aead = keysetHandle.getPrimitive(Aead.class); in kmsEnvelopeAead_encryptDecrypt() local
162 Aead aead = keysetHandle.getPrimitive(Aead.class); in kmsEnvelopeAeadDecryptWithDifferentKeyUri_fails() local
222 Aead aead = handle.getPrimitive(Aead.class); in decryptCiphertextEncryptedInBigQueryUsingAWrappedKeyset() local
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/hybrid/internal/
H A DHpkeContext.java36 private final HpkeAead aead; field in HpkeContext
50 HpkeAead aead) { in HpkeContext()
66 HpkeAead aead, in createContext()
94 HpkePublicKey recipientPublicKey, HpkeKem kem, HpkeKdf kdf, HpkeAead aead, byte[] info) in createSenderContext()
118 HpkeAead aead, in createAuthSenderContext()
145 HpkeAead aead, in createRecipientContext()
169 HpkeAead aead, in createAuthRecipientContext()
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
Daead.c28 size_t EVP_AEAD_key_length(const EVP_AEAD *aead) { return aead->key_len; } in EVP_AEAD_key_length()
30 size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead) { return aead->nonce_len; } in EVP_AEAD_nonce_length()
32 size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead) { return aead->overhead; } in EVP_AEAD_max_overhead()
34 size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead) { return aead->max_tag_len; } in EVP_AEAD_max_tag_len()
40 EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead, const uint8_t *key, in EVP_AEAD_CTX_new()
58 int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init()
70 int EVP_AEAD_CTX_init_with_direction(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init_with_direction()
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
Daead.c28 size_t EVP_AEAD_key_length(const EVP_AEAD *aead) { return aead->key_len; } in EVP_AEAD_key_length()
30 size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead) { return aead->nonce_len; } in EVP_AEAD_nonce_length()
32 size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead) { return aead->overhead; } in EVP_AEAD_max_overhead()
34 size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead) { return aead->max_tag_len; } in EVP_AEAD_max_tag_len()
40 EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead, const uint8_t *key, in EVP_AEAD_CTX_new()
58 int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init()
70 int EVP_AEAD_CTX_init_with_direction(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init_with_direction()
/aosp_15_r20/external/boringssl/src/crypto/fipsmodule/cipher/
H A Daead.c28 size_t EVP_AEAD_key_length(const EVP_AEAD *aead) { return aead->key_len; } in EVP_AEAD_key_length()
30 size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead) { return aead->nonce_len; } in EVP_AEAD_nonce_length()
32 size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead) { return aead->overhead; } in EVP_AEAD_max_overhead()
34 size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead) { return aead->max_tag_len; } in EVP_AEAD_max_tag_len()
40 EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead, const uint8_t *key, in EVP_AEAD_CTX_new()
61 int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init()
73 int EVP_AEAD_CTX_init_with_direction(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init_with_direction()
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/fipsmodule/cipher/
H A Daead.c28 size_t EVP_AEAD_key_length(const EVP_AEAD *aead) { return aead->key_len; } in EVP_AEAD_key_length()
30 size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead) { return aead->nonce_len; } in EVP_AEAD_nonce_length()
32 size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead) { return aead->overhead; } in EVP_AEAD_max_overhead()
34 size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead) { return aead->max_tag_len; } in EVP_AEAD_max_tag_len()
40 EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead, const uint8_t *key, in EVP_AEAD_CTX_new()
61 int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init()
73 int EVP_AEAD_CTX_init_with_direction(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init_with_direction()
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/aead/
H A DAeadWrapperTest.java205 Aead aead = in encrytAndDecrypt_success() local
290 Aead aead = in decryptFailsIfEncryptedWithOtherKeyEvenIfKeyIdsAreEqual() local
316 Aead aead = in nonRawKeysWithSameKeyMaterialButDifferentKeyIds_decryptFails() local
335 Aead aead = in rawKeysWithSameKeyMaterialButDifferentKeyIds_decryptWorks() local
404 Aead aead = in testAeadWithoutAnnotations_hasNoMonitoring() local
450 Aead aead = new AeadWrapper().wrap(primitives); in testAeadWithAnnotations_hasMonitoring() local
526 Aead aead = new AeadWrapper().wrap(primitives); in testFailingAeadWithAnnotations_hasMonitoring() local
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/hybrid/internal/
H A DAesGcmHpkeAeadTest.java64 AesGcmHpkeAead aead, byte[] mode, byte[] kemId, byte[] kdfId, byte[] aeadId) in testSealAndOpen()
83 AesGcmHpkeAead aead = new AesGcmHpkeAead(16); in sealAndOpen_aes128Gcm() local
94 AesGcmHpkeAead aead = new AesGcmHpkeAead(32); in sealAndOpen_aes256Gcm() local
110 AesGcmHpkeAead aead = new AesGcmHpkeAead(32); in seal_wrongKeyLength() local
128 AesGcmHpkeAead aead = new AesGcmHpkeAead(16); in open_wrongKeyLength() local
H A DChaCha20Poly1305HpkeAeadTest.java64 ChaCha20Poly1305HpkeAead aead, byte[] mode, byte[] kemId, byte[] kdfId, byte[] aeadId) in testSealAndOpen()
83 ChaCha20Poly1305HpkeAead aead = new ChaCha20Poly1305HpkeAead(); in sealAndOpen() local
94 ChaCha20Poly1305HpkeAead aead = new ChaCha20Poly1305HpkeAead(); in seal_wrongKeyLength() local
112 ChaCha20Poly1305HpkeAead aead = new ChaCha20Poly1305HpkeAead(); in open_wrongKeyLength() local
/aosp_15_r20/external/tink/cc/aead/
H A Daead_wrapper_test.cc91 util::StatusOr<std::unique_ptr<Aead>> aead = wrapper.Wrap(nullptr); in TEST() local
100 util::StatusOr<std::unique_ptr<Aead>> aead = in TEST() local
114 std::unique_ptr<Aead> aead = absl::make_unique<DummyAead>(aead_name_0); in TEST() local
160 std::unique_ptr<Aead> aead = absl::make_unique<DummyAead>(aead_name_0); in TEST() local
268 util::StatusOr<std::unique_ptr<Aead>> aead = in TEST_F() local
318 util::StatusOr<std::unique_ptr<Aead>> aead = in TEST_F() local
H A Dcord_aead_wrapper_test.cc81 std::unique_ptr<CordAead> aead = in setup_keyset() local
95 auto aead = std::move(aead_result.value()); in TEST() local
135 std::unique_ptr<CordAead> aead = absl::make_unique<DummyCordAead>(aead_name); in TEST() local
159 auto aead = std::move(aead_result.value()); in TEST() local
185 auto aead = std::move(aead_result.value()); in TEST() local
/aosp_15_r20/external/tink/testing/cc/
H A Daead_impl_test.cc70 tink_testing_api::AeadImpl aead; in TEST_F() local
81 tink_testing_api::AeadImpl aead; in TEST_F() local
91 tink_testing_api::AeadImpl aead; in TEST_F() local
114 tink_testing_api::AeadImpl aead; in TEST_F() local
125 tink_testing_api::AeadImpl aead; in TEST_F() local
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/custom/
H A DCustomAeadKeyManagerTest.java163 Aead aead = handle.getPrimitive(Aead.class); in createEncryptAndDecrypt_success() local
183 Aead aead = handle.getPrimitive(Aead.class); in importExistingKey_decrypts() local
196 Aead aead = handle.getPrimitive(Aead.class); in encryptAndDecryptWithTinkPrefix_success() local
239 Aead aead = handle2.getPrimitive(Aead.class); in keysetWithCustomAndTinkKeys_decrypts() local
248 Aead aead = handle.getPrimitive(Aead.class); in serializeAndParse_decrypts() local
/aosp_15_r20/external/tink/go/hybrid/internal/hpke/
H A Dcontext.go28 aead aead member
38 func newSenderContext(recipientPubKey *pb.HpkePublicKey, kem kem, kdf kdf, aead aead, info []byte) … argument
51 …latedKey []byte, recipientPrivKey *pb.HpkePrivateKey, kem kem, kdf kdf, aead aead, info []byte) (*… argument
62 func createContext(encapsulatedKey []byte, sharedSecret []byte, kem kem, kdf kdf, aead aead, info [… argument
/aosp_15_r20/external/cronet/third_party/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
H A Daead.go25 type aead struct { struct
26 algo string
27 tagMergedWithCiphertext bool
66 func (a *aead) Process(vectorSet []byte, m Transactable) (any, error) {
/aosp_15_r20/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
H A Daead.go25 type aead struct { struct
26 algo string
27 tagMergedWithCiphertext bool
66 func (a *aead) Process(vectorSet []byte, m Transactable) (any, error) {

12345678910>>...15