Searched refs:aad (Results 1 - 25 of 31) 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/wpa_supplicant_8/hostapd/src/crypto/
H A Daes_wrap.h46 const u8 *aad, size_t aad_len,
51 const u8 *aad, size_t aad_len, const u8 *tag,
55 const u8 *aad, size_t aad_len, u8 *tag);
58 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
61 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.h46 const u8 *aad, size_t aad_len,
51 const u8 *aad, size_t aad_len, const u8 *tag,
55 const u8 *aad, size_t aad_len, u8 *tag);
58 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
61 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.h46 const u8 *aad, size_t aad_len,
51 const u8 *aad, size_t aad_len, const u8 *tag,
55 const u8 *aad, size_t aad_len, u8 *tag);
58 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
61 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/net/quic/crypto/
H A Daes_128_gcm_12_decrypter_test.cc62 const char* aad; member in struct:__anon8895::TestVector
323 char aad[1024]; local
341 DecodeHexString(test_vector[j].aad, aad, &aad_len, sizeof(aad)));
371 StringPiece(aad_len ? aad : NULL, aad_len), ciphertext));
H A Daes_128_gcm_12_encrypter_test.cc61 const char* aad; member in struct:__anon8899::TestVector
275 char aad[1024]; local
293 DecodeHexString(test_vector[j].aad, aad, &aad_len, sizeof(aad)));
314 StringPiece(aad_len ? aad : NULL, aad_len), StringPiece(pt, pt_len)));
/external/chromium_org/third_party/openssl/openssl/include/openssl/
H A Dmodes.h93 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad,
119 const unsigned char *aad, size_t alen);
/external/openssl/include/openssl/
H A Dmodes.h93 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad,
119 const unsigned char *aad, size_t alen);
/external/llvm/test/MC/X86/
H A Dx86-32.s640 // CHECK: aad $1
642 aad $1
644 // CHECK: aad
646 aad $0xA
648 // CHECK: aad
650 aad
/external/chromium_org/third_party/openssl/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.c826 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx,const unsigned char *aad,size_t len) argument
849 ctx->Xi.c[n] ^= *(aad++);
862 GHASH(ctx,aad,i);
863 aad += i;
868 for (i=0; i<16; ++i) ctx->Xi.c[i] ^= aad[i];
870 aad += 16;
876 for (i=0; i<len; ++i) 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.c826 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx,const unsigned char *aad,size_t len) argument
849 ctx->Xi.c[n] ^= *(aad++);
862 GHASH(ctx,aad,i);
863 aad += i;
868 for (i=0; i<16; ++i) ctx->Xi.c[i] ^= aad[i];
870 aad += 16;
876 for (i=0; i<len; ++i) ctx->Xi.c[i] ^= aad[i];
/external/qemu/target-i386/
H A Dhelper.h25 DEF_HELPER_1(aad, void, int)
/external/valgrind/main/exp-dhat/
H A Ddh_main.c1115 ULong aad = api->deaths == 0 local
1122 ? 0 : (10000ULL * aad) / g_guest_instrs_executed;
1127 api->deaths, aad, buf );
/external/chromium_org/third_party/mesa/src/src/mesa/x86/
H A Dassyntax.h381 #define AAD CHOICE(aad, aad, aad)
1117 #define AAD aad
/external/mesa3d/src/mesa/x86/
H A Dassyntax.h381 #define AAD CHOICE(aad, aad, aad)
1117 #define AAD aad
/external/valgrind/main/VEX/test/
H A Dtest-amd64.c861 TEST_BCD(aad, 0x12340407, CC_A, (CC_C | CC_P | CC_Z | CC_S | CC_O | CC_A));

Completed in 1099 milliseconds

12