Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 32) sorted by relevance

12

/optee_os/ta/pkcs11/src/
H A Dprocessing.c59 static bool func_matches_state(enum processing_func function, in func_matches_state() argument
62 switch (function) { in func_matches_state()
85 TEE_Panic(function); in func_matches_state()
91 enum processing_func function) in get_active_session() argument
96 func_matches_state(function, session->processing->state)) in get_active_session()
599 enum processing_func function) in entry_processing_init() argument
622 if (function != PKCS11_FUNCTION_DIGEST) { in entry_processing_init()
641 if (function != PKCS11_FUNCTION_DIGEST) { in entry_processing_init()
649 rc = set_processing_state(session, function, obj, NULL); in entry_processing_init()
654 function, in entry_processing_init()
[all …]
H A Dprocessing_asymm.c57 enum processing_func function __unused, in pkcs2tee_algorithm()
156 (function == PKCS11_FUNCTION_SIGN || in pkcs2tee_algorithm()
157 function == PKCS11_FUNCTION_VERIFY)) in pkcs2tee_algorithm()
165 enum processing_func function) in pkcs2tee_key_type() argument
182 if (function == PKCS11_FUNCTION_DERIVE) in pkcs2tee_key_type()
187 if (function == PKCS11_FUNCTION_DERIVE) in pkcs2tee_key_type()
215 enum processing_func function, in allocate_tee_operation() argument
230 if (pkcs2tee_algorithm(&algo, &hash_algo, function, params, obj)) in allocate_tee_operation()
240 switch (function) { in allocate_tee_operation()
253 pkcs2tee_mode(&mode, function); in allocate_tee_operation()
[all …]
H A Dprocessing_symm.c200 enum processing_func function, in allocate_tee_operation() argument
256 pkcs2tee_mode(&mode, function); in allocate_tee_operation()
633 enum processing_func function, in init_symm_operation() argument
641 rc = allocate_tee_operation(session, function, proc_params, obj); in init_symm_operation()
658 enum processing_func function, in input_data_size_is_valid() argument
664 if (function == PKCS11_FUNCTION_ENCRYPT && in input_data_size_is_valid()
667 if (function == PKCS11_FUNCTION_DECRYPT && in input_data_size_is_valid()
672 if (function == PKCS11_FUNCTION_ENCRYPT && in input_data_size_is_valid()
675 if (function == PKCS11_FUNCTION_DECRYPT && in input_data_size_is_valid()
734 enum processing_func function, in step_symm_operation() argument
[all …]
H A Dprocessing.h92 enum processing_func function);
96 enum processing_func function,
101 enum processing_func function);
130 enum processing_func function,
135 enum processing_func function,
153 enum processing_func function,
158 enum processing_func function,
H A Dpkcs11_attributes.c29 static uint32_t pkcs11_func2ckfm(enum processing_func function) in pkcs11_func2ckfm() argument
31 switch (function) { in pkcs11_func2ckfm()
64 enum processing_func function, in check_mechanism_against_processing() argument
71 switch (function) { in check_mechanism_against_processing()
86 pkcs11_func2ckfm(function); in check_mechanism_against_processing()
118 assert(function == PKCS11_FUNCTION_DIGEST); in check_mechanism_against_processing()
146 function, step); in check_mechanism_against_processing()
735 enum processing_func function) in create_pub_key_attributes() argument
769 switch (function) { in create_pub_key_attributes()
781 EMSG("Unsupported function %#"PRIx32"/%s", function, in create_pub_key_attributes()
[all …]
H A Dpkcs11_attributes.h166 enum processing_func function,
196 enum processing_func function);
H A Dpkcs11_helpers.h62 void pkcs2tee_mode(uint32_t *tee_id, enum processing_func function);
H A Dobject.c994 enum processing_func function = PKCS11_FUNCTION_MODIFY; in entry_set_attribute_value() local
1055 NULL, function, in entry_set_attribute_value()
1062 rc = check_attrs_against_modification(session, head, obj, function); in entry_set_attribute_value()
1134 enum processing_func function = PKCS11_FUNCTION_COPY; in entry_copy_object() local
1197 NULL, function, in entry_copy_object()
1204 rc = check_attrs_against_modification(session, head, obj, function); in entry_copy_object()
H A Dpkcs11_helpers.c702 void pkcs2tee_mode(uint32_t *tee_id, enum processing_func function) in pkcs2tee_mode() argument
704 switch (function) { in pkcs2tee_mode()
724 TEE_Panic(function); in pkcs2tee_mode()
H A Dpkcs11_token.h284 enum processing_func function,
/optee_os/lib/libutils/ext/
H A Dtrace.c118 void trace_printf(const char *function, int line, int level, bool level_ok, in trace_printf() argument
124 trace_vprintf(function, line, level, level_ok, fmt, ap); in trace_printf()
127 void trace_vprintf(const char *function, int line, int level, bool level_ok, in trace_vprintf() argument
170 if (function) { in trace_vprintf()
172 function, line); in trace_vprintf()
218 void trace_printf(const char *function __unused, int line __unused, in trace_printf()
256 void dhex_dump(const char *function, int line, int level, in dhex_dump() argument
281 trace_printf(function, line, level, true, "%s", in dhex_dump()
288 trace_printf(function, line, level, true, "%s", in dhex_dump()
305 void dhex_dump(const char *function __unused, int line __unused, in dhex_dump()
/optee_os/lib/libmbedtls/mbedtls/
H A D.gitattributes1 # Classify all '.function' files as C for syntax highlighting purposes
2 *.function linguist-language=C
H A D.uncrustify.cfg16 # Allow splitting function calls between arguments
102 # No spaces inside function parentheses
104 # (The case where the function has no parameters/arguments)
107 # No spaces inside the first parentheses in a function type
139 # Remove space after star in a function return type
191 # At least 1 space between a function return type and the function name
194 # No space between a function name and its arguments/parameters
H A DCONTRIBUTING.md37function with one that has a slightly different interface (different prototype, or different docum…
48 …t LTS branch. If a bug fix introduces a change to the API such as a new function, the fix should b…
60function file` (e.g. `suites/test_suite_rsa.function`) and a `data file` (e.g. `suites/test_suite_…
H A DChangeLog6 * Add the function mbedtls_ssl_export_keying_material() which allows the
32 mbedtls_x509_string_to_names(). This was caused by the function calling
45 val.len > 0. This impacts applications that call this function directly,
99 function reported the correct size in *olen when it returned
108 * The function mbedtls_x509_string_to_names() now requires its head argument
110 this function (see the entry in the Security section) will be detected and
308 * Fix compilation error when memcpy() is a function-like macros. Fixes #8994.
421 * Temporary function mbedtls_pk_wrap_as_opaque() is removed. To mimic the
481 * The new function mbedtls_rsa_get_bitlen() returns the length of the modulus
495 * The new function psa_generate_key_ext() allows generating an RSA
[all …]
H A DREADME.md243function file` (e.g. `suites/test\_suite\_mpi.function`) and a `data file` (e.g. `suites/test\_sui…
285 …ace for additional security. Library calls can be implemented as direct function calls if isolatio…
/optee_os/lib/libutils/isoc/
H A Dbget.doc102 If the C library malloc() function is too slow, not present in your
124 doesn't make much sense to provide a release function without an
125 acquisition function, does it?). Once the call-back functions have been
130 compaction function has been supplied. If so, it is called (with the
133 looping). If the compaction function is able to free any storage (it
136 if it fails again, call the compaction function again with the
139 If the compaction function returns zero, indicating failure to free
140 space, or no compaction function is defined, BGET next tests whether a
141 non-NULL allocation function was supplied to bectl(). If so, that
142 function is called with an argument indicating how many bytes of
[all …]
/optee_os/lib/libutils/ext/include/
H A Dasm.S34 .type \name , %function
49 .type \name , %function
65 .type \name , %function
H A Dtrace.h91 void dhex_dump(const char *function, int line, int level,
/optee_os/lib/libutils/isoc/arch/arm/
H A Dsetjmp_a64.S49 .type setjmp, %function
72 .type longjmp, %function
H A Dsetjmp_a32.S47 #define TYPE(x) .type SYM(x),function
/optee_os/lib/libutils/compiler-rt/lib/builtins/
H A Dint_util.h24 const char *function);
/optee_os/core/drivers/crypto/hisilicon/
H A Dhisi_qm.c288 uint32_t function, in qm_set_vft_common() argument
303 io_write32(qm->io_base + QM_VFT_CFG_ADDRESS, function); in qm_set_vft_common()
319 uint32_t function, in qm_set_xqc_vft() argument
326 ret = qm_set_vft_common(qm, i, function, base, num); in qm_set_xqc_vft()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Daesce.c85 # pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
89 # pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
H A Dsha256.c86 # pragma clang attribute push (__attribute__((target("sha2"))), apply_to=function)
92 # pragma clang attribute push (__attribute__((target("crypto"))), apply_to=function)

12