Home
last modified time | relevance | path

Searched refs:salt (Results 1 – 8 of 8) 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()
171 if (desc->salt_size > sizeof(desc->salt)) { in fsverity_create_info()
191 desc->salt, desc->salt_size); in fsverity_create_info()
Dfsverity_private.h89 __u8 salt[32]; /* salt prepended to each hashed block */ member
120 const u8 *salt, size_t salt_size);
145 const u8 *salt, size_t salt_size);
Denable.c178 copy_from_user(desc->salt, in enable_verity()
202 desc->salt, desc->salt_size); in enable_verity()
318 if (arg.salt_size > FIELD_SIZEOF(struct fsverity_descriptor, salt)) in fsverity_ioctl_enable()
Dhash_algs.c105 const u8 *salt, size_t salt_size) in fsverity_prepare_hash_state() argument
141 memcpy(padded_salt, salt, salt_size); in fsverity_prepare_hash_state()
/fs/
Dnamei.c2023 unsigned int full_name_hash(const void *salt, const char *name, unsigned int len) in full_name_hash() argument
2025 unsigned long a, x = 0, y = (unsigned long)salt; in full_name_hash()
2044 u64 hashlen_string(const void *salt, const char *name) in hashlen_string() argument
2046 unsigned long a = 0, x = 0, y = (unsigned long)salt; in hashlen_string()
2072 static inline u64 hash_name(const void *salt, const char *name) in hash_name() argument
2074 unsigned long a = 0, b, x = 0, y = (unsigned long)salt; in hash_name()
2100 unsigned int full_name_hash(const void *salt, const char *name, unsigned int len) in full_name_hash() argument
2102 unsigned long hash = init_name_hash(salt); in full_name_hash()
2110 u64 hashlen_string(const void *salt, const char *name) in hashlen_string() argument
2112 unsigned long hash = init_name_hash(salt); in hashlen_string()
[all …]
/fs/sdcardfs/
Dpackagelist.c48 static unsigned int full_name_case_hash(const void *salt, const unsigned char *name, unsigned int l… in full_name_case_hash() argument
50 unsigned long hash = init_name_hash(salt); in full_name_case_hash()