Lines Matching refs:sig_opts
32 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()
133 void verity_verify_sig_opts_cleanup(struct dm_verity_sig_opts *sig_opts) in verity_verify_sig_opts_cleanup() argument
135 kfree(sig_opts->sig); in verity_verify_sig_opts_cleanup()
136 sig_opts->sig = NULL; in verity_verify_sig_opts_cleanup()
137 sig_opts->sig_size = 0; in verity_verify_sig_opts_cleanup()