Home
last modified time | relevance | path

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

/freebsd/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c325 uint8_t aes_counter[AES_BLOCK_LEN]; member
336 bzero(s->aes_counter, AES_BLOCK_LEN); in armv8_aes_gmac_setup()
337 memcpy(s->aes_counter, iv, AES_GCM_IV_LEN); in armv8_aes_gmac_setup()
340 s->aes_counter[AES_BLOCK_LEN - 1] = 1; in armv8_aes_gmac_setup()
343 aes_v8_encrypt(s->aes_counter, s->EK0.c, aes_key); in armv8_aes_gmac_setup()
346 s->aes_counter[AES_BLOCK_LEN - 1] = 2; in armv8_aes_gmac_setup()
379 aes_v8_encrypt(s->aes_counter, s->EKi.c, aes_key); in armv8_aes_encrypt_gcm_block()
380 AES_INC_COUNTER(s->aes_counter); in armv8_aes_encrypt_gcm_block()
422 aes_v8_encrypt(s.aes_counter, s.EKi.c, aes_key); in armv8_aes_encrypt_gcm()
423 AES_INC_COUNTER(s.aes_counter); in armv8_aes_encrypt_gcm()