Home
last modified time | relevance | path

Searched refs:mbedtls_pk_parse_key (Results 1 – 23 of 23) sorted by relevance

/third_party/mbedtls/programs/fuzz/
Dfuzz_privkey.c40 ret = mbedtls_pk_parse_key(&pk, Data, Size, NULL, 0, in LLVMFuzzerTestOneInput()
Dfuzz_dtlsserver.c72 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
Dfuzz_server.c80 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c774 ret = mbedtls_pk_parse_key(pkey_pm->pkey, load_buf, (unsigned int)len, NULL, 0, in pkey_pm_load()
777 ret = mbedtls_pk_parse_key(pkey_pm->pkey, load_buf, (unsigned int)len + 1, NULL, 0, in pkey_pm_load()
781 ret = mbedtls_pk_parse_key(pkey_pm->pkey, load_buf, (unsigned int)len + 1, NULL, 0); in pkey_pm_load()
/third_party/mbedtls/tests/suites/
Dtest_suite_pkparse.function128 TEST_ASSERT(mbedtls_pk_parse_key(&pk, buf->x, buf->len, NULL, 0,
Dtest_suite_pk.function421 TEST_ASSERT(mbedtls_pk_parse_key(&pk, NULL, 0, NULL, 1,
438 TEST_ASSERT(mbedtls_pk_parse_key(&pk,
/third_party/mbedtls/programs/ssl/
Dssl_server.c151 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
Dssl_fork_server.c150 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
Ddtls_server.c166 ret = mbedtls_pk_parse_key(&pkey, in main()
Dssl_pthread_server.c376 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
Dssl_mail_client.c526 ret = mbedtls_pk_parse_key(&pkey, in main()
Dssl_server2.c2656 if ((ret = mbedtls_pk_parse_key(&pkey, in main()
2674 if ((ret = mbedtls_pk_parse_key(&pkey2, in main()
Dssl_client2.c1731 { ret = mbedtls_pk_parse_key(&pkey, in main()
/third_party/mbedtls/library/
Dpkparse.c124 ret = mbedtls_pk_parse_key(ctx, buf, n, NULL, 0, f_rng, p_rng); in mbedtls_pk_parse_keyfile()
126 ret = mbedtls_pk_parse_key(ctx, buf, n, in mbedtls_pk_parse_keyfile()
1211 int mbedtls_pk_parse_key(mbedtls_pk_context *pk, in mbedtls_pk_parse_key() function
Dpsa_crypto_rsa.c83 mbedtls_pk_parse_key(&ctx, data, data_length, NULL, 0, in mbedtls_psa_rsa_load_representation()
/third_party/libcoap/src/
Dcoap_mbedtls.c615 ret = mbedtls_pk_parse_key(private_key, buffer, length, NULL, 0); in setup_pki_credentials()
617 ret = mbedtls_pk_parse_key(private_key, buffer, length, in setup_pki_credentials()
623 ret = mbedtls_pk_parse_key(private_key, in setup_pki_credentials()
627 ret = mbedtls_pk_parse_key(private_key, in setup_pki_credentials()
701 ret = mbedtls_pk_parse_key(private_key, in setup_pki_credentials()
705 ret = mbedtls_pk_parse_key(private_key, in setup_pki_credentials()
/third_party/mbedtls/include/mbedtls/
Dpk.h830 int mbedtls_pk_parse_key(mbedtls_pk_context *ctx,
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c654 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
667 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
682 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
695 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
/third_party/curl/lib/vtls/
Dmbedtls.c508 ret = mbedtls_pk_parse_key(&backend->pk, key_data, ssl_key_blob->len, in mbed_connect_step1()
514 ret = mbedtls_pk_parse_key(&backend->pk, key_data, ssl_key_blob->len, in mbed_connect_step1()
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c828 …ret = mbedtls_pk_parse_key(pkey, (const unsigned char *) privkey, privkey_len, privkey_pass, privk… in altcp_tls_config_server_add_privkey_cert()
931 ret = mbedtls_pk_parse_key(conf->pkey, privkey, privkey_len, privkey_pass, privkey_pass_len); in altcp_tls_create_config_client_2wayauth()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c467 n = mbedtls_pk_parse_key(&pk, pem, len, (uint8_t *)passphrase, (unsigned int)n in lws_x509_jwk_privkey_pem()
/third_party/mbedtls/
DChangeLog686 * In mbedtls_pk_parse_key(), if no password is provided, don't allocate a
1007 mbedtls_pk_parse_key(), mbedtls_pk_parse_keyfile().
1774 mbedtls_pk_parse_key() / mbedtls_pk_parse_keyfile() (when loading a
1950 * Fix a bug in mbedtls_pk_parse_key() that would cause it to accept some
1953 * Fix a bug in mbedtls_pk_parse_key() that would cause it to
2732 mbedtls_pk_parse_key(). Found by Martin Boye Petersen and fixed by Dawid
3676 mbedtls_pk_parse_key(file)() when the password is > 129 bytes.
3872 * Functions mbedtls_x509_xxx_parse(), mbedtls_pk_parse_key(),
/third_party/mbedtls/docs/
D3.0-migration-guide.md500 `mbedtls_pk_check_pair()`, `mbedtls_pk_parse_key()`, and