Searched refs:cipher_in (Results 1 – 1 of 1) sorted by relevance
| /linux-6.15/drivers/md/ |
| H A D | dm-crypt.c | 2917 static int crypt_ctr_cipher_new(struct dm_target *ti, char *cipher_in, char *key, in crypt_ctr_cipher_new() argument 2930 tmp = &cipher_in[strlen("capi:")]; in crypt_ctr_cipher_new() 2990 static int crypt_ctr_cipher_old(struct dm_target *ti, char *cipher_in, char *key, in crypt_ctr_cipher_old() argument 2999 if (strchr(cipher_in, '(') || crypt_integrity_aead(cc)) { in crypt_ctr_cipher_old() 3008 tmp = cipher_in; in crypt_ctr_cipher_old() 3075 static int crypt_ctr_cipher(struct dm_target *ti, char *cipher_in, char *key) in crypt_ctr_cipher() argument 3081 cc->cipher_string = kstrdup(cipher_in, GFP_KERNEL); in crypt_ctr_cipher() 3087 if (strstarts(cipher_in, "capi:")) in crypt_ctr_cipher() 3088 ret = crypt_ctr_cipher_new(ti, cipher_in, key, &ivmode, &ivopts); in crypt_ctr_cipher() 3090 ret = crypt_ctr_cipher_old(ti, cipher_in, key, &ivmode, &ivopts); in crypt_ctr_cipher()
|