commit | 6d4616aac30009ad514434b82ae9793f904415e3 | [log] [tgz] |
---|---|---|
author | Denis Kenzior <denkenz@gmail.com> | Thu Apr 13 22:36:42 2023 -0500 |
committer | Denis Kenzior <denkenz@gmail.com> | Sun Apr 16 11:26:22 2023 -0500 |
tree | ed08765783035e59064bc38261f3eb403e12a8f6 | |
parent | 1122d699c454ef26e2028dc7b8f50bd4a40d9bfd [diff] |
cipher: If in is null, skip adding it to iovec Be pedantic and skip adding 'in' to the iovec in operate_cipher() if the in variable is NULL. It is up to callers of operate_cipher to enforce how 'in' is used, in particular l_aead_cipher_encrypt already does so.