Home
last modified time | relevance | path

Searched refs:key_bytes (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/md/
H A Ddm-inlinecrypt.c88 static int set_key_user(struct key *key, char *key_bytes, in set_key_user() argument
100 memcpy(key_bytes, ukp->data, key_bytes_size); in set_key_user()
105 static int inlinecrypt_get_keyring_key(const char *key_string, u8 *key_bytes, in inlinecrypt_get_keyring_key() argument
112 int (*set_key)(struct key *key, char *key_bytes, in inlinecrypt_get_keyring_key()
142 ret = set_key(key, (char *)key_bytes, key_bytes_size); in inlinecrypt_get_keyring_key()
183 static int inlinecrypt_get_keyring_key(const char *key_string, u8 *key_bytes, in inlinecrypt_get_keyring_key() argument
314 u8 key_bytes[BLK_CRYPTO_MAX_ANY_KEY_SIZE]; in inlinecrypt_ctr() local
354 err = inlinecrypt_get_key(argv[1], key_bytes, ctx->key_size); in inlinecrypt_ctr()
408 err = blk_crypto_init_key(&ctx->key, key_bytes, ctx->key_size, in inlinecrypt_ctr()
431 memzero_explicit(key_bytes, sizeof(key_bytes)); in inlinecrypt_ctr()
/linux/net/rxrpc/
H A Drxgk_kdf.c64 unsigned int L = krb5->key_bytes; in rxgk_derive_transport_key()
108 buffer = kzalloc(krb5->key_bytes, gfp); in rxgk_set_up_ciphers()
112 TK.len = krb5->key_bytes; in rxgk_set_up_ciphers()
/linux/fs/crypto/
H A Dfscrypt_private.h409 const u8 *key_bytes, size_t key_size,
443 const u8 *key_bytes, size_t key_size, in fscrypt_prepare_inline_crypt_key() argument
/linux/include/crypto/
H A Dkrb5.h98 u16 key_bytes; /* Length of raw key, in bytes */ member
/linux/Documentation/crypto/
H A Dkrb5.rst68 u16 key_bytes;
88 * ``key_len`` and ``key_bytes`` are the input key length and the derived key
/linux/fs/ecryptfs/
H A Decryptfs_kernel.h574 u8 ecryptfs_code_for_cipher_string(char *cipher_name, size_t key_bytes);
H A Dcrypto.c815 u8 ecryptfs_code_for_cipher_string(char *cipher_name, size_t key_bytes) in ecryptfs_code_for_cipher_string() argument
823 switch (key_bytes) { in ecryptfs_code_for_cipher_string()
/linux/drivers/md/bcache/
H A Dbcache.h486 size_t key_bytes; member
H A Dsysfs.c713 return div64_u64(c->gc_stats.key_bytes * 100, in bch_btree_used()
H A Dbtree.c1322 gc->key_bytes += bkey_u64s(k); in btree_gc_mark_node()
1860 stats.key_bytes *= sizeof(uint64_t); in bch_btree_gc()
/linux/net/key/
H A Daf_key.c424 int key_bytes = DIV_ROUND_UP(key->sadb_key_bits, 8); in sadb_key_len() local
426 return DIV_ROUND_UP(sizeof(struct sadb_key) + key_bytes, in sadb_key_len()