Lines Matching refs:blkcipher
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()
1736 desc->aes.type = s->blkcipher.cipher_type; in ccp_do_ghash_aad()
1770 desc->aes.type = s->blkcipher.cipher_type; in ccp_do_gctr()
1806 desc->aes.type = s->blkcipher.cipher_type; in ccp_do_ghash_final()
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()
1885 ccp_collect_iv(crp, csp, 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()
1900 s->blkcipher.enckey, s->blkcipher.key_len); in ccp_gcm()
1969 s->blkcipher.iv, AES_BLOCK_LEN); in ccp_gcm()