/mbedtls-development/docs/proposed/ |
A D | Makefile | 6 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 D | Makefile | 6 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 D | alternative-implementations.md | 28 …md), the [Mbed TLS PSA driver developer guide](docs/proposed/psa-driver-developer-guide.md) and th…
|
/mbedtls-development/library/ |
A D | hkdf.c | 28 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 D | ssl_tls13_keys.c | 143 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 D | ssl_misc.h | 1265 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 D | ssl_cli.c | 212 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 D | ssl_tls.c | 6738 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 D | Makefile | 101 md.o \
|
A D | CMakeLists.txt | 42 md.c
|
/mbedtls-development/tests/suites/ |
A D | test_suite_hkdf.function | 18 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 D | test_suite_md.function | 2 #include "mbedtls/md.h" 101 TEST_ASSERT( mbedtls_md_info_from_string( "no such md" ) == NULL );
|
A D | test_suite_psa_crypto_persistent_key.function | 15 #include "mbedtls/md.h"
|
/mbedtls-development/ |
A D | BUGS.md | 10 [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 D | SECURITY.md | 18 Only the maintained branches, as listed in [`BRANCHES.md`](BRANCHES.md),
|
A D | CONTRIBUTING.md | 23 … 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 D | SUPPORT.md | 6 README](README.md#License);
|
A D | README.md | 28 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 D | BRANCHES.md | 65 CONTRIBUTING](CONTRIBUTING.md#cackwords-compatibility).
|
/mbedtls-development/include/mbedtls/ |
A D | hkdf.h | 68 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 D | Makefile | 197 …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 D | cert_write.c | 177 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 D | pull_request_template.md | 2 …ccepted until the PR follows the [contributing guidelines](../CONTRIBUTING.md). In particular, eac…
|
/mbedtls-development/scripts/data_files/ |
A D | query_config.fmt | 60 #include "mbedtls/md.h"
|
/mbedtls-development/docs/architecture/testing/ |
A D | driver-interface-test-strategy.md | 13 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…
|