Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/crypto/rockchip/
H A Dcrypto_v2.c860 static int hw_cipher_init(u32 chn, const u8 *key, const u8 *twk_key, in hw_cipher_init() argument
915 write_key_reg(key_chn_sel + 4, twk_key, key_len); 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() argument
1137 if (!key || !twk_key) in hw_aes_init()
1146 return hw_cipher_init(chn, key, twk_key, key_len, iv, iv_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() argument
1169 if (!key || !twk_key) in hw_sm4_init()
1173 return hw_cipher_init(chn, key, twk_key, key_len, iv, iv_len, in hw_sm4_init()
1210 const u8 *key, const u8 *twk_key, u32 key_len, in rk_crypto_aes() argument
1222 ret = hw_aes_init(0, key, twk_key, key_len, iv, iv_len, mode, enc); in rk_crypto_aes()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dcrypto.c39 const u8 *twk_key; member
104 .twk_key = (key2), \
500 ctx.twk_key = test_data->twk_key; in test_cipher_result()
/OK3568_Linux_fs/u-boot/include/
H A Dcrypto.h73 const u8 *twk_key; member