Home
last modified time | relevance | path

Searched refs:keysize (Results 1 – 6 of 6) sorted by relevance

/fs/crypto/
Dkeysetup.c20 .keysize = 64,
28 .keysize = 32,
35 .keysize = 16,
43 .keysize = 16,
50 .keysize = 32,
111 err = crypto_skcipher_setkey(tfm, raw_key, mode->keysize); in fscrypt_allocate_skcipher()
137 if (WARN_ON(is_hw_wrapped || raw_key_size != ci->ci_mode->keysize)) in fscrypt_prepare_key()
166 ci->ci_mode->keysize, in fscrypt_set_per_file_enc_key()
232 mode_key, mode->keysize); in setup_per_mode_enc_key()
235 err = fscrypt_prepare_key(prep_key, mode_key, mode->keysize, in setup_per_mode_enc_key()
[all …]
Dkeysetup_v1.c204 if (crypto_memneq(raw_key, dk->dk_raw, ci->ci_mode->keysize)) in find_or_insert_direct_key()
236 err = fscrypt_prepare_key(&dk->dk_key, raw_key, ci->ci_mode->keysize, in fscrypt_get_direct_key()
242 memcpy(dk->dk_raw, raw_key, ci->ci_mode->keysize); in fscrypt_get_direct_key()
276 derived_key = kmalloc(ci->ci_mode->keysize, GFP_KERNEL); in setup_v1_file_key_derived()
281 derived_key, ci->ci_mode->keysize); in setup_v1_file_key_derived()
307 ci->ci_mode->keysize, &payload); in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
311 ci->ci_mode->keysize, &payload); in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
Dfscrypt_private.h623 int keysize; /* key size in bytes */ member
/fs/befs/
Dbtree.c412 loff_t key_no, size_t bufsize, char *keybuf, size_t * keysize, in befs_btree_read() argument
450 *keysize = 0; in befs_btree_read()
463 *keysize = 0; in befs_btree_read()
505 *keysize = keylen; in befs_btree_read()
521 *keysize = 0; in befs_btree_read()
Dbtree.h12 size_t *keysize, befs_off_t *value);
Dlinuxvfs.c224 size_t keysize; in befs_readdir() local
232 keybuf, &keysize, &value); in befs_readdir()
255 befs_utf2nls(sb, keybuf, keysize, &nlsname, in befs_readdir()
268 if (!dir_emit(ctx, keybuf, keysize, in befs_readdir()