Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 40) sorted by relevance

12

/optee_os/core/lib/zlib/
H A Dinffast.c79 unsigned char FAR *from; /* where to copy match from */ local
192 from = out - dist;
194 *out++ = *from++;
200 from = window;
202 from += wsize - op;
206 *out++ = *from++;
208 from = out - dist; /* rest from output */
212 from += wsize + wnext - op;
217 *out++ = *from++;
219 from = window;
[all …]
/optee_os/lib/libmbedtls/core/
H A Dbignum.c42 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()
H A Dsm2-kep.c264 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/
H A Dutils_sgt.c67 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 …]
H A Dutils_dmaobj.c1068 const struct caamdmaobj *from, in caam_dmaobj_derive_sgtbuf() argument
1075 DMAOBJ_TRACE("Derive object %p - offset %zu - length %zu bytes", from, in caam_dmaobj_derive_sgtbuf()
1078 if (!obj || !from || !length || !from->priv) { in caam_dmaobj_derive_sgtbuf()
1083 if (!from->orig.data || !from->orig.length) { in caam_dmaobj_derive_sgtbuf()
1089 priv = from->priv; in caam_dmaobj_derive_sgtbuf()
1096 retstatus = caam_sgt_derive(&obj->sgtbuf, &from->sgtbuf, offset, in caam_dmaobj_derive_sgtbuf()
/optee_os/core/kernel/
H A Dlockdep.c77 static TEE_Result lockdep_add_edge(struct lockdep_node *from, in lockdep_add_edge() argument
85 STAILQ_FOREACH(edge, &from->edges, link) in lockdep_add_edge()
96 STAILQ_INSERT_TAIL(&from->edges, edge, link); in lockdep_add_edge()
255 uintptr_t from, uintptr_t to) in lockdep_find_edge() argument
261 if (node->lock_id == from) in lockdep_find_edge()
268 static void lockdep_print_edge_info(uintptr_t from __maybe_unused, in lockdep_print_edge_info()
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()
311 edge = lockdep_find_edge(graph, from, to); in lockdep_print_cycle_info()
[all …]
/optee_os/lib/libutils/isoc/arch/arm/
H A Darm32_aeabi_softfloat.c31 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/scripts/
H A Dcheckpatch.sh51 checkpatch.sh commit1..^commit2 Check each commit from commit1 to
55 checkpatch.sh HEAD~5..HEAD~1 Check each commit from HEAD~5 to
65 history starting from HEAD~10.
/optee_os/core/drivers/crypto/versal/
H A Decc.c102 static void memcpy_swp(uint8_t *to, const uint8_t *from, size_t len) in memcpy_swp() argument
107 to[i] = from[len - 1 - i]; in memcpy_swp()
111 struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin_eswap() argument
114 size_t len = crypto_bignum_num_bytes(from); in crypto_bignum_bn2bin_eswap()
121 crypto_bignum_bn2bin(from, pad + bytes - len); in crypto_bignum_bn2bin_eswap()
H A Drsa.c22 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()
/optee_os/core/lib/libtomcrypt/
H A Dmpi_desc.c723 void crypto_bignum_bn2bin(const struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin() argument
725 const mbedtls_mpi *f = (const mbedtls_mpi *)from; in crypto_bignum_bn2bin()
732 TEE_Result crypto_bignum_bin2bn(const uint8_t *from, size_t fromsize, in crypto_bignum_bin2bn() argument
735 if (mbedtls_mpi_read_binary((mbedtls_mpi *)to, (const void *)from, in crypto_bignum_bin2bn()
741 void crypto_bignum_copy(struct bignum *to, const struct bignum *from) in crypto_bignum_copy() argument
745 rc = mbedtls_mpi_copy((mbedtls_mpi *)to, (const mbedtls_mpi *)from); in crypto_bignum_copy()
/optee_os/core/pta/veraison_attestation/
H A DREADME.md15 … can impact the effectiveness and security assumptions typically expected from PSA-based attestati…
17 …alling TA, but there is no mechanism to establish trust in the PTA itself from a lower-level entit…
/optee_os/
H A D.clang-format69 # Taken from:
120 # Taken from git's rules
/optee_os/lib/libmbedtls/mbedtls/
H A DREADME.md91 In order to build from the source code using GNU Make, just enter at the command line:
107 …environment is Unix-like (for instance when cross-compiling, or compiling from an MSYS shell), and…
111 …ccept `-Wall` as an option). Directory-specific options cannot be overridden from the command line.
173 prevent `git status` from showing them as modified). In order to do so, from
223 use `add_subdirectory()` from a parent CMake project to include Mbed TLS as a
243 …te the tests files (e.g. `test\_suite\_mpi.c`). These files are generated from a `function file` (…
253 …f all tools required for testing, it is possible to use the Docker images from our CI systems, as …
285 * The API distinguishes caller memory from internal memory, which allows the library to be implemen…
318from other projects. This code is located within the `3rdparty/` directory. The original license t…
320 * `3rdparty/everest/`: Files stem from [Project Everest](https://project-everest.github.io/) and ar…
[all …]
H A DChangeLog7 client and server to extract additional shared symmetric keys from an SSL
14 less than 3 bytes. Reported by Linh Le and Ngan Nguyen from Calif.
18 to fail. Found and reported by Linh Le and Ngan Nguyen from Calif.
41 Found by Linh Le and Ngan Nguyen from Calif.
53 directly. Found by Linh Le and Ngan Nguyen from Calif.
58 Found and reported by Linh Le and Ngan Nguyen from Calif.
63 Reported by Ka Lok Wu from Stony Brook University and Doria Tang from
90 Ngan Nguyen from Calif.
105 complains from sanitizers or static analyzers.
245 * The following cipher suites are planned to be removed from (D)TLS 1.2
[all …]
H A DLICENSE38 "Object" form shall mean any form resulting from mechanical
49 form, that is based on (or derived from) the Work and for which the
53 separable from, or merely link (or bind by name) to the interfaces of,
110 attribution notices from the Source form of the Work,
127 or as an addendum to the NOTICE text from the Work, provided
288 running the Program is not restricted, and the output from the Program
313 whole or in part contains or is derived from the Program or any
329 identifiable sections of that work are not derived from the Program,
381 access to copy from a designated place, then offering equivalent
382 access to copy the source code from the same place counts as
[all …]
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_utils_dmaobj.h140 const struct caamdmaobj *from,
H A Dcaam_utils_sgt.h130 const struct caamsgtbuf *from, size_t offset,
/optee_os/core/arch/arm/dts/
H A Ddt_driver_test.dtsi23 * Resource device are discovered from subnode added to probe
/optee_os/core/lib/qcbor/
H A DREADME.md26 encoding/decoding to/from JSON, pretty printing, diagnostic
27 notation... Only encoding from native C representations and decoding
62 separated from the implementation. It can be put to use without
130 same for both libraries, and the code linked from the libraries. QCBOR
274 * Encoding and decoding of half-precision with conversion to/from single
279 to/from floating-point
297 Note that this does not remove use of the types double and float from
314 to and from float-point.
335 of floating-point to and from integers, big numbers and
393 from the QCBOR library varies a lot, ranging from 1KB to 15KB. The
[all …]
H A DLICENSE25 contributors may be used to endorse or promote products derived from
/optee_os/core/include/crypto/
H A Dcrypto.h95 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/lib/libutils/compiler-rt/
H A DLICENSE.TXT34 "Object" form shall mean any form resulting from mechanical
45 form, that is based on (or derived from) the Work and for which the
49 separable from, or merely link (or bind by name) to the interfaces of,
106 attribution notices from the Source form of the Work,
123 or as an addendum to the NOTICE text from the Work, provided
225 Software from third parties included in the LLVM Project:
280 endorse or promote products derived from this Software without specific
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dx509.h427 int mbedtls_x509_time_is_future(const mbedtls_x509_time *from);
/optee_os/lib/libutils/isoc/arch/arm/softfloat/
H A DCOPYING.txt24 may be used to endorse or promote products derived from this software

12