Re: AF_ALG buggy with sendfile

2013-11-24 Thread Shawn Landden
If you build https://kernel.googlesource.com/pub/scm/network/connman/connman/+/0.80/tools/alg-test.c from the connman source code and compare the output to coreutils sha1sum you can see the problem. shawn@debian-T61:~/git/test$ make connman_afalg cc connman_afalg.c -o connman_afalg shawn@de

Re: AF_ALG buggy with sendfile

2013-11-24 Thread Shawn Landden
heres a version of the test case that builds. Sorry about that. On Sun, Nov 24, 2013 at 9:21 AM, Shawn Landden wrote: > If I use sendfile() to send to a accept()ed AF_ALG socket set up for > "hash", I get the wrong > answer, if I read() and then write() I get the right answer. None of > the