| /OK3568_Linux_fs/u-boot/include/rockchip/ |
| H A D | crypto_v2_pka.h | 229 u32 is_b_immed, u32 op_b, 256 u8 is_b_immed, s8 op_b, 267 #define RK_PKA_Add(len_id, op_a, op_b, res, tag) \ argument 269 0, (op_b), 0, (res), (tag)) 277 #define RK_PKA_Sub(len_id, op_a, op_b, res, tag) \ argument 279 0, (op_b), 0, (res), (tag)) 287 #define RK_PKA_Neg(len_id, op_b, res, tag) \ argument 289 0, (op_b), 0, (res), (tag)) 292 #define RK_PKA_ModAdd(len_id, op_a, op_b, res, tag) \ argument 294 0, (op_b), 0, (res), (tag)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/ |
| H A D | rk_crypto_v2_pka.c | 107 #define RK_PKA_ADD(op_a, op_b, res) pka_exec_op(PKA_OPCODE_ADD, PKA_CALC_LEN_ID, \ argument 108 0, (op_a), 0, (op_b), 0, (res), 0) 143 #define RK_PKA_MOD_EXP(op_a, op_b, res) \ argument 145 0, (op_b), 0, (res), 0) 148 #define RK_PKA_DIV(op_a, op_b, res) pka_exec_op(PKA_OPCODE_DIV, PKA_CALC_LEN_ID, \ argument 149 0, (op_a), 0, (op_b), 0, (res), 0) 232 u32 is_b_immed, u32 op_b, in pka_make_full_opcode() argument 243 (op_b & 31) << CRYPTO_OPCODE_B_SHIFT | in pka_make_full_opcode() 279 u8 is_a_immed, u8 op_a, u8 is_b_immed, u8 op_b, in pka_exec_op() argument 292 is_b_immed, op_b, in pka_exec_op() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/crypto/rockchip/ |
| H A D | crypto_v2_pka.c | 170 u32 is_b_immed, u32 op_b, in rk_pka_make_full_opcode() argument 182 ((u32)(op_b) & 31) << RK_PKA_OPCODE_OPERAND_2_POS | in rk_pka_make_full_opcode() 273 u8 is_b_immed, s8 op_b, in rk_pka_exec_operation() argument 287 is_b_immed, op_b, in rk_pka_exec_operation() 632 s8 op_b, s8 res, s8 r_t1, s8 r_t2) in rk_pka_div_long_num() argument 672 RK_PKA_Div(len_id + 1, r_t1/*op_a*/, op_b/*B*/, r_t2/*res*/, in rk_pka_div_long_num()
|