eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 98b684b417b2c19696c5d84333c25e14b0244788
parent 1f9d9e1eb1b15b14839c90bb15ba23df183475be
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 26 Oct 2022 11:56:55 -0700

unit: test-arc4: test RC4 both directions

Tests that the data both encrypts and decrypts.

Diffstat:
Munit/test-arc4.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/unit/test-arc4.c b/unit/test-arc4.c @@ -92,6 +92,8 @@ static void arc4_skip_test(const void *data) assert(arc4_skip(test->key, 16, test->offset, buf, sizeof(buf), buf)); assert(!memcmp(buf, test->result, sizeof(buf))); + assert(arc4_skip(test->key, 16, test->offset, buf, sizeof(buf), buf)); + assert(l_memeqzero(buf, 16)); } int main(int argc, char *argv[])