Re: [PATCH 1/3] big key: get rid of stack array allocation

From: Tetsuo Handa
Date: Tue Apr 24 2018 - 10:47:26 EST


Tycho Andersen wrote:
> > > + if (unlikely(crypto_aead_ivsize(big_key_aead) != GCM_AES_IV_SIZE)) {
> > > + WARN(1, "big key algorithm changed?");

Please avoid using WARN() WARN_ON() etc.
syzbot would catch it and panic() due to panic_on_warn == 1.