Lines Matching defs:key
184 static inline void write_key_reg(u32 chn, const u8 *key, u32 key_len) in write_key_reg()
642 int rk_hmac_init(void *hw_ctx, u32 algo, u8 *key, u32 key_len) in rk_hmac_init()
665 sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
860 static int hw_cipher_init(u32 chn, const u8 *key, const u8 *twk_key, in hw_cipher_init()
1115 static int hw_aes_init(u32 chn, const u8 *key, const u8 *twk_key, u32 key_len, in hw_aes_init()
1150 static int hw_sm4_init(u32 chn, const u8 *key, const u8 *twk_key, u32 key_len, in hw_sm4_init()
1177 int rk_crypto_des(struct udevice *dev, u32 mode, const u8 *key, u32 key_len, in rk_crypto_des()
1210 const u8 *key, const u8 *twk_key, u32 key_len, in rk_crypto_aes()
1231 const u8 *key, const u8 *twk_key, u32 key_len, in rk_crypto_sm4()
1273 const u8 *key, u32 key_len, in rk_crypto_mac()
1316 const u8 *key, u32 key_len, const u8 *nonce, u32 nonce_len, in rk_crypto_ae()