Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 142) sorted by relevance

123456

/optee_os/core/lib/libtomcrypt/src/math/
A Dgmp_desc.c153 char c, *tmp, *q; in read_radix() local
228 static int add(void *a, void *b, void *c) in add()
237 static int addi(void *a, ltc_mp_digit b, void *c) in addi()
246 static int sub(void *a, void *b, void *c) in sub()
255 static int subi(void *a, ltc_mp_digit b, void *c) in subi()
264 static int mul(void *a, void *b, void *c) in mul()
442 static int gcd(void *a, void *b, void *c) in gcd()
452 static int lcm(void *a, void *b, void *c) in lcm()
494 static int sqrmod(void *a, void *b, void *c) in sqrmod()
505 static int invmod(void *a, void *b, void *c) in invmod()
[all …]
A Dltm_desc.c215 static int add(void *a, void *b, void *c) in add()
223 static int addi(void *a, ltc_mp_digit b, void *c) in addi()
231 static int sub(void *a, void *b, void *c) in sub()
239 static int subi(void *a, ltc_mp_digit b, void *c) in subi()
247 static int mul(void *a, void *b, void *c) in mul()
255 static int muli(void *a, ltc_mp_digit b, void *c) in muli()
311 static int gcd(void *a, void *b, void *c) in gcd()
320 static int lcm(void *a, void *b, void *c) in lcm()
355 static int sqrmod(void *a, void *b, void *c) in sqrmod()
364 static int invmod(void *a, void *b, void *c) in invmod()
[all …]
A Dtfm_desc.c207 static int add(void *a, void *b, void *c) in add()
216 static int addi(void *a, ltc_mp_digit b, void *c) in addi()
225 static int sub(void *a, void *b, void *c) in sub()
234 static int subi(void *a, ltc_mp_digit b, void *c) in subi()
243 static int mul(void *a, void *b, void *c) in mul()
252 static int muli(void *a, ltc_mp_digit b, void *c) in muli()
304 static int gcd(void *a, void *b, void *c) in gcd()
314 static int lcm(void *a, void *b, void *c) in lcm()
350 static int sqrmod(void *a, void *b, void *c) in sqrmod()
359 static int invmod(void *a, void *b, void *c) in invmod()
[all …]
/optee_os/core/drivers/crypto/stm32/
A Dauthenc.c51 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 Dcipher.c38 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/core/lib/libtomcrypt/src/misc/
A Dcrc32.c23 #define CRC32_INDEX(c) (c & 0xff) argument
24 #define CRC32_SHIFTED(c) (c >> 8) argument
26 #define CRC32_INDEX(c) (c >> 24) argument
27 #define CRC32_SHIFTED(c) (c << 8) argument
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h53 const char* c; member
182 #define mp_add(a, b, c) ltc_mp.add(a, b, c) argument
183 #define mp_add_d(a, b, c) ltc_mp.addi(a, b, c) argument
184 #define mp_sub(a, b, c) ltc_mp.sub(a, b, c) argument
185 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) argument
186 #define mp_mul(a, b, c) ltc_mp.mul(a, b, c) argument
187 #define mp_mul_d(a, b, c) ltc_mp.muli(a, b, c) argument
193 #define mp_mod_d(a, b, c) ltc_mp.modi(a, b, c) argument
194 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c) argument
195 #define mp_lcm(a, b, c) ltc_mp.lcm(a, b, c) argument
[all …]
/optee_os/core/lib/libtomcrypt/
A Dmpi_desc.c270 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/core/lib/libtomcrypt/src/ciphers/
A Dnoekeon.c40 #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/libmbedtls/core/
A Dcmac.c39 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/core/lib/libtomcrypt/src/hashes/
A Dmd5.c45 #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
A Drmd128.c50 #define FF(a, b, c, d, x, s) \ argument
54 #define GG(a, b, c, d, x, s) \ argument
58 #define HH(a, b, c, d, x, s) \ argument
62 #define II(a, b, c, d, x, s) \ argument
66 #define FFF(a, b, c, d, x, s) \ argument
70 #define GGG(a, b, c, d, x, s) \ argument
74 #define HHH(a, b, c, d, x, s) \ argument
78 #define III(a, b, c, d, x, s) \ argument
A Drmd256.c44 #define FF(a, b, c, d, x, s) \ argument
48 #define GG(a, b, c, d, x, s) \ argument
52 #define HH(a, b, c, d, x, s) \ argument
56 #define II(a, b, c, d, x, s) \ argument
60 #define FFF(a, b, c, d, x, s) \ argument
64 #define GGG(a, b, c, d, x, s) \ argument
68 #define HHH(a, b, c, d, x, s) \ argument
72 #define III(a, b, c, d, x, s) \ argument
A Drmd160.c51 #define FF(a, b, c, d, e, x, s) \ argument
56 #define GG(a, b, c, d, e, x, s) \ argument
61 #define HH(a, b, c, d, e, x, s) \ argument
66 #define II(a, b, c, d, e, x, s) \ argument
71 #define JJ(a, b, c, d, e, x, s) \ argument
76 #define FFF(a, b, c, d, e, x, s) \ argument
81 #define GGG(a, b, c, d, e, x, s) \ argument
86 #define HHH(a, b, c, d, e, x, s) \ argument
91 #define III(a, b, c, d, e, x, s) \ argument
96 #define JJJ(a, b, c, d, e, x, s) \ argument
A Drmd320.c46 #define FF(a, b, c, d, e, x, s) \ argument
51 #define GG(a, b, c, d, e, x, s) \ argument
56 #define HH(a, b, c, d, e, x, s) \ argument
61 #define II(a, b, c, d, e, x, s) \ argument
66 #define JJ(a, b, c, d, e, x, s) \ argument
71 #define FFF(a, b, c, d, e, x, s) \ argument
76 #define GGG(a, b, c, d, e, x, s) \ argument
81 #define HHH(a, b, c, d, e, x, s) \ argument
86 #define III(a, b, c, d, e, x, s) \ argument
91 #define JJJ(a, b, c, d, e, x, s) \ argument
A Dsha1.c49 ulong32 a,b,c,d,e,W[80],i; in _sha1_compress() local
73 … #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 _sha1_compress() argument
74 … #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 _sha1_compress() argument
75 … #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 _sha1_compress() argument
76 … #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 _sha1_compress() argument
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/utf8/
A Dder_length_utf8_string.c23 unsigned long der_utf8_charsize(const wchar_t c) in der_utf8_charsize()
46 int der_utf8_valid_char(const wchar_t c) in der_utf8_valid_char()
/optee_os/core/crypto/
A Dsm4-ecb.c37 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 Dsm4-cbc.c38 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 Dsm4-ctr.c39 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 Daes-cts.c55 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
A Dsm3-hmac.c54 struct sm3_hmac_ctx *c = to_hmac_ctx(ctx); in op_sm3_hmac_final() local
77 struct sm3_hmac_ctx *c = to_hmac_ctx(ctx); in op_sm3_hmac_free_ctx() local
102 struct sm3_hmac_ctx *c = NULL; in crypto_hmac_sm3_alloc_ctx() local
/optee_os/lib/libutee/
A Dtee_uuid_from_str.c12 static int hex(char c) in hex()
27 int c = 0; in parse_hex() local
/optee_os/core/drivers/crypto/se050/core/
A Dctr.c38 struct se050_aes_ctr_ctx *c = to_aes_ctr_ctx(ctx); in se050_aes_ctr_init() local
86 struct se050_aes_ctr_ctx *c = to_aes_ctr_ctx(ctx); in se050_aes_ctr_update() local
118 struct se050_aes_ctr_ctx *c = to_aes_ctr_ctx(ctx); in do_final() local
156 struct se050_aes_ctr_ctx *c = NULL; in se050_aes_ctr_allocate() local
/optee_os/lib/libutils/isoc/
A Disalnum.c7 int isalnum(int c) in isalnum()

Completed in 26 milliseconds

123456