Home
last modified time | relevance | path

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

/freebsd/sys/opencrypto/
H A Dgmac.c48 const uint8_t zeros[GMAC_BLOCK_LEN] = {}; in AES_GMAC_Setkey()
50 uint8_t hbuf[GMAC_BLOCK_LEN]; in AES_GMAC_Setkey()
73 agc->counter[GMAC_BLOCK_LEN - 1] = 1; in AES_GMAC_Reinit()
84 uint8_t buf[GMAC_BLOCK_LEN] = {}; in AES_GMAC_Update()
92 if (len >= 4*GMAC_BLOCK_LEN) { in AES_GMAC_Update()
93 i = 4*GMAC_BLOCK_LEN; in AES_GMAC_Update()
95 } else if (len >= GMAC_BLOCK_LEN) { in AES_GMAC_Update()
96 i = GMAC_BLOCK_LEN; in AES_GMAC_Update()
120 uint8_t enccntr[GMAC_BLOCK_LEN]; in AES_GMAC_Final()
H A Dxform_gmac.c72 .blocksize = GMAC_BLOCK_LEN,
86 .blocksize = GMAC_BLOCK_LEN,
100 .blocksize = GMAC_BLOCK_LEN,
H A Dgmac.h36 #define GMAC_BLOCK_LEN 16 macro
43 uint8_t counter[GMAC_BLOCK_LEN];
H A Dcryptosoft.c339 blksz = GMAC_BLOCK_LEN; in swcr_gmac()
421 blksz = GMAC_BLOCK_LEN; in swcr_gcm()
/freebsd/sys/crypto/ccp/
H A Dccp.h75 char final_block[GMAC_BLOCK_LEN];
H A Dccp_hardware.c1772 desc->aes.size = 8 * (seg->ss_len % GMAC_BLOCK_LEN) - 1; in ccp_do_gctr()
1778 desc->length = roundup2(seg->ss_len, GMAC_BLOCK_LEN); in ccp_do_gctr()
1809 desc->length = GMAC_BLOCK_LEN; in ccp_do_ghash_final()
1905 GMAC_BLOCK_LEN); in ccp_gcm()
1920 GMAC_BLOCK_LEN) != 0) { in ccp_gcm()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c300 static char zeroes[GMAC_BLOCK_LEN]; in t4_init_gmac_hash()
417 key_info_size += GMAC_BLOCK_LEN; in t4_tls_key_info_size()
H A Dt4_crypto.c150 char ghash_h[GMAC_BLOCK_LEN];
1208 kctx_len = roundup2(s->cipher.key_len, 16) + GMAC_BLOCK_LEN; in ccr_gcm()
1343 memcpy(dst, s->gmac.ghash_h, GMAC_BLOCK_LEN); in ccr_gcm()
2123 kctx_len += GMAC_BLOCK_LEN; in ccr_aes_setkey()
/freebsd/sys/dev/safexcel/
H A Dsafexcel.c1294 for (i = 0; i < GMAC_BLOCK_LEN / sizeof(uint32_t); i++) in safexcel_setkey_ghash()
1413 off += GMAC_BLOCK_LEN; in safexcel_set_context()
1427 off += GMAC_BLOCK_LEN; in safexcel_set_context()