Lines Matching refs:enc
902 u32 algo, u32 mode, bool enc) in hw_cipher_init() argument
951 if (!enc) in hw_cipher_init()
1165 const u8 *iv, u32 iv_len, u32 mode, bool enc) in hw_aes_init() argument
1196 CRYPTO_AES, mode, enc); in hw_aes_init()
1200 const u8 *iv, u32 iv_len, u32 mode, bool enc) in hw_sm4_init() argument
1223 CRYPTO_SM4, mode, enc); in hw_sm4_init()
1227 const u8 *iv, const u8 *in, u8 *out, u32 len, bool enc) in rk_crypto_des() argument
1247 CRYPTO_DES, mode, enc); in rk_crypto_des()
1261 const u8 *in, u8 *out, u32 len, bool enc) in rk_crypto_aes() argument
1271 ret = hw_aes_init(0, key, twk_key, key_len, iv, iv_len, mode, enc); in rk_crypto_aes()
1282 const u8 *in, u8 *out, u32 len, bool enc) in rk_crypto_sm4() argument
1286 ret = hw_sm4_init(0, key, twk_key, key_len, iv, iv_len, mode, enc); in rk_crypto_sm4()
1294 const u8 *in, u8 *out, u32 len, bool enc) in rockchip_crypto_cipher() argument
1303 ctx->iv, in, out, len, enc); in rockchip_crypto_cipher()
1308 ctx->iv, ctx->iv_len, in, out, len, enc); in rockchip_crypto_cipher()
1313 ctx->iv, ctx->iv_len, in, out, len, enc); in rockchip_crypto_cipher()
1419 const u8 *in, u8 *out, u32 len, bool enc) in rockchip_crypto_fw_cipher() argument
1428 ctx->iv, in, out, len, enc); in rockchip_crypto_fw_cipher()
1432 ctx->iv, ctx->iv_len, in, out, len, enc); in rockchip_crypto_fw_cipher()
1436 ctx->iv, ctx->iv_len, in, out, len, enc); in rockchip_crypto_fw_cipher()