Home
last modified time | relevance | path

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

12

/mbedtls-3.5.0/library/
Dmemory_buffer_alloc.c213 memory_header *new, *cur = heap.first_free; in buffer_alloc_calloc() local
309 new = (memory_header *) p; in buffer_alloc_calloc()
311 new->size = cur->size - len - sizeof(memory_header); in buffer_alloc_calloc()
312 new->alloc = 0; in buffer_alloc_calloc()
313 new->prev = cur; in buffer_alloc_calloc()
314 new->next = cur->next; in buffer_alloc_calloc()
316 new->trace = NULL; in buffer_alloc_calloc()
317 new->trace_count = 0; in buffer_alloc_calloc()
319 new->magic1 = MAGIC1; in buffer_alloc_calloc()
320 new->magic2 = MAGIC2; in buffer_alloc_calloc()
[all …]
/mbedtls-3.5.0/docs/architecture/psa-migration/
Doutcome-analysis.sh97 new="outcome-$2.csv"
104 sed -n "$sed_cmd" "$new" > skipped-new
106 nb_new=$(wc -l <skipped-new)
111 if diff skipped-ref skipped-new | grep '^> '; then
116 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.5.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.5.0/programs/ssl/
Dssl_server2.c793 sni_entry *cur = NULL, *new = NULL; in sni_parse() local
807 if ((new = mbedtls_calloc(1, sizeof(sni_entry))) == NULL) { in sni_parse()
812 GET_ITEM(new->name); in sni_parse()
821 if ((new->cert = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL || in sni_parse()
822 (new->key = mbedtls_calloc(1, sizeof(mbedtls_pk_context))) == NULL) { in sni_parse()
826 mbedtls_x509_crt_init(new->cert); in sni_parse()
827 mbedtls_pk_init(new->key); in sni_parse()
829 if (mbedtls_x509_crt_parse_file(new->cert, crt_file) != 0 || in sni_parse()
830 mbedtls_pk_parse_keyfile(new->key, key_file, "", rng_get, &rng) != 0) { in sni_parse()
835 if ((new->ca = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL) { in sni_parse()
[all …]
/mbedtls-3.5.0/
DCONTRIBUTING.md35 …main development branch where new features are added, need to be justifiable by either being a sig…
37 …different prototype, or different documented behavior), create a new function with a new name with…
48 … to that LTS branch. If a bug fix introduces a change to the API such as a new function, the fix s…
49 1. If a contribution is a new feature or enhancement, no backporting is required. Exceptions to thi…
87 All new files should include the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) standard l…
89 …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.
DChangeLog71 * Add new API mbedtls_ssl_cache_remove for cache entry removal by
75 64-bit Arm. A new configuration option, MBEDTLS_AESCE_C, can
92 ECJPAKE key exchange, using the new API function
199 * The C code follows a new coding style. This is transparent for users but
289 corresponding new public API call has been added in the library,
297 * The new functions mbedtls_asn1_free_named_data_list() and
498 feature requirements in the file named by the new macro
700 * You can configure groups for a TLS key exchange with the new function
730 value is almost always a bug. Enable the new configuration option
740 * Add new API mbedtls_ct_memcmp for constant time buffer comparison.
[all …]
D.pylintrc57 # logging-too-many-args (Pylint supports new-style formatting if
DREADME.md256 …[Porting Mbed TLS to a new environment or OS](https://mbed-tls.readthedocs.io/en/latest/kb/how-to/…
319 … Mbed TLS, please [file an issue on GitHub](https://github.com/Mbed-TLS/mbedtls/issues/new/choose).
/mbedtls-3.5.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
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.5.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.5.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…
97 …$(OPENSSL) req -new -subj '/CN=etcd' -config $(test_ca_config_file) -key rsa_pkcs1_1024_clear.pem …
99 …$(OPENSSL) req -new -subj '/CN=etcd' -config $(test_ca_config_file) -key rsa_pkcs1_1024_clear.pem …
101 …$(OPENSSL) req -new -subj '/CN=etcd' -config $(test_ca_config_file) -key rsa_pkcs1_1024_clear.pem …
103 …$(OPENSSL) req -new -subj '/CN=etcd' -config $(test_ca_config_file) -key rsa_pkcs1_1024_clear.pem …
149 …$(OPENSSL) req -new -config $(test_ca_config_file) -key $(test_ca_key_file_rsa_alt) -subj "/C=NL/O…
227 …$(OPENSSL) req -new -config $(test_ca_config_file) -key test-int-ca.key -subj "/C=NL/O=PolarSSL/CN…
[all …]
/mbedtls-3.5.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.function135 /* Allocate a new buffer of exactly the length to parse each time.
248 /* Allocate a new buffer of exactly the length to parse each time.
760 mbedtls_asn1_named_data *new = NULL;
761 ASSERT_ALLOC(new, 1);
762 new->next = head;
763 head = new;
Dtest_suite_asn1write.function502 /* A new entry should have been created. */
529 unsigned char *new_val = (unsigned char *) "new value";
571 const unsigned char *new_val = (unsigned char *) "new value";
Dtest_suite_mps.function715 * then exceed bounds of new buffer; accumulator
739 * then exceed bounds of new buffer; accumulator
756 * then exceed bounds of new buffer; accumulator
778 * then exceed bounds of new buffer; accumulator
Dtest_suite_hmac_drbg.function94 /* The new few calls should not reseed */
/mbedtls-3.5.0/scripts/
Dci.requirements.txt5 # Use a known version of Pylint, because new versions tend to add warnings
/mbedtls-3.5.0/tests/docker/bionic/
DDockerfile93 # Build a new openssl binary for ARIA/CHACHA20 support
98 …&& ./config --prefix=/usr/local/openssl-1.1.1a -Wl,--enable-new-dtags,-rpath,'${LIBRPATH}' no-shar…
/mbedtls-3.5.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…
/mbedtls-3.5.0/tests/scripts/
Dall.sh262 --no-append-outcome Write a new outcome file and analyze it (default).
852 rm -f ChangeLog.new
853 scripts/assemble_changelog.py -o ChangeLog.new
854 if [ -e ChangeLog.new ]; then
857 diff -u ChangeLog ChangeLog.new || true
858 rm ChangeLog.new

12