aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/iv/iv_gen.c
Commit message (Collapse)AuthorAgeFilesLines
* iv-gen: Use NULL IV generator for NULL encryptionTobias Brunner2015-11-091-0/+5
| | | | | | | | | | | | We don't need an IV for NULL encryption, so we wouldn't technically need an IV generator. But some of the code currently relies on an IV generator to be present. So we don't have to change that code and handle IV size == 0 specially we use the new NULL IV generator, which handles this transparently to the existing code. Before 3c81cb6fc322 ("aead: Create AEAD using traditional transforms with an explicit IV generator") iv_gen_rand_t was used for NULL encryption, which would work too but this way it's clearer.
* crypter: Define a ChaCha20/Poly1305 AEAD algorithm identifierMartin Willi2015-06-291-0/+1
|
* iv-gen: Add a generic constructor to create an IV gen from an algorithmMartin Willi2015-04-131-0/+61