+10
−39
+19
−81
+3
−3
+2
−3
Loading
This mostly reverts commit 72548b09 except for the copying of the associated data. There is no benefit in operating in-place in algif_aead since the source and destination come from different mappings. Get rid of all the complexity added for in-place operation and just copy the AD directly. Fixes: 72548b09 ("crypto: algif_aead - copy AAD from src to dst") Reported-by:Taeyang Lee <0wn@theori.io> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>