Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-crypt.c2883 static int crypt_ctr_cipher_new(struct dm_target *ti, char *cipher_in, char *key, in crypt_ctr_cipher_new() argument
2896 tmp = &cipher_in[strlen("capi:")]; in crypt_ctr_cipher_new()
2956 static int crypt_ctr_cipher_old(struct dm_target *ti, char *cipher_in, char *key, in crypt_ctr_cipher_old() argument
2965 if (strchr(cipher_in, '(') || crypt_integrity_aead(cc)) { in crypt_ctr_cipher_old()
2974 tmp = cipher_in; in crypt_ctr_cipher_old()
3041 static int crypt_ctr_cipher(struct dm_target *ti, char *cipher_in, char *key) in crypt_ctr_cipher() argument
3047 cc->cipher_string = kstrdup(cipher_in, GFP_KERNEL); in crypt_ctr_cipher()
3053 if (strstarts(cipher_in, "capi:")) in crypt_ctr_cipher()
3054 ret = crypt_ctr_cipher_new(ti, cipher_in, key, &ivmode, &ivopts); in crypt_ctr_cipher()
3056 ret = crypt_ctr_cipher_old(ti, cipher_in, key, &ivmode, &ivopts); in crypt_ctr_cipher()