wireguard: fix error type for crypto backend