On Wed 05 Dec 2018 03:46:57 PM CET, Vladimir Sementsov-Ogievskiy wrote: > qcrypto_block_encrypt_helper and qcrypto_block_decrypt_helper are > almost identical, let's reduce code duplication and simplify further > improvements. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
> +static int do_qcrypto_block_encrypt(QCryptoCipher *cipher, I also prefer encdec (which is the naming already used in crypto/xts.c), but I'm also fine with crypt. Reviewed-by: Alberto Garcia <[email protected]> Berto
