Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 1875) sorted by relevance

12345678910>>...75

/optee_os/lib/libmbedtls/
A Dsub.mk7 SRCS_CRYPTO += aes.c
8 SRCS_CRYPTO += aesni.c
9 SRCS_CRYPTO += arc4.c
10 SRCS_CRYPTO += aria.c
17 SRCS_CRYPTO += ccm.c
22 SRCS_CRYPTO += cmac.c
24 SRCS_CRYPTO += des.c
25 SRCS_CRYPTO += dhm.c
29 SRCS_CRYPTO += ecp.c
38 SRCS_CRYPTO += md.c
[all …]
/optee_os/core/lib/libtomcrypt/src/hashes/
A Dsha3_test.c24 hash_state c; in sha3_224_test()
44 sha3_224_init(&c); in sha3_224_test()
51 sha3_224_init(&c); in sha3_224_test()
81 hash_state c; in sha3_256_test()
175 hash_state c; in sha3_384_test()
228 hash_state c; in sha3_512_test()
283 hash_state c; in sha3_shake_test()
407 hash_state c; in keccak_224_test()
482 hash_state c; in keccak_256_test()
557 hash_state c; in keccak_384_test()
[all …]
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
118 c = md->md5.state[2]; in _md5_compress()
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()
134 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); \
65 #define GG(a, b, c, d, x, s) { \ argument
69 #define HH(a, b, c, d, x, s) { \ argument
80 ulong32 x[16], a, b, c, d; in _md4_compress() local
86 c = md->md4.state[2]; in _md4_compress()
95 FF (a, b, c, d, x[ 0], S11); /* 1 */ in _md4_compress()
96 FF (d, a, b, c, x[ 1], S12); /* 2 */ in _md4_compress()
97 FF (c, d, a, b, x[ 2], S13); /* 3 */ in _md4_compress()
98 FF (b, c, d, a, x[ 3], S14); /* 4 */ in _md4_compress()
[all …]
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/
A Dsub.mk10 srcs-y += f32_add.c
11 srcs-y += f32_div.c
12 srcs-y += f32_eq.c
13 srcs-y += f32_le.c
14 srcs-y += f32_lt.c
15 srcs-y += f32_mul.c
16 srcs-y += f32_sub.c
23 srcs-y += f64_add.c
25 srcs-y += f64_eq.c
26 srcs-y += f64_le.c
[all …]
/optee_os/core/drivers/
A Dsub.mk1 srcs-$(CFG_CDNS_UART) += cdns_uart.c
2 srcs-$(CFG_PL011) += pl011.c
3 srcs-$(CFG_TZC400) += tzc400.c
4 srcs-$(CFG_TZC380) += tzc380.c
5 srcs-$(CFG_GIC) += gic.c
6 srcs-$(CFG_PL061) += pl061_gpio.c
7 srcs-$(CFG_PL022) += pl022_spi.c
13 srcs-$(CFG_IMX_I2C) += imx_i2c.c
19 srcs-$(CFG_SCIF) += scif.c
38 srcs-$(CFG_LS_I2C) += ls_i2c.c
[all …]
/optee_os/core/kernel/
A Dsub.mk3 srcs-y += assert.c
4 srcs-y += console.c
5 srcs-$(CFG_DT) += dt.c
7 srcs-y += pm.c
8 srcs-y += handle.c
9 srcs-y += interrupt.c
15 srcs-y += panic.c
16 srcs-y += refcount.c
17 srcs-y += tee_misc.c
28 srcs-y += mutex.c
[all …]
/optee_os/lib/libutils/isoc/
A Dsub.mk3 srcs-y += bget_malloc.c
9 srcs-y += isdigit.c
10 srcs-y += isxdigit.c
11 srcs-y += qsort.c
14 srcs-y += sprintf.c
17 srcs-y += strdup.c
18 srcs-y += strndup.c
32 srcs-y += fp.c
33 srcs-y += fputc.c
34 srcs-y += fputs.c
[all …]
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
A Dsub.mk1 srcs-y += crypt.c
2 srcs-y += crypt_cipher_descriptor.c
3 srcs-y += crypt_cipher_is_valid.c
4 srcs-y += crypt_find_cipher_any.c
5 srcs-y += crypt_find_cipher.c
6 srcs-y += crypt_find_cipher_id.c
7 srcs-y += crypt_find_hash_any.c
8 srcs-y += crypt_find_hash.c
9 srcs-y += crypt_find_hash_id.c
11 srcs-y += crypt_find_prng.c
[all …]
/optee_os/core/arch/arm/kernel/
A Dsub.mk2 srcs-y += tee_time.c
3 srcs-y += rpc_io_i2c.c
4 srcs-y += otp_stubs.c
5 srcs-y += delay.c
6 srcs-y += idle.c
24 srcs-y += thread.c
26 srcs-y += thread_spmc.c
31 srcs-y += thread_optee_smc.c
35 srcs-y += abort.c
41 srcs-y += trace_ext.c
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Dsub.mk1 srcs-y += ecc.c
2 srcs-y += ecc_find_curve.c
3 srcs-y += ecc_free.c
4 srcs-y += ecc_get_oid_str.c
5 srcs-y += ecc_make_key.c
6 srcs-y += ecc_set_curve.c
9 srcs-y += ecc_sign_hash.c
11 srcs-y += ecc_verify_hash.c
14 srcs-y += ltc_ecc_map.c
15 srcs-y += ltc_ecc_mulmod.c
[all …]
/optee_os/core/tee/
A Dsub.mk20 srcs-y += entry_std.c
21 srcs-y += tee_cryp_utl.c
27 srcs-y += tee_obj.c
28 srcs-y += tee_svc.c
29 srcs-y += tee_svc_cryp.c
30 srcs-y += tee_svc_storage.c
32 srcs-y += tee_time_generic.c
33 srcs-$(CFG_SECSTOR_TA) += tadb.c
35 srcs-y += tee_ta_enc_manager.c
46 srcs-y += tee_pobj.c
[all …]
/optee_os/lib/libutils/isoc/newlib/
A Dsub.mk5 srcs-y += abs.c
6 srcs-y += bcmp.c
7 srcs-y += memchr.c
8 srcs-y += memcmp.c
9 srcs-y += memcpy.c
14 srcs-y += memmove.c
16 srcs-y += memset.c
18 srcs-y += strchr.c
19 srcs-y += strcmp.c
20 srcs-y += strcpy.c
[all …]
A Dstrtoul.c165 register int c; variable
173 c = *s++;
175 if (c == '-') {
177 c = *s++;
179 c = *s++;
182 c = s[1];
191 if (isdigit(c))
192 c -= '0';
194 c -= isupper(c) ? 'A' - 10 : 'a' - 10;
197 if (c >= base)
[all …]
/optee_os/ta/pkcs11/src/
A Dsub.mk1 srcs-y += attributes.c
2 srcs-y += entry.c
3 srcs-y += handle.c
4 srcs-y += object.c
5 srcs-y += persistent_token.c
7 srcs-y += pkcs11_helpers.c
8 srcs-y += pkcs11_token.c
9 srcs-y += processing.c
10 srcs-y += processing_aes.c
13 srcs-y += processing_ec.c
[all …]
/optee_os/core/drivers/crypto/se050/core/
A Dctr.c42 if (c->key_obj.keyId) in se050_aes_ctr_init()
45 memcpy(c->counter, iv, sizeof(c->counter)); in se050_aes_ctr_init()
68 &c->key_obj, in se050_aes_ctr_init()
93 n = c->nc_off; in se050_aes_ctr_update()
98 c->counter, 16, in se050_aes_ctr_update()
112 c->nc_off = n; in se050_aes_ctr_update()
121 memset(c->block, 0, sizeof(c->block)); in do_final()
125 if (c->key_obj.keyId) in do_final()
158 c = calloc(1, sizeof(*c)); in se050_aes_ctr_allocate()
159 if (!c) in se050_aes_ctr_allocate()
[all …]
/optee_os/lib/libmbedtls/core/
A Dsub.mk1 srcs-y += mbed_helpers.c
2 srcs-y += tomcrypt.c
5 CFG_CRYPTO_SHA512) += hash.c
8 srcs-y += aes.c
9 srcs-$(CFG_CRYPTO_ECB) += aes_ecb.c
10 srcs-$(CFG_CRYPTO_CBC) += aes_cbc.c
20 srcs-$(CFG_CRYPTO_HMAC) += hmac.c
21 srcs-$(CFG_CRYPTO_CMAC) += cmac.c
27 srcs-$(CFG_CRYPTO_RSA) += rsa.c
28 srcs-$(CFG_CRYPTO_DH) += dh.c
[all …]
/optee_os/core/drivers/clk/sam/
A Dsub.mk3 at91-common = at91_sckc.c at91_main.c at91_pmc.c at91_pll.c at91_plldiv.c
4 at91-common += at91_utmi.c at91_master.c at91_h32mx.c at91_usb.c
5 at91-common += at91_programmable.c at91_system.c at91_peripheral.c
6 at91-common += at91_generated.c at91_i2s_mux.c at91_audio_pll.c
8 srcs-$(CFG_DRIVERS_SAMA5D2_CLK) += $(at91-common) sama5d2_clk.c
/optee_os/lib/libmbedtls/mbedtls/library/
A Dx509write_crt.c237 unsigned char *c; in mbedtls_x509write_crt_set_key_usage() local
253 c = buf + 5; in mbedtls_x509write_crt_set_key_usage()
276 unsigned char *c; in mbedtls_x509write_crt_set_ns_cert_type() local
279 c = buf + 4; in mbedtls_x509write_crt_set_ns_cert_type()
333 unsigned char *c, *c2; in mbedtls_x509write_crt_der() local
343 c = buf + size; in mbedtls_x509write_crt_der()
390 c -= pub_len; in mbedtls_x509write_crt_der()
485 memmove( buf, c, len ); in mbedtls_x509write_crt_der()
486 c = buf + len; in mbedtls_x509write_crt_der()
503 c = c2 - len; in mbedtls_x509write_crt_der()
[all …]
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dbn_mul.h232 : "+c" (c), "+D" (d), "+S" (s) \
256 : "+r" (c), "+r" (d), "+r" (s) \
514 : "=m" (c), "=m" (d), "=m" (s) \
515 : "m" (s), "m" (d), "m" (c), "m" (b) \
546 : "=m" (c), "=m" (d), "=m" (s) \
547 : "m" (s), "m" (d), "m" (c), "m" (b) \
628 : "=m" (c), "=m" (d), "=m" (s) \
943 r0 += c; r1 += (r0 < c); \
945 c = r1; *(d++) = r0;
968 r0 += c; r1 += (r0 < c); \
[all …]
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dbn_mul.h232 : "+c" (c), "+D" (d), "+S" (s) \
256 : "+r" (c), "+r" (d), "+r" (s) \
514 : "=m" (c), "=m" (d), "=m" (s) \
515 : "m" (s), "m" (d), "m" (c), "m" (b) \
546 : "=m" (c), "=m" (d), "=m" (s) \
547 : "m" (s), "m" (d), "m" (c), "m" (b) \
628 : "=m" (c), "=m" (d), "=m" (s) \
943 r0 += c; r1 += (r0 < c); \
945 c = r1; *(d++) = r0;
968 r0 += c; r1 += (r0 < c); \
[all …]
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dbn_mul.h232 : "+c" (c), "+D" (d), "+S" (s) \
256 : "+r" (c), "+r" (d), "+r" (s) \
514 : "=m" (c), "=m" (d), "=m" (s) \
515 : "m" (s), "m" (d), "m" (c), "m" (b) \
546 : "=m" (c), "=m" (d), "=m" (s) \
547 : "m" (s), "m" (d), "m" (c), "m" (b) \
628 : "=m" (c), "=m" (d), "=m" (s) \
943 r0 += c; r1 += (r0 < c); \
945 c = r1; *(d++) = r0;
968 r0 += c; r1 += (r0 < c); \
[all …]
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dbn_mul.h232 : "+c" (c), "+D" (d), "+S" (s) \
256 : "+r" (c), "+r" (d), "+r" (s) \
514 : "=m" (c), "=m" (d), "=m" (s) \
515 : "m" (s), "m" (d), "m" (c), "m" (b) \
546 : "=m" (c), "=m" (d), "=m" (s) \
547 : "m" (s), "m" (d), "m" (c), "m" (b) \
628 : "=m" (c), "=m" (d), "=m" (s) \
943 r0 += c; r1 += (r0 < c); \
945 c = r1; *(d++) = r0;
968 r0 += c; r1 += (r0 < c); \
[all …]
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dbn_mul.h232 : "+c" (c), "+D" (d), "+S" (s) \
256 : "+r" (c), "+r" (d), "+r" (s) \
514 : "=m" (c), "=m" (d), "=m" (s) \
515 : "m" (s), "m" (d), "m" (c), "m" (b) \
546 : "=m" (c), "=m" (d), "=m" (s) \
547 : "m" (s), "m" (d), "m" (c), "m" (b) \
628 : "=m" (c), "=m" (d), "=m" (s) \
943 r0 += c; r1 += (r0 < c); \
945 c = r1; *(d++) = r0;
968 r0 += c; r1 += (r0 < c); \
[all …]
/optee_os/core/lib/libtomcrypt/src/math/
A Dltm_desc.c219 LTC_ARGCHK(c != NULL); in add()
226 LTC_ARGCHK(c != NULL); in addi()
235 LTC_ARGCHK(c != NULL); in sub()
242 LTC_ARGCHK(c != NULL); in subi()
251 LTC_ARGCHK(c != NULL); in mul()
258 LTC_ARGCHK(c != NULL); in muli()
275 LTC_ARGCHK(c != NULL); in sqrtmod_prime()
301 LTC_ARGCHK(c != NULL); in modi()
306 *c = tmp; in modi()
315 LTC_ARGCHK(c != NULL); in gcd()
[all …]

Completed in 47 milliseconds

12345678910>>...75