Searched refs:dun (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/fs/crypto/ |
D | inline_crypt.c | 213 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]) in fscrypt_generate_dun() 221 memset(dun, 0, BLK_CRYPTO_MAX_IV_SIZE); in fscrypt_generate_dun() 222 for (i = 0; i < ci->ci_mode->ivsize/sizeof(dun[0]); i++) in fscrypt_generate_dun() 223 dun[i] = le64_to_cpu(iv.dun[i]); in fscrypt_generate_dun() 246 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; in fscrypt_set_bio_crypt_ctx() local 252 fscrypt_generate_dun(ci, first_lblk, dun); in fscrypt_set_bio_crypt_ctx() 253 bio_crypt_set_ctx(bio, &ci->ci_enc_key.blk_key->base, dun, gfp_mask); in fscrypt_set_bio_crypt_ctx()
|
D | fscrypt_private.h | 288 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member
|
/kernel/linux/linux-5.10/block/ |
D | blk-crypto.c | 82 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) in bio_crypt_set_ctx() 95 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx() 117 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in bio_crypt_dun_increment() 123 dun[i] += inc; in bio_crypt_dun_increment() 128 if (dun[i] < inc) in bio_crypt_dun_increment()
|
D | blk-crypto-fallback.c | 239 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member 243 static void blk_crypto_dun_to_iv(const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in blk_crypto_dun_to_iv() 249 iv->dun[i] = cpu_to_le64(dun[i]); in blk_crypto_dun_to_iv()
|
D | blk-crypto-internal.h | 23 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
|
/kernel/linux/linux-5.10/drivers/hyperhold/ |
D | hp_device.c | 22 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member 168 bio_crypt_set_ctx(bio, blk_key, iv.dun, GFP_NOIO); in inline_crypt_bio()
|
/kernel/linux/linux-5.10/include/linux/ |
D | blk-crypto.h | 85 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
|