Home
last modified time | relevance | path

Searched refs:check (Results 1 – 21 of 21) sorted by relevance

/optee_os/lib/libutils/ext/
H A Dfault_mitigation.c23 unsigned long __weak ___ftmn_return_res(struct ftmn_check *check, in ___ftmn_return_res() argument
26 if (check->steps != steps) in ___ftmn_return_res()
28 if ((check->res ^ FTMN_DEFAULT_HASH) != res) in ___ftmn_return_res()
33 void __weak ___ftmn_expect_state(struct ftmn_check *check, enum ftmn_incr incr, in ___ftmn_expect_state() argument
36 if ((check->res ^ FTMN_DEFAULT_HASH) != res) in ___ftmn_expect_state()
38 if (check->steps != steps) in ___ftmn_expect_state()
40 check->steps += incr; in ___ftmn_expect_state()
82 struct ftmn_check *check, in ___ftmn_callee_done_check() argument
86 if ((check->res ^ FTMN_DEFAULT_HASH) != res) in ___ftmn_callee_done_check()
88 if (check->steps != steps) in ___ftmn_callee_done_check()
[all …]
/optee_os/lib/libutils/ext/include/
H A Dfault_mitigation.h105 struct ftmn_check check; member
222 unsigned long ___ftmn_return_res(struct ftmn_check *check, unsigned long steps,
224 void ___ftmn_expect_state(struct ftmn_check *check, enum ftmn_incr incr,
237 struct ftmn_check *check, enum ftmn_incr incr,
243 void ___ftmn_set_check_res(struct ftmn_check *check, enum ftmn_incr incr,
245 void ___ftmn_set_check_res_not_zero(struct ftmn_check *check,
248 void ___ftmn_set_check_res_memcmp(struct ftmn_check *check, enum ftmn_incr incr,
252 void ___ftmn_copy_linked_call_res(struct ftmn_check *check, enum ftmn_incr incr,
314 ___ftmn_copy_linked_call_res(&f->check, incr, &f->arg, res); in __ftmn_copy_linked_call_res()
363 &ftmn->check, incr, steps, res); in __ftmn_callee_done_check()
[all …]
/optee_os/core/lib/zlib/
H A Dinflate.c452 # define UPDATE_CHECK(check, buf, len) \ argument
453 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
455 # define UPDATE_CHECK(check, buf, len) adler32(check, buf, len) argument
460 # define CRC2(check, word) \ argument
464 check = crc32(check, hbuf, 2); \
467 # define CRC4(check, word) \ argument
473 check = crc32(check, hbuf, 4); \
669 state->check = crc32(0L, Z_NULL, 0);
670 CRC2(state->check, hold);
703 strm->adler = state->check = adler32(0L, Z_NULL, 0);
[all …]
H A Dinflate.h93 unsigned long check; /* protected copy of check value */ member
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_import_pkcs8.c20 static int s_der_flexi_sequence_cmp(const ltc_asn1_list *flexi, der_flexi_check *check) in s_der_flexi_sequence_cmp() argument
27 while(check->t != LTC_ASN1_EOL) { in s_der_flexi_sequence_cmp()
28 if (!LTC_ASN1_IS_TYPE(cur, check->t)) { in s_der_flexi_sequence_cmp()
31 if (check->pp != NULL) *check->pp = (ltc_asn1_list*)cur; in s_der_flexi_sequence_cmp()
33 check++; in s_der_flexi_sequence_cmp()
/optee_os/mk/
H A Dcheckconf.mk14 define check-conf-h
30 define check-conf-cmake
43 define check-conf-mk
162 cfg-check-value = \
H A Dcompile.mk88 check-cmd-$2 = $(CHECK) $$(comp-cppflags-$2) $$<
89 echo-check-$2 := $(cmd-echo-silent)
90 echo-check-cmd-$2 = $(cmd-echo) $$(subst \",\\\",$$(check-cmd-$2))
/optee_os/core/drivers/
H A Dtzc380.c301 uint32_t check = 0; in tzc_regions_lockdown() local
305 check = io_read32(tzc.base + LOCKDOWN_RANGE_OFF); in tzc_regions_lockdown()
306 if (check != val) in tzc_regions_lockdown()
311 check = io_read32(tzc.base + LOCKDOWN_SELECT_OFF); in tzc_regions_lockdown()
312 if (check != val) in tzc_regions_lockdown()
/optee_os/core/
H A Dcore.mk112 $(call check-conf-h)
115 $(call check-conf-mk)
118 $(call check-conf-cmake)
/optee_os/core/arch/arm/kernel/
H A Dlink.mk63 ldargs-all_objs := -T $(link-script-dummy) --no-check-sections \
77 unpaged-ldargs := -T $(link-script-dummy) --no-check-sections --gc-sections \
106 init-ldargs := -T $(link-script-dummy) --no-check-sections --gc-sections \
146 define check-link-objs
150 $(eval $(call check-link-objs))
/optee_os/core/arch/riscv/kernel/
H A Dlink.mk36 ldargs-all_objs := -T $(link-script) --no-check-sections \
58 define check-link-objs
/optee_os/lib/libmbedtls/mbedtls/
H A DREADME.md82 * On Unix/POSIX systems, run `tests/scripts/check-generated-files.sh -u` to generate all the config…
97 make check
113 …lease check the Makefiles in `library/`, `programs/` and `tests/` for options to manually add or r…
146check for memory errors. (This includes LeakSanitizer, with recent version of gcc and clang.) (Wit…
148 - `MemSan`. This instruments the code with MemorySanitizer to check for uninitialised memory read…
H A DCONTRIBUTING.md17 …s-integration-tests) sections. Please check that your contribution passes basic tests before submi…
H A DChangeLog86 * Fix a sloppy check in LMS public key import, which could lead to accepting
372 use authmode none, and to carefully check the results when using optional
598 * mbedtls_pem_read_buffer() now performs a check on the padding data of
682 that it failed to check if all the relevant curves were supported by the
724 to check for availability of hash algorithms, regardless of whether
929 detected by comparing the wrong field and the check was erroneously
1349 * Add a configuration check to exclude optional client authentication
1531 and possibly up to 571 bytes with a custom cookie check function.
1540 * Fix check of certificate key usage in TLS 1.3. The usage of the public key
1558 client would fail to check that the curve selected by the server for
[all …]
H A DSECURITY.md151 Mbed TLS does not check that they are strictly compliant with X.509 and other
/optee_os/core/arch/riscv/
H A Driscv.mk52 $(call cfg-check-value,RISCV_MMU_MODE,39 48 57)
55 $(call cfg-check-value,RISCV_MMU_MODE,32)
/optee_os/core/lib/qcbor/
H A DREADME.md81 implementation as an error check is only needed at the end of the
126 No detailed code size comparison has been made, but in a spot check
135 doesn't have to check the return code of every call to an encode or
136 decode function. In many cases the error check is only needed as the
137 last step or an encode or decode. TinyCBOR requires an error check on
/optee_os/core/drivers/pm/sam/
H A Dat91_pm.c28 #error Invalid suspend mode, please check CFG_ATMEL_PM_SUSPEND_MODE
/optee_os/core/arch/arm/mm/
H A Dcore_mmu_lpae.c234 #error MAX_XLAT_TABLES is suspiciously large, please check
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dssl_msg.c1950 volatile unsigned char * const check = data; in mbedtls_ssl_decrypt_buf() local
1965 const mbedtls_ct_condition_t b = mbedtls_ct_uint_eq(check[idx], padlen - 1); in mbedtls_ssl_decrypt_buf()
/optee_os/
H A DCHANGELOG.md1064 * Make alignment check configurable ([#1586])