Searched refs:crypt_publickey (Results 1 – 9 of 9) sorted by relevance
/dports/dns/dnscrypt-wrapper/dnscrypt-wrapper-0.4.2/ |
H A D | cert.c | 4 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 D | cert.h | 41 struct SignedCert *cert_build_cert(const uint8_t *crypt_publickey, int cert_file_expire_days, int u…
|
H A D | main.c | 307 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 D | dnscrypt.c | 264 …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 D | dnscrypt.h | 100 uint8_t crypt_publickey[crypto_box_PUBLICKEYBYTES]; member
|
H A D | tcp_request.c | 190 debug_assert(sizeof c->keypairs[0].crypt_publickey >= DNSCRYPT_MAGIC_HEADER_LEN); in client_proxy_read_cb()
|
H A D | udp_request.c | 318 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 D | dnscrypt.h | 45 uint8_t crypt_publickey[crypto_box_PUBLICKEYBYTES]; member
|
H A D | dnscrypt.c | 822 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()
|