Home
last modified time | relevance | path

Searched refs:md (Results 1 – 25 of 38) sorted by relevance

12

/mbedtls-3.5.0/docs/proposed/
DMakefile6 psa-conditional-inclusion-c.md \
7 psa-driver-developer-guide.md \
8 psa-driver-integration-guide.md \
9 psa-driver-interface.md \
12 html: $(all_markdown:.md=.html)
13 pdf: $(all_markdown:.md=.pdf)
17 .SUFFIXES: .md .html .pdf
19 .md.html:
21 .md.pdf:
Dpsa-driver-wrappers-codegen-migration-guide.md7 …r multiple minor revs of version 1.0, after which this will be merged into psa-driver-interface.md.
37 Please refer to psa-driver-interface.md for information on how a driver schema can be written.
/mbedtls-3.5.0/docs/architecture/
DMakefile6 mbed-crypto-storage-specification.md \
7 testing/driver-interface-test-strategy.md \
8 testing/invasive-testing.md \
9 testing/test-framework.md \
12 html: $(all_markdown:.md=.html)
13 pdf: $(all_markdown:.md=.pdf)
17 .SUFFIXES: .md .html .pdf
19 .md.html:
21 .md.pdf:
Dalternative-implementations.md28md), the [Mbed TLS PSA driver developer guide](docs/proposed/psa-driver-developer-guide.md) and th…
/mbedtls-3.5.0/library/
Dhkdf.c28 int mbedtls_hkdf(const mbedtls_md_info_t *md, const unsigned char *salt, in mbedtls_hkdf() argument
36 ret = mbedtls_hkdf_extract(md, salt, salt_len, ikm, ikm_len, prk); in mbedtls_hkdf()
39 ret = mbedtls_hkdf_expand(md, prk, mbedtls_md_get_size(md), in mbedtls_hkdf()
48 int mbedtls_hkdf_extract(const mbedtls_md_info_t *md, in mbedtls_hkdf_extract() argument
62 hash_len = mbedtls_md_get_size(md); in mbedtls_hkdf_extract()
72 return mbedtls_md_hmac(md, salt, salt_len, ikm, ikm_len, prk); in mbedtls_hkdf_extract()
75 int mbedtls_hkdf_expand(const mbedtls_md_info_t *md, const unsigned char *prk, in mbedtls_hkdf_expand() argument
92 hash_len = mbedtls_md_get_size(md); in mbedtls_hkdf_expand()
119 if ((ret = mbedtls_md_setup(&ctx, md, 1)) != 0) { in mbedtls_hkdf_expand()
Dssl_tls.c1197 const int *md; in ssl_handshake_init() local
1206 for (md = sig_hashes; *md != MBEDTLS_MD_NONE; md++) { in ssl_handshake_init()
1207 if (mbedtls_ssl_hash_from_md_alg(*md) == MBEDTLS_SSL_HASH_NONE) { in ssl_handshake_init()
1233 for (md = sig_hashes; *md != MBEDTLS_MD_NONE; md++) { in ssl_handshake_init()
1234 unsigned char hash = mbedtls_ssl_hash_from_md_alg(*md); in ssl_handshake_init()
5516 unsigned char mbedtls_ssl_hash_from_md_alg(int md) in mbedtls_ssl_hash_from_md_alg() argument
5518 switch (md) { in mbedtls_ssl_hash_from_md_alg()
5763 const mbedtls_md_type_t md, in mbedtls_ssl_get_handshake_transcript() argument
5774 switch (md) { in mbedtls_ssl_get_handshake_transcript()
5887 const mbedtls_md_type_t md, in mbedtls_ssl_get_handshake_transcript() argument
[all …]
Dssl_misc.h1553 unsigned char mbedtls_ssl_hash_from_md_alg(int md);
1557 int mbedtls_ssl_set_calc_verify_md(mbedtls_ssl_context *ssl, int md);
2131 const mbedtls_md_type_t md,
DMakefile115 md.o \
/mbedtls-3.5.0/tests/suites/
Dtest_suite_hkdf.function18 const mbedtls_md_info_t *md = mbedtls_md_info_from_type(md_alg);
19 TEST_ASSERT(md != NULL);
23 ret = mbedtls_hkdf(md, salt->x, salt->len, ikm->x, ikm->len,
42 const mbedtls_md_info_t *md = mbedtls_md_info_from_type(md_alg);
43 TEST_ASSERT(md != NULL);
45 output_prk_len = mbedtls_md_get_size(md);
48 ret = mbedtls_hkdf_extract(md, salt->x, salt->len,
69 const mbedtls_md_info_t *md = mbedtls_md_info_from_type(md_alg);
70 TEST_ASSERT(md != NULL);
74 TEST_ASSERT(prk->len == mbedtls_md_get_size(md));
[all …]
Dtest_suite_md.function2 #include "mbedtls/md.h"
113 TEST_ASSERT(mbedtls_md_info_from_string("no such md") == NULL);
Dtest_suite_constant_time_hmac.function5 #include <mbedtls/md.h>
Dtest_suite_psa_crypto_persistent_key.function20 #include "mbedtls/md.h"
/mbedtls-3.5.0/
DBUGS.md10 [maintained branch](BRANCHES.md): `master`, `development`,
16 [`SECURITY.md`](SECURITY.md). If not, …
20 how to do something with Mbed TLS, please see [`SUPPORT.md`](SUPPORT.md) for available documentatio…
DCONTRIBUTING.md33 …lopment branch and in LTS (Long Term Support) branches, as described in [BRANCHES.md](BRANCHES.md).
54 of BRANCHES.md](BRANCHES.md#current-branches).
82 1. A [ChangeLog](https://github.com/Mbed-TLS/mbedtls/blob/development/ChangeLog.d/00README.md) entr…
87 …possible. For licensing details, please see the [License section of the README](README.md#License).
DREADME.md30 For other sources of documentation, see the [SUPPORT](SUPPORT.md) document.
233 …ded example programs for a lot of different features and uses in [`programs/`](programs/README.md).
249 …astructure repository](https://github.com/Mbed-TLS/mbedtls-test/blob/master/README.md#quick-start).
294 …yptography for most operations regardless of this option. See `docs/use-psa-crypto.md` for details.
313 … from the community. Please see the [contributing guidelines](CONTRIBUTING.md) for details on how …
318 …ed-tls-security@lists.trustedfirmware.org>. For more information, see [`SECURITY.md`](SECURITY.md).
320 * Please see [`SUPPORT.md`](SUPPORT.md) for other channels for discussion and support about Mbed TL…
DSUPPORT.md7 README](README.md#documentation);
DSECURITY.md18 Only the maintained branches, as listed in [`BRANCHES.md`](BRANCHES.md),
134 Guide](docs/architecture/alternative-implementations.md) for more information.
/mbedtls-3.5.0/tests/data_files/
DMakefile45 …_file_rsa) password=$(test_ca_pwd_rsa) subject_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" md=SHA256
49 …_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 outpu…
61 …_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 outpu…
69 …_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA256 version=3 out…
165 …=$@ filename=$(test_ca_key_file_ec) subject_name="C=NL,O=PolarSSL,CN=Polarssl Test EC CA" md=SHA256
169 …=$(test_ca_key_file_ec) not_before=20190210144400 not_after=20290210144400 md=SHA256 version=3 out…
205 …@ filename=$(test_ca_key_file_ec) subject_name="C=NL, O=PolarSSL, CN=Polarssl Test EC CA" md=SHA256
234 …sa_pkcs1_1024_clear.pem not_before=20190210144406 not_after=20290210144406 md=SHA1 version=3 outpu…
237 …rsa) -key $(test_ca_pwd_rsa) -config $(test_ca_config_file) -name test_ca -md sha256 -crldays 3653…
240 …rsa) -key $(test_ca_pwd_rsa) -config $(test_ca_config_file) -name test_ca -md sha256 -crldays 3653…
[all …]
/mbedtls-3.5.0/include/mbedtls/
Dhkdf.h68 int mbedtls_hkdf(const mbedtls_md_info_t *md, const unsigned char *salt,
97 int mbedtls_hkdf_extract(const mbedtls_md_info_t *md,
128 int mbedtls_hkdf_expand(const mbedtls_md_info_t *md, const unsigned char *prk,
/mbedtls-3.5.0/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md60 …ncies, for example the duplication between the implementations of HMAC in `md.c` and in `psa_crypt…
120 * ECDSA (HMAC\_DRBG; `md.h` exposed through API)
121 * ECJPAKE (hashes via md; `md.h` exposed through API)
123 * md (hashes and HMAC)
125 * HMAC\_DRBG (hashes and HMAC via `md.h`; `md.h` exposed through API)
127 * PKCS12 (cipher, generically, selected from ASN.1 or function parameters; hashes via md; `cipher.h…
128 * PKCS5 (cipher, generically, selected from ASN.1; HMAC via `md.h`; `md.h` exposed through API)
129 * RSA (hash via md for PSS and OAEP; `md.h` exposed through API)
190 …Pass `MBEDTLS_MD_SHA256` and `md` will dispatch to the legacy code, pass a new constant `MBEDTLS_M…
228 …ors available to legacy callers that call any legacy hash interface, e.g. `md.h` or `shaX.h`. Ther…
[all …]
/mbedtls-3.5.0/programs/x509/
Dcert_write.c202 mbedtls_md_type_t md; /* Hash used for signing */ member
358 opt.md = DFL_DIGEST; in main()
436 opt.md = mbedtls_md_get_type(md_info); in main()
737 mbedtls_x509write_crt_set_md_alg(&crt, opt.md); in main()
/mbedtls-3.5.0/.github/
Dpull_request_template.md17 …g guidelines](https://github.com/Mbed-TLS/mbedtls/blob/development/CONTRIBUTING.md), especially the
/mbedtls-3.5.0/scripts/data_files/
Dquery_config.fmt59 #include "mbedtls/md.h"
/mbedtls-3.5.0/docs/architecture/testing/
Ddriver-interface-test-strategy.md13 The [unified driver interface](../../proposed/psa-driver-interface.md) supports both transparent dr…
119 The [unified driver interface](../../proposed/psa-driver-interface.md) defines interfaces for accel…
/mbedtls-3.5.0/tests/docker/bionic/
DDockerfile9 # https://github.com/Mbed-TLS/mbedtls-test/blob/master/README.md#quick-start

12