Home
last modified time | relevance | path

Searched refs:cc_alg (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/crypto/ccree/
Dcc_cipher.c157 struct cc_crypto_alg *cc_alg = in cc_cipher_init() local
160 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() local
238 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() local
410 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey()
Dcc_aead.c129 struct cc_crypto_alg *cc_alg = in cc_aead_init() local
131 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()
Dcc_hash.c1127 struct cc_hash_alg *cc_alg = in cc_cra_init() local
1133 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()