Home
last modified time | relevance | path

Searched refs:salt (Results 1 – 12 of 12) sorted by relevance

/fs/ecryptfs/
Ddebug.c20 char salt[ECRYPTFS_SALT_SIZE * 2 + 1]; in ecryptfs_dump_auth_tok() local
29 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok()
31 salt[ECRYPTFS_SALT_SIZE * 2] = '\0'; in ecryptfs_dump_auth_tok()
32 ecryptfs_printk(KERN_DEBUG, " * salt = [%s]\n", salt); in ecryptfs_dump_auth_tok()
Dkeystore.c1463 memcpy((*new_auth_tok)->token.password.salt, in parse_tag_3_packet()
2365 memcpy(&dest[(*packet_size)], auth_tok->token.password.salt, in write_tag_3_packet()
/fs/verity/
Dopen.c32 const u8 *salt, size_t salt_size) in fsverity_init_merkle_tree_params() argument
48 params->hashstate = fsverity_prepare_hash_state(hash_alg, salt, in fsverity_init_merkle_tree_params()
82 (int)salt_size, salt); in fsverity_init_merkle_tree_params()
164 desc->salt, desc->salt_size); in fsverity_create_info()
242 if (desc->salt_size > sizeof(desc->salt)) { in validate_fsverity_descriptor()
Dfsverity_private.h97 const u8 *salt, size_t salt_size);
122 const u8 *salt, size_t salt_size);
Denable.c219 copy_from_user(desc->salt, u64_to_user_ptr(arg->salt_ptr), in enable_verity()
241 desc->salt, desc->salt_size); in enable_verity()
359 if (arg.salt_size > sizeof_field(struct fsverity_descriptor, salt)) in fsverity_ioctl_enable()
Dhash_algs.c157 const u8 *salt, size_t salt_size) in fsverity_prepare_hash_state() argument
190 memcpy(padded_salt, salt, salt_size); in fsverity_prepare_hash_state()
/fs/fscache/
Dmain.c124 unsigned int fscache_hash(unsigned int salt, unsigned int *data, unsigned int n) in fscache_hash() argument
126 unsigned int a, x = 0, y = salt; in fscache_hash()
Dinternal.h100 extern unsigned int fscache_hash(unsigned int salt, unsigned int *data, unsigned int n);
/fs/unicode/
Dutf8-core.c128 int utf8_casefold_hash(const struct unicode_map *um, const void *salt, in utf8_casefold_hash() argument
134 unsigned long hash = init_name_hash(salt); in utf8_casefold_hash()
/fs/incfs/
Dintegrity.c55 struct mem_range salt; member
118 if (!read_mem_range(&p, top, &si->salt)) in incfs_parse_signature()
Dverity.c403 u8 salt[0]; in incfs_add_signature_record() member
/fs/
Dnamei.c2067 unsigned int full_name_hash(const void *salt, const char *name, unsigned int len) in full_name_hash() argument
2069 unsigned long a, x = 0, y = (unsigned long)salt; in full_name_hash()
2088 u64 hashlen_string(const void *salt, const char *name) in hashlen_string() argument
2090 unsigned long a = 0, x = 0, y = (unsigned long)salt; in hashlen_string()
2116 static inline u64 hash_name(const void *salt, const char *name) in hash_name() argument
2118 unsigned long a = 0, b, x = 0, y = (unsigned long)salt; in hash_name()
2144 unsigned int full_name_hash(const void *salt, const char *name, unsigned int len) in full_name_hash() argument
2146 unsigned long hash = init_name_hash(salt); in full_name_hash()
2154 u64 hashlen_string(const void *salt, const char *name) in hashlen_string() argument
2156 unsigned long hash = init_name_hash(salt); in hashlen_string()
[all …]