| /f-stack/freebsd/crypto/camellia/ |
| H A D | camellia.h | 38 uint32_t subkey[CAMELLIA_SUBKEYWORD]; /* encrypt/decrypt key schedule */ member 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 …]
|
| H A D | camellia-api.c | 42 Camellia_Ekeygen(bits, key, ctx->subkey); in camellia_set_key() 50 Camellia_DecryptBlock(ctx->bits, src, ctx->subkey, dst); in camellia_decrypt() 57 Camellia_EncryptBlock(ctx->bits, src, ctx->subkey, dst); in camellia_encrypt()
|
| H A D | camellia.c | 78 #define SUBR(INDEX) (subkey[(INDEX)*2]) 938 camellia_setup256(kk, subkey); in camellia_setup192() 1251 uint32_t *subkey) in Camellia_Ekeygen() argument 1258 camellia_setup128(rawKey, subkey); in Camellia_Ekeygen() 1261 camellia_setup192(rawKey, subkey); in Camellia_Ekeygen() 1273 const uint32_t *subkey, in Camellia_EncryptBlock() argument 1285 camellia_encrypt128(subkey, tmp); in Camellia_EncryptBlock() 1290 camellia_encrypt256(subkey, tmp); in Camellia_EncryptBlock() 1305 const uint32_t *subkey, in Camellia_DecryptBlock() argument 1317 camellia_decrypt128(subkey, tmp); in Camellia_DecryptBlock() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/xsalsa20/ |
| H A D | stream_xsalsa20.c | 11 unsigned char subkey[32]; in crypto_stream_xsalsa20() local 14 crypto_core_hsalsa20(subkey, n, k, NULL); in crypto_stream_xsalsa20() 15 ret = crypto_stream_salsa20(c, clen, n + 16, subkey); in crypto_stream_xsalsa20() 16 sodium_memzero(subkey, sizeof subkey); in crypto_stream_xsalsa20() 26 unsigned char subkey[32]; in crypto_stream_xsalsa20_xor_ic() local 29 crypto_core_hsalsa20(subkey, n, k, NULL); in crypto_stream_xsalsa20_xor_ic() 30 ret = crypto_stream_salsa20_xor_ic(c, m, mlen, n + 16, ic, subkey); in crypto_stream_xsalsa20_xor_ic() 31 sodium_memzero(subkey, sizeof subkey); in crypto_stream_xsalsa20_xor_ic()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretbox/ |
| H A D | crypto_secretbox_easy.c | 28 crypto_core_hsalsa20(subkey, n, k, NULL); in crypto_secretbox_detached() 48 n + 16, subkey); in crypto_secretbox_detached() 59 n + 16, 1U, subkey); in crypto_secretbox_detached() 61 sodium_memzero(subkey, sizeof subkey); in crypto_secretbox_detached() 90 unsigned char subkey[crypto_stream_salsa20_KEYBYTES]; in crypto_secretbox_open_detached() local 94 crypto_core_hsalsa20(subkey, n, k, NULL); in crypto_secretbox_open_detached() 96 n + 16, subkey); in crypto_secretbox_open_detached() 98 sodium_memzero(subkey, sizeof subkey); in crypto_secretbox_open_detached() 120 n + 16, subkey); in crypto_secretbox_open_detached() 126 n + 16, 1U, subkey); in crypto_secretbox_open_detached() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretbox/xchacha20poly1305/ |
| H A D | secretbox_xchacha20poly1305.c | 32 crypto_core_hchacha20(subkey, n, k, NULL); in crypto_secretbox_xchacha20poly1305_detached() 52 n + 16, subkey); in crypto_secretbox_xchacha20poly1305_detached() 63 n + 16, 1U, subkey); in crypto_secretbox_xchacha20poly1305_detached() 65 sodium_memzero(subkey, sizeof subkey); in crypto_secretbox_xchacha20poly1305_detached() 97 unsigned char subkey[crypto_stream_chacha20_KEYBYTES]; in crypto_secretbox_xchacha20poly1305_open_detached() local 101 crypto_core_hchacha20(subkey, n, k, NULL); in crypto_secretbox_xchacha20poly1305_open_detached() 103 n + 16, subkey); in crypto_secretbox_xchacha20poly1305_open_detached() 105 sodium_memzero(subkey, sizeof subkey); in crypto_secretbox_xchacha20poly1305_open_detached() 127 n + 16, subkey); in crypto_secretbox_xchacha20poly1305_open_detached() 133 n + 16, 1U, subkey); in crypto_secretbox_xchacha20poly1305_open_detached() [all …]
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | kdf.c | 9 unsigned char *subkey; in tv_kdf() local 22 subkey = (unsigned char *) sodium_malloc(crypto_kdf_BYTES_MAX); in tv_kdf() 24 ret = crypto_kdf_derive_from_key(subkey, crypto_kdf_BYTES_MAX, in tv_kdf() 27 sodium_bin2hex(hex, sizeof hex, subkey, crypto_kdf_BYTES_MAX); in tv_kdf() 30 sodium_free(subkey); in tv_kdf() 33 subkey = (unsigned char *) sodium_malloc(crypto_kdf_BYTES_MAX); in tv_kdf() 34 if (crypto_kdf_derive_from_key(subkey, (size_t) i, in tv_kdf() 36 sodium_bin2hex(hex, sizeof hex, subkey, (size_t) i); in tv_kdf() 42 sodium_free(subkey); in tv_kdf()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ |
| H A D | secretbox_xsalsa20poly1305.c | 31 unsigned char subkey[32]; in crypto_secretbox_xsalsa20poly1305_open() local 37 crypto_stream_xsalsa20(subkey, 32, n, k); in crypto_secretbox_xsalsa20poly1305_open() 39 clen - 32, subkey) != 0) { in crypto_secretbox_xsalsa20poly1305_open()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | rtree.c | 249 uintptr_t subkey = rtree_subkey(key, level); \ in rtree_leaf_elm_lookup_hard() 253 &node[subkey], level, dependent) : \ in rtree_leaf_elm_lookup_hard() 254 rtree_child_node_tryread(&node[subkey], \ in rtree_leaf_elm_lookup_hard() 259 &node[subkey], level, dependent) : \ in rtree_leaf_elm_lookup_hard() 260 rtree_child_leaf_tryread(&node[subkey], \ in rtree_leaf_elm_lookup_hard() 288 uintptr_t subkey = rtree_subkey(key, level); \ in rtree_leaf_elm_lookup_hard() 289 return &leaf[subkey]; \ in rtree_leaf_elm_lookup_hard()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_kdf/ |
| H A D | crypto_kdf.c | 36 crypto_kdf_derive_from_key(unsigned char *subkey, size_t subkey_len, in crypto_kdf_derive_from_key() argument 41 return crypto_kdf_blake2b_derive_from_key(subkey, subkey_len, in crypto_kdf_derive_from_key()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_kdf/blake2b/ |
| H A D | kdf_blake2b.c | 31 int crypto_kdf_blake2b_derive_from_key(unsigned char *subkey, size_t subkey_len, in crypto_kdf_blake2b_derive_from_key() argument 48 return crypto_generichash_blake2b_salt_personal(subkey, subkey_len, in crypto_kdf_blake2b_derive_from_key()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_kdf_blake2b.h | 34 int crypto_kdf_blake2b_derive_from_key(unsigned char *subkey, size_t subkey_len,
|
| H A D | crypto_kdf.h | 39 int crypto_kdf_derive_from_key(unsigned char *subkey, size_t subkey_len,
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | rtree.h | 340 uintptr_t subkey = rtree_subkey(key, RTREE_HEIGHT-1); in rtree_leaf_elm_lookup() local 341 return &leaf[subkey]; in rtree_leaf_elm_lookup() 369 uintptr_t subkey = rtree_subkey(key, RTREE_HEIGHT-1); \ in rtree_leaf_elm_lookup() 370 return &leaf[subkey]; \ in rtree_leaf_elm_lookup()
|