Searched refs:cc_alg (Results 1 – 3 of 3) sorted by relevance
157 struct cc_crypto_alg *cc_alg = in cc_cipher_init() local160 struct device *dev = drvdata_to_dev(cc_alg->drvdata); in cc_cipher_init()161 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_init()167 ctx_p->cipher_mode = cc_alg->cipher_mode; in cc_cipher_init()168 ctx_p->flow_mode = cc_alg->flow_mode; in cc_cipher_init()169 ctx_p->drvdata = cc_alg->drvdata; in cc_cipher_init()235 struct cc_crypto_alg *cc_alg = in cc_cipher_exit() local238 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_exit()407 struct cc_crypto_alg *cc_alg = in cc_cipher_setkey() local410 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey()
129 struct cc_crypto_alg *cc_alg = in cc_aead_init() local131 struct device *dev = drvdata_to_dev(cc_alg->drvdata); in cc_aead_init()137 ctx->cipher_mode = cc_alg->cipher_mode; in cc_aead_init()138 ctx->flow_mode = cc_alg->flow_mode; in cc_aead_init()139 ctx->auth_mode = cc_alg->auth_mode; in cc_aead_init()140 ctx->drvdata = cc_alg->drvdata; in cc_aead_init()
1127 struct cc_hash_alg *cc_alg = in cc_cra_init() local1133 ctx->hash_mode = cc_alg->hash_mode; in cc_cra_init()1134 ctx->hw_mode = cc_alg->hw_mode; in cc_cra_init()1135 ctx->inter_digestsize = cc_alg->inter_digestsize; in cc_cra_init()1136 ctx->drvdata = cc_alg->drvdata; in cc_cra_init()