Re: [PATCH v4 6/7] crypto: KEYS - add generic handlers to symmetric key type

From: David Howells
Date: Tue Apr 12 2016 - 18:10:57 EST


Tadeusz Struk <tadeusz.struk@xxxxxxxxx> wrote:

> +/**
> + * asymmetric_key_verify_signature - invoke verify signature operation on a key
> + * of the asymmetric subtype
> + * @key: key from the system keyring
> + * @sig: signature to verify
> + *
> + * return: 0 on success or errno on failure
> + */
> +int asymmetric_key_verify_signature(const struct key *key,
> + const struct public_key_signature *sig)

This is duplicating what's in signature.c in the same directory.

David