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

/linux-4.1.27/drivers/staging/skein/
H A Dskein_base.h112 ** Notes: Same parameters as _init() calls, plus tree_info/key/key_bytes.
113 ** When key_bytes == 0 and tree_info == SKEIN_SEQUENTIAL,
123 u64 tree_info, const u8 *key, size_t key_bytes);
125 u64 tree_info, const u8 *key, size_t key_bytes);
127 u64 tree_info, const u8 *key, size_t key_bytes);
H A Dskein_base.c78 /* [identical to skein_256_init() when key_bytes == 0 && \
81 u64 tree_info, const u8 *key, size_t key_bytes) skein_256_init_ext()
89 skein_assert_ret(key_bytes == 0 || key != NULL, SKEIN_FAIL); skein_256_init_ext()
92 if (key_bytes == 0) { /* is there a key? */ skein_256_init_ext()
105 skein_256_update(ctx, key, key_bytes); skein_256_init_ext()
304 /* [identical to skein_512_init() when key_bytes == 0 && \
307 u64 tree_info, const u8 *key, size_t key_bytes) skein_512_init_ext()
315 skein_assert_ret(key_bytes == 0 || key != NULL, SKEIN_FAIL); skein_512_init_ext()
318 if (key_bytes == 0) { /* is there a key? */ skein_512_init_ext()
331 skein_512_update(ctx, key, key_bytes); skein_512_init_ext()
523 /* [identical to skein_1024_init() when key_bytes == 0 && \
526 u64 tree_info, const u8 *key, size_t key_bytes) skein_1024_init_ext()
534 skein_assert_ret(key_bytes == 0 || key != NULL, SKEIN_FAIL); skein_1024_init_ext()
537 if (key_bytes == 0) { /* is there a key? */ skein_1024_init_ext()
550 skein_1024_update(ctx, key, key_bytes); skein_1024_init_ext()
80 skein_256_init_ext(struct skein_256_ctx *ctx, size_t hash_bit_len, u64 tree_info, const u8 *key, size_t key_bytes) skein_256_init_ext() argument
306 skein_512_init_ext(struct skein_512_ctx *ctx, size_t hash_bit_len, u64 tree_info, const u8 *key, size_t key_bytes) skein_512_init_ext() argument
525 skein_1024_init_ext(struct skein_1024_ctx *ctx, size_t hash_bit_len, u64 tree_info, const u8 *key, size_t key_bytes) skein_1024_init_ext() argument
/linux-4.1.27/drivers/md/bcache/
H A Dsysfs.c506 return div64_u64(c->gc_stats.key_bytes * 100, bch_btree_used()
H A Dbtree.c1262 gc->key_bytes += bkey_u64s(k); btree_gc_mark_node()
1755 stats.key_bytes *= sizeof(uint64_t); bch_btree_gc()
H A Dbcache.h463 size_t key_bytes; member in struct:gc_stat
/linux-4.1.27/fs/ecryptfs/
H A Dcrypto.c981 * @key_bytes: Length of key in bytes; used for AES code selection
985 u8 ecryptfs_code_for_cipher_string(char *cipher_name, size_t key_bytes) ecryptfs_code_for_cipher_string() argument
993 switch (key_bytes) { ecryptfs_code_for_cipher_string()
H A Decryptfs_kernel.h600 u8 ecryptfs_code_for_cipher_string(char *cipher_name, size_t key_bytes);

Completed in 222 milliseconds