Lines Matching refs:cc_alg
161 struct cc_crypto_alg *cc_alg = in cc_cipher_init() local
164 struct device *dev = drvdata_to_dev(cc_alg->drvdata); in cc_cipher_init()
165 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_init()
174 ctx_p->cipher_mode = cc_alg->cipher_mode; in cc_cipher_init()
175 ctx_p->flow_mode = cc_alg->flow_mode; in cc_cipher_init()
176 ctx_p->drvdata = cc_alg->drvdata; in cc_cipher_init()
213 struct cc_crypto_alg *cc_alg = in cc_cipher_exit() local
216 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_exit()
385 struct cc_crypto_alg *cc_alg = in cc_cipher_setkey() local
388 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey()
542 struct cc_crypto_alg *cc_alg = in cc_setup_state_desc() local
546 if (cc_alg->data_unit) in cc_setup_state_desc()
547 du_size = cc_alg->data_unit; in cc_setup_state_desc()