Home GnuPG

Fix 'variable may be used uninitialized' warning for CTR mode

Description

Fix 'variable may be used uninitialized' warning for CTR mode

* cipher/cipher-ctr.c (_gcry_cipher_ctr_encrypt): Set N to BLOCKSIZE
before counter loop.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 7 2018, 6:12 PM
Parents
rC9d6431604b5e: Fix inlining of ocb_get_l for x86 AES implementations
Branches
Unknown
Tags
Unknown