Searched refs:blkcipher (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/sys/crypto/ccp/ |
| H A D | ccp_hardware.c | 1336 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_blkcipher_done() 1515 s->blkcipher.iv, iv_len); in ccp_do_blkcipher() 1541 keydata = s->blkcipher.enckey; in ccp_do_blkcipher() 1542 keydata_len = s->blkcipher.key_len; in ccp_do_blkcipher() 1686 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_authenc_done() 1855 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_gcm_done() 1870 if (s->blkcipher.key_len == 0) in ccp_gcm() 1881 memset(s->blkcipher.iv, 0, sizeof(s->blkcipher.iv)); in ccp_gcm() 1888 ccp_byteswap(s->blkcipher.enckey, s->blkcipher.key_len); in ccp_gcm() 1896 s->blkcipher.iv, 32); in ccp_gcm() [all …]
|
| H A D | ccp.c | 295 s->blkcipher.cipher_type = CCP_AES_TYPE_128; in ccp_aes_setkey() 298 s->blkcipher.cipher_type = CCP_AES_TYPE_192; in ccp_aes_setkey() 301 s->blkcipher.cipher_type = CCP_AES_TYPE_256; in ccp_aes_setkey() 307 s->blkcipher.key_len = klen; in ccp_aes_setkey() 308 memcpy(s->blkcipher.enckey, key, s->blkcipher.key_len); in ccp_aes_setkey() 500 s->blkcipher.cipher_mode = cipher_mode; in ccp_newsession()
|
| H A D | ccp.h | 95 struct ccp_session_blkcipher blkcipher; member
|