/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | gmp_desc.c | 146 char c, *tmp, *q; in read_radix() local 221 static int add(void *a, void *b, void *c) in add() 230 static int addi(void *a, ltc_mp_digit b, void *c) in addi() 239 static int sub(void *a, void *b, void *c) in sub() 248 static int subi(void *a, ltc_mp_digit b, void *c) in subi() 257 static int mul(void *a, void *b, void *c) in mul() 435 static int gcd(void *a, void *b, void *c) in gcd() 445 static int lcm(void *a, void *b, void *c) in lcm() 487 static int sqrmod(void *a, void *b, void *c) in sqrmod() 498 static int invmod(void *a, void *b, void *c) in invmod() [all …]
|
A D | ltm_desc.c | 239 static int add(void *a, void *b, void *c) in add() 247 static int addi(void *a, ltc_mp_digit b, void *c) in addi() 255 static int sub(void *a, void *b, void *c) in sub() 263 static int subi(void *a, ltc_mp_digit b, void *c) in subi() 271 static int mul(void *a, void *b, void *c) in mul() 279 static int muli(void *a, ltc_mp_digit b, void *c) in muli() 335 static int gcd(void *a, void *b, void *c) in gcd() 344 static int lcm(void *a, void *b, void *c) in lcm() 379 static int sqrmod(void *a, void *b, void *c) in sqrmod() 388 static int invmod(void *a, void *b, void *c) in invmod() [all …]
|
A D | tfm_desc.c | 200 static int add(void *a, void *b, void *c) in add() 209 static int addi(void *a, ltc_mp_digit b, void *c) in addi() 218 static int sub(void *a, void *b, void *c) in sub() 227 static int subi(void *a, ltc_mp_digit b, void *c) in subi() 236 static int mul(void *a, void *b, void *c) in mul() 245 static int muli(void *a, ltc_mp_digit b, void *c) in muli() 297 static int gcd(void *a, void *b, void *c) in gcd() 307 static int lcm(void *a, void *b, void *c) in lcm() 343 static int sqrmod(void *a, void *b, void *c) in sqrmod() 352 static int invmod(void *a, void *b, void *c) in invmod() [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/ |
A D | crc32.c | 16 #define CRC32_INDEX(c) (c & 0xff) argument 17 #define CRC32_SHIFTED(c) (c >> 8) argument 19 #define CRC32_INDEX(c) (c >> 24) argument 20 #define CRC32_SHIFTED(c) (c << 8) argument
|
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | authenc.c | 51 static TEE_Result stm32_ae_gcm_generate_iv(struct stm32_ae_ctx *c, in stm32_ae_gcm_generate_iv() 170 static TEE_Result stm32_ae_ccm_push_b1(struct stm32_ae_ctx *c, in stm32_ae_ccm_push_b1() 215 struct stm32_ae_ctx *c = to_stm32_ae_ctx(dinit->ctx); in stm32_ae_initialize() local 240 struct stm32_ae_ctx *c = to_stm32_ae_ctx(dupdate->ctx); in stm32_ae_update_aad() local 249 struct stm32_ae_ctx *c = to_stm32_ae_ctx(dupdate->ctx); in stm32_ae_update_payload() local 256 static TEE_Result stm32_ae_encdec_final(struct stm32_ae_ctx *c, uint8_t *tag, in stm32_ae_encdec_final() 274 struct stm32_ae_ctx *c = to_stm32_ae_ctx(dfinal->ctx); in stm32_ae_enc_final() local 288 struct stm32_ae_ctx *c = to_stm32_ae_ctx(dfinal->ctx); in stm32_ae_dec_final() local 313 struct stm32_ae_ctx *c = to_stm32_ae_ctx(ctx); in stm32_ae_free() local 328 struct stm32_ae_ctx *c = calloc(1, sizeof(*c)); in alloc_ctx() local
|
A D | cipher.c | 38 struct stm32_cipher_ctx *c = to_stm32_cipher_ctx(dinit->ctx); in stm32_cipher_initialize() local 64 struct stm32_cipher_ctx *c = to_stm32_cipher_ctx(dupdate->ctx); in stm32_cipher_update() local 78 struct stm32_cipher_ctx *c = to_stm32_cipher_ctx(ctx); in stm32_cipher_free() local 93 struct stm32_cipher_ctx *c = calloc(1, sizeof(*c)); in alloc_ctx() local
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 54 const char* c; member 195 #define mp_add(a, b, c) ltc_mp.add(a, b, c) argument 196 #define mp_add_d(a, b, c) ltc_mp.addi(a, b, c) argument 197 #define mp_sub(a, b, c) ltc_mp.sub(a, b, c) argument 198 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) argument 199 #define mp_mul(a, b, c) ltc_mp.mul(a, b, c) argument 200 #define mp_mul_d(a, b, c) ltc_mp.muli(a, b, c) argument 206 #define mp_mod_d(a, b, c) ltc_mp.modi(a, b, c) 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/core/lib/libtomcrypt/ |
A D | mpi_desc.c | 270 static int add(void *a, void *b, void *c) in add() 278 static int addi(void *a, ltc_mp_digit b, void *c) in addi() 292 static int sub(void *a, void *b, void *c) in sub() 300 static int subi(void *a, ltc_mp_digit b, void *c) in subi() 314 static int mul(void *a, void *b, void *c) in mul() 322 static int muli(void *a, ltc_mp_digit b, void *c) in muli() 391 static int gcd(void *a, void *b, void *c) in gcd() 400 static int lcm(void *a, void *b, void *c) in lcm() 419 static int mod(void *a, void *b, void *c) in mod() 476 static int sqrmod(void *a, void *b, void *c) in sqrmod() [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | noekeon.c | 33 #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
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | cmac.c | 39 struct mbed_cmac_ctx *c = to_cmac_ctx(ctx); in mbed_cmac_init() local 63 struct mbed_cmac_ctx *c = to_cmac_ctx(ctx); in mbed_cmac_update() local 74 struct mbed_cmac_ctx *c = to_cmac_ctx(ctx); in mbed_cmac_final() local 103 struct mbed_cmac_ctx *c = to_cmac_ctx(ctx); in mbed_cmac_free_ctx() local 132 struct mbed_cmac_ctx *c = NULL; in crypto_cmac_alloc_ctx() local
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/utf8/ |
A D | der_length_utf8_string.c | 16 unsigned long der_utf8_charsize(const wchar_t c) in der_utf8_charsize() 39 int der_utf8_valid_char(const wchar_t c) in der_utf8_valid_char()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/ |
A D | md5.c | 38 #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 D | rmd128.c | 43 #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 D | rmd256.c | 37 #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 D | rmd160.c | 44 #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 D | rmd320.c | 39 #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 D | sha1.c | 42 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
|
/optee_os-3.20.0/core/crypto/ |
A D | sm4-ecb.c | 37 struct sm4_ecb_ctx *c = to_sm4_ecb_ctx(ctx); in sm4_ecb_init() local 54 struct sm4_ecb_ctx *c = to_sm4_ecb_ctx(ctx); in sm4_ecb_update() local 63 struct sm4_ecb_ctx *c = to_sm4_ecb_ctx(ctx); in sm4_ecb_final() local 92 struct sm4_ecb_ctx *c = NULL; in crypto_sm4_ecb_alloc_ctx() local
|
A D | sm4-cbc.c | 38 struct sm4_cbc_ctx *c = to_sm4_cbc_ctx(ctx); in sm4_cbc_init() local 57 struct sm4_cbc_ctx *c = to_sm4_cbc_ctx(ctx); in sm4_cbc_update() local 66 struct sm4_cbc_ctx *c = to_sm4_cbc_ctx(ctx); in sm4_cbc_final() local 97 struct sm4_cbc_ctx *c = NULL; in crypto_sm4_cbc_alloc_ctx() local
|
A D | sm4-ctr.c | 39 struct sm4_ctr_ctx *c = to_sm4_ctr_ctx(ctx); in sm4_ctr_init() local 54 struct sm4_ctr_ctx *c = to_sm4_ctr_ctx(ctx); in sm4_ctr_update() local 63 struct sm4_ctr_ctx *c = to_sm4_ctr_ctx(ctx); in sm4_ctr_final() local 94 struct sm4_ctr_ctx *c = NULL; in crypto_sm4_ctr_alloc_ctx() local
|
A D | sm4-xts.c | 39 struct sm4_xts_ctx *c = to_sm4_xts_ctx(ctx); in sm4_xts_init() local 62 struct sm4_xts_ctx *c = to_sm4_xts_ctx(ctx); in sm4_xts_update() local 72 struct sm4_xts_ctx *c = to_sm4_xts_ctx(ctx); in sm4_xts_final() local 107 struct sm4_xts_ctx *c = NULL; in crypto_sm4_xts_alloc_ctx() local
|
A D | aes-cts.c | 55 struct cts_ctx *c = to_cts_ctx(ctx); in cts_init() local 192 struct cts_ctx *c = to_cts_ctx(ctx); in cts_update() local 200 struct cts_ctx *c = to_cts_ctx(ctx); in cts_final() local 208 struct cts_ctx *c = to_cts_ctx(ctx); in cts_free_ctx() local 237 struct cts_ctx *c = calloc(1, sizeof(*c)); in crypto_aes_cts_alloc_ctx() local
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_uuid_from_str.c | 12 static int hex(char c) in hex() 27 int c = 0; in parse_hex() local
|
/optee_os-3.20.0/lib/libutils/isoc/ |
A D | isalnum.c | 7 int isalnum(int c) in isalnum()
|
A D | isalpha.c | 7 int isalpha(int c) in isalpha()
|