Home
last modified time | relevance | path

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

12

/mbedtls-development/docs/proposed/
A 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:
/mbedtls-development/docs/architecture/
A 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:
A Dalternative-implementations.md28md), the [Mbed TLS PSA driver developer guide](docs/proposed/psa-driver-developer-guide.md) and th…
/mbedtls-development/library/
A 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()
40 ret = mbedtls_hkdf_expand( md, prk, mbedtls_md_get_size( md ), in mbedtls_hkdf()
49 int mbedtls_hkdf_extract( const mbedtls_md_info_t *md, in mbedtls_hkdf_extract() argument
65 hash_len = mbedtls_md_get_size( md ); in mbedtls_hkdf_extract()
76 return( mbedtls_md_hmac( md, salt, salt_len, ikm, ikm_len, prk ) ); in mbedtls_hkdf_extract()
79 int mbedtls_hkdf_expand( const mbedtls_md_info_t *md, const unsigned char *prk, in mbedtls_hkdf_expand() argument
97 hash_len = mbedtls_md_get_size( md ); in mbedtls_hkdf_expand()
128 if( ( ret = mbedtls_md_setup( &ctx, md, 1 ) ) != 0 ) in mbedtls_hkdf_expand()
A Dssl_tls13_keys.c143 const mbedtls_md_info_t *md; in mbedtls_ssl_tls1_3_hkdf_expand_label() local
167 md = mbedtls_md_info_from_type( hash_alg ); in mbedtls_ssl_tls1_3_hkdf_expand_label()
168 if( md == NULL ) in mbedtls_ssl_tls1_3_hkdf_expand_label()
177 return( mbedtls_hkdf_expand( md, in mbedtls_ssl_tls1_3_hkdf_expand_label()
257 const mbedtls_md_info_t *md; in mbedtls_ssl_tls1_3_derive_secret() local
259 if( md == NULL ) in mbedtls_ssl_tls1_3_derive_secret()
267 clen = mbedtls_md_get_size( md ); in mbedtls_ssl_tls1_3_derive_secret()
301 const mbedtls_md_info_t *md; in mbedtls_ssl_tls1_3_evolve_secret() local
303 if( md == NULL ) in mbedtls_ssl_tls1_3_evolve_secret()
306 hlen = mbedtls_md_get_size( md ); in mbedtls_ssl_tls1_3_evolve_secret()
[all …]
A Dssl_misc.h1265 unsigned char mbedtls_ssl_hash_from_md_alg( int md );
1266 int mbedtls_ssl_set_calc_verify_md( mbedtls_ssl_context *ssl, int md );
1274 mbedtls_md_type_t md );
1711 const mbedtls_md_type_t md,
A Dssl_cli.c212 const int *md; in ssl_write_signature_algorithms_ext() local
229 for( md = ssl->conf->sig_hashes; *md != MBEDTLS_MD_NONE; md++ ) in ssl_write_signature_algorithms_ext()
256 for( md = ssl->conf->sig_hashes; *md != MBEDTLS_MD_NONE; md++ ) in ssl_write_signature_algorithms_ext()
259 sig_alg_list[sig_alg_len++] = mbedtls_ssl_hash_from_md_alg( *md ); in ssl_write_signature_algorithms_ext()
263 sig_alg_list[sig_alg_len++] = mbedtls_ssl_hash_from_md_alg( *md ); in ssl_write_signature_algorithms_ext()
A Dssl_tls.c6738 unsigned char mbedtls_ssl_hash_from_md_alg( int md ) in mbedtls_ssl_hash_from_md_alg() argument
6740 switch( md ) in mbedtls_ssl_hash_from_md_alg()
6800 mbedtls_md_type_t md ) in mbedtls_ssl_check_sig_hash() argument
6808 if( *cur == (int) md ) in mbedtls_ssl_check_sig_hash()
6889 int mbedtls_ssl_set_calc_verify_md( mbedtls_ssl_context *ssl, int md ) in mbedtls_ssl_set_calc_verify_md() argument
6895 switch( md ) in mbedtls_ssl_set_calc_verify_md()
6914 (void) md; in mbedtls_ssl_set_calc_verify_md()
7047 const mbedtls_md_type_t md, in mbedtls_ssl_get_handshake_transcript() argument
7053 ((void) md); in mbedtls_ssl_get_handshake_transcript()
7122 const mbedtls_md_type_t md, in mbedtls_ssl_get_handshake_transcript() argument
[all …]
A DMakefile101 md.o \
A DCMakeLists.txt42 md.c
/mbedtls-development/tests/suites/
A 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,
43 const mbedtls_md_info_t *md = mbedtls_md_info_from_type( md_alg );
44 TEST_ASSERT( md != NULL );
46 output_prk_len = mbedtls_md_get_size( md );
53 ret = mbedtls_hkdf_extract( md, salt, salt_len, ikm, ikm_len, output_prk );
78 const mbedtls_md_info_t *md = mbedtls_md_info_from_type( md_alg );
79 TEST_ASSERT( md != NULL );
86 TEST_ASSERT( prk_len == mbedtls_md_get_size( md ) );
[all …]
A Dtest_suite_md.function2 #include "mbedtls/md.h"
101 TEST_ASSERT( mbedtls_md_info_from_string( "no such md" ) == NULL );
A Dtest_suite_psa_crypto_persistent_key.function15 #include "mbedtls/md.h"
/mbedtls-development/
A 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…
A DSECURITY.md18 Only the maintained branches, as listed in [`BRANCHES.md`](BRANCHES.md),
A DCONTRIBUTING.md23 … The contribution licensing is described in the [License section of the README](README.md#License).
28 …lopment branch and in LTS (Long Term Support) branches, as described in [BRANCHES.md](BRANCHES.md).
53 of BRANCHES.md](BRANCHES.md#current-branches).
86 1. A [ChangeLog](https://github.com/ARMmbed/mbedtls/blob/development/ChangeLog.d/00README.md) entry…
A DSUPPORT.md6 README](README.md#License);
A DREADME.md28 For other sources of documentation, see the [SUPPORT](SUPPORT.md) document.
227 …ded example programs for a lot of different features and uses in [`programs/`](programs/README.md).
301 … from the community. Please see the [contributing guidelines](CONTRIBUTING.md) for details on how …
306 …ed-tls-security@lists.trustedfirmware.org>. For more information, see [`SECURITY.md`](SECURITY.md).
308 * Please see [`SUPPORT.md`](SUPPORT.md) for other channels for discussion and support about Mbed TL…
A DBRANCHES.md65 CONTRIBUTING](CONTRIBUTING.md#cackwords-compatibility).
/mbedtls-development/include/mbedtls/
A 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-development/tests/data_files/
A DMakefile197 …LS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Client 2" md=SHA1
238 …_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Test Client 2" md=SHA256
869 …LS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1" md=SHA1
873 …TLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1" md=MD5
877 …_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1" md=SHA224
881 …_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1" md=SHA256
885 …_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1" md=SHA384
889 …_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1" md=SHA512
905 …ut_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1" md=SHA1 force_key_usage…
917 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=localhost" md=SHA2…
[all …]
/mbedtls-development/programs/x509/
A Dcert_write.c177 mbedtls_md_type_t md; /* Hash used for signing */ member
274 opt.md = DFL_DIGEST; in main()
360 opt.md = mbedtls_md_get_type( md_info ); in main()
648 mbedtls_x509write_crt_set_md_alg( &crt, opt.md ); in main()
/mbedtls-development/.github/
A Dpull_request_template.md2 …ccepted until the PR follows the [contributing guidelines](../CONTRIBUTING.md). In particular, eac…
/mbedtls-development/scripts/data_files/
A Dquery_config.fmt60 #include "mbedtls/md.h"
/mbedtls-development/docs/architecture/testing/
A 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…

Completed in 49 milliseconds

12