Home
last modified time | relevance | path

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

/drivers/md/
Ddm-verity-verify-sig.c32 struct dm_verity_sig_opts *sig_opts) in verity_verify_get_sig_from_key() argument
51 sig_opts->sig = kmalloc(ukp->datalen, GFP_KERNEL); in verity_verify_get_sig_from_key()
52 if (!sig_opts->sig) { in verity_verify_get_sig_from_key()
56 sig_opts->sig_size = ukp->datalen; in verity_verify_get_sig_from_key()
58 memcpy(sig_opts->sig, ukp->data, sig_opts->sig_size); in verity_verify_get_sig_from_key()
69 struct dm_verity_sig_opts *sig_opts, in verity_verify_sig_parse_opt_args() argument
85 ret = verity_verify_get_sig_from_key(sig_key, sig_opts); in verity_verify_sig_parse_opt_args()
128 void verity_verify_sig_opts_cleanup(struct dm_verity_sig_opts *sig_opts) in verity_verify_sig_opts_cleanup() argument
130 kfree(sig_opts->sig); in verity_verify_sig_opts_cleanup()
131 sig_opts->sig = NULL; in verity_verify_sig_opts_cleanup()
[all …]
Ddm-verity-verify-sig.h28 struct dm_verity_sig_opts *sig_opts,
31 void verity_verify_sig_opts_cleanup(struct dm_verity_sig_opts *sig_opts);
49 struct dm_verity_sig_opts *sig_opts, in verity_verify_sig_parse_opt_args() argument
55 void verity_verify_sig_opts_cleanup(struct dm_verity_sig_opts *sig_opts) in verity_verify_sig_opts_cleanup() argument