Home
last modified time | relevance | path

Searched refs:signature (Results 1 – 25 of 26) sorted by relevance

12

/fs/incfs/
Dverity.c74 struct mem_range signature = { in incfs_end_enable_verity() local
98 error = incfs_write_verity_signature_to_backing_file(bfc, signature, in incfs_end_enable_verity()
116 .size = signature.len, in incfs_end_enable_verity()
212 u8 *signature, size_t sig_size) in incfs_calc_verity_digest_from_desc() argument
242 err = __fsverity_verify_signature(inode, signature, sig_size, in incfs_calc_verity_digest_from_desc()
281 u8 *signature, size_t signature_size, in incfs_calc_verity_digest() argument
291 signature, signature_size); in incfs_calc_verity_digest()
430 struct incfs_df_signature *signature = NULL; in incfs_add_signature_record() local
490 signature = kzalloc(sizeof(*signature), GFP_NOFS); in incfs_add_signature_record()
491 if (!signature) { in incfs_add_signature_record()
[all …]
Dintegrity.c92 static int incfs_parse_signature(struct mem_range signature, in incfs_parse_signature() argument
95 u8 *p = signature.data; in incfs_parse_signature()
96 u8 *top = signature.data + signature.len; in incfs_parse_signature()
99 if (signature.len > INCFS_MAX_SIGNATURE_SIZE) in incfs_parse_signature()
130 struct mtree *incfs_alloc_mtree(struct mem_range signature, in incfs_alloc_mtree() argument
146 error = incfs_parse_signature(signature, &si); in incfs_alloc_mtree()
Ddata_mgmt.c1547 struct incfs_df_signature *signature = in process_file_signature_md() local
1548 kzalloc(sizeof(*signature), GFP_NOFS); in process_file_signature_md()
1552 if (!signature) in process_file_signature_md()
1561 signature->hash_offset = le64_to_cpu(sg->sg_hash_tree_offset); in process_file_signature_md()
1562 signature->hash_size = le32_to_cpu(sg->sg_hash_tree_size); in process_file_signature_md()
1563 signature->sig_offset = le64_to_cpu(sg->sg_sig_offset); in process_file_signature_md()
1564 signature->sig_size = le32_to_cpu(sg->sg_sig_size); in process_file_signature_md()
1566 buf = kzalloc(signature->sig_size, GFP_NOFS); in process_file_signature_md()
1573 signature->sig_size, signature->sig_offset); in process_file_signature_md()
1579 if (read != signature->sig_size) { in process_file_signature_md()
[all …]
Dformat.c371 struct backing_file_context *bfc, struct mem_range signature, in incfs_write_verity_signature_to_backing_file() argument
379 if (signature.data == NULL || signature.len == 0) in incfs_write_verity_signature_to_backing_file()
390 .vs_size = cpu_to_le32(signature.len), in incfs_write_verity_signature_to_backing_file()
394 result = write_to_bf(bfc, signature.data, signature.len, pos); in incfs_write_verity_signature_to_backing_file()
702 &handler->md_buffer.signature, handler); in incfs_read_next_metadata_record()
Dformat.h327 struct incfs_file_signature signature; member
382 struct backing_file_context *bfc, struct mem_range signature,
Dintegrity.h43 struct mtree *incfs_alloc_mtree(struct mem_range signature,
/fs/verity/
Dsignature.c41 const u8 *signature, size_t sig_size) in fsverity_verify_signature() argument
46 return __fsverity_verify_signature(vi->inode, signature, sig_size, in fsverity_verify_signature()
63 int __fsverity_verify_signature(const struct inode *inode, const u8 *signature, in __fsverity_verify_signature() argument
109 signature, sig_size, fsverity_keyring, in __fsverity_verify_signature()
Dfsverity_private.h143 const u8 *signature, size_t sig_size);
149 const u8 *signature, size_t sig_size) in fsverity_verify_signature() argument
Dread_metadata.c109 desc_size = offsetof(struct fsverity_descriptor, signature); in fsverity_read_descriptor()
138 res = fsverity_read_buffer(buf, offset, length, desc->signature, in fsverity_read_signature()
DKconfig27 against a known good value, e.g. from a digital signature).
45 bool "FS Verity builtin signature support"
DMakefile13 obj-$(CONFIG_FS_VERITY_BUILTIN_SIGNATURES) += signature.o
Dopen.c184 err = fsverity_verify_signature(vi, desc->signature, in fsverity_create_info()
Denable.c228 copy_from_user(desc->signature, u64_to_user_ptr(arg->sig_ptr), in enable_verity()
/fs/hfsplus/
Dwrapper.c195 switch (sbi->s_vhdr->signature) { in hfsplus_read_wrapper()
228 if (sbi->s_backup_vhdr->signature != sbi->s_vhdr->signature) { in hfsplus_read_wrapper()
Dhfsplus_raw.h105 __be16 signature; member
/fs/ecryptfs/
Dkeystore.c144 write_tag_64_packet(char *signature, struct ecryptfs_session_key *session_key, in write_tag_64_packet() argument
179 memcpy(&message[i], signature, ECRYPTFS_SIG_SIZE_HEX); in write_tag_64_packet()
285 write_tag_66_packet(char *signature, u8 cipher_code, in write_tag_66_packet() argument
322 memcpy(&message[i], signature, ECRYPTFS_SIG_SIZE_HEX); in write_tag_66_packet()
1104 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1107 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1294 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
1818 ecryptfs_to_hex(new_auth_tok->token.password.signature, in ecryptfs_parse_packet_set()
1820 new_auth_tok->token.password.signature[ in ecryptfs_parse_packet_set()
1971 rc = write_tag_66_packet(auth_tok->token.private_key.signature, in pki_encrypt_session_key()
[all …]
Ddebug.c37 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
/fs/cifs/
Dcifsencrypt.c41 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature() argument
98 rc = crypto_shash_final(shash, signature); in __cifs_calc_signature()
113 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() argument
117 if (!rqst->rq_iov || !signature || !server) in cifs_calc_signature()
138 return __cifs_calc_signature(rqst, server, signature, in cifs_calc_signature()
Dcifsproto.h592 struct TCP_Server_Info *server, char *signature,
/fs/ocfs2/
Docfs1_fs_compat.h35 /*08*/ __u8 signature[OCFS1_MAX_VOL_SIGNATURE_LEN]; member
Dsuper.c762 if (memcmp(hdr->signature, OCFS1_VOLUME_SIGNATURE, in ocfs2_sb_probe()
765 hdr->signature); in ocfs2_sb_probe()
/fs/isofs/
Drock.h97 __u8 signature[2]; member
/fs/exfat/
Dexfat_raw.h106 __le16 signature; member
Dsuper.c430 if (le16_to_cpu((p_boot->signature)) != BOOT_SIGNATURE) { in exfat_read_boot_sector()
/fs/pstore/
DKconfig199 filled hex representation of the 32-bit "NT disk signature", and PP

12