Closed bgrieder closed 1 year ago
encrypt_combined, encrypt_in_place_detached,decrypt_combined, decrypt_in_place_detached do not enforce the correct size on Nonces and Keys.
encrypt_combined
encrypt_in_place_detached
decrypt_combined
decrypt_in_place_detached
They should at least take fixed_size arrays arrays (or preferably support other size of keys such as 128 and 192 bits)
The Dem traits now enforce lengths using const generics
Dem
const generics
encrypt_combined
,encrypt_in_place_detached
,decrypt_combined
,decrypt_in_place_detached
do not enforce the correct size on Nonces and Keys.They should at least take fixed_size arrays arrays (or preferably support other size of keys such as 128 and 192 bits)