Lines Matching defs:cipher_in
2834 static int crypt_ctr_cipher_new(struct dm_target *ti, char *cipher_in, char *key,
2847 tmp = &cipher_in[strlen("capi:")];
2907 static int crypt_ctr_cipher_old(struct dm_target *ti, char *cipher_in, char *key,
2916 if (strchr(cipher_in, '(') || crypt_integrity_aead(cc)) {
2925 tmp = cipher_in;
2992 static int crypt_ctr_cipher(struct dm_target *ti, char *cipher_in, char *key)
2998 cc->cipher_string = kstrdup(cipher_in, GFP_KERNEL);
3004 if (strstarts(cipher_in, "capi:"))
3005 ret = crypt_ctr_cipher_new(ti, cipher_in, key, &ivmode, &ivopts);
3007 ret = crypt_ctr_cipher_old(ti, cipher_in, key, &ivmode, &ivopts);