Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dpk.c55 ctx->pk_info = NULL; in mbedtls_pk_init()
64 if( ctx == NULL || ctx->pk_info == NULL ) in mbedtls_pk_free()
67 ctx->pk_info->ctx_free_func( ctx->pk_ctx ); in mbedtls_pk_free()
103 if( ctx == NULL || info == NULL || ctx->pk_info != NULL ) in mbedtls_pk_setup()
109 ctx->pk_info = info; in mbedtls_pk_setup()
126 if( ctx == NULL || ctx->pk_info != NULL ) in mbedtls_pk_setup_rsa_alt()
132 ctx->pk_info = info; in mbedtls_pk_setup_rsa_alt()
151 if( ctx == NULL || ctx->pk_info == NULL ) in mbedtls_pk_can_do()
154 return( ctx->pk_info->can_do( type ) ); in mbedtls_pk_can_do()
181 if( ctx == NULL || ctx->pk_info == NULL || in mbedtls_pk_verify()
[all …]
Dpkparse.c586 const mbedtls_pk_info_t *pk_info; in mbedtls_pk_parse_subpubkey() local
606 if( ( pk_info = mbedtls_pk_info_from_type( pk_alg ) ) == NULL ) in mbedtls_pk_parse_subpubkey()
609 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 ) in mbedtls_pk_parse_subpubkey()
859 const mbedtls_pk_info_t *pk_info; in pk_parse_key_pkcs8_unencrypted_der() local
901 if( ( pk_info = mbedtls_pk_info_from_type( pk_alg ) ) == NULL ) in pk_parse_key_pkcs8_unencrypted_der()
904 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 ) in pk_parse_key_pkcs8_unencrypted_der()
1064 const mbedtls_pk_info_t *pk_info; in mbedtls_pk_parse_key() local
1084 if( ( pk_info = mbedtls_pk_info_from_type( MBEDTLS_PK_RSA ) ) == NULL ) in mbedtls_pk_parse_key()
1087 if( ( ret = mbedtls_pk_setup( pk, pk_info ) ) != 0 || in mbedtls_pk_parse_key()
1116 if( ( pk_info = mbedtls_pk_info_from_type( MBEDTLS_PK_ECKEY ) ) == NULL ) in mbedtls_pk_parse_key()
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dpk.h128 const mbedtls_pk_info_t * pk_info; /**< Public key informations */ member