Home
last modified time | relevance | path

Searched refs:pk_info (Results 1 – 5 of 5) sorted by relevance

/third_party/mbedtls/library/
Dpk.c59 ctx->pk_info = NULL; in mbedtls_pk_init()
71 if ( ctx->pk_info != NULL ) in mbedtls_pk_free()
72 ctx->pk_info->ctx_free_func( ctx->pk_ctx ); in mbedtls_pk_free()
84 ctx->pk_info = NULL; in mbedtls_pk_restart_init()
93 if( ctx == NULL || ctx->pk_info == NULL || in mbedtls_pk_restart_free()
94 ctx->pk_info->rs_free_func == NULL ) in mbedtls_pk_restart_free()
99 ctx->pk_info->rs_free_func( ctx->rs_ctx ); in mbedtls_pk_restart_free()
101 ctx->pk_info = NULL; in mbedtls_pk_restart_free()
138 if( info == NULL || ctx->pk_info != NULL ) in mbedtls_pk_setup()
144 ctx->pk_info = info; in mbedtls_pk_setup()
[all …]
Dpkparse.c618 const mbedtls_pk_info_t *pk_info; in mbedtls_pk_parse_subpubkey() local
643 if( ( pk_info = mbedtls_pk_info_from_type( pk_alg ) ) == NULL ) in mbedtls_pk_parse_subpubkey()
646 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 ) in mbedtls_pk_parse_subpubkey()
1011 const mbedtls_pk_info_t *pk_info; in pk_parse_key_pkcs8_unencrypted_der() local
1060 if( ( pk_info = mbedtls_pk_info_from_type( pk_alg ) ) == NULL ) in pk_parse_key_pkcs8_unencrypted_der()
1063 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 ) in pk_parse_key_pkcs8_unencrypted_der()
1211 const mbedtls_pk_info_t *pk_info; in mbedtls_pk_parse_key() local
1237 pk_info = mbedtls_pk_info_from_type( MBEDTLS_PK_RSA ); in mbedtls_pk_parse_key()
1238 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 || in mbedtls_pk_parse_key()
1267 pk_info = mbedtls_pk_info_from_type( MBEDTLS_PK_ECKEY ); in mbedtls_pk_parse_key()
[all …]
Dpsa_crypto_rsa.c117 ctx.pk_info = NULL; in mbedtls_psa_rsa_load_representation()
181 pk.pk_info = &mbedtls_rsa_info; in mbedtls_psa_rsa_export_key()
Dpk_wrap.c570 mbedtls_pk_info_t pk_info = mbedtls_eckey_info; in ecdsa_verify_wrap() local
583 key.pk_info = &pk_info; in ecdsa_verify_wrap()
/third_party/mbedtls/include/mbedtls/
Dpk.h201 const mbedtls_pk_info_t * MBEDTLS_PRIVATE(pk_info); /**< Public key information */
211 const mbedtls_pk_info_t * MBEDTLS_PRIVATE(pk_info); /**< Public key information */