Searched refs:write_key_reg (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/ |
| H A D | rk_crypto_v2_ahash.c | 142 static int write_key_reg(struct rk_crypto_dev *rk_dev, const u8 *key, in write_key_reg() function 329 alg_ctx->ops.hw_write_key = write_key_reg; in rk_cra_hash_init()
|
| H A D | rk_crypto_v2_skcipher.c | 117 static void write_key_reg(struct rk_crypto_dev *rk_dev, const u8 *key, in write_key_reg() function 316 write_key_reg(ctx->rk_dev, ctx->key, tmp_len); in rk_ablk_hw_init() 319 write_key_reg(ctx->rk_dev, ctx->key, ctx->keylen); in rk_ablk_hw_init()
|
| H A D | rk_crypto_v3_skcipher.c | 116 static void write_key_reg(struct rk_crypto_dev *rk_dev, const u8 *key, in write_key_reg() function 315 write_key_reg(ctx->rk_dev, ctx->key, tmp_len); in rk_ablk_hw_init() 318 write_key_reg(ctx->rk_dev, ctx->key, ctx->keylen); in rk_ablk_hw_init()
|
| H A D | rk_crypto_v3_ahash.c | 212 static int write_key_reg(struct rk_crypto_dev *rk_dev, const u8 *key, in write_key_reg() function 408 alg_ctx->ops.hw_write_key = write_key_reg; in rk_cra_hash_init()
|
| /OK3568_Linux_fs/u-boot/drivers/crypto/rockchip/ |
| H A D | crypto_v2.c | 184 static inline void write_key_reg(u32 chn, const u8 *key, u32 key_len) in write_key_reg() function 652 write_key_reg(0, key, key_len); in rk_hmac_init() 911 write_key_reg(key_chn_sel, key, key_len); in hw_cipher_init() 915 write_key_reg(key_chn_sel + 4, twk_key, key_len); in hw_cipher_init()
|