Lines Matching refs:crypto_box_PUBLICKEYBYTES
32 (DNSCRYPT_MAGIC_HEADER_LEN + crypto_box_PUBLICKEYBYTES + \
53 (1 + crypto_box_PUBLICKEYBYTES + crypto_box_SECRETKEYBYTES)
70 uint8_t client_publickey[crypto_box_PUBLICKEYBYTES];
92 memcpy(key + 1, pk, crypto_box_PUBLICKEYBYTES); in dnsc_shared_secrets_cache_key()
93 memcpy(key + 1 + crypto_box_PUBLICKEYBYTES, sk, crypto_box_SECRETKEYBYTES); in dnsc_shared_secrets_cache_key()
161 const uint8_t pk[crypto_box_PUBLICKEYBYTES]) in dnsc_nonce_cache_key_hash() argument
166 return hashlittle(pk, crypto_box_PUBLICKEYBYTES, h); in dnsc_nonce_cache_key_hash()
182 const uint8_t pk[crypto_box_PUBLICKEYBYTES], in dnsc_nonce_cache_insert() argument
194 memcpy(k->client_publickey, pk, crypto_box_PUBLICKEYBYTES); in dnsc_nonce_cache_insert()
218 const uint8_t pk[crypto_box_PUBLICKEYBYTES], in dnsc_nonces_lookup() argument
226 memcpy(k.client_publickey, pk, crypto_box_PUBLICKEYBYTES); in dnsc_nonces_lookup()
638 if (key_pos >= crypto_box_PUBLICKEYBYTES) { in dnsc_key_to_fingerprint()
832 crypto_box_PUBLICKEYBYTES) == 0) { in dnsc_parse_keys()
1095 crypto_box_PUBLICKEYBYTES) != 0; in dnsc_nonces_compfunc()