Home
last modified time | relevance | path

Searched refs:crypt_publickey (Results 1 – 9 of 9) sorted by relevance

/dports/dns/dnscrypt-wrapper/dnscrypt-wrapper-0.4.2/
H A Dcert.c4 cert_build_cert(const uint8_t *crypt_publickey, int cert_file_expire_seconds, in cert_build_cert() argument
22 memcpy(signed_cert->server_publickey, crypt_publickey, in cert_build_cert()
24 memcpy(signed_cert->magic_query, crypt_publickey, in cert_build_cert()
H A Dcert.h41 struct SignedCert *cert_build_cert(const uint8_t *crypt_publickey, int cert_file_expire_days, int u…
H A Dmain.c307 if(memcmp(kp->crypt_publickey, in match_cert_to_keys()
637 if (crypto_box_keypair(c.keypairs->crypt_publickey, in main()
696 if (crypto_scalarmult_base(c.keypairs[keypair_id].crypt_publickey, in main()
699 dnscrypt_key_to_fingerprint(fingerprint, c.keypairs[keypair_id].crypt_publickey); in main()
732 cert_build_cert(c.keypairs->crypt_publickey, cert_file_expire_seconds, use_xchacha20); in main()
H A Ddnscrypt.c264 …if (cache_get(&cached, query_header->publickey, cert->keypair->crypt_publickey, XCHACHA20_CERT(cer… in dnscrypt_server_uncurve()
281 … cache_set(nmkey, query_header->publickey, cert->keypair->crypt_publickey, XCHACHA20_CERT(cert)); in dnscrypt_server_uncurve()
H A Ddnscrypt.h100 uint8_t crypt_publickey[crypto_box_PUBLICKEYBYTES]; member
H A Dtcp_request.c190 debug_assert(sizeof c->keypairs[0].crypt_publickey >= DNSCRYPT_MAGIC_HEADER_LEN); in client_proxy_read_cb()
H A Dudp_request.c318 debug_assert(sizeof c->keypairs[0].crypt_publickey >= DNSCRYPT_MAGIC_HEADER_LEN); in client_to_proxy_cb()
/dports/dns/unbound/unbound-1.14.0/dnscrypt/
H A Ddnscrypt.h45 uint8_t crypt_publickey[crypto_box_PUBLICKEYBYTES]; member
H A Ddnscrypt.c822 if (crypto_scalarmult_base(current_keypair->crypt_publickey, in dnsc_parse_keys()
826 dnsc_key_to_fingerprint(fingerprint, current_keypair->crypt_publickey); in dnsc_parse_keys()
830 if(memcmp(current_keypair->crypt_publickey, in dnsc_parse_keys()
844 current_cert->keypair->crypt_publickey); in dnsc_parse_keys()