Home
last modified time | relevance | path

Searched refs:dun (Results 1 – 6 of 6) sorted by relevance

/linux/fs/crypto/
A Dinline_crypt.c213 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()
A Dfscrypt_private.h293 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member
/linux/block/
A Dblk-crypto.c82 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()
A Dblk-crypto-fallback.c241 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member
245 static void blk_crypto_dun_to_iv(const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in blk_crypto_dun_to_iv()
251 iv->dun[i] = cpu_to_le64(dun[i]); in blk_crypto_dun_to_iv()
A Dblk-crypto-internal.h23 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
/linux/include/linux/
A Dblk-crypto.h85 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],

Completed in 9 milliseconds