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

/freebsd-13-stable/crypto/openssh/
H A Dcipher-ctr.c40 u_char aes_counter[AES_BLOCK_SIZE]; member in struct:ssh_aes_ctr_ctx
73 AES_encrypt(c->aes_counter, buf, &c->aes_ctx);
74 ssh_ctr_inc(c->aes_counter, AES_BLOCK_SIZE);
96 memcpy(c->aes_counter, iv, AES_BLOCK_SIZE);
121 memcpy(c->aes_counter, iv, len);
123 memcpy(iv, c->aes_counter, len);
/freebsd-13-stable/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c249 uint8_t aes_counter[AES_BLOCK_LEN]; member in struct:armv8_gcm_state
266 bzero(&s.aes_counter, AES_BLOCK_LEN);
267 memcpy(s.aes_counter, iv, AES_GCM_IV_LEN);
270 s.aes_counter[AES_BLOCK_LEN - 1] = 1;
273 aes_v8_encrypt(s.aes_counter, s.EK0.c, aes_key);
276 s.aes_counter[AES_BLOCK_LEN - 1] = 2;
295 aes_v8_encrypt(s.aes_counter, s.EKi.c, aes_key);
296 AES_INC_COUNTER(s.aes_counter);
309 aes_v8_encrypt(s.aes_counter, s.EKi.c, aes_key);
310 AES_INC_COUNTER(s.aes_counter);
[all...]

Completed in 29 milliseconds