/src/sys/crypto/camellia/ |
camellia.h | 38 uint32_t subkey[CAMELLIA_SUBKEYWORD]; /* encrypt/decrypt key schedule */ member in struct:__anon09886de00108 48 uint32_t *subkey); 52 const uint32_t *subkey, 57 const uint32_t *subkey, 60 void camellia_setup128(const unsigned char *key, uint32_t *subkey); 61 void camellia_setup192(const unsigned char *key, uint32_t *subkey); 62 void camellia_setup256(const unsigned char *key, uint32_t *subkey); 63 void camellia_encrypt128(const uint32_t *subkey, uint32_t *io); 64 void camellia_encrypt256(const uint32_t *subkey, uint32_t *io); 65 void camellia_decrypt128(const uint32_t *subkey, uint32_t *io) [all...] |
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretbox/ |
crypto_secretbox_easy.c | 24 unsigned char subkey[crypto_stream_salsa20_KEYBYTES]; local in function:crypto_secretbox_detached 28 crypto_core_hsalsa20(subkey, n, k, NULL); 48 n + 16, subkey); 59 n + 16, 1U, subkey); 61 sodium_memzero(subkey, sizeof subkey); 90 unsigned char subkey[crypto_stream_salsa20_KEYBYTES]; local in function:crypto_secretbox_open_detached 94 crypto_core_hsalsa20(subkey, n, k, NULL); 96 n + 16, subkey); 98 sodium_memzero(subkey, sizeof subkey) [all...] |
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/xsalsa20/ |
stream_xsalsa20.c | 11 unsigned char subkey[32]; local in function:crypto_stream_xsalsa20 14 crypto_core_hsalsa20(subkey, n, k, NULL); 15 ret = crypto_stream_salsa20(c, clen, n + 16, subkey); 16 sodium_memzero(subkey, sizeof subkey); 26 unsigned char subkey[32]; local in function:crypto_stream_xsalsa20_xor_ic 29 crypto_core_hsalsa20(subkey, n, k, NULL); 30 ret = crypto_stream_salsa20_xor_ic(c, m, mlen, n + 16, ic, subkey); 31 sodium_memzero(subkey, sizeof subkey); [all...] |
/src/sys/external/isc/libsodium/dist/test/default/ |
kdf.c | 9 unsigned char *subkey; local in function:tv_kdf 21 subkey = (unsigned char *) sodium_malloc(crypto_kdf_BYTES_MAX); 23 ret = crypto_kdf_derive_from_key(subkey, crypto_kdf_BYTES_MAX, 26 sodium_bin2hex(hex, sizeof hex, subkey, crypto_kdf_BYTES_MAX); 29 sodium_free(subkey); 32 subkey = (unsigned char *) sodium_malloc(crypto_kdf_BYTES_MAX); 33 if (crypto_kdf_derive_from_key(subkey, (size_t) i, 35 sodium_bin2hex(hex, sizeof hex, subkey, (size_t) i); 41 sodium_free(subkey);
|
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretbox/xchacha20poly1305/ |
secretbox_xchacha20poly1305.c | 28 unsigned char subkey[crypto_stream_chacha20_KEYBYTES]; local in function:crypto_secretbox_xchacha20poly1305_detached 32 crypto_core_hchacha20(subkey, n, k, NULL); 52 n + 16, subkey); 63 n + 16, 1U, subkey); 65 sodium_memzero(subkey, sizeof subkey); 97 unsigned char subkey[crypto_stream_chacha20_KEYBYTES]; local in function:crypto_secretbox_xchacha20poly1305_open_detached 101 crypto_core_hchacha20(subkey, n, k, NULL); 103 n + 16, subkey); 105 sodium_memzero(subkey, sizeof subkey) [all...] |
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretbox/xsalsa20poly1305/ |
secretbox_xsalsa20poly1305.c | 31 unsigned char subkey[32]; local in function:crypto_secretbox_xsalsa20poly1305_open 37 crypto_stream_xsalsa20(subkey, 32, n, k); 39 clen - 32, subkey) != 0) {
|
/src/sys/crypto/chacha/arch/arm/ |
chacha_neon.c | 334 uint8_t subkey[32]; 337 hchacha_neon(subkey, nonce/*[0:16)*/, k, chacha_const32, nr); 340 chacha_stream_neon(s, nbytes, blkno, subnonce, subkey, nr); 350 uint8_t subkey[32]; 353 hchacha_neon(subkey, nonce/*[0:16)*/, k, chacha_const32, nr); 356 chacha_stream_xor_neon(c, p, nbytes, blkno, subnonce, subkey, nr); 328 uint8_t subkey[32]; local in function:xchacha_stream_neon 344 uint8_t subkey[32]; local in function:xchacha_stream_xor_neon
|
/src/sys/crypto/chacha/ |
chacha_ref.c | 431 uint8_t subkey[32]; 434 hchacha_ref(subkey, nonce/*[0:16)*/, k, chacha_const32, nr); 437 chacha_stream_ref(s, nbytes, blkno, subnonce, subkey, nr); 447 uint8_t subkey[32]; 450 hchacha_ref(subkey, nonce/*[0:16)*/, k, chacha_const32, nr); 453 chacha_stream_xor_ref(c, p, nbytes, blkno, subnonce, subkey, nr); 424 uint8_t subkey[32]; local in function:xchacha_stream_ref 440 uint8_t subkey[32]; local in function:xchacha_stream_xor_ref
|
/src/sys/crypto/chacha/arch/x86/ |
chacha_sse2.c | 532 uint8_t subkey[32]; 535 hchacha_sse2(subkey, nonce/*[0:16)*/, k, chacha_const32, nr); 538 chacha_stream_sse2(s, nbytes, blkno, subnonce, subkey, nr); 548 uint8_t subkey[32]; 551 hchacha_sse2(subkey, nonce/*[0:16)*/, k, chacha_const32, nr); 554 chacha_stream_xor_sse2(c, p, nbytes, blkno, subnonce, subkey, nr); 521 uint8_t subkey[32]; local in function:xchacha_stream_sse2 537 uint8_t subkey[32]; local in function:xchacha_stream_xor_sse2
|