Searched refs:aad_buf (Results 1 - 8 of 8) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | aes-ccm.c | 32 u8 aad_buf[2 * AES_BLOCK_SIZE]; in aes_ccm_auth_start() local 49 WPA_PUT_BE16(aad_buf, aad_len); in aes_ccm_auth_start() 50 os_memcpy(aad_buf + 2, aad, aad_len); in aes_ccm_auth_start() 51 os_memset(aad_buf + 2 + aad_len, 0, sizeof(aad_buf) - 2 - aad_len); in aes_ccm_auth_start() 53 xor_aes_block(aad_buf, x); in aes_ccm_auth_start() 54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 57 xor_aes_block(&aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | aes-ccm.c | 32 u8 aad_buf[2 * AES_BLOCK_SIZE]; in aes_ccm_auth_start() local 49 WPA_PUT_BE16(aad_buf, aad_len); in aes_ccm_auth_start() 50 os_memcpy(aad_buf + 2, aad, aad_len); in aes_ccm_auth_start() 51 os_memset(aad_buf + 2 + aad_len, 0, sizeof(aad_buf) - 2 - aad_len); in aes_ccm_auth_start() 53 xor_aes_block(aad_buf, x); in aes_ccm_auth_start() 54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 57 xor_aes_block(&aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
|
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_ocb.h | 36 unsigned char aad_buf[OCB_MAX_AAD_LEN]; /* Store partial AAD blocks */ member
|
H A D | cipher_aes_ocb.c | 250 buf = ctx->aad_buf; in aes_ocb_block_update() 286 if (!aes_generic_ocb_setaad(ctx, ctx->aad_buf, ctx->aad_buf_len)) in aes_ocb_block_final()
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_ocb.h | 36 unsigned char aad_buf[OCB_MAX_AAD_LEN]; /* Store partial AAD blocks */ member
|
H A D | cipher_aes_ocb.c | 250 buf = ctx->aad_buf; in aes_ocb_block_update() 286 if (!aes_generic_ocb_setaad(ctx, ctx->aad_buf, ctx->aad_buf_len)) in aes_ocb_block_final()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_aes.c | 111 unsigned char aad_buf[16]; /* Store partial AAD blocks */ member 3907 buf = octx->aad_buf; in aes_ocb_cipher() 4007 (&octx->ocb, octx->aad_buf, octx->aad_buf_len)) in aes_ocb_cipher()
|
/third_party/openssl/crypto/evp/ |
H A D | e_aes.c | 111 unsigned char aad_buf[16]; /* Store partial AAD blocks */ member 3913 buf = octx->aad_buf; in aes_ocb_cipher() 4013 (&octx->ocb, octx->aad_buf, octx->aad_buf_len)) in aes_ocb_cipher()
|
Completed in 13 milliseconds