• Herbert Xu's avatar
    crypto: cryptd - Use crypto_grab_aead · 9b8c456e
    Herbert Xu authored
    As AEAD has switched over to using frontend types, the function
    crypto_init_spawn must not be used since it does not specify a
    frontend type.  Otherwise it leads to a crash when the spawn is
    used.
    
    This patch fixes it by switching over to crypto_grab_aead instead.
    
    Fixes: 5d1d65f8 ("crypto: aead - Convert top level interface to new style")
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    9b8c456e
cryptd.c 26 KB