Searched refs:public_key (Results 1 - 25 of 25) sorted by relevance

/freebsd-11.0-release/crypto/openssl/crypto/asn1/
H A Dx_pubkey.c84 ASN1_SIMPLE(X509_PUBKEY, public_key, ASN1_BIT_STRING)
139 if (key->public_key == NULL)
350 if (pub->public_key->data)
351 OPENSSL_free(pub->public_key->data);
352 pub->public_key->data = penc;
353 pub->public_key->length = penclen;
355 pub->public_key->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07);
356 pub->public_key->flags |= ASN1_STRING_FLAG_BITS_LEFT;
368 *pk = pub->public_key->data;
369 *ppklen = pub->public_key
[all...]
H A Dt_x509.c299 if (!EVP_Digest(x->cert_info->key->public_key->data,
300 x->cert_info->key->public_key->length,
/freebsd-11.0-release/crypto/openssl/crypto/x509v3/
H A Dv3_skey.c127 pk = ctx->subject_req->req_info->pubkey->public_key;
129 pk = ctx->subject_cert->cert_info->key->public_key;
/freebsd-11.0-release/crypto/openssh/
H A Dkexecdhs.c68 const EC_POINT *public_key; local
178 public_key = EC_KEY_get0_public_key(server_key);
182 (r = sshpkt_put_ec(ssh, public_key, group)) != 0 ||
H A Dkexecdhc.c60 const EC_POINT *public_key; local
72 public_key = EC_KEY_get0_public_key(client_key);
75 (r = sshpkt_put_ec(ssh, public_key, group)) != 0 ||
H A Dpkcs11.h965 ck_object_handle_t *public_key,
/freebsd-11.0-release/contrib/wpa/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
H A Dx509v3.c56 os_free(cert->public_key);
276 os_free(cert->public_key);
277 cert->public_key = os_malloc(hdr.length - 1);
278 if (cert->public_key == NULL) {
283 os_memcpy(cert->public_key, pos + 1, hdr.length - 1);
286 cert->public_key, cert->public_key_len);
1602 pk = crypto_public_key_import(issuer->public_key,
H A Dtlsv1_common.c193 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len);
/freebsd-11.0-release/contrib/wpa/src/wps/
H A Dwps_attr_parse.h66 const u8 *public_key; member in struct:wps_parse_attr
H A Dwps_validate.c612 static int wps_validate_public_key(const u8 *public_key, size_t len, argument
615 if (public_key == NULL) {
1306 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||
1362 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||
H A Dwps_attr_parse.c499 attr->public_key = pos;
H A Dwps_enrollee.c982 if (wps_process_pubkey(wps, attr->public_key, attr->public_key_len) ||
H A Dwps_registrar.c2565 wps_process_pubkey(wps, attr->public_key, attr->public_key_len) ||
2615 addr[0] = attr->public_key;
/freebsd-11.0-release/crypto/openssl/crypto/dh/
H A Ddh_ameth.c105 ASN1_INTEGER *public_key = NULL; local
127 if (!(public_key = d2i_ASN1_INTEGER(NULL, &p, pklen))) {
133 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL))) {
138 ASN1_INTEGER_free(public_key);
143 if (public_key)
144 ASN1_INTEGER_free(public_key);
659 ASN1_INTEGER *public_key = NULL; local
686 if (!(public_key = d2i_ASN1_INTEGER(NULL, &p, plen))) {
692 if (!(dhpeer->pub_key = ASN1_INTEGER_to_BN(public_key, NULL))) {
705 if (public_key)
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/dsa/
H A Ddsa_ameth.c78 ASN1_INTEGER *public_key = NULL; local
106 if (!(public_key = d2i_ASN1_INTEGER(NULL, &p, pklen))) {
111 if (!(dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL))) {
116 ASN1_INTEGER_free(public_key);
121 if (public_key)
122 ASN1_INTEGER_free(public_key);
/freebsd-11.0-release/crypto/heimdal/kdc/
H A Dpkinit.c53 BIGNUM *public_key; member in struct:pk_client_params::__anon5934::__anon5935
58 EC_KEY *public_key; member in struct:pk_client_params::__anon5934::__anon5936
181 if (cp->u.dh.public_key)
182 BN_free(cp->u.dh.public_key);
188 if (cp->u.ecdh.public_key)
189 EC_KEY_free(cp->u.ecdh.public_key);
217 if (client_params->u.dh.public_key == NULL) {
219 krb5_set_error_message(context, ret, "public_key");
239 dh_gen_keylen = DH_compute_key(dh_gen_key,client_params->u.dh.public_key, client_params->u.dh.key);
256 if (client_params->u.ecdh.public_key
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/ec/
H A Dec_ameth.c421 const EC_POINT *public_key; local
436 public_key = EC_KEY_get0_public_key(x);
437 if (public_key != NULL) {
438 if ((pub_key = EC_POINT_point2bn(group, public_key,
/freebsd-11.0-release/crypto/openssl/crypto/x509/
H A Dx509_cmp.c321 return x->cert_info->key->public_key;
H A Dx509.h159 ASN1_BIT_STRING *public_key; member in struct:X509_pubkey_st
/freebsd-11.0-release/crypto/openssl/apps/
H A Dx509.c598 (req->req_info->pubkey->public_key == NULL) ||
599 (req->req_info->pubkey->public_key->data == NULL)) {
/freebsd-11.0-release/contrib/ldns/
H A Dhost2str.c1069 ldns_rdf *public_key; local
1140 public_key = ldns_rdf_new(LDNS_RDF_TYPE_B64,
1142 if(!public_key) {
1154 (void) ldns_rdf2buffer_str(output, public_key);
1157 ldns_rdf_free(public_key);
/freebsd-11.0-release/crypto/heimdal/lib/hx509/
H A Dks_p11.c98 CK_OBJECT_HANDLE public_key; member in struct:p11_rsa
/freebsd-11.0-release/crypto/heimdal/lib/hx509/ref/
H A Dpkcs11.h967 ck_object_handle_t *public_key,
/freebsd-11.0-release/sys/cam/scsi/
H A Dscsi_sa.h732 uint8_t public_key[]; member in struct:tde_key_wrap_pk_page

Completed in 320 milliseconds