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

12

/freebsd-10-stable/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.c284 if (!EVP_Digest(x->cert_info->key->public_key->data,
285 x->cert_info->key->public_key->length,
/freebsd-10-stable/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-10-stable/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-10-stable/crypto/openssl/crypto/dh/
H A Ddh_ameth.c80 ASN1_INTEGER *public_key = NULL; local
102 if (!(public_key = d2i_ASN1_INTEGER(NULL, &p, pklen))) {
108 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL))) {
113 ASN1_INTEGER_free(public_key);
118 if (public_key)
119 ASN1_INTEGER_free(public_key);
/freebsd-10-stable/contrib/wpa/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
H A Dtlsv1_common.c181 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len);
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);
1601 pk = crypto_public_key_import(issuer->public_key,
/freebsd-10-stable/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-10-stable/contrib/wpa/src/wps/
H A Dwps_attr_parse.h72 const u8 *public_key; member in struct:wps_parse_attr
H A Dwps_validate.c610 static int wps_validate_public_key(const u8 *public_key, size_t len, argument
613 if (public_key == NULL) {
1304 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||
1360 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) ||
H A Dwps_attr_parse.c474 attr->public_key = pos;
H A Dwps_enrollee.c876 if (wps_process_pubkey(wps, attr->public_key, attr->public_key_len) ||
/freebsd-10-stable/crypto/openssl/crypto/ec/
H A Dec_ameth.c417 const EC_POINT *public_key; local
432 public_key = EC_KEY_get0_public_key(x);
433 if (public_key != NULL) {
434 if ((pub_key = EC_POINT_point2bn(group, public_key,
/freebsd-10-stable/crypto/heimdal/kdc/
H A Dpkinit.c53 BIGNUM *public_key; member in struct:pk_client_params::__anon5041::__anon5042
58 EC_KEY *public_key; member in struct:pk_client_params::__anon5041::__anon5043
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-10-stable/crypto/openssl/crypto/x509/
H A Dx509_cmp.c322 return x->cert_info->key->public_key;
H A Dx509.h159 ASN1_BIT_STRING *public_key; member in struct:X509_pubkey_st
/freebsd-10-stable/crypto/openssl/apps/
H A Dx509.c559 (req->req_info->pubkey->public_key == NULL) ||
560 (req->req_info->pubkey->public_key->data == NULL)) {
/freebsd-10-stable/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-10-stable/crypto/openssl/ssl/
H A Ds3_lib.c3922 key->public_key != NULL)
3924 key->public_key->data != NULL)
3928 key->public_key->data) == POINT_CONVERSION_COMPRESSED)
3932 key->public_key->data) ==
/freebsd-10-stable/crypto/heimdal/lib/hx509/
H A Dks_p11.c98 CK_OBJECT_HANDLE public_key; member in struct:p11_rsa
/freebsd-10-stable/crypto/heimdal/lib/hx509/ref/
H A Dpkcs11.h967 ck_object_handle_t *public_key,
/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_sa.h745 uint8_t public_key[]; member in struct:tde_key_wrap_pk_page

Completed in 223 milliseconds

12