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

- From: David Howells \<dhowells@redhat.com\>
- Date: 2016-04-12 22:10:55 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2016/04/4728683
- Thread: https://ratatoskr.run/linux-api/2016/04/4720095/t.md

```text
Tadeusz Struk [ref] 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
```
