Searched refs:blkcipher (Results 1 – 3 of 3) sorted by relevance
1336 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_blkcipher_done()1435 desc->aes_xts.type = s->blkcipher.cipher_type; in ccp_do_xts()1479 if (s->blkcipher.key_len == 0 || crp->crp_payload_length == 0) { in ccp_do_blkcipher()1503 ccp_collect_iv(crp, csp, s->blkcipher.iv); in ccp_do_blkcipher()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()1633 desc->aes.mode = s->blkcipher.cipher_mode; in ccp_do_blkcipher()1634 desc->aes.type = s->blkcipher.cipher_type; in ccp_do_blkcipher()1686 explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); in ccp_authenc_done()[all …]
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()
95 struct ccp_session_blkcipher blkcipher; member