Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 75bf50f4 authored by Antony Antony's avatar Antony Antony Committed by Steffen Klassert
Browse files

xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)



copy geniv when cloning the xfrm state.

x->geniv was not copied to the new state and migration would fail.

xfrm_do_migrate
  ..
  xfrm_state_clone()
   ..
   ..
   esp_init_aead()
   crypto_alloc_aead()
    crypto_alloc_tfm()
     crypto_find_alg() return EAGAIN and failed

Signed-off-by: default avatarAntony Antony <antony@phenome.org>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent ddc47e44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment