Home
last modified time | relevance | path

Searched refs:raw_key (Results 1 – 3 of 3) sorted by relevance

/fs/crypto/
A Dkeysetup_v1.c172 const u8 *raw_key, in find_or_insert_direct_key() argument
197 if (crypto_memneq(raw_key, dk->dk_raw, ci->ci_mode->keysize)) in find_or_insert_direct_key()
213 fscrypt_get_direct_key(const struct fscrypt_inode_info *ci, const u8 *raw_key) in fscrypt_get_direct_key() argument
219 dk = find_or_insert_direct_key(NULL, raw_key, ci); in fscrypt_get_direct_key()
230 err = fscrypt_prepare_key(&dk->dk_key, raw_key, ci); in fscrypt_get_direct_key()
235 memcpy(dk->dk_raw, raw_key, ci->ci_mode->keysize); in fscrypt_get_direct_key()
237 return find_or_insert_direct_key(dk, raw_key, ci); in fscrypt_get_direct_key()
A Dkeysetup.c101 fscrypt_allocate_skcipher(struct fscrypt_mode *mode, const u8 *raw_key, in fscrypt_allocate_skcipher() argument
136 err = crypto_sync_skcipher_setkey(tfm, raw_key, mode->keysize); in fscrypt_allocate_skcipher()
154 const u8 *raw_key, const struct fscrypt_inode_info *ci) in fscrypt_prepare_key() argument
159 return fscrypt_prepare_inline_crypt_key(prep_key, raw_key, in fscrypt_prepare_key()
163 tfm = fscrypt_allocate_skcipher(ci->ci_mode, raw_key, ci->ci_inode); in fscrypt_prepare_key()
187 const u8 *raw_key) in fscrypt_set_per_file_enc_key() argument
190 return fscrypt_prepare_key(&ci->ci_enc_key, raw_key, ci); in fscrypt_set_per_file_enc_key()
A Dfscrypt_private.h727 const u8 *raw_key, const struct fscrypt_inode_info *ci);
733 const u8 *raw_key);

Completed in 10 milliseconds