summaryrefslogtreecommitdiff
path: root/crypto/chacha20poly1305.c
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2015-12-05 17:09:34 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-12-09 20:03:57 +0800
commit7185f32fb45d8c5f03780a40b0c74d9802f3cb2c (patch)
tree4516fa78557c62efd21d7d2abdceb955f5a888cc /crypto/chacha20poly1305.c
parentb6df858ce0a79e0128fa42d280361b3419521710 (diff)
downloadlinux-crypto-7185f32fb45d8c5f03780a40b0c74d9802f3cb2c.tar.gz
linux-crypto-7185f32fb45d8c5f03780a40b0c74d9802f3cb2c.zip
crypto: rsa - RSA padding algorithm
This patch adds PKCS#1 v1.5 standard RSA padding as a separate template. This way an RSA cipher with padding can be obtained by instantiating "pkcs1pad(rsa)". The reason for adding this is that RSA is almost never used without this padding (or OAEP) so it will be needed for either certificate work in the kernel or the userspace, and I also hear that it is likely implemented by hardware RSA in which case hardware implementations of the whole of pkcs1pad(rsa) can be provided. Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/chacha20poly1305.c')
0 files changed, 0 insertions, 0 deletions