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

12

/freebsd-current/contrib/wireguard-tools/
H A Dconfig.c459 ret = parse_key(ctx->last_peer->public_key, value);
604 if (!parse_key(peer->public_key, argv[1]))
/freebsd-current/contrib/wpa/src/wps/
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.c510 attr->public_key = pos;
H A Dwps_enrollee.c998 if (wps_process_pubkey(wps, attr->public_key, attr->public_key_len) ||
H A Dwps_registrar.c2659 wps_process_pubkey(wps, attr->public_key, attr->public_key_len) ||
2709 addr[0] = attr->public_key;
/freebsd-current/crypto/openssl/apps/
H A Ds_client.c3135 EVP_PKEY *public_key; local
3161 public_key = X509_get_pubkey(sk_X509_value(sk, i));
3162 if (public_key != NULL) {
3164 OBJ_nid2sn(EVP_PKEY_get_base_id(public_key)),
3165 EVP_PKEY_get_bits(public_key),
3167 EVP_PKEY_free(public_key);
/freebsd-current/contrib/wpa/src/tls/
H A Dtlsv1_common.c193 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len);
/freebsd-current/sys/dev/wg/
H A Dif_wg.c2605 uint8_t public_key[WG_KEY_SIZE] = { 0 }; local
2626 if (noise_local_keys(sc->sc_local, public_key, private_key) == 0) {
2627 nvlist_add_binary(nvl, "public-key", public_key, WG_KEY_SIZE);
2646 (void)noise_remote_keys(peer->p_remote, public_key, preshared_key);
2647 nvlist_add_binary(nvl_peer, "public-key", public_key, sizeof(public_key));
/freebsd-current/contrib/ldns/
H A Dhost2str.c1088 ldns_rdf *public_key; local
1160 public_key = ldns_rdf_new(LDNS_RDF_TYPE_B64,
1162 if(!public_key) {
1174 (void) ldns_rdf2buffer_str(output, public_key);
1177 ldns_rdf_deep_free(public_key);
/freebsd-current/crypto/openssh/
H A Dpkcs11.h965 ck_object_handle_t *public_key,
/freebsd-current/crypto/heimdal/lib/hx509/
H A Dks_p11.c98 CK_OBJECT_HANDLE public_key; member in struct:p11_rsa
/freebsd-current/crypto/heimdal/lib/hx509/ref/
H A Dpkcs11.h967 ck_object_handle_t *public_key,
/freebsd-current/sys/cam/scsi/
H A Dscsi_sa.h744 uint8_t public_key[]; member in struct:tde_key_wrap_pk_page
/freebsd-current/crypto/openssl/crypto/ec/
H A Dcurve25519.c5444 const uint8_t public_key[32], const uint8_t private_key[32],
5480 || !EVP_DigestUpdate(hash_ctx, public_key, 32)
5501 const uint8_t signature[64], const uint8_t public_key[32],
5550 if (ge_frombytes_vartime(&A, public_key) != 0) {
5566 || !EVP_DigestUpdate(hash_ctx, public_key, 32)
5443 ossl_ed25519_sign(uint8_t *out_sig, const uint8_t *message, size_t message_len, const uint8_t public_key[32], const uint8_t private_key[32], OSSL_LIB_CTX *libctx, const char *propq) argument
5500 ossl_ed25519_verify(const uint8_t *message, size_t message_len, const uint8_t signature[64], const uint8_t public_key[32], OSSL_LIB_CTX *libctx, const char *propq) argument

Completed in 397 milliseconds

12