-
- Downloads
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:
Herbert Xu <herbert@gondor.apana.org.au>
Showing
- crypto/Kconfig 10 additions, 0 deletionscrypto/Kconfig
- crypto/Makefile 1 addition, 0 deletionscrypto/Makefile
- crypto/akcipher.c 36 additions, 17 deletionscrypto/akcipher.c
- crypto/internal.h 20 additions, 0 deletionscrypto/internal.h
- crypto/sig.c 159 additions, 0 deletionscrypto/sig.c
- include/crypto/internal/sig.h 17 additions, 0 deletionsinclude/crypto/internal/sig.h
- include/crypto/sig.h 140 additions, 0 deletionsinclude/crypto/sig.h
- include/linux/crypto.h 2 additions, 1 deletioninclude/linux/crypto.h
Loading
Please register or sign in to comment