Home
last modified time | relevance | path

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

/base/startup/hvb/libhvb/src/crypto/
Dhvb_rsa.c291 struct long_int_num *p_square = NULL; in montgomery_mod_exp() local
302 p_square = lin_create(p_n->valid_word_len); in montgomery_mod_exp()
303 if (p_square == NULL) { in montgomery_mod_exp()
323 montgomery_mod_mul(p_res, p_res, p_n, n_n0_i, p_square); in montgomery_mod_exp()
325 montgomery_mod_mul(p_mr, p_square, p_n, n_n0_i, p_res); in montgomery_mod_exp()
327 lin_copy(p_square, p_res); in montgomery_mod_exp()
330 montgomery_mod_mul(p_res, p_res, p_n, n_n0_i, p_square); in montgomery_mod_exp()
331 montgomery_mod_mul(p_m, p_square, p_n, n_n0_i, p_res); in montgomery_mod_exp()
339 lin_free(p_square); in montgomery_mod_exp()