openssl/providers
Shane Lontis 914f97eecc Fix provider cipher reinit after init/update with a partial update block.
The test added previously used a 16 byte block during the update which does not cause internal buffering in the provider.
Some internal variables related to the buffering were not being cleared in the init, which meant that the second
update would use the buffered data from the first update.
Added test for this scenario with exclusions for ciphers that do not support partial block updates.

Found by guidovranken.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12523)
2020-08-05 08:45:29 +10:00
..
common Change the provider implementation of X942kdf to use wpacket to do der encoding of sharedInfo 2020-08-04 12:18:51 +10:00
fips Cleanup fips provider init 2020-07-22 21:12:42 +10:00
implementations Fix provider cipher reinit after init/update with a partial update block. 2020-08-05 08:45:29 +10:00
baseprov.c deserialisation: add deserialisation to the base provider 2020-07-30 20:15:59 +10:00
build.info serialisation: Add a built-in base provider. 2020-07-30 20:15:22 +10:00
defltprov.c deserialisation: add deserialisation to the base provider 2020-07-30 20:15:59 +10:00
deserializers.inc DESERIALIZER: Add deserializers for the rest of our asymmetric key types 2020-08-01 11:51:19 +10:00
legacyprov.c Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
nullprov.c Rename <openssl/core_numbers.h> -> <openssl/core_dispatch.h> 2020-06-24 22:01:22 +02:00
serializers.inc serialisation: Add a built-in base provider. 2020-07-30 20:15:22 +10:00