Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/openthread/src/core/crypto/
H A Dcrypto_platform.cpp536 VerifyOrExit(mbedtls_pk_parse_key(&pk, aKeyPair->mDerBytes, aKeyPair->mDerLength, nullptr, 0, in otPlatCryptoEcdsaGetPublicKey()
540 …VerifyOrExit(mbedtls_pk_parse_key(&pk, aKeyPair->mDerBytes, aKeyPair->mDerLength, nullptr, 0) == 0, in otPlatCryptoEcdsaGetPublicKey()
579 VerifyOrExit(mbedtls_pk_parse_key(&pk, aKeyPair->mDerBytes, aKeyPair->mDerLength, nullptr, 0, in otPlatCryptoEcdsaSign()
583 …VerifyOrExit(mbedtls_pk_parse_key(&pk, aKeyPair->mDerBytes, aKeyPair->mDerLength, nullptr, 0) == 0, in otPlatCryptoEcdsaSign()
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_pkparse.function149 TEST_ASSERT(mbedtls_pk_parse_key(&pk, buf->x, buf->len, NULL, 0,
191 TEST_EQUAL(mbedtls_pk_parse_key(&pk, input_key->x, input_key->len, NULL, 0,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_pkparse.function274 TEST_ASSERT(mbedtls_pk_parse_key(&pk, buf->x, buf->len, NULL, 0,
316 TEST_EQUAL(mbedtls_pk_parse_key(&pk, input_key->x, input_key->len, NULL, 0,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dpkparse.c973 int mbedtls_pk_parse_key(mbedtls_pk_context *pk, in mbedtls_pk_parse_key() function
1360 ret = mbedtls_pk_parse_key(ctx, buf, n, NULL, 0, f_rng, p_rng); in mbedtls_pk_parse_keyfile()
1362 ret = mbedtls_pk_parse_key(ctx, buf, n, in mbedtls_pk_parse_keyfile()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/fuzz/
H A Dfuzz_privkey.c45 ret = mbedtls_pk_parse_key(&pk, Data, Size, NULL, 0, in LLVMFuzzerTestOneInput()
H A Dfuzz_dtlsserver.c82 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
H A Dfuzz_server.c91 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
/aosp_15_r20/external/mbedtls/programs/fuzz/
H A Dfuzz_privkey.c47 ret = mbedtls_pk_parse_key(&pk, Data, Size, NULL, 0, in LLVMFuzzerTestOneInput()
H A Dfuzz_dtlsserver.c84 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
H A Dfuzz_server.c93 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
/aosp_15_r20/external/mbedtls/library/
H A Dpkparse.c127 ret = mbedtls_pk_parse_key(ctx, buf, n, NULL, 0, f_rng, p_rng); in mbedtls_pk_parse_keyfile()
129 ret = mbedtls_pk_parse_key(ctx, buf, n, in mbedtls_pk_parse_keyfile()
1529 int mbedtls_pk_parse_key(mbedtls_pk_context *pk, in mbedtls_pk_parse_key() function
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/wrapper/platform/
H A Dssl_pm.c765 ret = mbedtls_pk_parse_key(pkey_pm->pkey, load_buf, (unsigned int)len + 1, NULL, 0, in pkey_pm_load()
768 ret = mbedtls_pk_parse_key(pkey_pm->pkey, load_buf, (unsigned int)len + 1, NULL, 0); in pkey_pm_load()
/aosp_15_r20/external/openthread/src/cli/
H A Dcli_tcp.cpp165 …int rv = mbedtls_pk_parse_key(&mPKey, reinterpret_cast<const unsigned char *>(sSrvKey), sSrvKeyLen… in Process()
168 …int rv = mbedtls_pk_parse_key(&mPKey, reinterpret_cast<const unsigned char *>(sSrvKey), sSrvKeyLen… in Process()
/aosp_15_r20/external/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c646 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
659 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
674 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
687 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
/aosp_15_r20/external/mbedtls/programs/ssl/
H A Dssl_server.c149 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
H A Dssl_fork_server.c147 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
H A Ddtls_server.c164 ret = mbedtls_pk_parse_key(&pkey, in main()
H A Dssl_pthread_server.c374 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/ssl/
H A Dssl_fork_server.c147 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
H A Dssl_server.c149 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
H A Ddtls_server.c164 ret = mbedtls_pk_parse_key(&pkey, in main()
H A Dssl_pthread_server.c374 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/test_helpers/
H A Dssl_helpers.c636 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
649 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
664 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
677 ret = mbedtls_pk_parse_key( in mbedtls_test_ssl_endpoint_certificate_init()
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dpk.h869 int mbedtls_pk_parse_key(mbedtls_pk_context *ctx,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dpk.h1101 int mbedtls_pk_parse_key(mbedtls_pk_context *ctx,

12