Searched refs:aad (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/system/ulib/crypto/include/crypto/ |
H A D | aead.h | 64 zx_status_t Seal(const Bytes& ptext, const Bytes& aad, uint64_t* out_nonce, Bytes* out_ctext) { argument 65 return Seal(ptext, aad.get(), aad.len(), out_nonce, out_ctext); 75 zx_status_t Open(uint64_t nonce, const Bytes& ctext, const Bytes& aad, Bytes* out_ptext) { argument 76 return Open(nonce, ctext, aad.get(), aad.len(), out_ptext); 89 zx_status_t Seal(const Bytes& ptext, const uint8_t* aad, size_t aad_len, uint64_t* out_nonce, 91 zx_status_t Open(uint64_t nonce, const Bytes& ctext, const uint8_t* aad, size_t aad_len,
|
/fuchsia/zircon/system/ulib/crypto/ |
H A D | aead.cpp | 114 zx_status_t AEAD::Seal(const Bytes& ptext, const uint8_t* aad, size_t aad_len, uint64_t* out_nonce, argument 139 ptext.get(), ptext_len, aad, aad_len) != 1) { 160 zx_status_t AEAD::Open(uint64_t nonce, const Bytes& ctext, const uint8_t* aad, size_t aad_len, Bytes* out_ptext) { argument 184 ctext.get(), ctext_len, aad, aad_len) != 1) {
|
/fuchsia/zircon/system/utest/crypto/ |
H A D | aead.cpp | 237 Bytes ptext, aad, iv, ctext, tag, result; local 242 ASSERT_OK(HexToBytes(xaad, &aad)); 249 EXPECT_OK(sealer.Seal(ptext, aad, &nonce, &result)); 255 EXPECT_OK(opener.Open(nonce, ctext, aad, &result)); 478 Bytes ptext, aad, iv, ctext, tag, result; local 481 ASSERT_OK(HexToBytes(xaad, &aad)); 488 EXPECT_OK(sealer.Seal(ptext, aad, &nonce, &ctext)); 494 EXPECT_OK(opener.Open(nonce, ctext, aad, &result));
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/modes/ |
H A D | internal.h | 204 OPENSSL_EXPORT int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const uint8_t *aad, 275 const uint8_t *in, size_t len, const uint8_t *aad, 284 const uint8_t *in, size_t len, const uint8_t *aad,
|
H A D | gcm.c | 485 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const uint8_t *aad, size_t len) { argument 509 ctx->Xi.c[n] ^= *(aad++); 525 GHASH(ctx, aad, len_blocks); 526 aad += len_blocks; 532 ctx->Xi.c[i] ^= aad[i]; 535 aad += 16; 544 ctx->Xi.c[i] ^= aad[i];
|
Completed in 34 milliseconds