/aosp_15_r20/external/openthread/src/core/crypto/ |
H A D | crypto_platform.cpp | 536 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 D | test_suite_pkparse.function | 149 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 D | test_suite_pkparse.function | 274 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 D | pkparse.c | 973 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 D | fuzz_privkey.c | 45 ret = mbedtls_pk_parse_key(&pk, Data, Size, NULL, 0, in LLVMFuzzerTestOneInput()
|
H A D | fuzz_dtlsserver.c | 82 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
|
H A D | fuzz_server.c | 91 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
|
/aosp_15_r20/external/mbedtls/programs/fuzz/ |
H A D | fuzz_privkey.c | 47 ret = mbedtls_pk_parse_key(&pk, Data, Size, NULL, 0, in LLVMFuzzerTestOneInput()
|
H A D | fuzz_dtlsserver.c | 84 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
|
H A D | fuzz_server.c | 93 if (mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in LLVMFuzzerTestOneInput()
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | pkparse.c | 127 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 D | ssl_pm.c | 765 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 D | cli_tcp.cpp | 165 …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 D | ssl_helpers.c | 646 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 D | ssl_server.c | 149 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
|
H A D | ssl_fork_server.c | 147 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
|
H A D | dtls_server.c | 164 ret = mbedtls_pk_parse_key(&pkey, in main()
|
H A D | ssl_pthread_server.c | 374 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 D | ssl_fork_server.c | 147 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
|
H A D | ssl_server.c | 149 ret = mbedtls_pk_parse_key(&pkey, (const unsigned char *) mbedtls_test_srv_key, in main()
|
H A D | dtls_server.c | 164 ret = mbedtls_pk_parse_key(&pkey, in main()
|
H A D | ssl_pthread_server.c | 374 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 D | ssl_helpers.c | 636 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 D | pk.h | 869 int mbedtls_pk_parse_key(mbedtls_pk_context *ctx,
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | pk.h | 1101 int mbedtls_pk_parse_key(mbedtls_pk_context *ctx,
|