Searched refs:salt_size (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/verity/ |
| H A D | hash_algs.c | 56 const u8 *salt, size_t salt_size) in fsverity_prepare_hash_state() argument 70 padded_salt_size = round_up(salt_size, alg->block_size); in fsverity_prepare_hash_state() 74 memcpy(padded_salt, salt, salt_size); in fsverity_prepare_hash_state()
|
| /linux/include/uapi/linux/ |
| H A D | fsverity.h | 23 __u32 salt_size; member 51 __u8 salt_size; /* size of salt in bytes; 0 if none */ member
|
| /linux/fs/fuse/ |
| H A D | ioctl.c | 150 if (enable.salt_size > max_buffer_len || enable.sig_size > max_buffer_len) in fuse_setup_enable_verity() 153 if (enable.salt_size > 0) { in fuse_setup_enable_verity() 158 iov->iov_len = enable.salt_size; in fuse_setup_enable_verity()
|
| /linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| H A D | chcr_ktls.h | 53 u32 salt_size; member
|
| H A 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/net/tls/ |
| H A D | tls.h | 319 tls_bigint_increment(ctx->iv + prot->salt_size, in tls_advance_record_sn() 348 ctx->tx.iv + prot->salt_size, iv_size); in tls_fill_prepend()
|
| H A D | tls_sw.c | 559 prot->iv_size + prot->salt_size); in tls_do_encryption() 1601 prot->iv_size + prot->salt_size); in tls_decrypt_sg() 1604 &dctx->iv[iv_offset] + prot->salt_size, in tls_decrypt_sg() 1608 memcpy(&dctx->iv[iv_offset], tls_ctx->rx.iv, prot->salt_size); in tls_decrypt_sg() 2776 prot->salt_size = cipher_desc->salt; in init_prot_info()
|
| /linux/include/net/ |
| H A D | tls.h | 217 u16 salt_size; member
|
| /linux/drivers/net/phy/ |
| H A 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()
|