/optee_os-3.20.0/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 …]
|
A D | inflate.c | 636 unsigned char FAR *from; /* where to copy match bytes from */ local 1195 from = state->window + (state->wsize - copy); 1198 from = state->window + (state->wnext - copy); 1202 from = put - state->offset; 1209 *put++ = *from++;
|
/optee_os-3.20.0/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-3.20.0/core/drivers/crypto/caam/utils/ |
A D | utils_sgt.c | 67 const struct caamsgtbuf *from, size_t offset, in caam_sgt_derive() argument 76 SGT_TRACE("Derive from %p - offset %zu, %d SGT entries", from, offset, in caam_sgt_derive() 77 from->number); in caam_sgt_derive() 79 if (from->length - offset < length) { in caam_sgt_derive() 80 SGT_TRACE("From SGT/Buffer too short (%zu)", from->length); in caam_sgt_derive() 84 for (; idx < from->number && off >= from->buf[idx].length; idx++) in caam_sgt_derive() 85 off -= from->buf[idx].length; in caam_sgt_derive() 89 rlength -= MIN(rlength, from->buf[idx].length - off); in caam_sgt_derive() 91 for (idx++; idx < from->number && rlength; idx++) { in caam_sgt_derive() 92 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-3.20.0/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-3.20.0/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-3.20.0/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-3.20.0/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-3.20.0/core/arch/arm/dts/ |
A D | dt_driver_test.dtsi | 20 * Resource device are discovered from subnode added to probe
|
/optee_os-3.20.0/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 | 981 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from ) in mbedtls_x509_time_is_future() argument 988 return( x509_check_time( from, &now ) ); in mbedtls_x509_time_is_future() 999 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from ) in mbedtls_x509_time_is_future() argument 1001 ((void) from); in mbedtls_x509_time_is_future()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/ |
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… 59 …al test source files (e.g. `test_suite_mpi.c`). These files are generated from a `function file` (…
|
A D | ChangeLog | 475 entropy from the nonce. 874 from psa_crypto.c. Fixes #3300. 1128 from modifying the client/server hello. 1726 CCM test vectors from RAM. 2195 parameters from RFC 3526 or the newly added parameters from RFC 7919. 2450 * Remove macros from compat-1.3.h that correspond to deleted items from most 2901 changed from ssl_context to ssl_config. 2965 (use generic functions from md.h) 2993 * Removed r and s from ecdsa_context 3022 API changes from the 1.4 preview branch [all …]
|
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` (… 219 * The API distinguishes caller memory from internal memory, which allows the library to be implemen… 257 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-3.20.0/core/drivers/crypto/versal/ |
A D | rsa.c | 22 struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin_pad() argument 24 size_t len = crypto_bignum_num_bytes(from); in crypto_bignum_bn2bin_pad() 26 crypto_bignum_bn2bin(from, to + size - len); in crypto_bignum_bn2bin_pad()
|
A D | ecc.c | 103 struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin_eswap() argument 109 size_t len = crypto_bignum_num_bytes(from); in crypto_bignum_bn2bin_eswap() 116 crypto_bignum_bn2bin(from, pad + bytes - len); in crypto_bignum_bn2bin_eswap()
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 95 TEE_Result crypto_bignum_bin2bn(const uint8_t *from, size_t fromsize, 99 void crypto_bignum_bn2bin(const struct bignum *from, uint8_t *to); 100 void crypto_bignum_copy(struct bignum *to, const struct bignum *from);
|
/optee_os-3.20.0/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-3.20.0/mk/ |
A D | checkconf.mk | 189 $$(error $(1) is set to '$($(1))' (from $(origin $(1))) but its value must be '$(2)'$$(_reason))
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | x509.h | 311 int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
|
/optee_os-3.20.0/core/crypto/ |
A D | crypto.c | 457 TEE_Result crypto_bignum_bin2bn(const uint8_t *from __unused, in crypto_bignum_bin2bn() 489 void crypto_bignum_bn2bin(const struct bignum *from __unused, in crypto_bignum_bn2bin() 496 const struct bignum *from __unused) in crypto_bignum_copy()
|