Searched refs:aad (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
H A Dnomem64-err.asm9 aad label
H A Dgenopcode.asm85 aad label
87 aad 5 label
/external/chromium_org/net/quic/crypto/
H A Dchacha20_poly1305_decrypter_test.cc22 const char* aad; member in struct:__anon9423::TestVector
101 string aad; local
106 ASSERT_TRUE(DecodeHexString(test_vectors[i].aad, &aad));
118 StringPiece(aad.length() ? aad.data() : NULL, aad.length()), ct));
H A Dchacha20_poly1305_encrypter_test.cc22 const char* aad; member in struct:__anon9427::TestVector
70 string aad; local
75 ASSERT_TRUE(DecodeHexString(test_vectors[i].aad, &aad));
84 StringPiece(aad.length() ? aad.data() : NULL, aad.length()), pt));
H A Daes_128_gcm_12_decrypter_test.cc62 const char* aad; member in struct:__anon9414::TestVector
283 string aad; local
289 ASSERT_TRUE(DecodeHexString(test_vectors[j].aad, &aad));
300 EXPECT_EQ(test_info.aad_len, aad.length() * 8);
320 aad.length() ? aad : StringPiece(), ciphertext));
H A Daes_128_gcm_12_encrypter_test.cc61 const char* aad; member in struct:__anon9418::TestVector
236 string aad; local
242 ASSERT_TRUE(DecodeHexString(test_vectors[j].aad, &aad));
251 EXPECT_EQ(test_info.aad_len, aad.length() * 8);
261 aad.length() ? aad : StringPiece(), pt));
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes_wrap.h48 const u8 *aad, size_t aad_len,
53 const u8 *aad, size_t aad_len, const u8 *tag,
57 const u8 *aad, size_t aad_len, u8 *tag);
60 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
63 const u8 *aad, size_t aad_len, const u8 *auth,
H A Daes-gcm.c229 static void aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, argument
241 ghash(H, aad, aad_len, S);
256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag)
272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S);
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain)
306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S);
323 const u8 *aad, size_t aad_len, u8 *tag)
325 return aes_gcm_ae(key, key_len, iv, iv_len, NULL, 0, aad, aad_len, NULL,
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) argument
H A Daes-ccm.c29 const u8 *aad, size_t aad_len, size_t plain_len,
50 os_memcpy(aad_buf + 2, aad, aad_len);
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth)
163 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, plain_len, x);
180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain)
201 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, crypt_len, x);
28 aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, const u8 *aad, size_t aad_len, size_t plain_len, u8 *x) argument
148 aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) argument
178 aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) argument
/external/wpa_supplicant_8/src/crypto/
H A Daes_wrap.h48 const u8 *aad, size_t aad_len,
53 const u8 *aad, size_t aad_len, const u8 *tag,
57 const u8 *aad, size_t aad_len, u8 *tag);
60 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
63 const u8 *aad, size_t aad_len, const u8 *auth,
H A Daes-gcm.c229 static void aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, argument
241 ghash(H, aad, aad_len, S);
256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag)
272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S);
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain)
306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S);
323 const u8 *aad, size_t aad_len, u8 *tag)
325 return aes_gcm_ae(key, key_len, iv, iv_len, NULL, 0, aad, aad_len, NULL,
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) argument
H A Daes-ccm.c29 const u8 *aad, size_t aad_len, size_t plain_len,
50 os_memcpy(aad_buf + 2, aad, aad_len);
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth)
163 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, plain_len, x);
180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain)
201 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, crypt_len, x);
28 aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, const u8 *aad, size_t aad_len, size_t plain_len, u8 *x) argument
148 aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) argument
178 aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes_wrap.h48 const u8 *aad, size_t aad_len,
53 const u8 *aad, size_t aad_len, const u8 *tag,
57 const u8 *aad, size_t aad_len, u8 *tag);
60 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
63 const u8 *aad, size_t aad_len, const u8 *auth,
H A Daes-gcm.c229 static void aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, argument
241 ghash(H, aad, aad_len, S);
256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag)
272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S);
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain)
306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S);
323 const u8 *aad, size_t aad_len, u8 *tag)
325 return aes_gcm_ae(key, key_len, iv, iv_len, NULL, 0, aad, aad_len, NULL,
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) argument
H A Daes-ccm.c29 const u8 *aad, size_t aad_len, size_t plain_len,
50 os_memcpy(aad_buf + 2, aad, aad_len);
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth)
163 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, plain_len, x);
180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain)
201 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, crypt_len, x);
28 aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, const u8 *aad, size_t aad_len, size_t plain_len, u8 *x) argument
148 aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) argument
178 aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) argument
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
H A Dcipher_test.c127 const uint8_t *ciphertext, int cn, const uint8_t *aad, int an,
143 hexdump(stdout, "AAD", aad, an);
172 if (an && !EVP_EncryptUpdate(&ctx, NULL, &outl, aad, an)) {
248 if (an && !EVP_DecryptUpdate(&ctx, NULL, &outl, aad, an)) {
294 const uint8_t *aad, int an, const uint8_t *tag, int tn,
325 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an, tag, tn,
356 uint8_t *iv, *key, *plaintext, *ciphertext, *aad, *tag; local
377 tag = aad = NULL;
380 aad = ustrsep(&p, ":");
383 p = (char *)aad;
125 test1(const EVP_CIPHER *c, const uint8_t *key, int kn, const uint8_t *iv, int in, const uint8_t *plaintext, int pn, const uint8_t *ciphertext, int cn, const uint8_t *aad, int an, const uint8_t *tag, int tn, int encdec) argument
291 test_cipher(const char *cipher, const uint8_t *key, int kn, const uint8_t *iv, int in, const uint8_t *plaintext, int pn, const uint8_t *ciphertext, int cn, const uint8_t *aad, int an, const uint8_t *tag, int tn, int encdec) argument
[all...]
/external/llvm/test/MC/X86/
H A Dx86-16.s568 // CHECK: aad $1
570 aad $1
572 // CHECK: aad
574 aad $0xA
576 // CHECK: aad
578 aad
H A Dx86-32.s660 // CHECK: aad $1
662 aad $1
664 // CHECK: aad
666 aad $0xA
668 // CHECK: aad
670 aad
/external/openssl/include/openssl/
H A Dmodes.h96 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad,
122 const unsigned char *aad, size_t alen);
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dmodes.h114 OPENSSL_EXPORT int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const uint8_t *aad,
/external/chromium_org/third_party/boringssl/src/crypto/modes/
H A Dgcm.c529 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const uint8_t *aad, size_t len) { argument
554 ctx->Xi.c[n] ^= *(aad++);
568 GHASH(ctx, aad, i);
569 aad += i;
575 ctx->Xi.c[i] ^= aad[i];
578 aad += 16;
585 ctx->Xi.c[i] ^= aad[i];
/external/openssl/crypto/modes/
H A Dccm128.c105 const unsigned char *aad,size_t alen)
144 for(;i<16 && alen;++i,++aad,--alen)
145 ctx->cmac.c[i] ^= *aad;
104 CRYPTO_ccm128_aad(CCM128_CONTEXT *ctx, const unsigned char *aad,size_t alen) argument
H A Dgcm128.c853 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx,const unsigned char *aad,size_t len) argument
876 ctx->Xi.c[n] ^= *(aad++);
889 GHASH(ctx,aad,i);
890 aad += i;
895 for (i=0; i<16; ++i) ctx->Xi.c[i] ^= aad[i];
897 aad += 16;
903 for (i=0; i<len; ++i) ctx->Xi.c[i] ^= aad[i];
/external/valgrind/main/exp-dhat/
H A Ddh_main.c1116 ULong aad = api->deaths == 0 local
1123 ? 0 : (10000ULL * aad) / g_guest_instrs_executed;
1128 api->deaths, aad, buf );
/external/qemu/target-i386/
H A Dhelper.h25 DEF_HELPER_2(aad, void, env, int)

Completed in 357 milliseconds

12