MR !854 | sess_crypt_blob() fails to decrypt its own cipher text

Isaac Boukris iboukris at gmail.com
Thu Nov 21 17:52:39 UTC 2019


Hi,

While adding tests for sess_crypt_blob() I noticed it fails when the
input is not aligned to block size of 8, and it looks like we always
use it this way (see also comment above sess_encrypt_string()), see
pipeline:
https://gitlab.com/samba-team/devel/samba/commits/iboukris-dtest

I think we should simplify it and require the input to be multiple of
8 like in the above branch, thoughts ?

Thanks



More information about the samba-technical mailing list