Home
last modified time | relevance | path

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

/curl/lib/vtls/
H A Dmbedtls.c97 mbedtls_pk_context pk; member
710 mbedtls_pk_init(&backend->pk);
716 ret = mbedtls_pk_parse_keyfile(&backend->pk, ssl_config->key,
721 ret = mbedtls_pk_parse_keyfile(&backend->pk, ssl_config->key,
742 ret = mbedtls_pk_parse_key(&backend->pk, key_data, ssl_key_blob->len,
761 if(ret == 0 && !(mbedtls_pk_can_do(&backend->pk, MBEDTLS_PK_RSA) ||
762 mbedtls_pk_can_do(&backend->pk, MBEDTLS_PK_ECKEY)))
913 &backend->clicert, &backend->pk);
1078 size = mbedtls_pk_write_pubkey_der(&p->MBEDTLS_PRIVATE(pk), pubkey,
1081 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