/optee_os/core/lib/libtomcrypt/src/hashes/sha2/ |
A D | sha256.c | 103 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i); in _sha256_compress() 105 S[4] = S[3]; S[3] = S[2]; S[2] = S[1]; S[1] = S[0]; S[0] = t; in _sha256_compress() 114 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],0,0x428a2f98); in _sha256_compress() 115 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],1,0x71374491); in _sha256_compress() 116 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],2,0xb5c0fbcf); in _sha256_compress() 117 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],3,0xe9b5dba5); in _sha256_compress() 118 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],4,0x3956c25b); in _sha256_compress() 119 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],5,0x59f111f1); in _sha256_compress() 120 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],6,0x923f82a4); in _sha256_compress() 121 RND(S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[0],7,0xab1c5ed5); in _sha256_compress() [all …]
|
A D | sha512.c | 119 t0 = S[7] + Sigma1(S[4]) + Ch(S[4], S[5], S[6]) + K[i] + W[i]; in _sha512_compress() 120 t1 = Sigma0(S[0]) + Maj(S[0], S[1], S[2]); in _sha512_compress() 121 S[7] = S[6]; in _sha512_compress() 138 RND(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],i+0); in _sha512_compress() 139 RND(S[7],S[0],S[1],S[2],S[3],S[4],S[5],S[6],i+1); in _sha512_compress() 140 RND(S[6],S[7],S[0],S[1],S[2],S[3],S[4],S[5],i+2); in _sha512_compress() 141 RND(S[5],S[6],S[7],S[0],S[1],S[2],S[3],S[4],i+3); in _sha512_compress() 142 RND(S[4],S[5],S[6],S[7],S[0],S[1],S[2],S[3],i+4); in _sha512_compress() 143 RND(S[3],S[4],S[5],S[6],S[7],S[0],S[1],S[2],i+5); in _sha512_compress() 144 RND(S[2],S[3],S[4],S[5],S[6],S[7],S[0],S[1],i+6); in _sha512_compress() [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/twofish/ |
A D | twofish.c | 418 skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, tmpx0 ^ S[0]) ^ S[4])),0); in _twofish_setup() 419 skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, tmpx1 ^ S[1]) ^ S[5])),1); in _twofish_setup() 420 skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, tmpx0 ^ S[2]) ^ S[6])),2); in _twofish_setup() 427 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, tmpx1 ^ S[0]) ^ S[4]) ^ S[8])),0); in _twofish_setup() 428 …skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, sbox(1, tmpx1 ^ S[1]) ^ S[5]) ^ S[9])),1); in _twofish_setup() 429 …skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, sbox(0, tmpx0 ^ S[2]) ^ S[6]) ^ S[10])),2… in _twofish_setup() 430 …skey->twofish.S[3][x] = mds_column_mult(sbox(0, (sbox(1, sbox(1, tmpx0 ^ S[3]) ^ S[7]) ^ S[11])),3… in _twofish_setup() 436 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, sbox(1, tmpx1 ^ S[0]) ^ S[4]) ^ S… in _twofish_setup() 437 …skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, sbox(1, sbox(1, tmpx0 ^ S[1]) ^ S[5]) ^ S… in _twofish_setup() 438 …skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, sbox(0, sbox(0, tmpx0 ^ S[2]) ^ S[6]) ^ S… in _twofish_setup() [all …]
|
/optee_os/core/arch/arm/kernel/ |
A D | sub.mk | 12 srcs-$(CFG_ARM32_core) += spin_lock_a32.S 13 srcs-$(CFG_ARM64_core) += spin_lock_a64.S 19 srcs-$(CFG_PL310) += tz_ssvce_pl310_a32.S 22 srcs-$(CFG_ARM32_core) += thread_a32.S 23 srcs-$(CFG_ARM64_core) += thread_a64.S 38 srcs-$(CFG_ARM32_core) += vfp_a32.S 39 srcs-$(CFG_ARM64_core) += vfp_a64.S 42 srcs-$(CFG_ARM32_core) += misc_a32.S 43 srcs-$(CFG_ARM64_core) += misc_a64.S 49 srcs-$(CFG_ARM32_core) += entry_a32.S [all …]
|
/optee_os/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
|
/optee_os/ |
A D | MAINTAINERS | 38 S: Maintained 44 S: Maintained 49 S: Maintained 54 S: Maintained 59 S: Maintained 65 S: Maintained 71 S: Maintained 76 S: Maintained 81 S: Maintained 86 S: Maintained [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | blowfish.c | 341 skey->blowfish.S[x][y] = ORIG_S[x][y]; in blowfish_setup() 364 LOAD32H(skey->blowfish.S[x][y], &B[0]); in blowfish_setup() 379 …) ((skey->blowfish.S[0][LTC_BYTE(x,3)] + skey->blowfish.S[1][LTC_BYTE(x,2)]) ^ skey->blowfish.S[2]… 406 S1 = skey->blowfish.S[0]; in _blowfish_ecb_encrypt() 407 S2 = skey->blowfish.S[1]; in _blowfish_ecb_encrypt() 408 S3 = skey->blowfish.S[2]; in _blowfish_ecb_encrypt() 409 S4 = skey->blowfish.S[3]; in _blowfish_ecb_encrypt() 468 S1 = skey->blowfish.S[0]; in _blowfish_ecb_decrypt() 469 S2 = skey->blowfish.S[1]; in _blowfish_ecb_decrypt() 470 S3 = skey->blowfish.S[2]; in _blowfish_ecb_decrypt() [all …]
|
/optee_os/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
|
/optee_os/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/out/arm/ldelf/ |
A D | .syscalls_a64.o.d | 1 out/arm/ldelf/syscalls_a64.o: ldelf/syscalls_a64.S \ 2 out/arm/include/generated/conf.h lib/libutils/ext/include/asm.S \ 3 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \ 5 ldelf/syscalls_asm.S ldelf/include/ldelf.h
|
A D | .tlsdesc_rel_a64.o.d | 1 out/arm/ldelf/tlsdesc_rel_a64.o: ldelf/tlsdesc_rel_a64.S \ 2 out/arm/include/generated/conf.h lib/libutils/ext/include/asm.S \ 3 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \
|
A D | .start_a64.o.d | 1 out/arm/ldelf/start_a64.o: ldelf/start_a64.S \ 2 out/arm/include/generated/conf.h lib/libutils/ext/include/asm.S \ 3 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \
|
/optee_os/out/arm/ldelf-lib/libutee/arch/arm/ |
A D | .utee_syscalls_a64.o.d | 2 lib/libutee/arch/arm/utee_syscalls_a64.S \ 4 lib/libutee/include/tee_syscall_numbers.h lib/libutils/ext/include/asm.S \ 5 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \ 7 lib/libutee/arch/arm/utee_syscalls_asm.S
|
/optee_os/out/arm/ta_arm64-lib/libutee/arch/arm/ |
A D | .utee_syscalls_a64.o.d | 2 lib/libutee/arch/arm/utee_syscalls_a64.S \ 4 lib/libutee/include/tee_syscall_numbers.h lib/libutils/ext/include/asm.S \ 5 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \ 7 lib/libutee/arch/arm/utee_syscalls_asm.S
|
/optee_os/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/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/out/arm/core/arch/arm/tee/ |
A D | .arch_svc_a64.o.d | 2 core/arch/arm/tee/arch_svc_a64.S out/arm/include/generated/conf.h \ 9 core/arch/arm/include/arm64_macros.S lib/libutils/ext/include/asm.S \ 10 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \
|
/optee_os/out/arm/ta_arm32-lib/libutee/arch/arm/ |
A D | .utee_syscalls_a32.o.d | 2 lib/libutee/arch/arm/utee_syscalls_a32.S \ 4 lib/libutee/include/tee_syscall_numbers.h lib/libutils/ext/include/asm.S \ 5 lib/libutee/arch/arm/utee_syscalls_asm.S
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | blowfish.c | 75 static const uint32_t S[4][256]; variable 89 y = ctx->S[0][a] + ctx->S[1][b]; in F() 90 y = y ^ ctx->S[2][c]; in F() 91 y = y + ctx->S[3][d]; in F() 192 ctx->S[i][j] = S[i][j]; in mbedtls_blowfish_setkey() 223 ctx->S[i][j] = datal; in mbedtls_blowfish_setkey() 224 ctx->S[i][j + 1] = datar; in mbedtls_blowfish_setkey() 430 static const uint32_t S[4][256] = { variable
|
/optee_os/out/arm/core/arch/arm/kernel/ |
A D | .thread_optee_smc_a64.o.d | 2 core/arch/arm/kernel/thread_optee_smc_a64.S \ 3 out/arm/include/generated/conf.h core/arch/arm/include/arm64_macros.S \ 9 lib/libutils/isoc/include/sys/cdefs.h lib/libutils/ext/include/asm.S \ 10 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \
|
A D | .vfp_a64.o.d | 1 out/arm/core/arch/arm/kernel/vfp_a64.o: core/arch/arm/kernel/vfp_a64.S \ 2 out/arm/include/generated/conf.h lib/libutils/ext/include/asm.S \ 3 lib/libutils/ext/include/arm64_bti.S lib/libutee/include/elf_common.h \
|
/optee_os/out/arm/ldelf-lib/libutils/ext/arch/arm/ |
A D | .atomic_a64.o.d | 2 lib/libutils/ext/arch/arm/atomic_a64.S out/arm/include/generated/conf.h \ 3 lib/libutils/ext/include/asm.S lib/libutils/ext/include/arm64_bti.S \
|
/optee_os/out/arm/ldelf-lib/libutils/isoc/arch/arm/ |
A D | .setjmp_a64.o.d | 2 lib/libutils/isoc/arch/arm/setjmp_a64.S out/arm/include/generated/conf.h \ 3 lib/libutils/ext/include/asm.S lib/libutils/ext/include/arm64_bti.S \
|
/optee_os/out/arm/core-lib/libutils/ext/arch/arm/ |
A D | .atomic_a64.o.d | 2 lib/libutils/ext/arch/arm/atomic_a64.S out/arm/include/generated/conf.h \ 3 lib/libutils/ext/include/asm.S lib/libutils/ext/include/arm64_bti.S \
|
A D | .mcount_a64.o.d | 2 lib/libutils/ext/arch/arm/mcount_a64.S out/arm/include/generated/conf.h \ 3 lib/libutils/ext/include/asm.S lib/libutils/ext/include/arm64_bti.S \
|