Home
last modified time | relevance | path

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

/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/drivers/B91/
Dpke.h292 unsigned char pke_calc_pre_mont(const unsigned int *modulus, unsigned int wordLen);
303 unsigned char pke_mod_mul(const unsigned int *modulus, const unsigned int *a, const unsigned int *b,
315 …unsigned char pke_mod_inv(const unsigned int *modulus, const unsigned int *a, unsigned int *ainv, …
327 unsigned char pke_mod_add(const unsigned int *modulus, const unsigned int *a, const unsigned int *b,
339 unsigned char pke_mod_sub(const unsigned int *modulus, const unsigned int *a, const unsigned int *b,
Dpke.c292 unsigned char pke_calc_pre_mont(const unsigned int *modulus, unsigned int wordLen) in pke_calc_pre_mont() argument
298 …pke_load_operand((unsigned int *)reg_pke_b_ram(3), (unsigned int *)modulus, wordLen); //B3 mod… in pke_calc_pre_mont()
498 …unsigned char pke_mod_mul(const unsigned int *modulus, const unsigned int *a, const unsigned int *… in pke_mod_mul() argument
505 …pke_load_operand((unsigned int *)(reg_pke_b_ram(3)), (unsigned int *)modulus, wordLen); //B3 modu… in pke_mod_mul()
529 …unsigned char pke_mod_inv(const unsigned int *modulus, const unsigned int *a, unsigned int *ainv, … in pke_mod_inv() argument
537 …pke_load_operand((unsigned int *)(reg_pke_b_ram(3)), (unsigned int *)modulus, modWordLen); //B3 mo… in pke_mod_inv()
560 unsigned char pke_mod_add(const unsigned int *modulus, const unsigned int *a, const unsigned int *b, in pke_mod_add() argument
567 …pke_load_operand((unsigned int *)(reg_pke_b_ram(3)), (unsigned int *)modulus, wordLen); //B3 m… in pke_mod_add()
591 unsigned char pke_mod_sub(const unsigned int *modulus, const unsigned int *a, const unsigned int *b, in pke_mod_sub() argument
598 …pke_load_operand((unsigned int *)(reg_pke_b_ram(3)), (unsigned int *)modulus, wordLen); //B3 … in pke_mod_sub()