Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c696 memset(iv + s->blkcipher.iv_len, 0, iv_len - s->blkcipher.iv_len); in ccr_blkcipher()
743 s->blkcipher.key_len); in ccr_blkcipher()
997 memset(iv + s->blkcipher.iv_len, 0, iv_len - s->blkcipher.iv_len); in ccr_eta()
1336 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_gcm()
1422 axf->Setkey(auth_ctx, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_gcm_soft()
1432 s->blkcipher.key_len); in ccr_gcm_soft()
1828 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_ccm()
1830 s->blkcipher.enckey, s->blkcipher.key_len); in ccr_ccm()
1996 axf->Setkey(auth_ctx, s->blkcipher.enckey, s->blkcipher.key_len); in ccr_ccm_soft()
2006 s->blkcipher.key_len); in ccr_ccm_soft()
[all …]
/freebsd-13.1/sys/crypto/ccp/
H A Dccp_hardware.c1338 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_blkcipher_done()
1517 s->blkcipher.iv, iv_len); in ccp_do_blkcipher()
1543 keydata = s->blkcipher.enckey; in ccp_do_blkcipher()
1544 keydata_len = s->blkcipher.key_len; in ccp_do_blkcipher()
1688 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_authenc_done()
1857 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_gcm_done()
1872 if (s->blkcipher.key_len == 0) in ccp_gcm()
1883 memset(s->blkcipher.iv, 0, sizeof(s->blkcipher.iv)); in ccp_gcm()
1890 ccp_byteswap(s->blkcipher.enckey, s->blkcipher.key_len); in ccp_gcm()
1898 s->blkcipher.iv, 32); in ccp_gcm()
[all …]
H A Dccp.c297 s->blkcipher.cipher_type = CCP_AES_TYPE_128; in ccp_aes_setkey()
300 s->blkcipher.cipher_type = CCP_AES_TYPE_192; in ccp_aes_setkey()
303 s->blkcipher.cipher_type = CCP_AES_TYPE_256; in ccp_aes_setkey()
309 s->blkcipher.key_len = klen; in ccp_aes_setkey()
310 memcpy(s->blkcipher.enckey, key, s->blkcipher.key_len); in ccp_aes_setkey()
507 s->blkcipher.cipher_mode = cipher_mode; in ccp_newsession()
H A Dccp.h97 struct ccp_session_blkcipher blkcipher; member