/optee_os/lib/libutils/isoc/arch/arm/ |
A D | arm32_aeabi_softfloat.c | 199 int __aeabi_d2iz(aeabi_double_t a) in __aeabi_d2iz() 204 unsigned __aeabi_d2uiz(aeabi_double_t a) in __aeabi_d2uiz() 219 int __aeabi_f2iz(aeabi_float_t a) in __aeabi_f2iz() 224 unsigned __aeabi_f2uiz(aeabi_float_t a) in __aeabi_f2uiz() 229 long long __aeabi_f2lz(aeabi_float_t a) in __aeabi_f2lz() 257 aeabi_double_t __aeabi_i2d(int a) in __aeabi_i2d() 262 aeabi_double_t __aeabi_ui2d(unsigned a) in __aeabi_ui2d() 267 aeabi_double_t __aeabi_l2d(long long a) in __aeabi_l2d() 277 aeabi_float_t __aeabi_i2f(int a) in __aeabi_i2f() 282 aeabi_float_t __aeabi_ui2f(unsigned a) in __aeabi_ui2f() [all …]
|
/optee_os/core/lib/libtomcrypt/src/math/ |
A D | ltm_desc.c | 43 static int init(void **a) in init() 60 static void deinit(void *a) in deinit() 67 static int neg(void *a, void *b) in neg() 74 static int copy(void *a, void *b) in copy() 119 static int get_digit_count(void *a) in get_digit_count() 127 static int compare(void *a, void *b) in compare() 154 static int count_bits(void *a) in count_bits() 160 static int count_lsb_bits(void *a) in count_lsb_bits() 167 static int twoexpt(void *a, int n) in twoexpt() 263 static int sqr(void *a, void *b) in sqr() [all …]
|
A D | gmp_desc.c | 19 static int init(void **a) in init() 31 static void deinit(void *a) in deinit() 38 static int neg(void *a, void *b) in neg() 46 static int copy(void *a, void *b) in copy() 70 static unsigned long get_int(void *a) in get_int() 82 static int get_digit_count(void *a) in get_digit_count() 88 static int compare(void *a, void *b) in compare() 117 static int count_bits(void *a) in count_bits() 123 static int count_lsb_bits(void *a) in count_lsb_bits() 130 static int twoexpt(void *a, int n) in twoexpt() [all …]
|
A D | tfm_desc.c | 43 static int init(void **a) in init() 55 static void deinit(void *a) in deinit() 61 static int neg(void *a, void *b) in neg() 69 static int copy(void *a, void *b) in copy() 109 static int get_digit_count(void *a) in get_digit_count() 117 static int compare(void *a, void *b) in compare() 144 static int count_bits(void *a) in count_bits() 150 static int count_lsb_bits(void *a) in count_lsb_bits() 156 static int twoexpt(void *a, int n) in twoexpt() 261 static int sqr(void *a, void *b) in sqr() [all …]
|
A D | multi.c | 15 int ltc_init_multi(void **a, ...) in ltc_init_multi() 44 int ltc_init_multi_size(int size_bits, void **a, ...) in ltc_init_multi_size() 72 void ltc_deinit_multi(void *a, ...) in ltc_deinit_multi() 85 void ltc_cleanup_multi(void **a, ...) in ltc_cleanup_multi()
|
/optee_os/core/drivers/crypto/caam/include/ |
A D | caam_io.h | 17 #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/core/lib/libtomcrypt/ |
A D | mpi_desc.c | 63 static int init(void **a) in init() 80 static void deinit(void *a) in deinit() 86 static int neg(void *a, void *b) in neg() 94 static int copy(void *a, void *b) in copy() 147 static int get_digit_count(void *a) in get_digit_count() 153 static int compare(void *a, void *b) in compare() 189 static int count_bits(void *a) in count_bits() 194 static int count_lsb_bits(void *a) in count_lsb_bits() 200 static int twoexpt(void *a, int n) in twoexpt() 334 static int sqr(void *a, void *b) in sqr() [all …]
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 153 #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 186 #define mp_mul(a, b, c) ltc_mp.mul(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 [all …]
|
/optee_os/lib/libutils/isoc/ |
A D | qsort.c | 36 #define min(a, b) (a) < (b) ? a : b argument 50 #define SWAPINIT(a, es) swaptype = (uintptr_t)a % sizeof(long) || \ 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() 80 char *a = aa; in qsort() local
|
/optee_os/core/lib/zlib/ |
A D | adler32.c | 28 # define CHOP(a) \ argument 34 # define MOD28(a) \ argument 39 # define MOD(a) \ argument 44 # define MOD63(a) \ argument 58 # define MOD(a) a %= BASE argument 59 # define MOD28(a) a %= BASE argument 60 # define MOD63(a) a %= BASE argument
|
/optee_os/lib/libutils/ext/include/ |
A D | compiler.h | 28 #define __printf(a, b) __attribute__((format(printf, a, b))) argument 81 #define __compiler_add_overflow(a, b, res) \ argument 84 #define __compiler_sub_overflow(a, b, res) \ argument 87 #define __compiler_mul_overflow(a, b, res) \ argument 103 #define __INTOF_ADD(c, a, b) (__extension__({ \ argument 141 #define __INTOF_SUB(c, a, b) (__extension__({ \ argument 220 #define __INTOF_MUL(c, a, b) (__extension__({ \ argument 238 #define __compiler_add_overflow(a, b, res) __INTOF_ADD(*(res), (a), (b)) argument 239 #define __compiler_sub_overflow(a, b, res) __INTOF_SUB(*(res), (a), (b)) argument 240 #define __compiler_mul_overflow(a, b, res) __INTOF_MUL(*(res), (a), (b)) argument
|
A D | util.h | 20 #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 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 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 [all …]
|
/optee_os/out/arm/export-ta_arm32/include/ |
A D | compiler.h | 28 #define __printf(a, b) __attribute__((format(printf, a, b))) argument 81 #define __compiler_add_overflow(a, b, res) \ argument 84 #define __compiler_sub_overflow(a, b, res) \ argument 87 #define __compiler_mul_overflow(a, b, res) \ argument 103 #define __INTOF_ADD(c, a, b) (__extension__({ \ argument 141 #define __INTOF_SUB(c, a, b) (__extension__({ \ argument 220 #define __INTOF_MUL(c, a, b) (__extension__({ \ argument 238 #define __compiler_add_overflow(a, b, res) __INTOF_ADD(*(res), (a), (b)) argument 239 #define __compiler_sub_overflow(a, b, res) __INTOF_SUB(*(res), (a), (b)) argument 240 #define __compiler_mul_overflow(a, b, res) __INTOF_MUL(*(res), (a), (b)) argument
|
A D | util.h | 20 #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 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 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 [all …]
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | compiler.h | 28 #define __printf(a, b) __attribute__((format(printf, a, b))) argument 81 #define __compiler_add_overflow(a, b, res) \ argument 84 #define __compiler_sub_overflow(a, b, res) \ argument 87 #define __compiler_mul_overflow(a, b, res) \ argument 103 #define __INTOF_ADD(c, a, b) (__extension__({ \ argument 141 #define __INTOF_SUB(c, a, b) (__extension__({ \ argument 220 #define __INTOF_MUL(c, a, b) (__extension__({ \ argument 238 #define __compiler_add_overflow(a, b, res) __INTOF_ADD(*(res), (a), (b)) argument 239 #define __compiler_sub_overflow(a, b, res) __INTOF_SUB(*(res), (a), (b)) argument 240 #define __compiler_mul_overflow(a, b, res) __INTOF_MUL(*(res), (a), (b)) argument
|
A D | util.h | 20 #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 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 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 [all …]
|
/optee_os/out/arm/export-ta_arm32/host_include/ |
A D | compiler.h | 28 #define __printf(a, b) __attribute__((format(printf, a, b))) argument 81 #define __compiler_add_overflow(a, b, res) \ argument 84 #define __compiler_sub_overflow(a, b, res) \ argument 87 #define __compiler_mul_overflow(a, b, res) \ argument 103 #define __INTOF_ADD(c, a, b) (__extension__({ \ argument 141 #define __INTOF_SUB(c, a, b) (__extension__({ \ argument 220 #define __INTOF_MUL(c, a, b) (__extension__({ \ argument 238 #define __compiler_add_overflow(a, b, res) __INTOF_ADD(*(res), (a), (b)) argument 239 #define __compiler_sub_overflow(a, b, res) __INTOF_SUB(*(res), (a), (b)) argument 240 #define __compiler_mul_overflow(a, b, res) __INTOF_MUL(*(res), (a), (b)) argument
|
A D | util.h | 20 #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 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 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 [all …]
|
/optee_os/out/arm/export-ta_arm64/host_include/ |
A D | compiler.h | 28 #define __printf(a, b) __attribute__((format(printf, a, b))) argument 81 #define __compiler_add_overflow(a, b, res) \ argument 84 #define __compiler_sub_overflow(a, b, res) \ argument 87 #define __compiler_mul_overflow(a, b, res) \ argument 103 #define __INTOF_ADD(c, a, b) (__extension__({ \ argument 141 #define __INTOF_SUB(c, a, b) (__extension__({ \ argument 220 #define __INTOF_MUL(c, a, b) (__extension__({ \ argument 238 #define __compiler_add_overflow(a, b, res) __INTOF_ADD(*(res), (a), (b)) argument 239 #define __compiler_sub_overflow(a, b, res) __INTOF_SUB(*(res), (a), (b)) argument 240 #define __compiler_mul_overflow(a, b, res) __INTOF_MUL(*(res), (a), (b)) argument
|
A D | util.h | 20 #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 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 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 [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | noekeon.c | 40 #define kTHETA(a, b, c, d) \ argument 46 #define THETA(k, a, b, c, d) \ argument 52 #define GAMMA(a, b, c, d) \ argument 60 #define PI1(a, b, c, d) \ argument 63 #define PI2(a, b, c, d) \ argument 117 ulong32 a,b,c,d,temp; in _noekeon_ecb_encrypt() local 171 ulong32 a,b,c,d, temp; in _noekeon_ecb_decrypt() local
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | ui32_to_extF80M.c | 45 void ui32_to_extF80M( uint32_t a, extFloat80_t *zPtr ) in ui32_to_extF80M() 54 void ui32_to_extF80M( uint32_t a, extFloat80_t *zPtr ) in ui32_to_extF80M()
|
A D | ui64_to_extF80M.c | 45 void ui64_to_extF80M( uint64_t a, extFloat80_t *zPtr ) in ui64_to_extF80M() 54 void ui64_to_extF80M( uint64_t a, extFloat80_t *zPtr ) in ui64_to_extF80M()
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/include/ |
A D | internals.h | 86 #define signF32UI( a ) ((bool) ((uint32_t) (a)>>31)) argument 87 #define expF32UI( a ) ((int_fast16_t) ((a)>>23) & 0xFF) argument 88 #define fracF32UI( a ) ((a) & 0x007FFFFF) argument 91 #define isNaNF32UI( a ) ((((a) & 0x7F800000) == 0x7F800000) && ((a) & 0x007FFFFF)) argument 107 #define signF64UI( a ) ((bool) ((uint64_t) (a)>>63)) argument 108 #define expF64UI( a ) ((int_fast16_t) ((a)>>52) & 0x7FF) argument 109 #define fracF64UI( a ) ((a) & UINT64_C( 0x000FFFFFFFFFFFFF )) argument 112 #define isNaNF64UI( a ) ((((a) & UINT64_C( 0x7FF0000000000000 )) == UINT64_C( 0x7FF0000000000000 ))… argument
|
/optee_os/core/lib/libtomcrypt/src/hashes/ |
A D | md5.c | 45 #define FF(a,b,c,d,M,s,t) \ argument 48 #define GG(a,b,c,d,M,s,t) \ argument 51 #define HH(a,b,c,d,M,s,t) \ argument 54 #define II(a,b,c,d,M,s,t) \ argument 84 #define FF(a,b,c,d,M,s,t) \ argument 87 #define GG(a,b,c,d,M,s,t) \ argument 90 #define HH(a,b,c,d,M,s,t) \ argument 93 #define II(a,b,c,d,M,s,t) \ argument 105 ulong32 i, W[16], a, b, c, d; in _md5_compress() local
|