Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
H A Dpk.c47 ctx->pk_info = NULL; in mbedtls_pk_init()
69 if ((ctx->pk_info != NULL) && (ctx->pk_info->ctx_free_func != NULL)) { in mbedtls_pk_free()
70 ctx->pk_info->ctx_free_func(ctx->pk_ctx); in mbedtls_pk_free()
76 if ((ctx->pk_info != NULL) && (ctx->pk_info->type != MBEDTLS_PK_OPAQUE)) { in mbedtls_pk_free()
90 ctx->pk_info = NULL; in mbedtls_pk_restart_init()
99 if (ctx == NULL || ctx->pk_info == NULL || in mbedtls_pk_restart_free()
100 ctx->pk_info->rs_free_func == NULL) { in mbedtls_pk_restart_free()
104 ctx->pk_info in mbedtls_pk_restart_free()
[all...]
H A Dpkparse.c525 const mbedtls_pk_info_t *pk_info; in mbedtls_pk_parse_subpubkey() local
547 if ((pk_info = mbedtls_pk_info_from_type(pk_alg)) == NULL) { in mbedtls_pk_parse_subpubkey()
551 if ((ret = mbedtls_pk_setup(pk, pk_info)) != 0) { in mbedtls_pk_parse_subpubkey()
754 const mbedtls_pk_info_t *pk_info; in pk_parse_key_pkcs8_unencrypted_der() local
805 if ((pk_info = mbedtls_pk_info_from_type(pk_alg)) == NULL) { in pk_parse_key_pkcs8_unencrypted_der()
809 if ((ret = mbedtls_pk_setup(pk, pk_info)) != 0) { in pk_parse_key_pkcs8_unencrypted_der()
979 const mbedtls_pk_info_t *pk_info; in mbedtls_pk_parse_key() local
1003 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in mbedtls_pk_parse_key()
1004 if ((ret = mbedtls_pk_setup(pk, pk_info)) != 0 || in mbedtls_pk_parse_key()
1032 pk_info in mbedtls_pk_parse_key()
1186 const mbedtls_pk_info_t *pk_info; mbedtls_pk_parse_public_key() local
[all...]
/third_party/mbedtls/include/mbedtls/
H A Dpk.h221 const mbedtls_pk_info_t *MBEDTLS_PRIVATE(pk_info); /**< Public key information */
272 const mbedtls_pk_info_t *MBEDTLS_PRIVATE(pk_info); /**< Public key information */

Completed in 4 milliseconds