/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/sha2/ |
A D | sha256.c | 96 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i); in ss_sha256_compress() 98 S[4] = S[3]; S[3] = S[2]; S[2] = S[1]; S[1] = S[0]; S[0] = t; in ss_sha256_compress() 107 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],0,0x428a2f98); in ss_sha256_compress() 108 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],1,0x71374491); in ss_sha256_compress() 109 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],2,0xb5c0fbcf); in ss_sha256_compress() 110 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],3,0xe9b5dba5); in ss_sha256_compress() 111 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],4,0x3956c25b); in ss_sha256_compress() 112 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],5,0x59f111f1); in ss_sha256_compress() 113 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],6,0x923f82a4); in ss_sha256_compress() 114 RND(S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[0],7,0xab1c5ed5); in ss_sha256_compress() [all …]
|
A D | sha512.c | 112 t0 = S[7] + Sigma1(S[4]) + Ch(S[4], S[5], S[6]) + K[i] + W[i]; in ss_sha512_compress() 113 t1 = Sigma0(S[0]) + Maj(S[0], S[1], S[2]); in ss_sha512_compress() 114 S[7] = S[6]; in ss_sha512_compress() 131 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i+0); in ss_sha512_compress() 132 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],i+1); in ss_sha512_compress() 133 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],i+2); in ss_sha512_compress() 134 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],i+3); in ss_sha512_compress() 135 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],i+4); in ss_sha512_compress() 136 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],i+5); in ss_sha512_compress() 137 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],i+6); in ss_sha512_compress() [all …]
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | sub.mk | 8 srcs-$(CFG_ARM32_core) += spin_lock_a32.S 9 srcs-$(CFG_ARM64_core) += spin_lock_a64.S 14 srcs-$(CFG_PL310) += tz_ssvce_pl310_a32.S 17 srcs-$(CFG_ARM32_core) += thread_a32.S 18 srcs-$(CFG_ARM64_core) += thread_a64.S 33 srcs-$(CFG_ARM32_core) += vfp_a32.S 34 srcs-$(CFG_ARM64_core) += vfp_a64.S 36 srcs-$(CFG_ARM32_core) += misc_a32.S 37 srcs-$(CFG_ARM64_core) += misc_a64.S 43 srcs-$(CFG_ARM32_core) += entry_a32.S [all …]
|
A D | link.mk | 4 link-script = $(if $(wildcard $(platform-dir)/kern.ld.S), \ 5 $(platform-dir)/kern.ld.S, \ 6 $(arch-dir)/kernel/kern.ld.S) 87 cleanfiles += $(link-out-dir)/text_unpaged.ld.S 93 cleanfiles += $(link-out-dir)/rodata_unpaged.ld.S 118 cleanfiles += $(link-out-dir)/text_init.ld.S 119 $(link-out-dir)/text_init.ld.S: $(link-out-dir)/init.o 124 cleanfiles += $(link-out-dir)/rodata_init.ld.S 125 $(link-out-dir)/rodata_init.ld.S: $(link-out-dir)/init.o 133 link-script-extra-deps += $(link-out-dir)/text_init.ld.S [all …]
|
/optee_os-3.20.0/core/arch/arm/crypto/ |
A D | sub.mk | 2 srcs-$(CFG_ARM64_core) += ghash-ce-core_a64.S 3 srcs-$(CFG_ARM32_core) += ghash-ce-core_a32.S 9 srcs-$(CFG_ARM64_core) += aes_modes_armv8a_ce_a64.S 10 aflags-aes_modes_armv8a_ce_a64.S-y += -DINTERLEAVE=4 11 srcs-$(CFG_ARM32_core) += aes_modes_armv8a_ce_a32.S 16 srcs-$(CFG_ARM64_core) += sha1_armv8a_ce_a64.S 17 srcs-$(CFG_ARM32_core) += sha1_armv8a_ce_a32.S 22 srcs-$(CFG_ARM64_core) += sha256_armv8a_ce_a64.S 23 srcs-$(CFG_ARM32_core) += sha256_armv8a_ce_a32.S 28 srcs-$(CFG_ARM64_core) += sha512_armv8a_ce_a64.S [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/twofish/ |
A D | twofish.c | 411 skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, tmpx0 ^ S[0]) ^ S[4])),0); in s_twofish_setup() 412 skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, tmpx1 ^ S[1]) ^ S[5])),1); in s_twofish_setup() 413 skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, tmpx0 ^ S[2]) ^ S[6])),2); in s_twofish_setup() 420 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, tmpx1 ^ S[0]) ^ S[4]) ^ S[8])),0); in s_twofish_setup() 421 …skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, sbox(1, tmpx1 ^ S[1]) ^ S[5]) ^ S[9])),1); in s_twofish_setup() 422 …skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, sbox(0, tmpx0 ^ S[2]) ^ S[6]) ^ S[10])),2… in s_twofish_setup() 423 …skey->twofish.S[3][x] = mds_column_mult(sbox(0, (sbox(1, sbox(1, tmpx0 ^ S[3]) ^ S[7]) ^ S[11])),3… in s_twofish_setup() 429 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, sbox(1, tmpx1 ^ S[0]) ^ S[4]) ^ S… in s_twofish_setup() 430 …skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, sbox(1, sbox(1, tmpx0 ^ S[1]) ^ S[5]) ^ S… in s_twofish_setup() 431 …skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, sbox(0, sbox(0, tmpx0 ^ S[2]) ^ S[6]) ^ S… in s_twofish_setup() [all …]
|
/optee_os-3.20.0/ldelf/ |
A D | sub.mk | 2 srcs-$(CFG_ARM32_$(sm)) += start_a32.S 3 srcs-$(CFG_ARM64_$(sm)) += start_a64.S 4 srcs-$(CFG_ARM32_$(sm)) += syscalls_a32.S 5 srcs-$(CFG_ARM64_$(sm)) += syscalls_a64.S 6 srcs-$(CFG_ARM64_$(sm)) += tlsdesc_rel_a64.S 7 srcs-$(CFG_RV64_$(sm)) += start_rv64.S
|
/optee_os-3.20.0/ |
A D | MAINTAINERS | 37 S: Maintained 42 S: Maintained 47 S: Maintained 52 S: Maintained 57 S: Maintained 62 S: Maintained 67 S: Maintained 72 S: Orphan 122 S: Orphan 151 S: Orphan [all …]
|
/optee_os-3.20.0/lib/libutils/ext/arch/arm/ |
A D | sub.mk | 4 srcs-$(CFG_ARM32_$(sm)) += atomic_a32.S 5 srcs-$(CFG_ARM64_$(sm)) += atomic_a64.S 8 srcs-$(CFG_ARM32_$(sm)) += mcount_a32.S 9 srcs-$(CFG_ARM64_$(sm)) += mcount_a64.S
|
/optee_os-3.20.0/core/arch/arm/sm/ |
A D | sub.mk | 1 srcs-y += sm_a32.S 3 srcs-$(CFG_PM_ARM32) += pm.c pm_a32.S 4 srcs-$(CFG_PSCI_ARM32) += std_smc.c psci.c psci-helper.S
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | blowfish.c | 295 …) ((skey->blowfish.S[0][LTC_BYTE(x,3)] + skey->blowfish.S[1][LTC_BYTE(x,2)]) ^ skey->blowfish.S[2]… 306 S1 = skey->blowfish.S[0]; in s_blowfish_encipher() 307 S2 = skey->blowfish.S[1]; in s_blowfish_encipher() 308 S3 = skey->blowfish.S[2]; in s_blowfish_encipher() 309 S4 = skey->blowfish.S[3]; in s_blowfish_encipher() 412 skey->blowfish.S[x][y] = B[0]; in blowfish_expand() 413 skey->blowfish.S[x][y+1] = B[1]; in blowfish_expand() 532 S1 = skey->blowfish.S[0]; in s_blowfish_ecb_decrypt() 533 S2 = skey->blowfish.S[1]; in s_blowfish_ecb_decrypt() 534 S3 = skey->blowfish.S[2]; in s_blowfish_ecb_decrypt() [all …]
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/ |
A D | sub.mk | 4 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_divmod_a32.S 6 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_ldivmod_a32.S 20 srcs-$(CFG_ARM32_$(sm)) += setjmp_a32.S 21 srcs-$(CFG_ARM64_$(sm)) += setjmp_a64.S
|
/optee_os-3.20.0/core/drivers/pm/sam/ |
A D | sub.mk | 1 srcs-y += at91_pm.c pm_suspend.S pm_resume.S
|
/optee_os-3.20.0/core/arch/arm/plat-vexpress/ |
A D | sub.mk | 4 srcs-$(CFG_ARM32_core) += juno_core_pos_a32.S 5 srcs-$(CFG_ARM64_core) += juno_core_pos_a64.S
|
/optee_os-3.20.0/core/arch/arm/plat-rcar/ |
A D | sub.mk | 3 srcs-${CFG_RCAR_GEN3} += core_pos_a64.S 5 srcs-${CFG_RCAR_ROMAPI} += romapi_call.S
|
/optee_os-3.20.0/lib/libutee/arch/arm/ |
A D | sub.mk | 3 srcs-$(CFG_ARM32_$(sm)) += utee_syscalls_a32.S 4 srcs-$(CFG_ARM64_$(sm)) += utee_syscalls_a64.S
|
/optee_os-3.20.0/core/arch/arm/plat-imx/pm/ |
A D | sub.mk | 3 srcs-$(CFG_MX7) += pm-imx7.c psci-suspend-imx7.S imx7_suspend.c \ 4 cpuidle-imx7d.c psci-cpuidle-imx7.S gpcv2.c
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | blowfish.c | 52 static const uint32_t S[4][256]; variable 66 y = ctx->S[0][a] + ctx->S[1][b]; in F() 67 y = y ^ ctx->S[2][c]; in F() 68 y = y + ctx->S[3][d]; in F() 169 ctx->S[i][j] = S[i][j]; in mbedtls_blowfish_setkey() 200 ctx->S[i][j] = datal; in mbedtls_blowfish_setkey() 201 ctx->S[i][j + 1] = datar; in mbedtls_blowfish_setkey() 407 static const uint32_t S[4][256] = { variable
|
/optee_os-3.20.0/core/arch/arm/tee/ |
A D | sub.mk | 2 srcs-$(CFG_ARM32_core) += arch_svc_a32.S 3 srcs-$(CFG_ARM64_core) += arch_svc_a64.S
|
/optee_os-3.20.0/core/arch/arm/plat-rockchip/ |
A D | sub.mk | 9 srcs-y += plat_init.S 10 srcs-y += core_pos_a32.S
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs5/ |
A D | pkcs_5_test.c | 34 const char* S; in pkcs_5_test() 169 (unsigned char*)cases_5_2[i].S, cases_5_2[i].S_len, in pkcs_5_test() 186 (unsigned char*)cases_5_1[i].S, in pkcs_5_test() 203 (unsigned char*)cases_5_1o[i].S, in pkcs_5_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sm2-pke.c | 117 ecc_point *S = NULL; in sm2_ltc_pke_decrypt() local 157 S = ltc_ecc_new_point(); in sm2_ltc_pke_decrypt() 158 if (!S) { in sm2_ltc_pke_decrypt() 175 ltc_res = ltc_ecc_mulmod(h, C1, S, ltc_key.dp.A, in sm2_ltc_pke_decrypt() 182 ltc_res = ltc_ecc_is_point_at_infinity(S, ltc_key.dp.prime, in sm2_ltc_pke_decrypt() 295 ltc_ecc_del_point(S); in sm2_ltc_pke_decrypt() 339 ecc_point *S = NULL; in sm2_ltc_pke_encrypt() local 385 S = ltc_ecc_new_point(); in sm2_ltc_pke_encrypt() 386 if (!S) { in sm2_ltc_pke_encrypt() 404 ltc_res = ltc_ecc_is_point_at_infinity(S, ltc_key.dp.prime, in sm2_ltc_pke_encrypt() [all …]
|
/optee_os-3.20.0/core/arch/arm/plat-imx/ |
A D | sub.mk | 14 srcs-y += a9_plat_init.S 19 srcs-y += a7_plat_init.S
|
/optee_os-3.20.0/lib/libutils/isoc/arch/riscv/ |
A D | sub.mk | 1 srcs-y += setjmp_rv.S
|
/optee_os-3.20.0/core/arch/riscv/mm/ |
A D | sub.mk | 1 srcs-y += tlb_helpers_rv.S
|