Skip to content
Commit 6cb8815f authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: sig - Add interface for sign/verify



Split out the sign/verify functionality from the existing akcipher
interface.  Most algorithms in akcipher either support encryption
and decryption, or signing and verify.  Only one supports both.

As a signature algorithm may not support encryption at all, these
two should be spearated.

For now sig is simply a wrapper around akcipher as all algorithms
remain unchanged.  This is a first step and allows users to start
allocating sig instead of akcipher.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent addde1f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment