diff options
author | 2017-10-06 15:04:59 +0200 | |
---|---|---|
committer | 2017-10-12 22:55:33 +0800 | |
commit | 9a655608a468535cd15eafff5ef93e2656e6e2fc (patch) | |
tree | ba331727b7b6120897779cafec9ba930bf95f560 /crypto/algapi.c | |
parent | crypto: talitos - remove to_talitos_ptr_len() (diff) | |
download | wireguard-linux-9a655608a468535cd15eafff5ef93e2656e6e2fc.tar.xz wireguard-linux-9a655608a468535cd15eafff5ef93e2656e6e2fc.zip |
crypto: talitos - simplify tests in ipsec_esp()
Do (desc->hdr & DESC_HDR_TYPE_IPSEC_ESP) only once.
Limit number of if/else paths
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions