Re: crypto_cbc_encrypt query

2015-09-25 Thread Herbert Xu
pavi1729 wrote: > Hi, > Shouldn't "walk" be memset ? > > FILE:crypto/cbc.c > FUNCTION: crypto_cbc_encrypt > > "walk" is local variable and its uninitialized in > "crypto_cbc_encrypt". The same is passed to > "blkcipher_walk_virt" which does below > > walk->flags &= ~BLKCIPHER_WALK

crypto_cbc_encrypt query

2015-09-24 Thread pavi1729
Hi, Shouldn't "walk" be memset ? FILE:crypto/cbc.c FUNCTION: crypto_cbc_encrypt "walk" is local variable and its uninitialized in "crypto_cbc_encrypt". The same is passed to "blkcipher_walk_virt" which does below walk->flags &= ~BLKCIPHER_WALK_PHYS; So neither 'walk' nor 'walk->f