Lines Matching refs:cc_alg
134 struct cc_crypto_alg *cc_alg = in cc_cipher_init() local
137 struct device *dev = drvdata_to_dev(cc_alg->drvdata); in cc_cipher_init()
138 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_init()
147 ctx_p->cipher_mode = cc_alg->cipher_mode; in cc_cipher_init()
148 ctx_p->flow_mode = cc_alg->flow_mode; in cc_cipher_init()
149 ctx_p->drvdata = cc_alg->drvdata; in cc_cipher_init()
186 struct cc_crypto_alg *cc_alg = in cc_cipher_exit() local
189 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_exit()
309 struct cc_crypto_alg *cc_alg = in cc_cipher_setkey() local
312 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey()
401 struct cc_crypto_alg *cc_alg = in cc_setup_cipher_desc() local
405 if (cc_alg->data_unit) in cc_setup_cipher_desc()
406 du_size = cc_alg->data_unit; in cc_setup_cipher_desc()