/optee_os/core/lib/zlib/ |
A D | inffast.c | 200 from = window; 202 from += wsize - op; 219 from = window; 241 *out++ = *from++; 242 *out++ = *from++; 243 *out++ = *from++; 247 *out++ = *from++; 255 *out++ = *from++; 256 *out++ = *from++; 257 *out++ = *from++; [all …]
|
/optee_os/lib/libmbedtls/core/ |
A D | bignum.c | 42 void crypto_bignum_bn2bin(const struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin() argument 46 assert(from != NULL); in crypto_bignum_bn2bin() 48 len = crypto_bignum_num_bytes((struct bignum *)from); in crypto_bignum_bn2bin() 49 if (mbedtls_mpi_write_binary((mbedtls_mpi *)from, to, len)) in crypto_bignum_bn2bin() 53 TEE_Result crypto_bignum_bin2bn(const uint8_t *from, size_t fromsize, in crypto_bignum_bin2bn() argument 56 assert(from != NULL); in crypto_bignum_bin2bn() 58 if (mbedtls_mpi_read_binary((mbedtls_mpi *)to, from, fromsize)) in crypto_bignum_bin2bn() 63 void crypto_bignum_copy(struct bignum *to, const struct bignum *from) in crypto_bignum_copy() argument 65 assert(from != NULL); in crypto_bignum_copy() 67 if (mbedtls_mpi_copy((mbedtls_mpi *)to, (const mbedtls_mpi *)from)) in crypto_bignum_copy()
|
A D | sm2-kep.c | 264 const struct ecc_public_key *from) in extract_xy_from_public_key() argument 266 xy->x = (mbedtls_mpi *)from->x; in extract_xy_from_public_key() 267 xy->y = (mbedtls_mpi *)from->y; in extract_xy_from_public_key()
|
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_sgt.c | 57 const struct caamsgtbuf *from, size_t offset, in caam_sgt_derive() argument 66 SGT_TRACE("Derive from %p - offset %zu, %d SGT entries", from, offset, in caam_sgt_derive() 67 from->number); in caam_sgt_derive() 69 if (from->length - offset < length) { in caam_sgt_derive() 70 SGT_TRACE("From SGT/Buffer too short (%zu)", from->length); in caam_sgt_derive() 74 for (; idx < from->number && off >= from->buf[idx].length; idx++) in caam_sgt_derive() 75 off -= from->buf[idx].length; in caam_sgt_derive() 79 rlength -= MIN(rlength, from->buf[idx].length - off); in caam_sgt_derive() 81 for (idx++; idx < from->number && rlength; idx++) { in caam_sgt_derive() 82 rlength -= MIN(rlength, from->buf[idx].length); in caam_sgt_derive() [all …]
|
A D | utils_dmaobj.c | 1064 const struct caamdmaobj *from, in caam_dmaobj_derive_sgtbuf() argument 1071 DMAOBJ_TRACE("Derive object %p - offset %zu - length %zu bytes", from, in caam_dmaobj_derive_sgtbuf() 1074 if (!obj || !from || !length || !from->priv) { in caam_dmaobj_derive_sgtbuf() 1079 if (!from->orig.data || !from->orig.length) { in caam_dmaobj_derive_sgtbuf() 1085 priv = from->priv; in caam_dmaobj_derive_sgtbuf() 1092 retstatus = caam_sgt_derive(&obj->sgtbuf, &from->sgtbuf, offset, in caam_dmaobj_derive_sgtbuf()
|
/optee_os/core/kernel/ |
A D | lockdep.c | 85 STAILQ_FOREACH(edge, &from->edges, link) in lockdep_add_edge() 261 if (node->lock_id == from) in lockdep_find_edge() 284 from, acq_msg); in lockdep_print_edge_info() 298 uintptr_t from = 0; in lockdep_print_cycle_info() local 309 from = to; in lockdep_print_cycle_info() 312 lockdep_print_edge_info(from, edge); in lockdep_print_cycle_info() 316 from = to; in lockdep_print_cycle_info() 465 struct lockdep_node *from = NULL; in lockdep_node_destroy() local 473 TAILQ_FOREACH(from, graph, link) { in lockdep_node_destroy() 474 edge = STAILQ_FIRST(&from->edges); in lockdep_node_destroy() [all …]
|
/optee_os/lib/libutils/isoc/arch/arm/ |
A D | arm32_aeabi_softfloat.c | 31 float32_t from; in f32_to_f() member 33 } res = { .from = val }; in f32_to_f() 41 aeabi_float_t from; in f32_from_f() member 43 } res = { .from = val }; in f32_from_f() 51 float64_t from; in f64_to_d() member 53 } res = { .from = val }; in f64_to_d() 61 aeabi_double_t from; in f64_from_d() member 63 } res = { .from = val }; in f64_from_d()
|
/optee_os/core/lib/libtomcrypt/ |
A D | mpi_desc.c | 724 void crypto_bignum_bn2bin(const struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin() argument 726 const mbedtls_mpi *f = (const mbedtls_mpi *)from; in crypto_bignum_bn2bin() 733 TEE_Result crypto_bignum_bin2bn(const uint8_t *from, size_t fromsize, in crypto_bignum_bin2bn() argument 736 if (mbedtls_mpi_read_binary((mbedtls_mpi *)to, (const void *)from, in crypto_bignum_bin2bn() 742 void crypto_bignum_copy(struct bignum *to, const struct bignum *from) in crypto_bignum_copy() argument 746 rc = mbedtls_mpi_copy((mbedtls_mpi *)to, (const mbedtls_mpi *)from); in crypto_bignum_copy()
|
/optee_os/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 260 entropy from the nonce. 659 from psa_crypto.c. Fixes #3300. 913 from modifying the client/server hello. 1511 CCM test vectors from RAM. 1980 parameters from RFC 3526 or the newly added parameters from RFC 7919. 2235 * Remove macros from compat-1.3.h that correspond to deleted items from most 2686 changed from ssl_context to ssl_config. 2750 (use generic functions from md.h) 2778 * Removed r and s from ecdsa_context 2807 API changes from the 1.4 preview branch [all …]
|
A D | CONTRIBUTING.md | 3 We gratefully accept bug reports and contributions from the community. There are some requirements … 13 - The code should be secure, and will be reviewed from a security point of view as well. 23 1. Ensure that each commit has at least one `Signed-off-by:` line from the committer. If anyone els… 34 …oved at some point in the future, notifying users that they should change from the older deprecate… 38 Periodically, the library will remove deprecated functions from the library which will be a breakin… 64 …al test source files (e.g. `test_suite_mpi.c`). These files are generated from a `function file` (…
|
A D | README.md | 58 In order to build from the source code using GNU Make, just enter at the command line: 74 …environment is Unix-like (for instance when cross-compiling, or compiling from an MSYS shell), and… 78 …ccept `-Wall` as an option). Directory-specific options cannot be overridden from the command line. 140 prevent `git status` from showing them as modified). In order to do so, from 163 use `add_subdirectory()` from a parent CMake project to include Mbed TLS as a 181 …te the tests files (e.g. `test\_suite\_mpi.c`). These files are generated from a `function file` (… 211 * The API distinguishes caller memory from internal memory, which allows the library to be implemen… 249 We gratefully accept bug reports and contributions from the community. Please see the [contributing…
|
A D | LICENSE | 31 "Object" form shall mean any form resulting from mechanical 42 form, that is based on (or derived from) the Work and for which the 46 separable from, or merely link (or bind by name) to the interfaces of, 103 attribution notices from the Source form of the Work, 120 or as an addendum to the NOTICE text from the Work, provided
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | pk_wrap.c | 485 static int extract_ecdsa_sig_int( unsigned char **from, const unsigned char *end, in extract_ecdsa_sig_int() argument 491 if( ( ret = mbedtls_asn1_get_tag( from, end, &unpadded_len, in extract_ecdsa_sig_int() 497 while( unpadded_len > 0 && **from == 0x00 ) in extract_ecdsa_sig_int() 499 ( *from )++; in extract_ecdsa_sig_int() 508 memcpy( to + padding_len, *from, unpadded_len ); in extract_ecdsa_sig_int() 509 ( *from ) += unpadded_len; in extract_ecdsa_sig_int()
|
A D | x509.c | 974 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from ) in mbedtls_x509_time_is_future() argument 981 return( x509_check_time( from, &now ) ); in mbedtls_x509_time_is_future() 992 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from ) in mbedtls_x509_time_is_future() argument 994 ((void) from); in mbedtls_x509_time_is_future()
|
/optee_os/core/include/crypto/ |
A D | crypto.h | 94 TEE_Result crypto_bignum_bin2bn(const uint8_t *from, size_t fromsize, 98 void crypto_bignum_bn2bin(const struct bignum *from, uint8_t *to); 99 void crypto_bignum_copy(struct bignum *to, const struct bignum *from);
|
/optee_os/core/drivers/crypto/caam/include/ |
A D | caam_utils_dmaobj.h | 140 const struct caamdmaobj *from,
|
A D | caam_utils_sgt.h | 130 const struct caamsgtbuf *from, size_t offset,
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/ |
A D | COPYING.txt | 24 may be used to endorse or promote products derived from this software
|
/optee_os/core/crypto/ |
A D | crypto.c | 454 TEE_Result crypto_bignum_bin2bn(const uint8_t *from __unused, in crypto_bignum_bin2bn() 486 void crypto_bignum_bn2bin(const struct bignum *from __unused, in crypto_bignum_bn2bin() 493 const struct bignum *from __unused) in crypto_bignum_copy()
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | x509.h | 292 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | x509.h | 292 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | x509.h | 292 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | x509.h | 292 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
|
/optee_os/mk/ |
A D | checkconf.mk | 189 $$(error $(1) is set to '$($(1))' (from $(origin $(1))) but its value must be '$(2)'$$(_reason))
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | x509.h | 292 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
|