On Fri, Jan 15, 2021 at 10:22 AM Eric Biggers <ebiggers@xxxxxxxxxx> wrote: > > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > Now that fsverity_get_descriptor() validates the sig_size field, > fsverity_verify_signature() doesn't need to do it. > > Just change the prototype of fsverity_verify_signature() to take the > signature directly rather than take a fsverity_descriptor. > > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> Reviewed-by: Amy Parker <enbyamy@xxxxxxxxx>