Lines Matching refs:alg_string
157 char *alg_string; member
3286 arg_count += !!ic->internal_hash_alg.alg_string; in dm_integrity_status()
3287 arg_count += !!ic->journal_crypt_alg.alg_string; in dm_integrity_status()
3288 arg_count += !!ic->journal_mac_alg.alg_string; in dm_integrity_status()
3324 if (ic->a.alg_string) { \ in dm_integrity_status()
3325 DMEMIT(" %s:%s", n, ic->a.alg_string); \ in dm_integrity_status()
3473 if (ic->journal_mac_alg.alg_string) in initialize_superblock()
3481 if (ic->fix_hmac && (ic->internal_hash_alg.alg_string || ic->journal_mac_alg.alg_string)) { in initialize_superblock()
3643 kfree_sensitive(a->alg_string); in free_alg()
3654 a->alg_string = kstrdup(strchr(arg, ':') + 1, GFP_KERNEL); in get_alg_and_key()
3655 if (!a->alg_string) in get_alg_and_key()
3658 k = strchr(a->alg_string, ':'); in get_alg_and_key()
3687 if (a->alg_string) { in get_mac()
3688 *hash = crypto_alloc_shash(a->alg_string, 0, CRYPTO_ALG_ALLOCATES_MEMORY); in get_mac()
3740 if (ic->journal_crypt_alg.alg_string) { in create_journal()
3745 …ic->journal_crypt = crypto_alloc_skcipher(ic->journal_crypt_alg.alg_string, 0, CRYPTO_ALG_ALLOCATE… in create_journal()
3764 ic->journal_crypt_alg.alg_string, blocksize, ivsize); in create_journal()
4327 …if (!!(ic->sb->flags & cpu_to_le32(SB_FLAG_HAVE_JOURNAL_MAC)) != !!ic->journal_mac_alg.alg_string)… in dm_integrity_ctr()