/linux-6.12.1/fs/verity/ |
D | enable.c | 203 if (arg->salt_size && in enable_verity() 205 arg->salt_size)) { in enable_verity() 209 desc->salt_size = arg->salt_size; in enable_verity() 226 desc->salt, desc->salt_size); in enable_verity() 337 if (arg.salt_size > sizeof_field(struct fsverity_descriptor, salt)) in fsverity_ioctl_enable()
|
D | hash_algs.c | 112 const u8 *salt, size_t salt_size) in fsverity_prepare_hash_state() argument 122 if (salt_size == 0) in fsverity_prepare_hash_state() 136 padded_salt_size = round_up(salt_size, alg->block_size); in fsverity_prepare_hash_state() 142 memcpy(padded_salt, salt, salt_size); in fsverity_prepare_hash_state()
|
D | open.c | 33 const u8 *salt, size_t salt_size) in fsverity_init_merkle_tree_params() argument 51 salt_size); in fsverity_init_merkle_tree_params() 194 desc->salt, desc->salt_size); in fsverity_create_info() 300 if (desc->salt_size > sizeof(desc->salt)) { in validate_fsverity_descriptor() 301 fsverity_err(inode, "Invalid salt_size: %u", desc->salt_size); in validate_fsverity_descriptor()
|
D | fsverity_private.h | 84 const u8 *salt, size_t salt_size); 118 const u8 *salt, size_t salt_size);
|
/linux-6.12.1/include/uapi/linux/ |
D | fsverity.h | 23 __u32 salt_size; member 51 __u8 salt_size; /* size of salt in bytes; 0 if none */ member
|
/linux-6.12.1/drivers/md/ |
D | dm-verity-target.c | 163 if (likely(v->salt_size && (v->version >= 1))) in verity_ahash_init() 164 r = verity_ahash_update(v, req, v->salt, v->salt_size, wait); in verity_ahash_init() 174 if (unlikely(v->salt_size && (!v->version))) { in verity_ahash_final() 175 r = verity_ahash_update(v, req, v->salt, v->salt_size, wait); in verity_ahash_final() 828 if (!v->salt_size) in verity_status() 831 for (x = 0; x < v->salt_size; x++) in verity_status() 904 if (!v->salt_size) in verity_status() 907 for (x = 0; x < v->salt_size; x++) in verity_status() 1337 v->salt_size = strlen(arg) / 2; in verity_setup_salt_and_hashstate() 1338 v->salt = kmalloc(v->salt_size, GFP_KERNEL); in verity_setup_salt_and_hashstate() [all …]
|
D | dm-verity.h | 52 unsigned int salt_size; member
|
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 258 int ck_size, key_ctx_size, kctx_mackey_size, salt_size; in chtls_key_info() local 278 salt_size = TLS_CIPHER_AES_GCM_128_SALT_SIZE; in chtls_key_info() 291 salt_size = TLS_CIPHER_AES_GCM_256_SALT_SIZE; in chtls_key_info() 327 memcpy(kctx->salt, salt, salt_size); in chtls_key_info()
|
/linux-6.12.1/fs/fuse/ |
D | ioctl.c | 148 if (enable.salt_size > max_buffer_len || enable.sig_size > max_buffer_len) in fuse_setup_enable_verity() 151 if (enable.salt_size > 0) { in fuse_setup_enable_verity() 156 iov->iov_len = enable.salt_size; in fuse_setup_enable_verity()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.h | 53 u32 salt_size; member
|
D | chcr_ktls.c | 88 tx_info->salt_size = TLS_CIPHER_AES_GCM_128_SALT_SIZE; in chcr_ktls_save_keys() 159 memcpy(kctx->salt, salt, tx_info->salt_size); in chcr_ktls_save_keys() 1418 memcpy(pos, tx_info->key_ctx.salt, tx_info->salt_size); in chcr_ktls_xmit_wr_short() 1419 memcpy(pos + tx_info->salt_size, &iv_record, tx_info->iv_size); in chcr_ktls_xmit_wr_short() 1420 *(__be32 *)(pos + tx_info->salt_size + tx_info->iv_size) = in chcr_ktls_xmit_wr_short()
|
/linux-6.12.1/net/tls/ |
D | tls.h | 315 tls_bigint_increment(ctx->iv + prot->salt_size, in tls_advance_record_sn() 344 ctx->tx.iv + prot->salt_size, iv_size); in tls_fill_prepend()
|
D | tls_sw.c | 558 prot->iv_size + prot->salt_size); in tls_do_encryption() 1544 prot->iv_size + prot->salt_size); in tls_decrypt_sg() 1547 &dctx->iv[iv_offset] + prot->salt_size, in tls_decrypt_sg() 1551 memcpy(&dctx->iv[iv_offset], tls_ctx->rx.iv, prot->salt_size); in tls_decrypt_sg() 2681 prot->salt_size = cipher_desc->salt; in init_prot_info()
|
/linux-6.12.1/include/net/ |
D | tls.h | 212 u16 salt_size; member
|
/linux-6.12.1/drivers/net/phy/ |
D | nxp-c45-tja11xx-macsec.c | 494 u32 salt_size = MACSEC_SALT_LEN / 4; in nxp_c45_sa_set_key() local 507 for (i = 0; i < salt_size; i++) { in nxp_c45_sa_set_key()
|
/linux-6.12.1/Documentation/filesystems/ |
D | fsverity.rst | 116 __u32 salt_size; 136 - ``salt_size`` is the size of the salt in bytes, or 0 if no salt is 439 __u8 salt_size; /* size of salt in bytes; 0 if none */
|
/linux-6.12.1/fs/btrfs/ |
D | send.c | 5179 le8_to_cpu(desc->salt_size)); in send_verity()
|