“9b97b6cdd420cd62dae972eafaae7494a7670607”上不存在“git@gitcode.net:openeuler/kernel.git”
  • H
    crypto: caam - improve key inlining · 4cbe79cc
    Horia Geantă 提交于
    For authenc / stitched AEAD algorithms, check independently
    each of the two (authentication, encryption) keys whether inlining
    is possible.
    Prioritize the inlining of the authentication key, since the length
    of the (split) key is bigger than that of the encryption key.
    
    For the other algorithms, compute only once per tfm the remaining
    available bytes and decide whether key inlining is possible
    based on this.
    Signed-off-by: NHoria Geantă <horia.geanta@nxp.com>
    Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
    4cbe79cc
caamalg.c 128.2 KB