| /optee_os/lib/libmbedtls/core/ |
| H A D | bignum.c | 42 void crypto_bignum_bn2bin(const struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin() argument 47 assert(to != NULL); in crypto_bignum_bn2bin() 49 if (mbedtls_mpi_write_binary((mbedtls_mpi *)from, to, len)) in crypto_bignum_bn2bin() 54 struct bignum *to) in crypto_bignum_bin2bn() argument 57 assert(to != 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 66 assert(to != NULL); in crypto_bignum_copy() 67 if (mbedtls_mpi_copy((mbedtls_mpi *)to, (const mbedtls_mpi *)from)) in crypto_bignum_copy()
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | LICENSE | 26 "control" means (i) the power, direct or indirect, to cause the 35 including but not limited to software source code, documentation 40 not limited to compiled object code, generated documentation, 41 and conversions to other media types. 45 copyright notice that is included in or attached to the work 53 separable from, or merely link (or bind by name) to the interfaces of, 58 to that Work or Derivative Works thereof, that is intentionally 59 submitted to Licensor for inclusion in the Work by the copyright owner 60 or by an individual or Legal Entity authorized to submit on behalf of 63 to the Licensor or its representatives, including but not limited to [all …]
|
| H A D | README.md | 24 To generate a local copy of the library documentation in HTML format, tailored to your compile-time… 41 …velopment are CMake and GNU Make. Those systems are always complete and up-to-date. The others sho… 43 …x509 depends on libmbedcrypto. As a result, some linkers will expect flags to be in a specific ord… 47 You need the following tools to build the library with the provided makefiles: 51 * Python 3.8 to generate the test code. Python is also needed to integrate PSA drivers and to build… 52 * Perl to run the tests, and to generate some source files in the development branch. 59 …S/mbedtls-framework)). This is not needed to merely compile the library at a release tag. This is … 63 …nerated files are included in official releases. This section explains how to generate the missing… 72 …Depending on your Python installation, you may need to invoke `python` instead of `python3`. To in… 75 If you are cross-compiling, you must set the `CC` environment variable to a C compiler for the host… [all …]
|
| H A D | CONTRIBUTING.md | 3 …community. All PRs are reviewed by the project team / community, and may need some modifications to 13 - [Backports](#long-term-support-branches): provide a backport if needed (it's fine to wait until t… 25 1. Fork the [Mbed TLS repository on GitHub](https://github.com/Mbed-TLS/mbedtls) to start making yo… 28 …feature or topic. The larger the contribution is, the longer it would take to review it and merge … 33 …to minimise the impact on users upgrading to newer versions of the library and it should not be ne… 35 …to users, where a change to the interface is required, all changes to the ABI or API, even on the … 37 …to the definition of functions in the public interface which will change the API. Instead the inte… 39 …ill be made only in a planned, structured way that gives sufficient notice to users of the library. 43 …to allow users of the library to have a maintained, stable version of the library which contains o… 45 When backporting to these branches please observe the following rules: [all …]
|
| H A D | ChangeLog | 7 client and server to extract additional shared symmetric keys from an SSL 8 session, according to the TLS-Exporter specification in RFC 8446 and 5705. 9 This requires MBEDTLS_SSL_KEYING_MATERIAL_EXPORT to be defined in 18 to fail. Found and reported by Linh Le and Ngan Nguyen from Calif. 24 AES to be used for some time when the program starts. This could allow 25 the adversary to conduct timing attacks and potentially recover the 29 a similarly powerful adversary to craft GCM forgeries. 35 on the documented behaviour to still hold pointers to memory blocks after 37 with consequences ranging up to arbitrary code execution. 49 inside the same call to mbedtls_x509_string_to_names(), or in subsequent [all …]
|
| H A D | SECURITY.md | 4 send an email to the security team at 13 Its primary goal is to ensure fixes are ready to be deployed when the issue 20 Users are urged to always use the latest version of a maintained branch. 33 Mbed TLS aims to fully protect against remote attacks and to enable the user 35 protection is limited to providing security guarantees offered by the protocol 47 machine. The attacker has insufficient privileges to directly access Mbed TLS 52 The attacker is able to observe the timing of instructions executed by Mbed TLS 54 to. Typical attack vectors include cache timings, memory bus contention and 60 limited. We are only aiming to provide protection against **publicly 77 The attacker code running on the platform has access to some sensor capable of [all …]
|
| H A D | dco.txt | 9 Everyone is permitted to copy and distribute verbatim copies of this 15 By making a contribution to this project, I certify that: 18 have the right to submit it under the open source license 21 (b) The contribution is based upon previous work that, to the best 23 license and I have the right under that license to submit that 26 permitted to submit under a different license), as indicated 29 (c) The contribution was provided directly to me by some other
|
| H A D | BUGS.md | 12 2. Check [GitHub](https://github.com/Mbed-TLS/mbedtls/issues) to see if 19 Please do not use GitHub for support questions. If you want to know 20 how to do something with Mbed TLS, please see [`SUPPORT.md`](SUPPORT.md) for available documentatio…
|
| /optee_os/lib/libutils/isoc/ |
| H A D | bget.doc | 9 configured to the needs of an application. BGET is efficient in both 10 the time needed to allocate and release buffers and in the memory 12 consolidates contiguous space to minimise fragmentation. BGET is 15 * A built-in test program to exercise BGET and 21 * Wiping buffers at release time to catch code which 24 * Built-in routines to dump individual buffers or the 29 * Quantisation of buffer sizes to a power of two to 33 means of call-backs to user defined functions. 36 embedded programs to providing the framework upon which a multitasking 47 to name two, on which programs have obtained substantial speed-ups by [all …]
|
| /optee_os/core/kernel/ |
| H A D | lockdep.c | 78 struct lockdep_node *to, in lockdep_add_edge() argument 86 if (edge->to == to) in lockdep_add_edge() 92 edge->to = to; in lockdep_add_edge() 157 if (e->to->lock_id == node->lock_id) { in lockdep_graph_get_shortest_cycle() 179 if (!(e->to->flags & LOCKDEP_NODE_BFS_VISITED)) { in lockdep_graph_get_shortest_cycle() 183 e->to->flags |= LOCKDEP_NODE_BFS_VISITED; in lockdep_graph_get_shortest_cycle() 189 nqe->node = e->to; in lockdep_graph_get_shortest_cycle() 196 nqe->path[nlen - 1] = e->to->lock_id; in lockdep_graph_get_shortest_cycle() 224 TEE_Result res = lockdep_visit(e->to); in lockdep_visit() 255 uintptr_t from, uintptr_t to) in lockdep_find_edge() argument [all …]
|
| /optee_os/lib/libutils/compiler-rt/ |
| H A D | LICENSE.TXT | 22 "control" means (i) the power, direct or indirect, to cause the 31 including but not limited to software source code, documentation 36 not limited to compiled object code, generated documentation, 37 and conversions to other media types. 41 copyright notice that is included in or attached to the work 49 separable from, or merely link (or bind by name) to the interfaces of, 54 to that Work or Derivative Works thereof, that is intentionally 55 submitted to Licensor for inclusion in the Work by the copyright owner 56 or by an individual or Legal Entity authorized to submit on behalf of 59 to the Licensor or its representatives, including but not limited to [all …]
|
| /optee_os/core/pta/veraison_attestation/ |
| H A D | README.md | 3 … proof of concept for adding attestation capabilities to S-EL0 TAs and a demonstrator of an end-to… 7 …tation evidence produced by the PTA attests to the memory contents of the calling TA, but there is… 11 …to demonstrate the integration of various libraries and tools to create a trusted application focu… 17 …to the memory contents of the calling TA, but there is no mechanism to establish trust in the PTA …
|
| /optee_os/core/lib/qcbor/ |
| H A D | README.md | 18 use can disabled. No #ifdefs or compiler options need to be set for 19 QCBOR to run correctly. 22 CBOR data types in to C data types, handling over and 23 underflow, strict typing and such so the caller doesn't have to 26 encoding/decoding to/from JSON, pretty printing, diagnostic 28 to native C representations is supported. 33 there is no recursion. The caller supplies the memory to hold the 36 have to run in small fixed memory. 41 protocols much simpler, say when compared to TinyCBOR. 51 **Extensible and general** – Provides a way to handle data types that [all …]
|
| /optee_os/core/lib/libfdt/ |
| H A D | README.license | 21 practice, equivalent to being BSD licensed, since the terms of the BSD 24 I made the decision to license libfdt in this way because I want to 27 tools. Allowing libfdt to be used under the terms of the BSD license 28 makes that it easier for vendors or authors of such software to do so. 32 back to the libfdt mainline. While I hope that doesn't happen, I 33 believe the goal of allowing libfdt to be widely used is more 38 Licenses such as the LGPL which would allow code to be used in non-GPL 39 software, but also require contributions to be returned were 40 considered. However, libfdt is designed to be used in firmwares and 42 to anticipate all possible changes which might be needed to meld [all …]
|
| /optee_os/lib/libutils/isoc/arch/arm/ |
| H A D | arm32_aeabi_softfloat.c | 32 aeabi_float_t to; in f32_to_f() member 35 return res.to; in f32_to_f() 42 float32_t to; in f32_from_f() member 45 return res.to; in f32_from_f() 52 aeabi_double_t to; in f64_to_d() member 55 return res.to; in f64_to_d() 62 float64_t to; in f64_from_d() member 65 return res.to; in f64_from_d()
|
| /optee_os/ |
| H A D | CHANGELOG.md | 3 - Links to the release pages, commits and pull requests merged into this release for: 33 - Links to the release pages, commits and pull requests merged into this release for: 63 - Links to the release pages, commits and pull requests merged into this release for: 93 - Links to the release pages, commits and pull requests merged into this release for: 123 - Links to the release pages, commits and pull requests merged into this release for: 153 - Links to the release pages, commits and pull requests merged into this release for: 183 - Links to the release pages, commits and pull requests merged into this release for: 213 - Links to the release pages, commits and pull requests merged into this release for: 243 - Links to the release pages, commits and pull requests merged into this release for: 273 - Links to the release pages, commits and pull requests merged into this release for: [all …]
|
| H A D | README.md | 5 All official OP-TEE documentation has moved to http://optee.readthedocs.io.
|
| /optee_os/lib/libutils/isoc/arch/arm/softfloat/ |
| H A D | README.txt | 8 that conforms to the IEEE Standard for Floating-Point Arithmetic. SoftFloat 18 SoftFloat-history.html History of the major changes to SoftFloat.
|
| H A D | COPYING.txt | 7 The following applies to the whole of SoftFloat Release 3a as well as to 24 may be used to endorse or promote products derived from this software
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | link_dummy.ld | 9 * This seems to make the ARMv7 linker happy with regards to glue_7
|
| /optee_os/core/arch/arm/dts/ |
| H A D | dt_driver_test.dtsi | 10 * to defer its probe until resources are ready. 23 * Resource device are discovered from subnode added to probe
|
| H A D | at91-sama5d27_wlsom1_ek.dts | 93 * encouraged to prevent conflicts and to 94 * disable bias in order to be in the same 95 * state when the pin is not muxed to the adc.
|
| H A D | at91-sama5d2_xplained.dts | 428 * encouraged to prevent conflicts and to 429 * disable bias in order to be in the same 430 * state when the pin is not muxed to the adc. 451 * In here it's being pulled up, so need to 452 * connect it to ground to get an edge e.g. 455 * to pull-down or left floating according to
|
| /optee_os/core/arch/arm/plat-stm32mp1/drivers/ |
| H A D | stm32mp1_pwr.c | 79 uint64_t to = 0; in stm32mp1_pwr_regulator_set_state() local 83 to = timeout_init_us(10 * 1000); in stm32mp1_pwr_regulator_set_state() 84 while (!timeout_elapsed(to)) in stm32mp1_pwr_regulator_set_state()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 723 void crypto_bignum_bn2bin(const struct bignum *from, uint8_t *to) in crypto_bignum_bn2bin() argument 728 rc = mbedtls_mpi_write_binary(f, (void *)to, mbedtls_mpi_size(f)); in crypto_bignum_bn2bin() 733 struct bignum *to) 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()
|