Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-inlinecrypt.c43 const char *cipher_string; member
54 lookup_cipher(const char *cipher_string) in lookup_cipher() argument
59 if (strcmp(cipher_string, dm_inlinecrypt_ciphers[i].name) == 0) in lookup_cipher()
74 kfree_sensitive(ctx->cipher_string); in inlinecrypt_dtr()
333 ctx->cipher_string = kstrdup(argv[0], GFP_KERNEL); in inlinecrypt_ctr()
334 if (!ctx->cipher_string) { in inlinecrypt_ctr()
339 cipher = lookup_cipher(ctx->cipher_string); in inlinecrypt_ctr()
525 DMEMIT("%s %*phN %u %llu %s %llu", ctx->cipher_string, in inlinecrypt_status()
H A Ddm-crypt.c172 char *cipher_string; member
2752 kfree_sensitive(cc->cipher_string); in crypt_ctr_ivmode()
3052 cc->cipher_string = kstrdup(cipher_in, GFP_KERNEL); in crypt_ctr_cipher()
3053 if (!cc->cipher_string) { in crypt_ctr_cipher()
3549 DMEMIT("%s ", cc->cipher_string); in crypt_status()
3620 if (cc->cipher_string) in crypt_preresume()
3621 DMEMIT(",cipher_string=%s", cc->cipher_string);
/linux/fs/ecryptfs/
H A Dkeystore.c832 char cipher_string[ECRYPTFS_MAX_CIPHER_NAME_SIZE + 1]; member
919 rc = ecryptfs_cipher_code_to_string(s->cipher_string, in ecryptfs_parse_tag_70_packet()
920 sizeof(s->cipher_string), in ecryptfs_parse_tag_70_packet()
938 s->cipher_string); in ecryptfs_parse_tag_70_packet()
942 s->cipher_string, rc); in ecryptfs_parse_tag_70_packet()