Home
last modified time | relevance | path

Searched defs:b (Results 1 – 25 of 181) sorted by relevance

12345678

/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/safer/
A Dsaferp.c80 #define PHT(b) do { \ argument
123 #define LT(b, b2) do { \ argument
131 #define iLT(b, b2) do { \ argument
150 static void s_lt(unsigned char *b, unsigned char *b2) in s_lt()
155 static void s_ilt(unsigned char *b, unsigned char *b2) in s_ilt()
161 #define ROUND(b, i) s_round(b, i, skey) argument
164 #define iROUND(b, i) s_iround(b, i, skey) argument
167 #define LT(b, b2) s_lt(b, b2) argument
170 #define iLT(b, b2) s_ilt(b, b2) argument
337 unsigned char b[16]; in saferp_ecb_encrypt() local
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dltm_desc.c78 static int neg(void *a, void *b) in neg()
85 static int copy(void *a, void *b) in copy()
92 static int init_copy(void **a, void *b) in init_copy()
102 static int set_int(void *a, ltc_mp_digit b) in set_int()
139 static int compare(void *a, void *b) in compare()
239 static int add(void *a, void *b, void *c) in add()
255 static int sub(void *a, void *b, void *c) in sub()
271 static int mul(void *a, void *b, void *c) in mul()
287 static int sqr(void *a, void *b) in sqr()
311 static int div_2(void *a, void *b) in div_2()
[all …]
A Dgmp_desc.c31 static int neg(void *a, void *b) in neg()
39 static int copy(void *a, void *b) in copy()
47 static int init_copy(void **a, void *b) in init_copy()
56 static int set_int(void *a, ltc_mp_digit b) in set_int()
81 static int compare(void *a, void *b) in compare()
221 static int add(void *a, void *b, void *c) in add()
239 static int sub(void *a, void *b, void *c) in sub()
257 static int mul(void *a, void *b, void *c) in mul()
275 static int sqr(void *a, void *b) in sqr()
416 static int div_2(void *a, void *b) in div_2()
[all …]
A Dtfm_desc.c54 static int neg(void *a, void *b) in neg()
62 static int copy(void *a, void *b) in copy()
70 static int init_copy(void **a, void *b) in init_copy()
79 static int set_int(void *a, ltc_mp_digit b) in set_int()
110 static int compare(void *a, void *b) in compare()
200 static int add(void *a, void *b, void *c) in add()
218 static int sub(void *a, void *b, void *c) in sub()
236 static int mul(void *a, void *b, void *c) in mul()
254 static int sqr(void *a, void *b) in sqr()
272 static int div_2(void *a, void *b) in div_2()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h175 #define mp_neg(a, b) ltc_mp.neg(a, b) argument
176 #define mp_copy(a, b) ltc_mp.copy(a, b) argument
178 #define mp_set(a, b) ltc_mp.set_int(a, b) argument
195 #define mp_add(a, b, c) ltc_mp.add(a, b, c) argument
197 #define mp_sub(a, b, c) ltc_mp.sub(a, b, c) argument
199 #define mp_mul(a, b, c) ltc_mp.mul(a, b, c) argument
201 #define mp_sqr(a, b) ltc_mp.sqr(a, b) argument
204 #define mp_div_2(a, b) ltc_mp.div_2(a, b) argument
207 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c) argument
208 #define mp_lcm(a, b, c) ltc_mp.lcm(a, b, c) argument
[all …]
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/
A Darm32_aeabi_softfloat.c110 int __aeabi_dcmpeq(aeabi_double_t a, aeabi_double_t b) in __aeabi_dcmpeq()
115 int __aeabi_dcmplt(aeabi_double_t a, aeabi_double_t b) in __aeabi_dcmplt()
120 int __aeabi_dcmple(aeabi_double_t a, aeabi_double_t b) in __aeabi_dcmple()
125 int __aeabi_dcmpge(aeabi_double_t a, aeabi_double_t b) in __aeabi_dcmpge()
130 int __aeabi_dcmpgt(aeabi_double_t a, aeabi_double_t b) in __aeabi_dcmpgt()
140 aeabi_float_t __aeabi_fadd(aeabi_float_t a, aeabi_float_t b) in __aeabi_fadd()
170 int __aeabi_fcmpeq(aeabi_float_t a, aeabi_float_t b) in __aeabi_fcmpeq()
175 int __aeabi_fcmplt(aeabi_float_t a, aeabi_float_t b) in __aeabi_fcmplt()
180 int __aeabi_fcmple(aeabi_float_t a, aeabi_float_t b) in __aeabi_fcmple()
185 int __aeabi_fcmpge(aeabi_float_t a, aeabi_float_t b) in __aeabi_fcmpge()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c86 static int neg(void *a, void *b) in neg()
94 static int copy(void *a, void *b) in copy()
101 static int init_copy(void **a, void *b) in init_copy()
110 static int set_int(void *a, ltc_mp_digit b) in set_int()
153 static int compare(void *a, void *b) in compare()
270 static int add(void *a, void *b, void *c) in add()
292 static int sub(void *a, void *b, void *c) in sub()
314 static int mul(void *a, void *b, void *c) in mul()
334 static int sqr(void *a, void *b) in sqr()
352 static int div_2(void *a, void *b) in div_2()
[all …]
/optee_os-3.20.0/core/kernel/
A Dtee_misc.c36 uint32_t tee_b2hs(uint8_t *b, uint8_t *hs, uint32_t blen, uint32_t hslen) in tee_b2hs()
52 uint32_t tee_hs2b(uint8_t *hs, uint8_t *b, uint32_t hslen, uint32_t blen) in tee_hs2b()
73 static bool is_valid_conf_and_notnull_size(paddr_t b, paddr_size_t bl, in is_valid_conf_and_notnull_size()
86 bool core_is_buffer_inside(paddr_t b, paddr_size_t bl, in core_is_buffer_inside()
99 bool core_is_buffer_outside(paddr_t b, paddr_size_t bl, in core_is_buffer_outside()
112 bool core_is_buffer_intersect(paddr_t b, paddr_size_t bl, in core_is_buffer_intersect()
/optee_os-3.20.0/lib/libutils/isoc/
A Dqsort.c36 #define min(a, b) (a) < (b) ? a : b argument
53 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc()
60 #define swap(a, b) \ argument
67 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument
69 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3()
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/
A Dnoekeon.c33 #define kTHETA(a, b, c, d) \ argument
39 #define THETA(k, a, b, c, d) \ argument
45 #define GAMMA(a, b, c, d) \ argument
53 #define PI1(a, b, c, d) \ argument
56 #define PI2(a, b, c, d) \ argument
110 ulong32 a,b,c,d,temp; in s_noekeon_ecb_encrypt() local
164 ulong32 a,b,c,d, temp; in s_noekeon_ecb_decrypt() local
A Drc6.c120 ulong32 a,b,c,d,t,u; in s_rc6_ecb_encrypt() local
132 #define RND(a,b,c,d) \ in s_rc6_ecb_encrypt() argument
175 ulong32 a,b,c,d,t,u; in s_rc6_ecb_decrypt() local
187 #define RND(a,b,c,d) \ in s_rc6_ecb_decrypt() argument
/optee_os-3.20.0/lib/libutils/ext/include/
A Dcompiler.h29 #define __printf(a, b) __attribute__((format(printf, a, b))) argument
96 #define __compiler_add_overflow(a, b, res) \ argument
99 #define __compiler_sub_overflow(a, b, res) \ argument
102 #define __compiler_mul_overflow(a, b, res) \ argument
118 #define __INTOF_ADD(c, a, b) (__extension__({ \ argument
156 #define __INTOF_SUB(c, a, b) (__extension__({ \ argument
235 #define __INTOF_MUL(c, a, b) (__extension__({ \ argument
253 #define __compiler_add_overflow(a, b, res) __INTOF_ADD(*(res), (a), (b)) argument
254 #define __compiler_sub_overflow(a, b, res) __INTOF_SUB(*(res), (a), (b)) argument
255 #define __compiler_mul_overflow(a, b, res) __INTOF_MUL(*(res), (a), (b)) argument
A Dutil.h20 #define MAX(a, b) \ argument
25 #define MIN(a, b) \ argument
30 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) argument
31 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) argument
40 #define MAX_UNSAFE(a, b) (((a) > (b)) ? (a) : (b)) argument
41 #define MIN_UNSAFE(a, b) (((a) < (b)) ? (a) : (b)) argument
150 #define ADD_OVERFLOW(a, b, res) __compiler_add_overflow((a), (b), (res)) argument
151 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) argument
152 #define MUL_OVERFLOW(a, b, res) __compiler_mul_overflow((a), (b), (res)) argument
155 #define CMP_TRILEAN(a, b) \ argument
/optee_os-3.20.0/core/drivers/crypto/versal/
A Dipi.c26 uint32_t b = 0; in versal_sha3_request() local
55 uint32_t b = 0; in versal_aes_update_aad_request() local
74 uint32_t b = 0; in versal_crypto_request() local
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dmd5.c38 #define FF(a,b,c,d,M,s,t) \ argument
41 #define GG(a,b,c,d,M,s,t) \ argument
44 #define HH(a,b,c,d,M,s,t) \ argument
47 #define II(a,b,c,d,M,s,t) \ argument
77 #define FF(a,b,c,d,M,s,t) \ argument
80 #define GG(a,b,c,d,M,s,t) \ argument
83 #define HH(a,b,c,d,M,s,t) \ argument
86 #define II(a,b,c,d,M,s,t) \ argument
98 ulong32 i, W[16], a, b, c, d; in ss_md5_compress() local
A Drmd128.c43 #define FF(a, b, c, d, x, s) \ argument
47 #define GG(a, b, c, d, x, s) \ argument
51 #define HH(a, b, c, d, x, s) \ argument
55 #define II(a, b, c, d, x, s) \ argument
59 #define FFF(a, b, c, d, x, s) \ argument
63 #define GGG(a, b, c, d, x, s) \ argument
67 #define HHH(a, b, c, d, x, s) \ argument
71 #define III(a, b, c, d, x, s) \ argument
A Drmd256.c37 #define FF(a, b, c, d, x, s) \ argument
41 #define GG(a, b, c, d, x, s) \ argument
45 #define HH(a, b, c, d, x, s) \ argument
49 #define II(a, b, c, d, x, s) \ argument
53 #define FFF(a, b, c, d, x, s) \ argument
57 #define GGG(a, b, c, d, x, s) \ argument
61 #define HHH(a, b, c, d, x, s) \ argument
65 #define III(a, b, c, d, x, s) \ argument
A Drmd160.c44 #define FF(a, b, c, d, e, x, s) \ argument
49 #define GG(a, b, c, d, e, x, s) \ argument
54 #define HH(a, b, c, d, e, x, s) \ argument
59 #define II(a, b, c, d, e, x, s) \ argument
64 #define JJ(a, b, c, d, e, x, s) \ argument
69 #define FFF(a, b, c, d, e, x, s) \ argument
74 #define GGG(a, b, c, d, e, x, s) \ argument
79 #define HHH(a, b, c, d, e, x, s) \ argument
84 #define III(a, b, c, d, e, x, s) \ argument
89 #define JJJ(a, b, c, d, e, x, s) \ argument
A Drmd320.c39 #define FF(a, b, c, d, e, x, s) \ argument
44 #define GG(a, b, c, d, e, x, s) \ argument
49 #define HH(a, b, c, d, e, x, s) \ argument
54 #define II(a, b, c, d, e, x, s) \ argument
59 #define JJ(a, b, c, d, e, x, s) \ argument
64 #define FFF(a, b, c, d, e, x, s) \ argument
69 #define GGG(a, b, c, d, e, x, s) \ argument
74 #define HHH(a, b, c, d, e, x, s) \ argument
79 #define III(a, b, c, d, e, x, s) \ argument
84 #define JJJ(a, b, c, d, e, x, s) \ argument
A Dsha1.c42 ulong32 a,b,c,d,e,W[80],i; in ss_sha1_compress() local
66 … #define FF0(a,b,c,d,e,i) e = (ROLc(a, 5) + F0(b,c,d) + e + W[i] + 0x5a827999UL); b = ROLc(b, 30); in ss_sha1_compress() argument
67 … #define FF1(a,b,c,d,e,i) e = (ROLc(a, 5) + F1(b,c,d) + e + W[i] + 0x6ed9eba1UL); b = ROLc(b, 30); in ss_sha1_compress() argument
68 … #define FF2(a,b,c,d,e,i) e = (ROLc(a, 5) + F2(b,c,d) + e + W[i] + 0x8f1bbcdcUL); b = ROLc(b, 30); in ss_sha1_compress() argument
69 … #define FF3(a,b,c,d,e,i) e = (ROLc(a, 5) + F3(b,c,d) + e + W[i] + 0xca62c1d6UL); b = ROLc(b, 30); in ss_sha1_compress() argument
A Dtiger.c551 LTC_INLINE static void tiger_round(ulong64 *a, ulong64 *b, ulong64 *c, ulong64 x, int mul) in tiger_round()
565 static void s_pass(ulong64 *a, ulong64 *b, ulong64 *c, const ulong64 *x, int mul) in s_pass()
604 ulong64 a, b, c, x[8]; in ss_tiger_compress() local
A Dmd4.c54 #define FF(a, b, c, d, x, s) { \ argument
58 #define GG(a, b, c, d, x, s) { \ argument
62 #define HH(a, b, c, d, x, s) { \ argument
73 ulong32 x[16], a, b, c, d; in ss_md4_compress() local
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dbn_mul.h54 #define MBEDTLS_BYTES_TO_T_UINT_4( a, b, c, d ) \ argument
60 #define MBEDTLS_BYTES_TO_T_UINT_2( a, b ) \ argument
63 #define MBEDTLS_BYTES_TO_T_UINT_8( a, b, c, d, e, f, g, h ) \ argument
69 #define MBEDTLS_BYTES_TO_T_UINT_8( a, b, c, d, e, f, g, h ) \ argument
79 #define MBEDTLS_BYTES_TO_T_UINT_4( a, b, c, d ) \ argument
82 #define MBEDTLS_BYTES_TO_T_UINT_2( a, b ) \ argument
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_mul64ByShifted32To128.c44 struct uint128 softfloat_mul64ByShifted32To128( uint64_t a, uint32_t b ) in softfloat_mul64ByShifted32To128()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/
A Dmem_neq.c29 int mem_neq(const void *a, const void *b, size_t len) in mem_neq()

Completed in 31 milliseconds

12345678