d7835f2b85
commit 5b0fe9552336338acb52756daf65dd7a4eeca73f upstream.
When algif_skcipher does a partial operation it always process data
that is a multiple of blocksize. However, for algorithms such as
CTR this is wrong because even though it can process any number of
bytes overall, the partial block must come at the very end and not
in the middle.
This is exactly what chunksize is meant to describe so this patch
changes blocksize to chunksize.
Fixes:
|
||
---|---|---|
.. | ||
internal | ||
acompress.h | ||
aead.h | ||
aes.h | ||
akcipher.h | ||
algapi.h | ||
arc4.h | ||
asym_tpm_subtype.h | ||
authenc.h | ||
b128ops.h | ||
blowfish.h | ||
cast5.h | ||
cast6.h | ||
cast_common.h | ||
cbc.h | ||
chacha.h | ||
cryptd.h | ||
ctr.h | ||
des.h | ||
dh.h | ||
drbg.h | ||
ecdh.h | ||
engine.h | ||
gcm.h | ||
gf128mul.h | ||
ghash.h | ||
hash_info.h | ||
hash.h | ||
hmac.h | ||
if_alg.h | ||
kpp.h | ||
md5.h | ||
nhpoly1305.h | ||
null.h | ||
padlock.h | ||
pcrypt.h | ||
pkcs7.h | ||
poly1305.h | ||
public_key.h | ||
rng.h | ||
scatterwalk.h | ||
serpent.h | ||
sha1_base.h | ||
sha3.h | ||
sha256_base.h | ||
sha512_base.h | ||
sha.h | ||
skcipher.h | ||
sm3_base.h | ||
sm3.h | ||
sm4.h | ||
streebog.h | ||
twofish.h | ||
xts.h |