Browse Source

strongswan: handle chacha20poly1305 as AEAD

chacha20policy1305 is also an AEAD cipher, and hence does not
permit a hash algorithm.

Fixes issue #15397.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
lilik-openwrt-22.03
Philip Prindeville 3 years ago
parent
commit
ff33f4ccd3
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      net/strongswan/files/swanctl.init

+ 2
- 0
net/strongswan/files/swanctl.init View File

@ -141,6 +141,8 @@ is_aead() {
case "$cipher" in
aes*gcm*|aes*ccm*|aes*gmac*)
return 0 ;;
chacha20poly1305)
return 0 ;;
esac
return 1


Loading…
Cancel
Save