Searched refs:blkcipher (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/sys/dev/cxgbe/crypto/ |
| H A D | t4_crypto.c | 625 s->blkcipher.iv_len)) { in ccr_blkcipher() 719 s->blkcipher.key_len); in ccr_blkcipher() 738 dst += s->blkcipher.iv_len; in ccr_blkcipher() 1388 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_gcm() 1473 axf->Setkey(auth_ctx, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_gcm_soft() 1478 s->blkcipher.key_len); in ccr_gcm_soft() 1850 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_ccm() 1852 s->blkcipher.enckey, s->blkcipher.key_len); in ccr_ccm() 1955 axf->Setkey(auth_ctx, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_ccm_soft() 1960 s->blkcipher.key_len); in ccr_ccm_soft() [all …]
|
| /freebsd-12.1/sys/crypto/ccp/ |
| H A D | ccp_hardware.c | 1331 explicit_bzero(&s->blkcipher, sizeof(s->blkcipher)); in ccp_blkcipher_done() 1354 arc4rand(s->blkcipher.iv, s->blkcipher.iv_len, 0); in ccp_collect_iv() 1381 memset(&s->blkcipher.iv[s->blkcipher.iv_len], 0, in ccp_collect_iv() 1388 s->blkcipher.iv, " ", s->blkcipher.iv_len); in ccp_collect_iv() 1395 ccp_byteswap(s->blkcipher.iv, s->blkcipher.iv_len); in ccp_collect_iv() 1530 s->blkcipher.iv, s->blkcipher.iv_len); in ccp_do_blkcipher() 1704 explicit_bzero(&s->blkcipher, sizeof(s->blkcipher)); in ccp_authenc_done() 1887 explicit_bzero(&s->blkcipher, sizeof(s->blkcipher)); in ccp_gcm_done() 1920 memset(s->blkcipher.iv, 0, sizeof(s->blkcipher.iv)); in ccp_gcm() 1938 s->blkcipher.enckey, s->blkcipher.key_len); in ccp_gcm() [all …]
|
| H A D | ccp.c | 145 AES_GMAC_Setkey(&gmac_ctx, s->blkcipher.enckey, s->blkcipher.key_len); in ccp_gcm_soft() 372 s->blkcipher.cipher_type = CCP_AES_TYPE_128; in ccp_aes_setkey() 375 s->blkcipher.cipher_type = CCP_AES_TYPE_192; in ccp_aes_setkey() 378 s->blkcipher.cipher_type = CCP_AES_TYPE_256; in ccp_aes_setkey() 384 s->blkcipher.key_len = klen / 8; in ccp_aes_setkey() 385 memcpy(s->blkcipher.enckey, key, s->blkcipher.key_len); in ccp_aes_setkey() 546 s->blkcipher.cipher_mode = cipher_mode; in ccp_newsession() 547 s->blkcipher.iv_len = iv_len; in ccp_newsession()
|
| H A D | ccp.h | 95 struct ccp_session_blkcipher blkcipher; member
|