Home
last modified time | relevance | path

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

/hal_telink-latest/tlsr9/ble/common/
Dutility.h27 #define min(a,b) ((a) < (b) ? (a) : (b)) argument
31 #define max(a,b) ((a) > (b) ? (a): (b)) argument
35 #define min2(a,b) ((a) < (b) ? (a) : (b)) argument
39 #define min3(a,b,c) min2(min2(a, b), c) argument
43 #define max2(a,b) ((a) > (b) ? (a): (b)) argument
47 #define max3(a,b,c) max2(max2(a, b), c) argument
76 #define MAKE_U24(a,b,c) ((unsigned int)(((a) << 16) | ((b) << 8) | (c))) argument
77 #define MAKE_U32(a,b,c,d) ((unsigned int)(((a) << 24) | ((b) << 16) | ((c) << 8) | (d))) argument
98 #define SORT2(a, b, T) do { if ((a) > (b)) SWAP((a), (b), T); } while (0) argument
Dstatic_assert.h36 #define STATIC_ASSERT_INT_DIV(a, b) STATIC_ASSERT((a) / (b) * (b) == (a)) argument
/hal_telink-latest/tlsr9/drivers/B91/
Dpke.h39 #define reg_pke_b_ram(b) ((volatile unsigned long *)(PKE_BASE+0x1000+(b)*(0x24))) argument
251 signed int big_integer_compare(unsigned int *a, unsigned int aWordLen, unsigned int *b, unsigned in…
261 void sub_u32(unsigned int *a, unsigned int *b, unsigned int *c, unsigned int wordLen);
303 unsigned char pke_mod_mul(const unsigned int *modulus, const unsigned int *a, const unsigned int *b,
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,
353 unsigned char pke_mod(unsigned int *a, unsigned int aWordLen, unsigned int *b, unsigned int *b_h, u…
Dpke.c99 signed int big_integer_compare(unsigned int *a, unsigned int aWordLen, unsigned int *b, unsigned in… in big_integer_compare() argument
104 bWordLen = valid_words_get(b, bWordLen); in big_integer_compare()
113 if(a[i] > b[i]) in big_integer_compare()
115 if(a[i] < b[i]) in big_integer_compare()
130 void sub_u32(unsigned int *a, unsigned int *b, unsigned int *c, unsigned int wordLen) in sub_u32() argument
137 temp = a[i]-b[i]; in sub_u32()
498 …nsigned char pke_mod_mul(const unsigned int *modulus, const unsigned int *a, const unsigned int *b, in pke_mod_mul() argument
507 pke_load_operand((unsigned int *)(reg_pke_b_ram(0)), (unsigned int *)b, wordLen); //B0 b in pke_mod_mul()
560 unsigned char pke_mod_add(const unsigned int *modulus, const unsigned int *a, const unsigned int *b, in pke_mod_add() argument
569 pke_load_operand((unsigned int *)(reg_pke_b_ram(0)), (unsigned int *)b, wordLen); //B0 b in pke_mod_add()
[all …]