Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 35) sorted by relevance

12

/mbedtls-3.4.0/library/
Dmemory_buffer_alloc.c226 memory_header *new, *cur = heap.first_free; in buffer_alloc_calloc() local
318 new = (memory_header *) p; in buffer_alloc_calloc()
320 new->size = cur->size - len - sizeof(memory_header); in buffer_alloc_calloc()
321 new->alloc = 0; in buffer_alloc_calloc()
322 new->prev = cur; in buffer_alloc_calloc()
323 new->next = cur->next; in buffer_alloc_calloc()
325 new->trace = NULL; in buffer_alloc_calloc()
326 new->trace_count = 0; in buffer_alloc_calloc()
328 new->magic1 = MAGIC1; in buffer_alloc_calloc()
329 new->magic2 = MAGIC2; in buffer_alloc_calloc()
[all …]
/mbedtls-3.4.0/docs/architecture/psa-migration/
Doutcome-analysis.sh93 new="outcome-$2.csv"
100 sed -n "$sed_cmd" "$new" > skipped-new
102 nb_new=$(wc -l <skipped-new)
106 if diff skipped-ref skipped-new | grep '^> '; then
111 rm skipped-ref skipped-new
Dtesting.md40 - unit testing of the new API and directly-related APIs - for example:
41 - in `test_suite_pk` we have a new test function `pk_psa_utils` that exercises
47 - in `test_suite_pkwrite` we should have a new test function checking that
50 - integration testing of the new API with each existing API which should
52 - in `programs/ssl/ssl_client2` a new option `key_opaque` that causes the
53 new API to be used, and one or more tests in `ssl-opt.sh` using that.
55 - in `test_suite_x509write` we have a new test function
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:
75 `test_vec_crypt` gained a new parameter `use_psa` and corresponding test
[all …]
Dstrategy.md17 needs to be changed to use new APIs. For a more detailed account of what's
18 implemented, see `docs/use-psa-crypto.md`, where new APIs are about (G2), and
33 (G1 above), as well as the availability of some new APIs (G2 above).
77 It will then require follow-up work to make use of the new PSA API in
132 - Provide a new definition (conditionally on `USE_PSA_CRYPTO`) of wrapper
170 - Provide a new way to set up a context that causes operations on that context
183 There are two variants of this strategy: one where using the new setup
211 - PK (for G2): opt-in use of PSA (new key type)
341 The strategy for steps 1 and 2 above will introduce new situations: code that
347 In order to cater to these new needs, new families of macros are introduced in
[all …]
/mbedtls-3.4.0/
DCONTRIBUTING.md35 …main development branch where new features are added, need to be justifiable by either being a sig…
37 …LS_DEPRECATED_WARNING` and `MBEDTLS_DEPRECATED_REMOVED`. Then, a new function with a new name but …
41 …eds to be changed, a new function needs to be created alongside it, with a new name, and whatever …
52 … to that LTS branch. If a bug fix introduces a change to the API such as a new function, the fix s…
53 1. If a contribution is a new feature or enhancement, no backporting is required. Exceptions to thi…
91 All new files should include the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) standard l…
93 …utions is retained by the original authors of the code. Where possible for new files, this should …
DBRANCHES.md11 as well as all the new features and bug fixes and security fixes.
42 Note that new releases of Mbed TLS may extend the API. Here are some
50 when a new error condition arises.
55 addition of a new feature.
DChangeLog78 corresponding new public API call has been added in the library,
86 * The new functions mbedtls_asn1_free_named_data_list() and
287 feature requirements in the file named by the new macro
489 * You can configure groups for a TLS key exchange with the new function
519 value is almost always a bug. Enable the new configuration option
529 * Add new API mbedtls_ct_memcmp for constant time buffer comparison.
602 that it produces when signing, as documented. Use the new algorithm
607 PSA_ALG_ECDSA_ANY. The new predicate macro PSA_ALG_IS_SIGN_HASH covers
651 * The mbedcrypto library includes a new source code module constant_time.c,
726 new function mbedtls_gcm_update_ad().
[all …]
D.pylintrc56 # logging-too-many-args (Pylint supports new-style formatting if
DREADME.md253 …[Porting Mbed TLS to a new environment or OS](https://mbed-tls.readthedocs.io/en/latest/kb/how-to/…
314 … Mbed TLS, please [file an issue on GitHub](https://github.com/Mbed-TLS/mbedtls/issues/new/choose).
/mbedtls-3.4.0/programs/ssl/
Dssl_server2.c777 sni_entry *cur = NULL, *new = NULL; in sni_parse() local
791 if( ( new = mbedtls_calloc( 1, sizeof( sni_entry ) ) ) == NULL ) in sni_parse()
797 GET_ITEM( new->name ); in sni_parse()
806 if( ( new->cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL || in sni_parse()
807 ( new->key = mbedtls_calloc( 1, sizeof( mbedtls_pk_context ) ) ) == NULL ) in sni_parse()
810 mbedtls_x509_crt_init( new->cert ); in sni_parse()
811 mbedtls_pk_init( new->key ); in sni_parse()
813 if( mbedtls_x509_crt_parse_file( new->cert, crt_file ) != 0 || in sni_parse()
814 mbedtls_pk_parse_keyfile( new->key, key_file, "", rng_get, &rng ) != 0 ) in sni_parse()
819 if( ( new->ca = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL ) in sni_parse()
[all …]
/mbedtls-3.4.0/tests/data_files/dir-maxpath/
Dlong.sh27 $OPENSSL req -new -x509 -subj "/C=UK/O=mbed TLS/CN=CA00" $OPT \
40 $OPENSSL req -new -subj "/C=UK/O=mbed TLS/CN=CA${ME}" \
/mbedtls-3.4.0/docs/
Duse-psa-crypto.md5 operations, and enables new APIs for using keys handled by PSA Crypto.
44 using the new API in order to get the benefits; it can then pass the
64 the new APIs to get the benefits.
68 There is a new API function `mbedtls_cipher_setup_psa()` to set up a context
Dgetting_started.md32 * [Deriving a new key from an existing key](#deriving-a-new-key-from-an-existing-key)
538 ### Deriving a new key from an existing key
540 Mbed Crypto provides a key derivation API that lets you derive new keys from
542 other keys and data, and functions to generate outputs, such as new keys or
559 **To derive a new AES-CTR 128-bit encryption key into a given key slot using HKDF
568 1. Set the key attributes desired for the new derived key. We'll set
574 At this point, the derived key slot holds a new 128-bit AES-CTR encryption key
D3.0-migration-guide.md66 … even if all the fields of a structure are public, future versions may add new fields. Also, as be…
72 …ement request against Mbed TLS](https://github.com/Mbed-TLS/mbedtls/issues/new?template=feature_re…
152 Please use the new names directly in your code; `scripts/rename.pl` (from any
238 * `mbedtls_gcm_starts()` now only sets the mode and the nonce (IV). Call the new function `mbedtls_…
248 * `mbedtls_gcm_starts()` now only sets the mode and the nonce (IV). The new function `mbedtls_gcm_u…
475 in order to match the new signature.
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:
744 The new single option `MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY` can be used
[all …]
/mbedtls-3.4.0/ChangeLog.d/
D00README.md13 * New features in the library, new sample programs, or new platform support.
78 consequences of the bug, not how the bug was fixed. For a new feature, explain
/mbedtls-3.4.0/tests/suites/
Dtest_suite_asn1write.data385 Store named data: new, val_len=0
388 Stored named data: new, val_len=0, val=NULL
391 Store named data: new, val_len=4
394 Store named data: new, val_len=4, val=NULL
Dtest_suite_psa_crypto_slot_management.data220 # Eviction from a key slot to be able to import a new persistent key.
221 Key slot eviction to import a new persistent key
224 # Eviction from a key slot to be able to import a new volatile key.
225 Key slot eviction to import a new volatile key
Dtest_suite_asn1parse.function134 /* Allocate a new buffer of exactly the length to parse each time.
256 /* Allocate a new buffer of exactly the length to parse each time.
781 mbedtls_asn1_named_data *new = NULL;
782 ASSERT_ALLOC( new, 1 );
783 new->next = head;
784 head = new;
Dtest_suite_asn1write.function516 /* A new entry should have been created. */
542 unsigned char *new_val = (unsigned char *) "new value";
584 const unsigned char *new_val = (unsigned char *) "new value";
Dtest_suite_mps.function701 * then exceed bounds of new buffer; accumulator
725 * then exceed bounds of new buffer; accumulator
742 * then exceed bounds of new buffer; accumulator
764 * then exceed bounds of new buffer; accumulator
Dtest_suite_hmac_drbg.function94 /* The new few calls should not reseed */
/mbedtls-3.4.0/tests/data_files/
DMakefile77 …$(OPENSSL) req -x509 -new -nodes -key $(test_ca_key_file_rsa) -passin "pass:$(test_ca_pwd_rsa)" -s…
81 …$(OPENSSL) req -x509 -new -nodes -key $(test_ca_key_file_rsa) -passin "pass:$(test_ca_pwd_rsa)" -s…
85 …$(OPENSSL) req -x509 -new -nodes -key $(test_ca_key_file_rsa) -passin "pass:$(test_ca_pwd_rsa)" -s…
91 …$(OPENSSL) req -new -subj "/C=NL/O=PolarSSL/CN=www.example.com" -set_serial 17 -config $(test_ca_c…
99 …$(OPENSSL) req -new -config $(test_ca_config_file) -key $(test_ca_key_file_rsa_alt) -subj "/C=NL/O…
177 …$(OPENSSL) req -new -config $(test_ca_config_file) -key test-int-ca.key -subj "/C=NL/O=PolarSSL/CN…
222 $(OPENSSL) req -new -key server7.key -subj "/C=NL/O=PolarSSL/CN=localhost" -out $@
268 …$(FAKETIME) -f -3653d $(OPENSSL) req -x509 -new -subj "/C=UK/O=mbed TLS/OU=testsuite/CN=localhost"…
273 …$(FAKETIME) '2015-09-01 14:08:43' $(OPENSSL) req -x509 -new -subj "/C=UK/O=mbed TLS/CN=mbed TLS Te…
277 …$(OPENSSL) req -x509 -new -subj "/C=UK/O=Mbed TLS/CN=Mbed TLS othername SAN" -set_serial 77 -confi…
[all …]
/mbedtls-3.4.0/scripts/
Dci.requirements.txt5 # Use a known version of Pylint, because new versions tend to add warnings
/mbedtls-3.4.0/tests/docker/bionic/
DDockerfile89 # Build a new openssl binary for ARIA/CHACHA20 support
94 …&& ./config --prefix=/usr/local/openssl-1.1.1a -Wl,--enable-new-dtags,-rpath,'${LIBRPATH}' no-shar…
/mbedtls-3.4.0/programs/
DREADME.md24 …riter.c): loads a PEM or DER public key or private key file and writes it to a new PEM or DER file.
83 …the library, and most applications require only a few features. To write a new application, we rec…

12