Skip to content

src: simplify AESCipherTraits::AdditionalConfig

Instead of a giant switch statement and a lot of duplicate code, add the NID and the block cipher mode of operation to the VARIANTS list and use those fields to perform configuration appropriately.

Merge request reports

Loading