Home
last modified time | relevance | path

Searched refs:API (Results 1 – 25 of 50) sorted by relevance

12

/openthread-latest/tools/harness-thci/
DOpenThread.py159 def API(api_func): function
383 @API
401 @API
512 @API
846 @API
863 @API
883 @API
888 @API
911 @API
937 @API
[all …]
DOpenThread_BR.py41 from THCI.OpenThread import OpenThreadTHCI, watched, API
359 @API
392 @API
406 @API
414 @API
424 @API
431 @API
437 @API
486 @API
644 @API
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/
Dpsa-transition.md1 # Transitioning to the PSA API
18 Then use the [summary of API modules](#summary-of-api-modules), the table of contents or a text sea…
24 **Reference**: The [PSA Crypto API specification](https://arm-software.github.io/psa-api/crypto/) i…
29 * [PSA API open issues](https://github.com/ARM-software/psa-api/issues) (not just cryptography APIs)
32 ### Why change the API?
34 …ion. For example, it is hard to support hardware acceleration, because the API constrains how the …
35 …quire key material to be present in the application memory. The PSA Crypto API natively supports o…
36 …put buffer needs to be based on the selected algorithm, whereas in the PSA API, all buffer argumen…
41 * Mbed TLS 2.15.0 (Nov 2018): first release with a draft implementation of the PSA API.
42 * Mbed TLS 2.18.0 (Jun 2019): The PSA API is available in the default build.
[all …]
Duse-psa-crypto.md9 "New APIs / API extensions" below.
28 - `MBEDTLS_PSA_CRYPTO_C` enables the implementation of the PSA Crypto API.
67 New APIs / API extensions
72 **New API function:** `mbedtls_pk_setup_opaque()` - can be used to
87 using the new API in order to get the benefits; it can then pass the
98 **New API functions:** `mbedtls_ssl_conf_psk_opaque()` and
111 **New API function:** `mbedtls_ssl_set_hs_ecjpake_password_opaque()`.
124 There is a new API function `mbedtls_cipher_setup_psa()` to set up a context
Dtls13-early-data.md36 called and in that case the mbedtls_ssl_write() API takes care transparently of
149 Mbed TLS provides the mbedtls_ssl_read_early_data() API to read the early data
154 the reception of early data is signaled by an API returning the
156 with the mbedtls_ssl_read_early_data() API.
Ddriver-only-builds.md28 mechanism through the PSA API in Mbed
34 means the algorithm will be available in the PSA Crypto API.
49 the PSA Crypto API, as well as for use of the PK, X.509 and TLS modules when
71 all the mechanisms that exist in PSA API.
92 In such a build, all crypto operations (via the PSA Crypto API, or non-PSA
105 - for code that uses only the PSA Crypto API: `PSA_WANT_ALG_xxx` from
179 In such builds, all crypto operations via the PSA Crypto API will work as
191 - for code that uses only the PSA Crypto API: `PSA_WANT_ECC_xxx` from
259 requested curves. In such builds, only the PSA API is currently tested and
396 - In the legacy API, `MBEDTLS_CHACHA20_C` enables the ChaCha20 stream cipher, and
[all …]
Dindex.rst6 Mbed TLS API documentation
D3.0-migration-guide.md64 … Mbed TLS 3, the layout of structures is not considered part of the stable API, and minor versions…
407 using the multi-part API.
446 This affects users of the PK API as well as users of the low-level API in the RSA module. Users of …
513 API were removed from version 1.0 of specification. Please switch to the new
531 and explain your need; we'll consider adding a new API in a future version.
536 multi-part operations. Five new API functions have been defined:
540 implement those additional five API functions.
555 ### Change the API to allow adding critical extensions to CSRs
560 The API is changed to include the parameter `critical` which enables marking an
623 PSA crypto API. If you have a use case that's not covered yet by this API,
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dpsa-legacy-bridges.md8 …ed on [requirements](#requirements), we [analyze gaps](#gap-analysis) and [API design](#api-design…
10 …library maintainers. See the companion document [“Transitioning to the PSA API”](../../psa-transit…
22 * The legacy API `mbedtls_xxx` is inherited from PolarSSL.
23 * The PSA API `psa_xxx` was introduced in Mbed TLS 2.17.
25 …legacy API to the PSA API. Mbed TLS 4.0 will be the first version where the PSA API is considered …
37 There is functionality that is tied to one API and is not directly available in the other API:
41 * The legacy API has features that are not present (yet) in PSA, notably parsing and formatting asy…
43 The legacy API can partially leverage PSA features via `MBEDTLS_USE_PSA_CRYPTO`, but this has limit…
61 * Creating a key with the legacy API and consuming it in the PSA API.
62 * Creating a key with the PSA API and consuming it in the legacy API.
[all …]
Dtesting.md40 - unit testing of the new API and directly-related APIs - for example:
50 - integration testing of the new API with each existing API which should
53 new API to be used, and one or more tests in `ssl-opt.sh` using that.
56 `x509_csr_check_opaque()` checking integration of the new API with the
73 - unit testing of the new API and directly-related APIs - for example:
82 - however if use of the new API in higher layers involves more logic that
83 use of the old API, specific integrations test may be required
Dpsa-limitations.md1 This document lists current limitations of the PSA Crypto API (as of version
28 they use the legacy API instead, in order to get restartable behaviour.
30 Things that are in the API but not implemented yet
33 PSA Crypto has an API for FFDH, but it's not implemented in Mbed TLS yet.
44 Currently, the PSA Crypto API can only perform FFDH with a limited set of
57 option, so the current PSA Crypto API is a good match for that. (Not
64 non-trivial API design problem, but most importantly seems backwards, as
72 easy to support in terms of API/protocol, as the server picks the
104 Both the existing `mbedtls_` API and the PSA API support only MGF1 as the
109 ### API comparison
[all …]
Dstrategy.md12 G4. Have a clean, unified API for Crypto (retire the legacy API).
124 These abstraction layers typically provide, in addition to the API for crypto
140 crypto API.
251 dispatch to PSA, but not the low-level legacy API, for all operations.
254 2. Have users of these algorithms not depend on the legacy API for information
284 ciphers. For example,`ctr_drbg.c` calls the legacy API `mbedtls_aes`.
304 The most satisfying situation here is when we can just use the PSA Crypto API
307 (such as `mbedtls_md_type_t`) in their API and can't assume PSA to be
323 API, or for `MBEDTLS_MD_C && MBEDTLS_SHA256_C` if using the `mbedtls_md` API.
328 available via the legacy API(s) is it using (MD and/or low-level).
[all …]
Dmd-cipher-dispatch.md88 The option `MBEDTLS_USE_PSA_CRYPTO` causes parts of the library to call the PSA API instead of lega…
118 * ECDSA (HMAC\_DRBG; `md.h` exposed through API)
119 * ECJPAKE (hashes via MD-light; `md.h` exposed through API)
121 * HKDF (HMAC via `md.h`; `md.h` exposed through API)
122 * HMAC\_DRBG (hashes and HMAC via `md.h`; `md.h` exposed through API)
124 * PKCS5 (HMAC via `md.h`; `md.h` exposed through API)
126 * RSA (hash via MD-light for PSS and OAEP; `md.h` exposed through API)
145 * Note: `cipher.h` exposed through API.
154 * Currently using low-level non-generic API (`aes.h`).
180 * Note: `cipher.h` exposed through API.
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dpsa-crypto-implementation-structure.md1 PSA Cryptography API implementation and PSA driver interface
6API specification](https://armmbed.github.io/mbed-crypto/psa/#application-programming-interface) d…
8 This document describes the high level organization of the Mbed TLS PSA Cryptography API implementa…
10 ## High level organization of the Mbed TLS PSA Cryptography API implementation
11 In one sentence, the Mbed TLS PSA Cryptography API implementation is made of a core and PSA drivers…
20 ## The Mbed TLS PSA Cryptography API implementation core
22 The core implements all the APIs as defined in the PSA Cryptography API specification but does not …
26 * checking PSA API arguments and translating them into valid arguments for the necessary calls to t…
29 The sketch of an Mbed TLS PSA cryptographic API implementation is thus:
50 …C and those that are only capable of computing a MAC, the psa_mac_verify() API could call first ps…
[all …]
/openthread-latest/third_party/mbedtls/repo/
DBRANCHES.md10 prepared. It has API changes that make it incompatible with Mbed TLS 3.x,
22 API compatibility in the `main` branch across minor version changes (e.g.
23 the API of 3.(x+1) is backward compatible with 3.x). We only break API
34 We maintain API compatibility in released versions of Mbed TLS. If you have
43 result in an incompatible API or ABI, although features will generally not
48 Note that new releases of Mbed TLS may extend the API. Here are some
50 not considered API compatibility breaks:
63 There are rare exceptions where we break API compatibility: code that was
91 compatibility (same definition as API except with re-linking instead of
DCONTRIBUTING.md33 …, no modifications to their own code should be necessary. To achieve this, API compatibility is ma…
35API, even on the main development branch where new features are added, need to be justifiable by e…
37 … the definition of functions in the public interface which will change the API. Instead the interf…
39 …precated functions from the library which will be a breaking change in the API, but such changes w…
43API extensions which may introduce issues or change the code size or RAM usage, which can be signi…
47 1. Any change to the library which changes the API or ABI cannot be backported.
48 …bug fix introduces a change to the API such as a new function, the fix should be reworked to avoid…
DSUPPORT.md6 - API documentation, see the [Documentation section of the
DREADME.md6 Mbed TLS includes a reference implementation of the [PSA Cryptography API](#psa-cryptography-api). …
22 Documentation for the PSA Cryptography API is available [on GitHub](https://arm-software.github.io/…
274 PSA cryptography API
277 ### PSA API argument
281 The [PSA cryptography API](https://arm-software.github.io/psa-api/crypto/) provides access to a set…
283 The design goals of the PSA cryptography API include:
285 * The API distinguishes caller memory from internal memory, which allows the library to be implemen…
291 Arm welcomes feedback on the design of the API. If you think something could be improved, please op…
295 Mbed TLS includes a reference implementation of the PSA Cryptography API.
302 …preserve backward compatibility for application code (using the PSA Crypto API), but the code of t…
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dpsa_hash_demo.sh10 compute a SHA-256 hash of a test string using the one-shot API call
11 and also using the multi-part operation API.
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_chacha20.function27 * Test the integrated API
36 * Test the streaming API
51 * Test the streaming API again, piecewise
Dtest_suite_poly1305.function20 * Test the integrated API
29 * Test the streaming API
43 * Test the streaming API again, piecewise
Dtest_suite_timing.function5 * this suite only performs very basic sanity checks of the timing API.
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/
Ddriver-interface-test-strategy.md21 …ver's methods. All calls to a driver function are triggered by a call to a PSA crypto API function.
27 Many SE driver interface unit tests could be covered by running the existing API tests with a key i…
39 For each API function that can lead to a driver call (more precisely, for each driver method call s…
41 …ey in a secure element that checks that the driver method is called. A few API functions involve m…
52 For each API function that can lead to a driver call (more precisely, for each driver method call s…
55 * If the API function can take parameters that are invalid and must not reach the driver, call the
60 For each API function that leads to a driver call, call it with parameters that cause a driver to b…
/openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/p256-m/
DREADME.md37 **API design:**
39 - The API is minimal: only 4 public functions.
41 - The API uses arrays of octets for all input and output.
50 public API), one for open-box testing (for unit-testing internal functions,
322 - The public API
334 This layer's API consists of:
353 This layer's API consists of:
371 This layer's API consists of:
391 This layer's API consists of:
397 **Public API.**
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-thread-safety/
Dpsa-thread-safety.md3 Currently, PSA Crypto API calls in Mbed TLS releases are not thread-safe.
5 As of Mbed TLS 3.6, an MVP for making the [PSA Crypto key management API](https://arm-software.gith…
15 - Some multithreaded testing of the key management API has been added, this is outlined in [Testing…
19 The other functions in the PSA Crypto API are planned to be made thread-safe in future, but current…
33 …n make calls to the Crypto API in separate threads. In such an environment, concurrent calls are t…
45 We do not test or support calling other PSA API functions concurrently.
47 There is no busy-waiting in our implementation, every API call completes in a finite number of step…
90 Much like all other API calls, `psa_destroy_key` does not block indefinitely, and when `psa_destroy…
119 …oon as one thread returns from creating/loading a key via a key management API call the key can be…
263 Our tests currently only run on pthread, we hope to expand this in the future (our API already allo…
[all …]

12