Searched refs:rk_cipher_ctx (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_skcipher.c | 35 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in rk_aes_setkey() 48 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_des_setkey() 63 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_tdes_setkey() 78 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_aes_ecb_encrypt() 88 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_aes_ecb_decrypt() 98 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_aes_cbc_encrypt() 108 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_aes_cbc_decrypt() 118 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_des_ecb_encrypt() 128 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_des_ecb_decrypt() 138 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_des_cbc_encrypt() [all …]
|
| H A D | rk_crypto_skcipher_utils.c | 27 struct rk_cipher_ctx *rk_cipher_ctx_cast(struct rk_crypto_dev *rk_dev) in rk_cipher_ctx_cast() 29 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(rk_dev->async_req->tfm); in rk_cipher_ctx_cast() 48 int rk_cipher_fallback(struct skcipher_request *req, struct rk_cipher_ctx *ctx, bool encrypt) in rk_cipher_fallback() 113 static uint32_t rk_get_new_iv(struct rk_cipher_ctx *ctx, u32 mode, bool is_enc, uint8_t *iv) in rk_get_new_iv() 155 struct rk_cipher_ctx *ctx = rk_cipher_ctx_cast(rk_dev); in rk_iv_copyback() 168 struct rk_cipher_ctx *ctx = rk_cipher_ctx_cast(rk_dev); in rk_update_iv() 189 struct rk_cipher_ctx *ctx = rk_cipher_ctx_cast(rk_dev); in rk_set_data_start() 209 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_cipher_setkey() 257 struct rk_cipher_ctx *ctx = rk_cipher_ctx_cast(rk_dev); in rk_ablk_rx() 355 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in rk_skcipher_handle_req() [all …]
|
| H A D | rk_crypto_v1_skcipher.c | 23 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_alg_ctx_cast() 53 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in rk_handle_req() 98 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_cipher_setkey() 146 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_cipher_encrypt() 166 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_cipher_decrypt() 191 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(cipher); in rk_ablk_hw_init() 246 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_set_data_start() 294 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_iv_copyback() 315 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_update_iv() 371 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_ablk_init_tfm() [all …]
|
| H A D | rk_crypto_skcipher_utils.h | 23 struct rk_cipher_ctx *rk_cipher_ctx_cast(struct rk_crypto_dev *rk_dev); 25 int rk_cipher_fallback(struct skcipher_request *req, struct rk_cipher_ctx *ctx, bool encrypt); 35 int rk_aead_fallback(struct aead_request *req, struct rk_cipher_ctx *ctx, bool encrypt);
|
| H A D | rk_crypto_v2_skcipher.c | 204 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in rk_crypto_complete() 232 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_cipher_crypt() 307 struct rk_cipher_ctx *ctx = rk_cipher_ctx_cast(rk_dev); in rk_ablk_hw_init() 411 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_ablk_init_tfm() 457 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_ablk_exit_tfm() 475 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(&tfm->base); in rk_aead_init_tfm() 526 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(&tfm->base); in rk_aead_exit_tfm() 541 struct rk_cipher_ctx *ctx = crypto_aead_ctx(tfm); in rk_aead_crypt()
|
| H A D | rk_crypto_v3_skcipher.c | 203 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in rk_crypto_complete() 231 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_cipher_crypt() 306 struct rk_cipher_ctx *ctx = rk_cipher_ctx_cast(rk_dev); in rk_ablk_hw_init() 410 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_ablk_init_tfm() 456 struct rk_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); in rk_ablk_exit_tfm() 474 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(&tfm->base); in rk_aead_init_tfm() 525 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(&tfm->base); in rk_aead_exit_tfm() 540 struct rk_cipher_ctx *ctx = crypto_aead_ctx(tfm); in rk_aead_crypt()
|
| H A D | rk_crypto_core.h | 194 struct rk_cipher_ctx { struct 303 .base.cra_ctxsize = sizeof(struct rk_cipher_ctx),\ 331 .base.cra_ctxsize = sizeof(struct rk_cipher_ctx),\ 359 .base.cra_ctxsize = sizeof(struct rk_cipher_ctx),\
|
| H A D | rk3288_crypto.h | 246 struct rk_cipher_ctx { struct
|
| H A D | rk_crypto_core.c | 35 struct rk_cipher_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in rk_alg_ctx_cast()
|