Searched refs:crypto_aead_xchacha20poly1305_ietf_KEYBYTES (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
H A Dcrypto_aead_xchacha20poly1305.h14 #define crypto_aead_xchacha20poly1305_ietf_KEYBYTES 32U macro
83 void crypto_aead_xchacha20poly1305_ietf_keygen(unsigned char k[crypto_aead_xchacha20poly1305_ietf_KEYBYTES]);
87 #define crypto_aead_xchacha20poly1305_IETF_KEYBYTES crypto_aead_xchacha20poly1305_ietf_KEYBYTES
H A Dcrypto_secretstream_xchacha20poly1305.h28 crypto_aead_xchacha20poly1305_ietf_KEYBYTES
/netbsd-current/sys/crypto/sodium/
H A Dcrypto_aead_xchacha20poly1305.h16 #define crypto_aead_xchacha20poly1305_ietf_KEYBYTES 32U macro
85 void crypto_aead_xchacha20poly1305_ietf_keygen(unsigned char k[crypto_aead_xchacha20poly1305_ietf_KEYBYTES]);
89 #define crypto_aead_xchacha20poly1305_IETF_KEYBYTES crypto_aead_xchacha20poly1305_ietf_KEYBYTES
115 #define crypto_aead_xchacha20poly1305_ietf_KEYBYTES 32U macro
184 void crypto_aead_xchacha20poly1305_ietf_keygen(unsigned char k[crypto_aead_xchacha20poly1305_ietf_KEYBYTES]);
188 #define crypto_aead_xchacha20poly1305_IETF_KEYBYTES crypto_aead_xchacha20poly1305_ietf_KEYBYTES
214 #define crypto_aead_xchacha20poly1305_ietf_KEYBYTES 32U macro
283 void crypto_aead_xchacha20poly1305_ietf_keygen(unsigned char k[crypto_aead_xchacha20poly1305_ietf_KEYBYTES]);
287 #define crypto_aead_xchacha20poly1305_IETF_KEYBYTES crypto_aead_xchacha20poly1305_ietf_KEYBYTES
313 #define crypto_aead_xchacha20poly1305_ietf_KEYBYTES 3 macro
[all...]
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_aead/xchacha20poly1305/sodium/
H A Daead_xchacha20poly1305.c129 return crypto_aead_xchacha20poly1305_ietf_KEYBYTES;
157 crypto_aead_xchacha20poly1305_ietf_keygen(unsigned char k[crypto_aead_xchacha20poly1305_ietf_KEYBYTES])
159 randombytes_buf(k, crypto_aead_xchacha20poly1305_ietf_KEYBYTES);
/netbsd-current/sys/external/isc/libsodium/dist/test/default/
H A Daead_xchacha20poly1305.c14 static const unsigned char firstkey[crypto_aead_xchacha20poly1305_ietf_KEYBYTES]
32 unsigned char *key2 = (unsigned char *) sodium_malloc(crypto_aead_xchacha20poly1305_ietf_KEYBYTES);
178 assert(crypto_aead_xchacha20poly1305_ietf_keybytes() == crypto_aead_xchacha20poly1305_ietf_KEYBYTES);
183 assert(crypto_aead_xchacha20poly1305_IETF_KEYBYTES == crypto_aead_xchacha20poly1305_ietf_KEYBYTES);
H A Dkeygen.c27 { crypto_aead_xchacha20poly1305_ietf_keygen, crypto_aead_xchacha20poly1305_ietf_KEYBYTES },
/netbsd-current/sys/net/
H A Dif_wg.c1236 const uint8_t key[static crypto_aead_xchacha20poly1305_ietf_KEYBYTES],
1253 const uint8_t key[static crypto_aead_xchacha20poly1305_ietf_KEYBYTES],
1235 wg_algo_xaead_enc(uint8_t out[], const size_t expected_outsize, const uint8_t key[static crypto_aead_xchacha20poly1305_ietf_KEYBYTES], const uint8_t plain[], const size_t plainsize, const uint8_t auth[], size_t authlen, const uint8_t nonce[static WG_SALT_LEN]) argument
1252 wg_algo_xaead_dec(uint8_t out[], const size_t expected_outsize, const uint8_t key[static crypto_aead_xchacha20poly1305_ietf_KEYBYTES], const uint8_t encrypted[], const size_t encryptedsize, const uint8_t auth[], size_t authlen, const uint8_t nonce[static WG_SALT_LEN]) argument

Completed in 198 milliseconds