Home
last modified time | relevance | path

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

/f-stack/freebsd/crypto/ccp/
H A Dccp_hardware.c1338 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_blkcipher_done()
1518 s->blkcipher.iv, iv_len); in ccp_do_blkcipher()
1544 keydata = s->blkcipher.enckey; in ccp_do_blkcipher()
1545 keydata_len = s->blkcipher.key_len; in ccp_do_blkcipher()
1689 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_authenc_done()
1858 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_gcm_done()
1873 if (s->blkcipher.key_len == 0) in ccp_gcm()
1884 memset(s->blkcipher.iv, 0, sizeof(s->blkcipher.iv)); in ccp_gcm()
1891 ccp_byteswap(s->blkcipher.enckey, s->blkcipher.key_len); in ccp_gcm()
1899 s->blkcipher.iv, 32); in ccp_gcm()
[all …]
H A Dccp.c294 s->blkcipher.cipher_type = CCP_AES_TYPE_128; in ccp_aes_setkey()
297 s->blkcipher.cipher_type = CCP_AES_TYPE_192; in ccp_aes_setkey()
300 s->blkcipher.cipher_type = CCP_AES_TYPE_256; in ccp_aes_setkey()
306 s->blkcipher.key_len = klen; in ccp_aes_setkey()
307 memcpy(s->blkcipher.enckey, key, s->blkcipher.key_len); in ccp_aes_setkey()
504 s->blkcipher.cipher_mode = cipher_mode; in ccp_newsession()
H A Dccp.h97 struct ccp_session_blkcipher blkcipher; member