Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/optee_os/core/lib/libtomcrypt/src/math/
A Dltm_desc.c50 if (*a == NULL) { in init()
55 XFREE(*a); in init()
63 mp_clear(a); in deinit()
64 XFREE(a); in deinit()
86 return copy(b, *a); in init_copy()
96 mp_set_u32(a, b); in set_int()
107 return mp_get_ul(a); in get_int()
115 A = a; in get_digit()
123 A = a; in get_digit_count()
132 ret = mp_cmp(a, b); in compare()
[all …]
A Dgmp_desc.c24 if (*a == NULL) { in init()
34 mpz_clear(a); in deinit()
35 XFREE(a); in deinit()
42 mpz_neg(b, a); in neg()
50 mpz_set(b, a); in copy()
59 return copy(b, *a); in init_copy()
133 mpz_set_ui(a, 0); in twoexpt()
134 mpz_setbit(a, n); in twoexpt()
286 mpz_mul(b, a, a); in sqr()
499 mpz_mul(c, a, a); in sqrmod()
[all …]
A Dtfm_desc.c48 if (*a == NULL) { in init()
51 fp_init(*a); in init()
58 XFREE(a); in deinit()
73 fp_copy(a, b); in copy()
89 fp_set(a, b); in set_int()
97 A = a; in get_int()
105 A = a; in get_digit()
113 A = a; in get_digit_count()
159 fp_2expt(a, n); in twoexpt()
265 fp_sqr(a, b); in sqr()
[all …]
A Dmulti.c15 int ltc_init_multi(void **a, ...) in ltc_init_multi() argument
17 void **cur = a; in ltc_init_multi()
21 va_start(args, a); in ltc_init_multi()
28 cur = a; in ltc_init_multi()
46 void **cur = a; in ltc_init_multi_size()
50 va_start(args, a); in ltc_init_multi_size()
57 cur = a; in ltc_init_multi_size()
74 void *cur = a; in ltc_deinit_multi()
77 va_start(args, a); in ltc_deinit_multi()
87 void **cur = a; in ltc_cleanup_multi()
[all …]
/optee_os/lib/libutils/isoc/arch/arm/
A Darm32_aeabi_softfloat.c219 int __aeabi_f2iz(aeabi_float_t a) in __aeabi_f2iz() argument
257 aeabi_double_t __aeabi_i2d(int a) in __aeabi_i2d() argument
259 return f64_to_d(i32_to_f64(a)); in __aeabi_i2d()
264 return f64_to_d(ui32_to_f64(a)); in __aeabi_ui2d()
269 return f64_to_d(i64_to_f64(a)); in __aeabi_l2d()
274 return f64_to_d(ui64_to_f64(a)); in __aeabi_ul2d()
277 aeabi_float_t __aeabi_i2f(int a) in __aeabi_i2f() argument
279 return f32_to_f(i32_to_f32(a)); in __aeabi_i2f()
284 return f32_to_f(ui32_to_f32(a)); in __aeabi_ui2f()
289 return f32_to_f(i64_to_f32(a)); in __aeabi_l2f()
[all …]
/optee_os/core/lib/libtomcrypt/src/hashes/
A Dmd5.c46 a = (a + F(b,c,d) + M + t); a = ROL(a, s) + b;
49 a = (a + G(b,c,d) + M + t); a = ROL(a, s) + b;
52 a = (a + H(b,c,d) + M + t); a = ROL(a, s) + b;
55 a = (a + I(b,c,d) + M + t); a = ROL(a, s) + b;
85 a = (a + F(b,c,d) + M + t); a = ROLc(a, s) + b;
88 a = (a + G(b,c,d) + M + t); a = ROLc(a, s) + b;
91 a = (a + H(b,c,d) + M + t); a = ROLc(a, s) + b;
94 a = (a + I(b,c,d) + M + t); a = ROLc(a, s) + b;
124 t = d; d = c; c = b; b = a; a = t; in _md5_compress()
129 t = d; d = c; c = b; b = a; a = t; in _md5_compress()
[all …]
A Dmd4.c61 #define FF(a, b, c, d, x, s) { \ argument
62 (a) += F ((b), (c), (d)) + (x); \
63 (a) = ROTATE_LEFT ((a), (s)); \
65 #define GG(a, b, c, d, x, s) { \ argument
67 (a) = ROTATE_LEFT ((a), (s)); \
69 #define HH(a, b, c, d, x, s) { \ argument
71 (a) = ROTATE_LEFT ((a), (s)); \
80 ulong32 x[16], a, b, c, d; in _md4_compress() local
84 a = md->md4.state[0]; in _md4_compress()
95 FF (a, b, c, d, x[ 0], S11); /* 1 */ in _md4_compress()
[all …]
A Dsha1.c60 a = md->sha1.state[0]; in _sha1_compress()
81 FF0(a,b,c,d,e,i++); t = e; e = d; d = c; c = b; b = a; a = t; in _sha1_compress()
85 FF1(a,b,c,d,e,i++); t = e; e = d; d = c; c = b; b = a; a = t; in _sha1_compress()
89 FF2(a,b,c,d,e,i++); t = e; e = d; d = c; c = b; b = a; a = t; in _sha1_compress()
93 FF3(a,b,c,d,e,i++); t = e; e = d; d = c; c = b; b = a; a = t; in _sha1_compress()
99 FF0(a,b,c,d,e,i++); in _sha1_compress()
100 FF0(e,a,b,c,d,i++); in _sha1_compress()
101 FF0(d,e,a,b,c,i++); in _sha1_compress()
102 FF0(c,d,e,a,b,i++); in _sha1_compress()
103 FF0(b,c,d,e,a,i++); in _sha1_compress()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_math.h51 int (*init)(void **a);
71 void (*deinit)(void *a);
103 unsigned long (*get_int)(void *a);
116 int (*get_digit_count)(void *a);
125 int (*compare)(void *a, void *b);
140 int (*count_bits)(void * a);
146 int (*count_lsb_bits)(void *a);
153 int (*twoexpt)(void *a , int n);
255 int (*sqr)(void *a, void *b);
279 int (*div_2)(void *a, void *b);
[all …]
A Dtomcrypt_private.h153 #define mp_init(a) ltc_mp.init(a) argument
157 #define mp_clear(a) ltc_mp.deinit(a) argument
162 #define mp_neg(a, b) ltc_mp.neg(a, b) argument
163 #define mp_copy(a, b) ltc_mp.copy(a, b) argument
167 #define mp_get_int(a) ltc_mp.get_int(a) argument
182 #define mp_add(a, b, c) ltc_mp.add(a, b, c) argument
184 #define mp_sub(a, b, c) ltc_mp.sub(a, b, c) argument
188 #define mp_sqr(a, b) ltc_mp.sqr(a, b) argument
191 #define mp_div_2(a, b) ltc_mp.div_2(a, b) argument
213 #define mp_exch(a, b) do { void *ABC__tmp = a; a = b; b = ABC__tmp; } while(0) argument
[all …]
/optee_os/core/lib/libtomcrypt/
A Dmpi_desc.c63 static int init(void **a) in init() argument
71 *a = bn; in init()
77 return init(a); in init_size()
106 return copy(b, *a); in init_copy()
127 mbedtls_mpi *bn = a; in get_int()
137 mbedtls_mpi *bn = a; in get_digit()
246 int res = mbedtls_mpi_write_binary(a, b, unsigned_size(a)); in unsigned_write()
336 return mul(a, a, b); in sqr()
478 return mulmod(a, a, b, c); in sqrmod()
516 if (mbedtls_mpi_mod_mpi(a, a, b)) in montgomery_normalization()
[all …]
/optee_os/lib/libutils/isoc/
A Dqsort.c36 #define min(a, b) (a) < (b) ? a : b argument
50 #define SWAPINIT(a, es) swaptype = (uintptr_t)a % sizeof(long) || \ argument
67 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument
72 (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a )) in med3()
73 :(cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c )); in med3()
80 char *a = aa; in qsort() local
84 for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es) in qsort()
92 pl = (char *)a; in qsort()
102 swap(a, pm); in qsort()
131 for (pm = (char *) a + es; pm < (char *) a + n * es; pm += es) in qsort()
[all …]
/optee_os/core/drivers/crypto/caam/include/
A Dcaam_io.h17 #define io_caam_read32(a) TEE_U32_FROM_BIG_ENDIAN(io_read32(a)) argument
18 #define io_caam_write32(a, val) io_write32(a, TEE_U32_TO_BIG_ENDIAN(val)) argument
21 #define caam_read_val32(a) get_be32(a) argument
22 #define caam_write_val32(a, v) put_be32(a, v) argument
25 #define io_caam_read32(a) io_read32(a) argument
26 #define io_caam_write32(a, val) io_write32(a, val) argument
29 #define caam_read_val32(a) get_le32(a) argument
30 #define caam_write_val32(a, v) put_le32(a, v) argument
32 #define caam_read_val64(a) get_le64(a) argument
33 #define caam_write_val64(a, v) put_le64(a, v) argument
/optee_os/out/arm/ta/avb/
A D023f8f1a-292a-432b-8fc4-de8471358067.map3 out/arm/export-ta_arm32/lib/libutils.a(memset.o)
5 out/arm/export-ta_arm32/lib/libutils.a(trace.o)
7 out/arm/export-ta_arm32/lib/libutils.a(aeabi_unwind.o)
9 out/arm/export-ta_arm32/lib/libutils.a(snprintk.o)
11 out/arm/export-ta_arm32/lib/libutils.a(memchr.o)
13 out/arm/export-ta_arm32/lib/libutils.a(strlen.o)
19 out/arm/export-ta_arm32/lib/libutee.a(trace_ext.o)
21 out/arm/export-ta_arm32/lib/libutee.a(tee_api.o)
33 out/arm/export-ta_arm32/lib/libutee.a(abort.o)
37 out/arm/export-ta_arm32/lib/libutee.a(tcb.o)
[all …]
/optee_os/out/arm/ta/trusted_keys/
A Df04a0fe7-1f5d-4b9b-abf7-619b85b4ce8c.map3 out/arm/export-ta_arm32/lib/libutils.a(memcpy.o)
5 out/arm/export-ta_arm32/lib/libutils.a(memset.o)
7 out/arm/export-ta_arm32/lib/libutils.a(trace.o)
13 out/arm/export-ta_arm32/lib/libutils.a(snprintk.o)
15 out/arm/export-ta_arm32/lib/libutils.a(memchr.o)
17 out/arm/export-ta_arm32/lib/libutils.a(strlen.o)
23 out/arm/export-ta_arm32/lib/libutee.a(assert.o)
27 out/arm/export-ta_arm32/lib/libutee.a(tee_api.o)
43 out/arm/export-ta_arm32/lib/libutee.a(abort.o)
45 out/arm/export-ta_arm32/lib/libutee.a(base64.o)
[all …]
/optee_os/core/lib/zlib/
A Dadler32.c28 # define CHOP(a) \ argument
34 # define MOD28(a) \ argument
36 CHOP(a); \
37 if (a >= BASE) a -= BASE; \
39 # define MOD(a) \ argument
41 CHOP(a); \
42 MOD28(a); \
55 if (a >= BASE) a -= BASE; \
58 # define MOD(a) a %= BASE argument
59 # define MOD28(a) a %= BASE argument
[all …]
/optee_os/out/arm/ldelf/
A Dldelf.map3 out/arm/ldelf-lib/libunw/libunw.a(unwind_arm32.o)
5 out/arm/ldelf-lib/libunw/libunw.a(unwind_arm64.o)
7 out/arm/ldelf-lib/libutee/libutee.a(assert.o)
15 out/arm/ldelf-lib/libutils/libutils.a(isxdigit.o)
19 out/arm/ldelf-lib/libutils/libutils.a(tolower.o)
21 out/arm/ldelf-lib/libutils/libutils.a(memcmp.o)
23 out/arm/ldelf-lib/libutils/libutils.a(memcpy.o)
25 out/arm/ldelf-lib/libutils/libutils.a(memset.o)
27 out/arm/ldelf-lib/libutils/libutils.a(strcmp.o)
35 out/arm/ldelf-lib/libutils/libutils.a(trace.o)
[all …]
/optee_os/out/arm/ta/pkcs11/
A Dfd02c9da-306c-48c7-a49c-bbd827ae86ee.map3 out/arm/export-ta_arm32/lib/libutils.a(snprintf.o)
5 out/arm/export-ta_arm32/lib/libutils.a(memcpy.o)
7 out/arm/export-ta_arm32/lib/libutils.a(memset.o)
9 out/arm/export-ta_arm32/lib/libutils.a(strchr.o)
11 out/arm/export-ta_arm32/lib/libutils.a(strcmp.o)
13 out/arm/export-ta_arm32/lib/libutils.a(strcpy.o)
15 out/arm/export-ta_arm32/lib/libutils.a(strlen.o)
17 out/arm/export-ta_arm32/lib/libutils.a(strnlen.o)
19 out/arm/export-ta_arm32/lib/libutils.a(strstr.o)
23 out/arm/export-ta_arm32/lib/libutils.a(trace.o)
[all …]
/optee_os/out/arm/export-ta_arm32/host_include/
A Dutil.h20 #define MAX(a, b) \ argument
21 (__extension__({ __typeof__(a) _a = (a); \
25 #define MIN(a, b) \ argument
26 (__extension__({ __typeof__(a) _a = (a); \
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
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
150 #define ADD_OVERFLOW(a, b, res) __compiler_add_overflow((a), (b), (res)) argument
[all …]
/optee_os/out/arm/export-ta_arm64/include/
A Dutil.h20 #define MAX(a, b) \ argument
21 (__extension__({ __typeof__(a) _a = (a); \
25 #define MIN(a, b) \ argument
26 (__extension__({ __typeof__(a) _a = (a); \
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
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
150 #define ADD_OVERFLOW(a, b, res) __compiler_add_overflow((a), (b), (res)) argument
[all …]
/optee_os/out/arm/export-ta_arm64/host_include/
A Dutil.h20 #define MAX(a, b) \ argument
21 (__extension__({ __typeof__(a) _a = (a); \
25 #define MIN(a, b) \ argument
26 (__extension__({ __typeof__(a) _a = (a); \
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
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
150 #define ADD_OVERFLOW(a, b, res) __compiler_add_overflow((a), (b), (res)) argument
[all …]
/optee_os/lib/libutils/ext/include/
A Dutil.h20 #define MAX(a, b) \ argument
21 (__extension__({ __typeof__(a) _a = (a); \
25 #define MIN(a, b) \ argument
26 (__extension__({ __typeof__(a) _a = (a); \
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
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
150 #define ADD_OVERFLOW(a, b, res) __compiler_add_overflow((a), (b), (res)) argument
[all …]
/optee_os/out/arm/export-ta_arm32/include/
A Dutil.h20 #define MAX(a, b) \ argument
21 (__extension__({ __typeof__(a) _a = (a); \
25 #define MIN(a, b) \ argument
26 (__extension__({ __typeof__(a) _a = (a); \
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
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
150 #define ADD_OVERFLOW(a, b, res) __compiler_add_overflow((a), (b), (res)) argument
[all …]
/optee_os/out/arm/core/
A Dtee.map3 out/arm/lib/libunw/libunw.a(unwind_arm64.o)
5 out/arm/core/lib/zlib/libzlib.a(inflate.o)
7 out/arm/core/lib/zlib/libzlib.a(inftrees.o)
9 out/arm/core/lib/zlib/libzlib.a(zutil.o)
11 out/arm/core/lib/zlib/libzlib.a(adler32.o)
13 out/arm/core/lib/zlib/libzlib.a(inffast.o)
15 out/arm/core/lib/libfdt/libfdt.a(fdt.o)
17 out/arm/core/lib/libfdt/libfdt.a(fdt_ro.o)
19 out/arm/core/lib/libfdt/libfdt.a(fdt_wip.o)
21 out/arm/core/lib/libfdt/libfdt.a(fdt_rw.o)
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/
A Dtweetnacl.c148 M(o,a,a); in S()
155 FOR(a,16) c[a]=i[a]; in inv25519()
156 for(a=253;a>=0;a--) { in inv25519()
160 FOR(a,16) o[a]=c[a]; in inv25519()
167 FOR(a,16) c[a]=i[a]; in pow2523()
168 for(a=250;a>=0;a--) { in pow2523()
172 FOR(a,16) o[a]=c[a]; in pow2523()
194 Z(a,a,c); in tweetnacl_crypto_scalarmult()
199 M(a,c,a); in tweetnacl_crypto_scalarmult()
202 Z(a,a,c); in tweetnacl_crypto_scalarmult()
[all …]

Completed in 382 milliseconds

12345678910>>...17