Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_macros.h24 do { x = (((ulong64)((y)[7] & 255))<<56)|(((ulong64)((y)[6] & 255))<<48)| \
25 (((ulong64)((y)[5] & 255))<<40)|(((ulong64)((y)[4] & 255))<<32)| \
26 (((ulong64)((y)[3] & 255))<<24)|(((ulong64)((y)[2] & 255))<<16)| \
27 (((ulong64)((y)[1] & 255))<<8)|(((ulong64)((y)[0] & 255))); } while(0)
46 do { x = (((ulong64)((y)[0] & 255))<<56)|(((ulong64)((y)[1] & 255))<<48) | \
47 (((ulong64)((y)[2] & 255))<<40)|(((ulong64)((y)[3] & 255))<<32) | \
48 (((ulong64)((y)[4] & 255))<<24)|(((ulong64)((y)[5] & 255))<<16) | \
421 #define ROL64(x, y) \ argument
425 #define ROR64(x, y) \ argument
440 #define MAX(x, y) ( ((x)>(y))?(x):(y) ) argument
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/
A Dxtea.c81 z = (z + ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r])) & 0xFFFFFFFFUL; in xtea_ecb_encrypt()
84 z = (z + ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r+1])) & 0xFFFFFFFFUL; in xtea_ecb_encrypt()
87 z = (z + ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r+2])) & 0xFFFFFFFFUL; in xtea_ecb_encrypt()
90 z = (z + ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r+3])) & 0xFFFFFFFFUL; in xtea_ecb_encrypt()
116 z = (z - ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r])) & 0xFFFFFFFFUL; in xtea_ecb_decrypt()
119 z = (z - ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r-1])) & 0xFFFFFFFFUL; in xtea_ecb_decrypt()
122 z = (z - ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r-2])) & 0xFFFFFFFFUL; in xtea_ecb_decrypt()
125 z = (z - ((((y<<4)^(y>>5)) + y) ^ skey->xtea.B[r-3])) & 0xFFFFFFFFUL; in xtea_ecb_decrypt()
214 for (y = 0; y < 8; y++) tmp[0][y] = 0; in xtea_test()
215 for (y = 0; y < 1000; y++) xtea_ecb_encrypt(tmp[0], tmp[0], &skey); in xtea_test()
[all …]
/optee_os-3.20.0/core/arch/arm/plat-sam/
A Dconf.mk53 CFG_ATMEL_TRNG ?= y
55 CFG_HWRNG_PTA ?= y
59 CFG_ATMEL_RSTC ?= y
60 CFG_ATMEL_SHDWC ?= y
62 CFG_ATMEL_PM ?= y
77 CFG_WDT ?= y
82 CFG_ATMEL_WDT ?= y
84 CFG_DRIVERS_RTC ?= y
85 CFG_RTC_PTA ?= y
86 CFG_ATMEL_RTC ?= y
[all …]
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/
A Dconf.mk114 CFG_WITH_PAGER ?= y
117 CFG_WITH_LPAE ?= y
150 CFG_STM32_BSEC ?= y
151 CFG_STM32_CRYP ?= y
153 CFG_STM32_GPIO ?= y
154 CFG_STM32_I2C ?= y
156 CFG_STM32_RNG ?= y
160 CFG_STPMIC1 ?= y
161 CFG_TZC400 ?= y
202 CFG_SCMI_PTA ?= y
[all …]
/optee_os-3.20.0/core/lib/scmi-server/
A Dconf-optee-fvp.mk1 $(call force,CFG_SCPFW_MOD_CLOCK,y)
2 $(call force,CFG_SCPFW_MOD_DVFS,y)
3 $(call force,CFG_SCPFW_MOD_MSG_SMT,y)
4 $(call force,CFG_SCPFW_MOD_MOCK_CLOCK,y)
5 $(call force,CFG_SCPFW_MOD_MOCK_PPU,y)
6 $(call force,CFG_SCPFW_MOD_MOCK_PSU,y)
7 $(call force,CFG_SCPFW_MOD_OPTEE_MBX,y)
9 $(call force,CFG_SCPFW_MOD_PSU,y)
11 $(call force,CFG_SCPFW_MOD_SCMI,y)
17 $(call force,CFG_SCPFW_MOD_SENSOR,y)
[all …]
A Dconf-optee-stm32mp1.mk1 $(call force,CFG_SCPFW_MOD_RESET_DOMAIN,y)
2 $(call force,CFG_SCPFW_MOD_CLOCK,y)
3 $(call force,CFG_SCPFW_MOD_OPTEE_CLOCK,y)
4 $(call force,CFG_SCPFW_MOD_OPTEE_CONSOLE,y)
5 $(call force,CFG_SCPFW_MOD_OPTEE_MBX,y)
6 $(call force,CFG_SCPFW_MOD_OPTEE_RESET,y)
7 $(call force,CFG_SCPFW_MOD_OPTEE_SMT,y)
8 $(call force,CFG_SCPFW_MOD_SCMI,y)
9 $(call force,CFG_SCPFW_MOD_SCMI_CLOCK,y)
12 $(call force,CFG_SCPFW_MOD_VOLTAGE_DOMAIN,y)
[all …]
/optee_os-3.20.0/core/arch/arm/plat-versal/
A Dconf.mk10 $(call force,CFG_ARM_GICV3,y)
11 $(call force,CFG_PL011,y)
12 $(call force,CFG_GIC,y)
21 CFG_CRYPTO_WITH_CE ?= y
22 CFG_CORE_DYN_SHM ?= y
23 CFG_WITH_STATS ?= y
24 CFG_ARM64_core ?= y
38 CFG_VERSAL_GPIO ?= y
69 CFG_VERSAL_PM ?= y
72 CFG_VERSAL_PUF ?= y
[all …]
/optee_os-3.20.0/core/drivers/crypto/se050/
A Dcrypto.mk1 ifeq ($(CFG_NXP_SE05X),y)
3 $(call force,CFG_CRYPTO_DRIVER,y)
24 CFG_CORE_SE05X_SCP03_EARLY ?= y
48 CFG_NXP_SE05X_DIEID_DRV ?= y
51 CFG_NXP_SE05X_SCP03_DRV ?= y
57 CFG_NXP_SE05X_APDU_DRV ?= y
63 CFG_NXP_SE05X_RNG_DRV ?= y
71 CFG_NXP_SE05X_RSA_DRV ?= y
73 CFG_NXP_SE05X_ECC_DRV ?= y
86 CFG_CRYPTO_RSASSA_NA1 ?= y
[all …]
/optee_os-3.20.0/mk/
A Dconfig.mk54 CFG_DEBUG_INFO ?= y
60 CFG_TEE_CORE_DEBUG ?= y
155 CFG_REE_FS ?= y
268 CFG_UNWIND ?= y
272 CFG_WITH_USER_TA ?= y
300 CFG_TA_ASLR ?= y
314 CFG_CORE_ASLR ?= y
348 CFG_REE_FS_TA ?= y
483 CFG_EMBED_DTB ?= y
537 CFG_DRIVERS_CLK ?= y
[all …]
/optee_os-3.20.0/core/arch/arm/plat-imx/
A Dconf.mk190 CFG_IMX_LPUART ?= y
198 CFG_IMX_LPUART ?= y
219 CFG_IMX_MU ?= y
423 CFG_SCU ?= y
451 CFG_DT ?= y
461 CFG_IMX_SNVS ?= y
465 CFG_CSU ?= y
470 CFG_IMX_WDOG ?= y
509 CFG_IMX_SC ?= y
510 CFG_IMX_MU ?= y
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/gcm/
A Dgcm_process.c27 int y, err; in gcm_process() local
63 for (y = 15; y >= 12; y--) { in gcm_process()
85 for (y = 0; y < 16; y += sizeof(LTC_FAST_TYPE)) { in gcm_process()
86 …*(LTC_FAST_TYPE_PTR_CAST(&ct[x + y])) = *(LTC_FAST_TYPE_PTR_CAST(&pt[x+y])) ^ *(LTC_FAST_TYPE_PTR_… in gcm_process()
87 *(LTC_FAST_TYPE_PTR_CAST(&gcm->X[y])) ^= *(LTC_FAST_TYPE_PTR_CAST(&ct[x+y])); in gcm_process()
93 for (y = 15; y >= 12; y--) { in gcm_process()
103 for (y = 0; y < 16; y += sizeof(LTC_FAST_TYPE)) { in gcm_process()
104 *(LTC_FAST_TYPE_PTR_CAST(&gcm->X[y])) ^= *(LTC_FAST_TYPE_PTR_CAST(&ct[x+y])); in gcm_process()
105 …*(LTC_FAST_TYPE_PTR_CAST(&pt[x + y])) = *(LTC_FAST_TYPE_PTR_CAST(&ct[x+y])) ^ *(LTC_FAST_TYPE_PTR_… in gcm_process()
111 for (y = 15; y >= 12; y--) { in gcm_process()
[all …]
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/
A Df128M_div.c68 uint32_t y[5], sigB[4]; in f128M_div() local
116 softfloat_add128M( y, y, y ); in f128M_div()
129 softfloat_remStep128MBy32( y, 29, sigB, q, y ); in f128M_div()
132 softfloat_add128M( y, sigB, y ); in f128M_div()
139 softfloat_remStep128MBy32( y, 29, sigB, q, y ); in f128M_div()
142 softfloat_add128M( y, sigB, y ); in f128M_div()
145 softfloat_sub128M( y, sigB, y ); in f128M_div()
148 y[indexWordLo( 4 )] || y[indexWord( 4, 1 )] in f128M_div()
149 || (y[indexWord( 4, 2 )] | y[indexWord( 4, 3 )]) in f128M_div()
157 y[indexWord( 5, 0 )] = q64; in f128M_div()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/utf8/
A Dder_encode_utf8_string.c24 unsigned long x, y, len; in der_encode_utf8_string() local
51 y = *outlen - x; in der_encode_utf8_string()
52 if ((err = der_encode_asn1_length(len, out + x, &y)) != CRYPT_OK) { in der_encode_utf8_string()
55 x += y; in der_encode_utf8_string()
58 for (y = 0; y < inlen; y++) { in der_encode_utf8_string()
59 switch (der_utf8_charsize(in[y])) { in der_encode_utf8_string()
60 case 1: out[x++] = (unsigned char)in[y]; break; in der_encode_utf8_string()
61 case 2: out[x++] = 0xC0 | ((in[y] >> 6) & 0x1F); out[x++] = 0x80 | (in[y] & 0x3F); break; in der_encode_utf8_string()
62 …case 3: out[x++] = 0xE0 | ((in[y] >> 12) & 0x0F); out[x++] = 0x80 | ((in[y] >> 6) & 0x3F); out[x++… in der_encode_utf8_string()
64 …= 0xF0 | ((in[y] >> 18) & 0x07); out[x++] = 0x80 | ((in[y] >> 12) & 0x3F); out[x++] = 0x80 | ((in[ in der_encode_utf8_string()
/optee_os-3.20.0/core/arch/arm/plat-ti/
A Dconf.mk3 CFG_WITH_STATS ?= y
9 CFG_OTP_SUPPORT ?= y
16 CFG_OTP_SUPPORT ?= y
23 CFG_WITH_SOFTWARE_PRNG = y
24 $(call force,CFG_NO_SMP,y)
25 $(call force,CFG_PL310,y)
27 $(call force,CFG_PM_ARM32,y)
31 $(call force,CFG_8250_UART,y)
34 $(call force,CFG_GIC,y)
36 $(call force,CFG_DRA7_RNG,y)
[all …]
/optee_os-3.20.0/core/arch/arm/plat-zynqmp/
A Dconf.mk6 $(call force,CFG_CDNS_UART,y)
7 $(call force,CFG_GIC,y)
9 $(call force,CFG_WITH_ARM_TRUSTED_FW,y)
17 ifeq ($(CFG_ARM64_core),y)
21 $(call force,CFG_ARM32_core,y)
31 ifeq ($(CFG_ARM64_core),y)
57 CFG_WITH_STATS ?= y
58 CFG_CRYPTO_WITH_CE ?= y
72 ifeq ($(CFG_RPMB_FS),y)
76 ifeq ($(CFG_ZYNQMP_HUK),y)
[all …]
/optee_os-3.20.0/core/arch/arm/plat-vexpress/
A Dconf.mk25 CFG_ARM64_core ?= y
39 $(call force,CFG_GIC,y)
40 $(call force,CFG_PL011,y)
51 ifneq ($(CFG_ARM64_core),y)
55 CFG_WITH_STATS ?= y
72 ifeq ($(CFG_SCMI_SCPFW),y)
86 CFG_CRYPTO_WITH_CE ?= y
87 CFG_ARM_SMCCC_TRNG ?= y
112 $(call force,CFG_DT,y)
114 CFG_CORE_ASYNC_NOTIF ?= y
[all …]
/optee_os-3.20.0/core/arch/arm/plat-hikey/
A Dconf.mk6 $(call force,CFG_PL011,y)
11 CFG_CRYPTO_WITH_CE ?= y
15 CFG_PL061 ?= y
16 CFG_PL022 ?= y
17 CFG_SPI ?= y
19 ifeq ($(CFG_SPI_TEST),y)
20 $(call force,CFG_SPI,y)
23 ifeq ($(CFG_SPI),y)
24 $(call force,CFG_PL061,y)
28 ifeq ($(CFG_PL061),y)
[all …]
/optee_os-3.20.0/core/
A Dcrypto.mk1 CFG_CRYPTO ?= y
10 CFG_CRYPTO_AES ?= y
11 CFG_CRYPTO_DES ?= y
12 CFG_CRYPTO_SM4 ?= y
15 CFG_CRYPTO_ECB ?= y
16 CFG_CRYPTO_CBC ?= y
17 CFG_CRYPTO_CTR ?= y
18 CFG_CRYPTO_CTS ?= y
19 CFG_CRYPTO_XTS ?= y
22 CFG_CRYPTO_HMAC ?= y
[all …]
/optee_os-3.20.0/core/arch/arm/plat-sunxi/
A Dconf.mk4 $(call force,CFG_8250_UART,y)
8 $(call force,CFG_SUN8I_H2_PLUS,y)
9 $(call force,CFG_ARM32_core,y)
10 $(call force,CFG_GIC,y)
17 CFG_BOOT_SECONDARY_REQUEST ?= y
18 CFG_PSCI_ARM32 ?= y
20 CFG_DT ?= y
21 CFG_INIT_CNTVOFF ?= y
22 CFG_SECONDARY_INIT_CNTFRQ ?= y
38 CFG_TZC380 ?= y
[all …]
/optee_os-3.20.0/core/arch/arm/plat-corstone1000/
A Dconf.mk7 $(call force,CFG_HWSUPP_MEM_PERM_WXN,y)
12 $(call force,CFG_WITH_LPAE,y)
13 $(call force,CFG_PSCI_ARM64,y)
14 $(call force,CFG_DT,y)
17 $(call force,CFG_CORE_SEL1_SPMC,y)
18 $(call force,CFG_CORE_FFA,y)
21 $(call force,CFG_GIC,y)
22 $(call force,CFG_PL011,y)
24 $(call force,CFG_ARM64_core,y)
30 CFG_WITH_STATS ?= y
[all …]
/optee_os-3.20.0/core/arch/arm/plat-zynq7k/
A Dconf.mk6 $(call force,CFG_ARM32_core,y)
7 $(call force,CFG_GIC,y)
8 $(call force,CFG_CDNS_UART,y)
9 $(call force,CFG_WITH_SOFTWARE_PRNG,y)
10 $(call force,CFG_PL310,y)
11 $(call force,CFG_PL310_LOCKED,y)
12 $(call force,CFG_SECURE_TIME_SOURCE_REE,y)
17 $(call force,CFG_CORE_WORKAROUND_ARM_NMFI,y)
19 CFG_BOOT_SYNC_CPU ?= y
20 CFG_BOOT_SECONDARY_REQUEST ?= y
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/bit/
A Dder_decode_raw_bit_string.c27 unsigned long dlen, blen, x, y; in der_decode_raw_bit_string() local
48 y = inlen - 1; in der_decode_raw_bit_string()
49 if ((err = der_decode_asn1_length(in + x, &y, &dlen)) != CRYPT_OK) { in der_decode_raw_bit_string()
52 x += y; in der_decode_raw_bit_string()
68 for (y = 0; y < blen; y++) { in der_decode_raw_bit_string()
69 if (in[x] & (1 << (7 - (y & 7)))) { in der_decode_raw_bit_string()
70 SETBIT(out[y/8], 7-(y%8)); in der_decode_raw_bit_string()
72 CLRBIT(out[y/8], 7-(y%8)); in der_decode_raw_bit_string()
74 if ((y & 7) == 7) { in der_decode_raw_bit_string()
/optee_os-3.20.0/core/arch/arm/plat-k3/
A Dconf.mk1 CFG_WITH_STATS ?= y
2 CFG_CRYPTO_WITH_CE ?= y
11 $(call force,CFG_8250_UART,y)
12 $(call force,CFG_HWSUPP_MEM_PERM_PXN,y)
14 $(call force,CFG_WITH_ARM_TRUSTED_FW,y)
15 $(call force,CFG_GIC,y)
16 $(call force,CFG_ARM_GICV3,y)
24 $(call force,CFG_WITH_SOFTWARE_PRNG,y)
27 ifneq ($(CFG_WITH_SOFTWARE_PRNG),y)
28 $(call force,CFG_SA2UL,y)
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/integer/
A Dder_encode_integer.c23 unsigned long tmplen, y, len; in der_encode_integer() local
49 y = mp_unsigned_bin_size(num) + leading_zero; in der_encode_integer()
52 y = mp_count_bits(num); in der_encode_integer()
53 y = y + (8 - (y & 7)); in der_encode_integer()
54 y = y >> 3; in der_encode_integer()
55 if (((mp_cnt_lsb(num)+1)==mp_count_bits(num)) && ((mp_count_bits(num)&7)==0)) --y; in der_encode_integer()
61 if ((err = der_encode_asn1_length(y, out, &len)) != CRYPT_OK) { in der_encode_integer()
86 y = mp_count_bits(num); in der_encode_integer()
87 y = y + (8 - (y & 7)); in der_encode_integer()
88 if (((mp_cnt_lsb(num)+1)==mp_count_bits(num)) && ((mp_count_bits(num)&7)==0)) y -= 8; in der_encode_integer()
[all …]
/optee_os-3.20.0/core/arch/arm/plat-bcm/
A Dconf.mk5 $(call force,CFG_8250_UART,y)
7 $(call force,CFG_GIC,y)
9 $(call force,CFG_WITH_LPAE,y)
10 $(call force,CFG_ARM_GICV3,y)
23 $(call force,CFG_PL022,y)
24 $(call force,CFG_SP805_WDT,y)
25 $(call force,CFG_BCM_HWRNG,y)
26 $(call force,CFG_BCM_SOTP,y)
27 $(call force,CFG_BCM_GPIO,y)
28 CFG_BNXT_FW ?= y
[all …]

Completed in 43 milliseconds

12345678910>>...12