Home
last modified time | relevance | path

Searched refs:mbedtls_pk_setup (Results 1 – 8 of 8) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pk.function24 * with mbedtls_pk_setup().
178 TEST_ASSERT( mbedtls_pk_setup( &pk2,
220 TEST_ASSERT( mbedtls_pk_setup( &pk, NULL ) ==
351 mbedtls_pk_setup( NULL, NULL ) );
602 TEST_ASSERT( mbedtls_pk_setup( &pk, mbedtls_pk_info_from_type( type ) ) == 0 );
669 TEST_ASSERT( mbedtls_pk_setup( &pk, mbedtls_pk_info_from_type( MBEDTLS_PK_RSA ) ) == 0 );
712 TEST_ASSERT( mbedtls_pk_setup( &pk, mbedtls_pk_info_from_type( MBEDTLS_PK_RSA ) ) == 0 );
763 TEST_ASSERT( mbedtls_pk_setup( &pk, mbedtls_pk_info_from_type( type ) ) == 0 );
802 TEST_ASSERT( mbedtls_pk_setup( &prv, mbedtls_pk_info_from_type( pk_type ) ) == 0 );
806 TEST_ASSERT( mbedtls_pk_setup( &pub, mbedtls_pk_info_from_type( pk_type ) ) == 0 );
[all …]
/openthread-3.5.0/third_party/mbedtls/repo/library/
Dpkparse.c645 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 ) in mbedtls_pk_parse_subpubkey()
1057 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 ) in pk_parse_key_pkcs8_unencrypted_der()
1248 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 || in mbedtls_pk_parse_key()
1279 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 || in mbedtls_pk_parse_key()
1395 if( mbedtls_pk_setup( pk, pk_info ) == 0 && in mbedtls_pk_parse_key()
1407 if( mbedtls_pk_setup( pk, pk_info ) == 0 && in mbedtls_pk_parse_key()
1468 if( ( ret = mbedtls_pk_setup( ctx, pk_info ) ) != 0 ) in mbedtls_pk_parse_public_key()
1516 if( ( ret = mbedtls_pk_setup( ctx, pk_info ) ) != 0 ) in mbedtls_pk_parse_public_key()
Dpk.c135 int mbedtls_pk_setup( mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info ) in mbedtls_pk_setup() function
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Dpk.h323 int mbedtls_pk_setup( mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info );
Dcompat-1.3.h2145 #define pk_init_ctx mbedtls_pk_setup
/openthread-3.5.0/src/core/crypto/
Dcrypto_platform.cpp503 ret = mbedtls_pk_setup(&pk, mbedtls_pk_info_from_type(MBEDTLS_PK_ECKEY)); in otPlatCryptoEcdsaGenerateKey()
533 …VerifyOrExit(mbedtls_pk_setup(&pk, mbedtls_pk_info_from_type(MBEDTLS_PK_ECKEY)) == 0, error = kErr… in otPlatCryptoEcdsaGetPublicKey()
576 …VerifyOrExit(mbedtls_pk_setup(&pk, mbedtls_pk_info_from_type(MBEDTLS_PK_ECKEY)) == 0, error = kErr… in otPlatCryptoEcdsaSign()
/openthread-3.5.0/third_party/mbedtls/repo/programs/pkey/
Dgen_key.c326 if( ( ret = mbedtls_pk_setup( &key, in main()
/openthread-3.5.0/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1755 pk_init_ctx mbedtls_pk_setup