Lines Matching defs:key
206 static inline void write_key_reg(u32 chn, const u8 *key, u32 key_len) in write_key_reg()
682 int rk_hmac_init(void *hw_ctx, u32 algo, u8 *key, u32 key_len) in rk_hmac_init()
705 sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
900 static int hw_cipher_init(u32 chn, const u8 *key, const u8 *twk_key, in hw_cipher_init()
1164 static int hw_aes_init(u32 chn, const u8 *key, const u8 *twk_key, u32 key_len, in hw_aes_init()
1199 static int hw_sm4_init(u32 chn, const u8 *key, const u8 *twk_key, u32 key_len, in hw_sm4_init()
1226 int rk_crypto_des(struct udevice *dev, u32 mode, const u8 *key, u32 key_len, in rk_crypto_des()
1259 const u8 *key, const u8 *twk_key, u32 key_len, in rk_crypto_aes()
1280 const u8 *key, const u8 *twk_key, u32 key_len, in rk_crypto_sm4()
1326 const u8 *key, u32 key_len, in rk_crypto_mac()
1369 const u8 *key, u32 key_len, const u8 *nonce, u32 nonce_len, in rk_crypto_ae()