Home
last modified time | relevance | path

Searched defs:nonce (Results 1 – 25 of 128) sorted by relevance

123456

/freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_box/
H A Dcrypto_box_seal.c10 _crypto_box_seal_nonce(unsigned char *nonce, in _crypto_box_seal_nonce()
27 unsigned char nonce[crypto_box_NONCEBYTES]; in crypto_box_seal() local
51 unsigned char nonce[crypto_box_NONCEBYTES]; in crypto_box_seal_open() local
/freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/
H A Dbox_seal_curve25519xchacha20poly1305.c10 _crypto_box_curve25519xchacha20poly1305_seal_nonce(unsigned char *nonce, in _crypto_box_curve25519xchacha20poly1305_seal_nonce()
33 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; in crypto_box_curve25519xchacha20poly1305_seal() local
59 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; in crypto_box_curve25519xchacha20poly1305_seal_open() local
/freebsd-src/sys/contrib/libsodium/test/default/
H A Dxchacha20.c85 const char nonce[crypto_stream_xchacha20_NONCEBYTES * 2 + 1]; member
107 unsigned char *nonce; in tv_stream_xchacha20() local
194 const char nonce[crypto_secretbox_xchacha20poly1305_NONCEBYTES * 2 + 1]; member
216 unsigned char *nonce; in tv_secretbox_xchacha20poly1305() local
308 unsigned char *nonce; in tv_box_xchacha20poly1305() local
H A Dchacha20.c23 unsigned char nonce[crypto_stream_chacha20_NONCEBYTES]; in tv() local
110 unsigned char nonce[crypto_stream_chacha20_IETF_NONCEBYTES]; in tv_ietf() local
H A Daead_chacha20poly1305.c20 static const unsigned char nonce[crypto_aead_chacha20poly1305_NPUBBYTES] in tv() local
200 static const unsigned char nonce[crypto_aead_chacha20poly1305_ietf_NPUBBYTES] in tv_ietf() local
H A Dstream3.c11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dsecretbox.c11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dstream4.c11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dsecretbox2.c11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dstream.c11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dsecretbox_easy.c11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dbox_easy.c17 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dsecretbox_easy2.c11 unsigned char *nonce; in main() local
H A Dbox.c23 static const unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
H A Dbox2.c23 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable
/freebsd-src/sys/crypto/
H A Dchacha20_poly1305.c40 const uint8_t *nonce, const size_t nonce_len, const uint8_t *key) in chacha20_poly1305_encrypt()
87 const uint8_t *nonce, const size_t nonce_len, const uint8_t *key) in chacha20_poly1305_decrypt()
143 const uint8_t *nonce, const uint8_t *key) in xchacha20_poly1305_encrypt()
190 const uint8_t *nonce, const uint8_t *key) in xchacha20_poly1305_decrypt()
/freebsd-src/contrib/wpa/src/crypto/
H A Daes-ctr.c25 int aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce, in aes_ctr_encrypt()
67 int aes_128_ctr_encrypt(const u8 *key, const u8 *nonce, in aes_128_ctr_encrypt()
H A Daes-ccm.c28 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start()
84 static void aes_ccm_encr_start(size_t L, const u8 *nonce, u8 *a) in aes_ccm_encr_start()
148 int aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, in aes_ccm_ae()
178 int aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, in aes_ccm_ad()
H A Daes-eax.c28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_encrypt()
92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_decrypt()
/freebsd-src/contrib/libfido2/src/
H A Daes256.c115 aes256_gcm(const fido_blob_t *key, const fido_blob_t *nonce, in aes256_gcm()
205 aes256_gcm_enc(const fido_blob_t *key, const fido_blob_t *nonce, in aes256_gcm_enc()
212 aes256_gcm_dec(const fido_blob_t *key, const fido_blob_t *nonce, in aes256_gcm_dec()
/freebsd-src/contrib/libarchive/libarchive/
H A Darchive_cryptor_private.h60 uint8_t nonce[AES_BLOCK_SIZE]; member
80 uint8_t nonce[AES_BLOCK_SIZE]; member
97 uint8_t nonce[AES_BLOCK_SIZE]; member
121 uint8_t nonce[AES_BLOCK_SIZE]; member
136 uint8_t nonce[AES_BLOCK_SIZE]; member
/freebsd-src/contrib/bearssl/src/aead/
H A Deax.c193 br_eax_reset(br_eax_context *ctx, const void *nonce, size_t len) in br_eax_reset()
218 const void *nonce, size_t len) in br_eax_reset_pre_aad()
246 const void *nonce, size_t len) in br_eax_reset_post_aad()
/freebsd-src/sys/crypto/aesni/
H A Daesni_ccm.c92 const unsigned char *nonce, size_t nonce_len, in cbc_mac_start()
191 const unsigned char *addt, const unsigned char *nonce, in AES_CCM_encrypt()
361 const unsigned char *addt, const unsigned char *nonce, in AES_CCM_decrypt()
/freebsd-src/contrib/bearssl/src/ssl/
H A Dssl_rec_ccm.c73 unsigned char nonce[12], header[13]; in ccm_decrypt() local
154 unsigned char nonce[12], header[13]; in ccm_encrypt() local
/freebsd-src/contrib/libfido2/tools/
H A Dlargeblob.c359 decode(const struct blob *ciphertext, const struct blob *nonce, in decode()
418 const struct blob *nonce, uint64_t origsiz) in try_rp()
447 struct blob *nonce, uint64_t *origsiz) in decode_blob_entry()
489 struct blob ciphertext, nonce; in print_blob_entry() local

123456