Searched refs:p_square (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/base/startup/hvb/libhvb/src/crypto/ |
H A D | hvb_rsa.c | 309 struct long_int_num *p_square = NULL; in montgomery_mod_exp() local 320 p_square = lin_create(p_n->valid_word_len); in montgomery_mod_exp() 321 if (p_square == NULL) { in montgomery_mod_exp() 341 montgomery_mod_mul(p_res, p_res, p_n, n_n0_i, p_square); in montgomery_mod_exp() 343 montgomery_mod_mul(p_mr, p_square, p_n, n_n0_i, p_res); in montgomery_mod_exp() 345 lin_copy(p_square, p_res); in montgomery_mod_exp() 348 montgomery_mod_mul(p_res, p_res, p_n, n_n0_i, p_square); in montgomery_mod_exp() 349 montgomery_mod_mul(p_m, p_square, p_n, n_n0_i, p_res); in montgomery_mod_exp() 357 lin_free(p_square); in montgomery_mod_exp()
|