Home
last modified time | relevance | path

Searched refs:pk (Results 1 – 2 of 2) sorted by relevance

/curl/lib/vtls/
H A Dmbedtls.c98 mbedtls_pk_context pk; member
711 mbedtls_pk_init(&backend->pk);
717 ret = mbedtls_pk_parse_keyfile(&backend->pk, ssl_config->key,
722 ret = mbedtls_pk_parse_keyfile(&backend->pk, ssl_config->key,
743 ret = mbedtls_pk_parse_key(&backend->pk, key_data, ssl_key_blob->len,
762 if(ret == 0 && !(mbedtls_pk_can_do(&backend->pk, MBEDTLS_PK_RSA) ||
763 mbedtls_pk_can_do(&backend->pk, MBEDTLS_PK_ECKEY)))
915 &backend->clicert, &backend->pk);
1080 size = mbedtls_pk_write_pubkey_der(&p->MBEDTLS_PRIVATE(pk), pubkey,
1083 size = mbedtls_pk_write_pubkey_der(&p->pk, pubkey, PUB_DER_MAX_BYTES);
[all …]
H A Dx509asn1.c967 struct Curl_asn1Element pk; in do_pubkey() local
991 if(!getASN1Element(&pk, pubkey->beg + 1, pubkey->end)) in do_pubkey()
998 p = getASN1Element(&elem, pk.beg, pk.end); in do_pubkey()
1024 if(!getASN1Element(&elem, p, pk.end)) in do_pubkey()
1041 if(do_pubkey_field(data, certnum, "dsa(pub_key)", &pk)) in do_pubkey()
1055 if(do_pubkey_field(data, certnum, "dh(pub_key)", &pk)) in do_pubkey()

Completed in 10 milliseconds