diff options
author | Herbert Xu | 2016-07-12 07:17:31 +0200 |
---|---|---|
committer | Herbert Xu | 2016-07-18 11:35:36 +0200 |
commit | 4e6c3df4d729f85997cbf276bfa8ffd8579b8e77 (patch) | |
tree | 3293b9ab0a019308724c8b44430cadc0a3b4488d /Documentation | |
parent | crypto: sha-mb - Cleanup code to use || instead of | (diff) | |
download | kernel-qcow2-linux-4e6c3df4d729f85997cbf276bfa8ffd8579b8e77.tar.gz kernel-qcow2-linux-4e6c3df4d729f85997cbf276bfa8ffd8579b8e77.tar.xz kernel-qcow2-linux-4e6c3df4d729f85997cbf276bfa8ffd8579b8e77.zip |
crypto: skcipher - Add low-level skcipher interface
This patch allows skcipher algorithms and instances to be created
and registered with the crypto API. They are accessible through
the top-level skcipher interface, along with ablkcipher/blkcipher
algorithms and instances.
This patch also introduces a new parameter called chunk size
which is meant for ciphers such as CTR and CTS which ostensibly
can handle arbitrary lengths, but still behave like block ciphers
in that you can only process a partial block at the very end.
For these ciphers the block size will continue to be set to 1
as it is now while the chunk size will be set to the underlying
block size.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions