Home
last modified time | relevance | path

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

12345678

/optee_os/core/lib/libtomcrypt/src/ciphers/safer/
H A Dsaferp.c40 #define ROUND(b, i) do { \ argument
60 #define iROUND(b, i) do { \ argument
80 #define PHT(b) do { \ argument
92 #define iPHT(b) do { \ argument
104 #define SHUF(b, b2) do { \ argument
112 #define iSHUF(b, b2) do { \ argument
123 #define LT(b, b2) do { \ argument
131 #define iLT(b, b2) do { \ argument
140 static void s_round(unsigned char *b, int i, const symmetric_key *skey) in s_round()
145 static void s_iround(unsigned char *b, int i, const symmetric_key *skey) in s_iround()
[all …]
/optee_os/core/lib/libtomcrypt/src/math/
H 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()
151 static int compare_d(void *a, ltc_mp_digit b) in compare_d()
184 static int read_radix(void *a, const char *b, int radix) in read_radix()
192 static int write_radix(void *a, char *b, int radix) in write_radix()
215 static int unsigned_write(void *a, unsigned char *b) in unsigned_write()
227 static int unsigned_read(void *a, unsigned char *b, unsigned long len) in unsigned_read()
[all …]
H 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()
96 static int compare_d(void *a, ltc_mp_digit b) in compare_d()
136 static int read_radix(void *a, const char *b, int radix) in read_radix()
179 static int write_radix(void *a, char *b, int radix) in write_radix()
203 static int unsigned_write(void *a, unsigned char *b) in unsigned_write()
212 static int unsigned_read(void *a, unsigned char *b, unsigned long len) in unsigned_read()
[all …]
H 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()
124 static int compare_d(void *a, ltc_mp_digit b) in compare_d()
159 static int read_radix(void *a, const char *b, int radix) in read_radix()
167 static int write_radix(void *a, char *b, int radix) in write_radix()
182 static int unsigned_write(void *a, unsigned char *b) in unsigned_write()
191 static int unsigned_read(void *a, unsigned char *b, unsigned long len) in unsigned_read()
[all …]
/optee_os/lib/libutils/isoc/arch/arm/
H A Darm32_aeabi_softfloat.c80 aeabi_double_t __aeabi_dadd(aeabi_double_t a, aeabi_double_t b) in __aeabi_dadd()
85 aeabi_double_t __aeabi_ddiv(aeabi_double_t a, aeabi_double_t b) in __aeabi_ddiv()
90 aeabi_double_t __aeabi_dmul(aeabi_double_t a, aeabi_double_t b) in __aeabi_dmul()
96 aeabi_double_t __aeabi_drsub(aeabi_double_t a, aeabi_double_t b) in __aeabi_drsub()
101 aeabi_double_t __aeabi_dsub(aeabi_double_t a, aeabi_double_t b) in __aeabi_dsub()
110 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()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_private.h193 #define mp_init_size(a, b) ltc_mp.init_size(a, b) argument
198 #define mp_init_copy(a, b) ltc_mp.init_copy(a, b) argument
200 #define mp_neg(a, b) ltc_mp.neg(a, b) argument
201 #define mp_copy(a, b) ltc_mp.copy(a, b) argument
203 #define mp_set(a, b) ltc_mp.set_int(a, b) argument
204 #define mp_set_int(a, b) ltc_mp.set_int(a, b) argument
208 #define mp_cmp(a, b) ltc_mp.compare(a, b) argument
209 #define mp_cmp_d(a, b) ltc_mp.compare_d(a, b) argument
212 #define mp_2expt(a, b) ltc_mp.twoexpt(a, b) argument
214 #define mp_read_radix(a, b, c) ltc_mp.read_radix(a, b, c) argument
[all …]
/optee_os/core/lib/libtomcrypt/
H 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()
152 static int compare(void *a, void *b) in compare()
165 static int compare_d(void *a, ltc_mp_digit b) in compare_d()
210 static int read_radix(void *a, const char *b, int radix) in read_radix()
223 static int write_radix(void *a, char *b, int radix) in write_radix()
243 static int unsigned_write(void *a, unsigned char *b) in unsigned_write()
256 static int unsigned_read(void *a, unsigned char *b, unsigned long len) in unsigned_read()
[all …]
/optee_os/core/kernel/
H A Dtee_misc.c34 uint32_t tee_b2hs(uint8_t *b, uint8_t *hs, uint32_t blen, uint32_t hslen) in tee_b2hs()
50 uint32_t tee_hs2b(uint8_t *hs, uint8_t *b, uint32_t hslen, uint32_t blen) in tee_hs2b()
71 static bool is_valid_conf_and_notnull_size(paddr_t b, paddr_size_t bl, in is_valid_conf_and_notnull_size()
84 bool core_is_buffer_inside(paddr_t b, paddr_size_t bl, in core_is_buffer_inside()
97 bool core_is_buffer_outside(paddr_t b, paddr_size_t bl, in core_is_buffer_outside()
110 bool core_is_buffer_intersect(paddr_t b, paddr_size_t bl, in core_is_buffer_intersect()
/optee_os/core/lib/libtomcrypt/src/ciphers/
H 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
H 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/lib/libutils/isoc/
H 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/lib/libutils/ext/include/
H A Dcompiler.h43 #define __printf(a, b) __attribute__((format(printf, a, b))) argument
110 #define __compiler_add_overflow(a, b, res) \ argument
113 #define __compiler_sub_overflow(a, b, res) \ argument
116 #define __compiler_mul_overflow(a, b, res) \ argument
132 #define __INTOF_ADD(c, a, b) (__extension__({ \ argument
170 #define __INTOF_SUB(c, a, b) (__extension__({ \ argument
249 #define __INTOF_MUL(c, a, b) (__extension__({ \ argument
267 #define __compiler_add_overflow(a, b, res) __INTOF_ADD(*(res), (a), (b)) argument
268 #define __compiler_sub_overflow(a, b, res) __INTOF_SUB(*(res), (a), (b)) argument
269 #define __compiler_mul_overflow(a, b, res) __INTOF_MUL(*(res), (a), (b)) argument
H A Dutil.h25 #define MAX(a, b) \ argument
30 #define MIN(a, b) \ argument
35 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) argument
36 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) argument
45 #define MAX_UNSAFE(a, b) (((a) > (b)) ? (a) : (b)) argument
46 #define MIN_UNSAFE(a, b) (((a) < (b)) ? (a) : (b)) argument
221 #define ADD_OVERFLOW(a, b, res) __compiler_add_overflow((a), (b), (res)) argument
222 #define SUB_OVERFLOW(a, b, res) __compiler_sub_overflow((a), (b), (res)) argument
223 #define MUL_OVERFLOW(a, b, res) __compiler_mul_overflow((a), (b), (res)) argument
226 #define CMP_TRILEAN(a, b) \ argument
/optee_os/core/lib/libtomcrypt/src/hashes/
H 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
H 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
H 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
H 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
H 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
H 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
H 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/core/drivers/crypto/versal/
H 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/lib/libmbedtls/mbedtls/library/
H A Daesce.c414 static inline poly128_t vmull_p64(poly64_t a, poly64_t b) in vmull_p64()
424 static inline poly128_t vmull_high_p64(poly64x2_t a, poly64x2_t b) in vmull_high_p64()
490 #define MBEDTLS_VMULL_P64(a, b) vmull_p64((poly64_t) a, (poly64_t) b) argument
495 #define MBEDTLS_VMULL_P64(a, b) vmull_p64(a, b) argument
498 static inline uint8x16_t pmull_low(uint8x16_t a, uint8x16_t b) in pmull_low()
508 static inline uint8x16_t pmull_high(uint8x16_t a, uint8x16_t b) in pmull_high()
531 static inline uint8x16x3_t poly_mult_128(uint8x16_t a, uint8x16_t b) in poly_mult_128()
H A Dconstant_time.c69 const void *b, in mbedtls_ct_memcmp()
122 const void *b, in mbedtls_ct_memcmp_partial()
199 uint64_t b = mbedtls_get_unaligned_uint64(src2 + i) & not_mask; in mbedtls_ct_memcpy_if() local
205 uint32_t b = mbedtls_get_unaligned_uint32(src2 + i) & not_mask; in mbedtls_ct_memcpy_if() local
/optee_os/lib/libutils/ext/
H A Darray.c14 uint8_t *b = base; in ins_array_elem() local
38 uint8_t *b = base; in rem_array_elem() local
/optee_os/lib/libutils/compiler-rt/lib/builtins/
H A Dudivti3.c19 COMPILER_RT_ABI tu_int __udivti3(tu_int a, tu_int b) { in __udivti3()

12345678