Home
last modified time | relevance | path

Searched refs:J0 (Results 1 – 1 of 1) sorted by relevance

/hostap-3.6.0/src/crypto/
Daes-gcm.c192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) in aes_gcm_prepare_j0() argument
198 os_memcpy(J0, iv, iv_len); in aes_gcm_prepare_j0()
199 os_memset(J0 + iv_len, 0, AES_BLOCK_SIZE - iv_len); in aes_gcm_prepare_j0()
200 J0[AES_BLOCK_SIZE - 1] = 0x01; in aes_gcm_prepare_j0()
206 ghash_start(J0); in aes_gcm_prepare_j0()
207 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
210 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument
223 os_memcpy(J0inc, J0, AES_BLOCK_SIZE); in aes_gcm_gctr()
259 u8 J0[AES_BLOCK_SIZE]; in aes_gcm_ae() local
[all …]