Home
last modified time | relevance | path

Searched +full:- +full:- +full:rm (Results 1 – 25 of 27) sorted by relevance

12

/optee_os/core/arch/arm/crypto/
H A Dsm3_armv8a_ce_a64.S1 /* SPDX-License-Identifier: BSD-2-Clause */
16 .macro sm3partw1, rd, rn, rm argument
17 .inst 0xce60c000 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
20 .macro sm3partw2, rd, rn, rm argument
21 .inst 0xce60c400 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
24 .macro sm3ss1, rd, rn, rm, ra
25 .inst 0xce400000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16)
28 .macro sm3tt1a, rd, rn, rm, imm2
29 .inst 0xce408000 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16)
32 .macro sm3tt1b, rd, rn, rm, imm2
[all …]
H A Dsha3_armv8a_ce_a64.S1 /* SPDX-License-Identifier: BSD-2-Clause */
7 /* Core SHA-3 transform using v8 Crypto Extensions */
21 .macro eor3, rd, rn, rm, ra
23 (.L\rm << 16)
26 .macro rax1, rd, rn, rm argument
27 .inst 0xce608c00 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
30 .macro bcax, rd, rn, rm, ra
32 (.L\rm << 16)
35 .macro xar, rd, rn, rm, imm6
37 (.L\rm << 16)
[all …]
H A Dsha512_armv8a_ce_a64.S1 /* SPDX-License-Identifier: BSD-2-Clause */
7 /* Core SHA-384/SHA-512 transform using v8 Crypto Extensions */
17 .macro sha512h, rd, rn, rm argument
18 .inst 0xce608000 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
21 .macro sha512h2, rd, rn, rm argument
22 .inst 0xce608400 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
29 .macro sha512su1, rd, rn, rm argument
30 .inst 0xce608800 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
34 * The SHA-512 round constants
108 ld1 {v8.2d-v11.2d}, [x0]
[all …]
H A Dghash-ce-core_a32.S1 /* SPDX-License-Identifier: BSD-2-Clause */
5 * Copyright (C) 2014 - 2017 Linaro Ltd. <ard.biesheuvel@linaro.org>
66 .fpu crypto-neon-fp-armv8
68 .macro __pmull_p64, rd, rn, rm, b1, b2, b3, b4
69 vmull.p64 \rd, \rn, \rm
73 * This implementation of 64x64 -> 128 bit polynomial multiplication
74 * using vmull.p8 instructions (8x8 -> 16) is taken from the paper
77 * Ricardo Dahab (https://hal.inria.fr/hal-01506572)
79 * It has been slightly tweaked for in-order performance, and to allow
131 // PMULL (64x64->128) based reduction for CPUs that can do
[all …]
H A Dghash-ce-core_a64.S1 /* SPDX-License-Identifier: BSD-2-Clause */
4 * Copyright (C) 2014 - 2017 Linaro Ltd. <ard.biesheuvel@linaro.org>
14 * Only increase the lowest quarter, that is, 32-bits of the counter. If
67 .arch armv8-a+crypto
69 .macro __pmull_p64, rd, rn, rm argument
70 pmull \rd\().1q, \rn\().1d, \rm\().1d
73 .macro __pmull2_p64, rd, rn, rm argument
74 pmull2 \rd\().1q, \rn\().2d, \rm\().2d
155 ld1 {HH.2d-HH4.2d}, [x8]
203 // PMULL (64x64->128) based reduction for CPUs that can do
[all …]
/optee_os/mk/
H A Dcleandirs.mk5 define _enum-parent-dirs
6 $(if $(1),$(1) $(if $(filter / ./,$(dir $(1))),,$(call enum-parent-dirs,$(dir $(1)))),)
9 define enum-parent-dirs
10 $(call _enum-parent-dirs,$(patsubst %/,%,$(1)))
22 define cleandirs-for-rmdir
25 $(call enum-parent-dirs,$(d)))))))
28 RMDIR := rmdir --ignore-fail-on-non-empty
30 # Remove files with "rm -f".
34 define do-rm-f
35 $(call _do-rm-f, $(wordlist 1, 200, $(1))) \
[all …]
H A Dmacros.mk2 define mv-if-changed
3 if cmp -s $2 $1; then \
4 rm -f $1; \
6 $(cmd-echo-silent) ' UPD $2'; \
11 define update-buildcount
12 @$(cmd-echo-silent) ' UPD $(1)'
13 $(q)if [ ! -f $(1) ]; then \
14 mkdir -p $(dir $(1)); \
21 # filter-out to workaround objdump warning
22 version-o-cflags = $(filter-out -g3,$(CFLAGS) $(core-platform-cflags) \
[all …]
H A Dlib.mk6 # conf-file [optional] if set, all objects will depend on $(conf-file)
10 # proper link arguments (-Lxxx -lyyy) and to add dependencies
24 cflags-lib$(libname)-$(sm) += -pg
29 lib-libfile := $(out-dir)/$(base-prefix)$(libdir)/lib$(libname).a
31 lib-shlibfile := $(out-dir)/$(base-prefix)$(libdir)/lib$(libname).so
32 lib-shlibstrippedfile := $(out-dir)/$(base-prefix)$(libdir)/lib$(libname).stripped.so
33 lib-shlibtafile := $(out-dir)/$(base-prefix)$(libdir)/$(libuuid).ta
34 lib-libuuidln := $(out-dir)/$(base-prefix)$(libdir)/$(libuuid).elf
35 lib-shlibfile-$(libname)-$(sm) := $(lib-shlibfile)
36 lib-libdir-$(libname)-$(sm) := $(out-dir)/$(base-prefix)$(libdir)
[all …]
/optee_os/core/mm/
H A Dmobj_dyn_shm.c1 // SPDX-License-Identifier: BSD-2-Clause
3 * Copyright (c) 2016-2024, Linaro Limited
46 * struct mobj_protmem - describes protected memory lent by normal world
91 if (offst >= mobj->size) in mobj_reg_shm_get_pa()
94 full_offset = offst + mobj_reg_shm->page_offset; in mobj_reg_shm_get_pa()
97 p = mobj_reg_shm->pages[full_offset / SMALL_PAGE_SIZE] + in mobj_reg_shm_get_pa()
101 p = mobj_reg_shm->pages[full_offset / SMALL_PAGE_SIZE]; in mobj_reg_shm_get_pa()
115 assert(granule >= mobj->phys_granule); in mobj_reg_shm_get_phys_offs()
116 return to_mobj_reg_shm(mobj)->page_offset; in mobj_reg_shm_get_phys_offs()
123 if (!mrs->mm || !mobj_check_offset_and_len(mobj, offst, len)) in mobj_reg_shm_get_va()
[all …]
/optee_os/
H A DMakefile6 # any sub-makefile can use them.
9 # Since this Makefile won't call any sub-makefiles, and since the commands do
38 # $(PLATFORM)-$(PLATFORM_FLAVOR) for convenience
39 ifneq (,$(findstring -,$(PLATFORM)))
40 ops := $(join PLATFORM PLATFORM_FLAVOR,$(addprefix =,$(subst -, ,$(PLATFORM))))
47 # Default value for PLATFORM_FLAVOR is set in plat-$(PLATFORM)/conf.mk
50 out-dir := $(O)/$(ARCH)-plat-$(PLATFORM)
52 out-dir := $(O)
59 cmd-echo := true
60 cmd-echo-silent := echo
[all …]
/optee_os/scripts/
H A Dci-host-cleanup.sh2 # SPDX-License-Identifier: Apache-2.0
7 df -h
11 google-chrome-stable microsoft-edge-stable firefox
12 azure-cli google-cloud-cli kubectl podman skopeo buildah snapd
13 temurin-8-jdk temurin-11-jdk temurin-17-jdk temurin-21-jdk
14 dotnet-sdk-8.0 dotnet-runtime-8.0 aspnetcore-runtime-8.0
15 aspnetcore-targeting-pack-8.0 netstandard-targeting-pack-2.1-8.0
16 dotnet-targeting-pack-8.0
17 llvm-16-dev llvm-17-dev llvm-18-dev
18 clang-tools-16 clang-tools-17 clang-tools-18
[all …]
H A Dget_maintainer.py5 # SPDX-License-Identifier: BSD-2-Clause
17 DIFF_GIT_RE = re.compile(r'^diff --git a/(?P<path>.*) ')
18 REVIEWED_RE = re.compile(r'^Reviewed-by: (?P<approver>.*>)')
19 ACKED_RE = re.compile(r'^Acked-by: (?P<approver>.*>)')
20 PATCH_START = re.compile(r'^From [0-9a-f]{40}')
28 '(With -m) Check if a patch or pull '
31 parser.add_argument('-m', '--merge-check', action='store_true',
32 help='use Reviewed-by: and Acked-by: tags found in '
35 parser.add_argument('-p', '--show-paths', action='store_true',
37 parser.add_argument('-s', '--strict', action='store_true',
[all …]
/optee_os/ta/mk/
H A Dta_dev_kit.mk1 # Get the dir of the ta-dev-kit, requires make version 3.81 or later
2 ta-dev-kit-dir := $(patsubst %/,%,$(abspath $(dir $(lastword $(MAKEFILE_LIST)))..))
7 include $(ta-dev-kit-dir)/mk/conf.mk
8 ta-dev-kit-dir$(sm) := $(ta-dev-kit-dir)
10 include $(ta-dev-kit-dir$(sm))/mk/macros.mk
17 out-dir := $O
19 out-dir := .
21 link-out-dir := $(out-dir) # backward compat
22 link-out-dir$(sm) := $(out-dir)
24 user-ta-uuid := $(BINARY)
[all …]
/optee_os/.github/workflows/
H A Dci.yml6 group: ci-${{ github.ref }} # unique per branch
7 cancel-in-progress: true # cancel previous runs on the same branch
11 runs-on: ubuntu-latest
14 - name: Checkout
17 fetch-depth: 0 # full history so checkpatch can check commit IDs in commit messages
18 - name: Update Git config
19 run: git config --globa
[all...]
/optee_os/core/drivers/
H A Dimx_sc_api.c1 // SPDX-License-Identifier: BSD-2-Clause
4 * Copyright 2017-2022 NXP
8 #include <imx-regs.h>
30 /* Defines for RM function calls */
275 for (retry = RNG_INIT_RETRY; retry; retry--) { in imx_sc_seco_start_rng()
H A Dtzc380.c1 // SPDX-License-Identifier: BSD-2-Clause
3 * Copyright 2017-2020 NXP
207 * - Currently no handler is provided to trap an error via interrupt in tzc_set_action()
209 * - The interrupt action has not been tested. in tzc_set_action()
238 * TZC380 RM in tzc_auto_configure()
252 TZC_ATTR_REGION_SIZE(pow - 1) | in tzc_auto_configure()
257 lsize -= region_size; in tzc_auto_configure()
275 lsize -= sub_region_size; in tzc_auto_configure()
279 TZC_ATTR_REGION_SIZE(pow - 1) | in tzc_auto_configure()
286 pow--; in tzc_auto_configure()
[all …]
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/Win32-SSE2-MinGW/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile is part of the SoftFloat IEEE Floating-Point Arithmetic
39 SPECIALIZE_TYPE = 8086-SSE
41 SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
43 DELETE = rm -f
44 C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
46 gcc -c -Werror-implicit-function-declaration $(SOFTFLOAT_OPTS) \
47 $(C_INCLUDES) -O2 -o $@
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/Linux-386-SSE2-GCC/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile is part of the SoftFloat IEEE Floating-Point Arithmetic
39 SPECIALIZE_TYPE = 8086-SSE
41 SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
43 DELETE = rm -f
44 C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
46 gcc -c -Werror-implicit-function-declaration $(SOFTFLOAT_OPTS) \
47 $(C_INCLUDES) -O2 -o $@
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/Linux-386-GCC/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile is part of the SoftFloat IEEE Floating-Point Arithmetic
41 SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
43 DELETE = rm -f
44 C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
46 gcc -c -Werror-implicit-function-declaration $(SOFTFLOAT_OPTS) \
47 $(C_INCLUDES) -O2 -o $@
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/Win32-MinGW/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile is part of the SoftFloat IEEE Floating-Point Arithmetic
41 SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
43 DELETE = rm -f
44 C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
46 gcc -c -Werror-implicit-function-declaration $(SOFTFLOAT_OPTS) \
47 $(C_INCLUDES) -O2 -o $@
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/template-not-FAST_INT64/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile template is part of the SoftFloat IEEE Floating-Point
38 # Edit lines marked with `==>'. See "SoftFloat-source.html".
43 ==> SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
45 ==> DELETE = rm -f
46 ==> C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
47 ==> COMPILE_C = cc -c $(SOFTFLOAT_OPTS) $(C_INCLUDES) -O2 -o $@
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/Win64-MinGW-w64/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile is part of the SoftFloat IEEE Floating-Point Arithmetic
39 SPECIALIZE_TYPE = 8086-SSE
41 SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
43 DELETE = rm -f
44 C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
46 x86_64-w64-mingw32-gcc -c -Werror-implicit-function-declaration \
47 -DSOFTFLOAT_FAST_INT64 $(SOFTFLOAT_OPTS) $(C_INCLUDES) -O2 -o $@
48 MAKELIB = x86_64-w64-mingw32-ar crs $@
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/Linux-x86_64-GCC/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile is part of the SoftFloat IEEE Floating-Point Arithmetic
39 SPECIALIZE_TYPE = 8086-SSE
41 SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
43 DELETE = rm -f
44 C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
46 gcc -c -Werror-implicit-function-declaration -DSOFTFLOAT_FAST_INT64 \
47 $(SOFTFLOAT_OPTS) $(C_INCLUDES) -O2 -o $@
/optee_os/lib/libutils/isoc/arch/arm/softfloat/build/template-FAST_INT64/
H A DMakefile1 # SPDX-License-Identifier: BSD-3-Clause
5 # This Makefile template is part of the SoftFloat IEEE Floating-Point
38 # Edit lines marked with `==>'. See "SoftFloat-source.html".
43 ==> SOFTFLOAT_OPTS = -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV64TO32
45 ==> DELETE = rm -f
46 ==> C_INCLUDES = -I. -I$(SOURCE_DIR)/$(SPECIALIZE_TYPE) -I$(SOURCE_DIR)/include
48 ==> cc -c -DSOFTFLOAT_FAST_INT64 $(SOFTFLOAT_OPTS) $(C_INCLUDES) -O2 -o $@
/optee_os/lib/libmbedtls/mbedtls/
H A DREADME.md6 Mbed TLS includes a reference implementation of the [PSA Cryptography API](#psa-cryptography-api). …
9 -------------
11 … more programmatic way using the Python 3 script `scripts/config.py` (use `--help` for usage instr…
15 We provide some non-standard configurations focused on specific use cases in the `configs/` directo…
18 -------------
20 The main Mbed TLS documentation is available via [ReadTheDocs](https://mbed-tls.readthedocs.io/).
22 …or the PSA Cryptography API is available [on GitHub](https://arm-software.github.io/psa-api/crypto…
24 To generate a local copy of the library documentation in HTML format, tailored to your compile-time…
33 ---------
37 - GNU Make
[all …]

12