Home
last modified time | relevance | path

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

/f-stack/freebsd/crypto/aesni/
H A Daesni.h105 unsigned char *tag, uint32_t nbytes, uint32_t abytes, int ibytes,
109 const unsigned char *tag, uint32_t nbytes, uint32_t abytes, int ibytes,
115 unsigned char *tag, uint32_t nbytes, uint32_t abytes, int ibytes,
119 const unsigned char *tag, uint32_t nbytes, uint32_t abytes, int ibytes,
H A Daesni_ccm.c199 unsigned char *tag, uint32_t nbytes, uint32_t abytes, int nlen, in AES_CCM_encrypt() argument
209 if (nbytes == 0 && abytes == 0) in AES_CCM_encrypt()
238 rolling_mac = cbc_mac_start(addt, abytes, nonce, nlen, in AES_CCM_encrypt()
381 const unsigned char *tag, uint32_t nbytes, uint32_t abytes, int nlen, in AES_CCM_decrypt() argument
389 if (nbytes == 0 && abytes == 0) in AES_CCM_decrypt()
414 rolling_mac = cbc_mac_start(addt, abytes, nonce, nlen, in AES_CCM_decrypt()
H A Daesni_ghash.c273 unsigned char *tag, uint32_t nbytes, uint32_t abytes, int ibytes, in AES_GCM_encrypt() argument
351 for (i=0; i<abytes/16/4; i++) { in AES_GCM_encrypt()
365 for (i=i*4; i<abytes/16; i++) { in AES_GCM_encrypt()
371 if (abytes%16) { in AES_GCM_encrypt()
373 for (j=0; j<abytes%16; j++) in AES_GCM_encrypt()
520 tmp1 = _mm_insert_epi64(tmp1, (uint64_t)abytes*8, 1); in AES_GCM_encrypt()
611 for (i=0; i<abytes/16/4; i++) { in AES_GCM_decrypt()
626 for (i=i*4; i<abytes/16; i++) { in AES_GCM_decrypt()
632 if (abytes%16) { in AES_GCM_decrypt()
634 for (j=0; j<abytes%16; j++) in AES_GCM_decrypt()
[all …]