CVS commit: src/tests/crypto/opencrypto

2017-06-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 14 21:43:02 UTC 2017

Modified Files:
src/tests/crypto/opencrypto: h_ioctl.c

Log Message:
constify more to avoid gcc stupidity.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2017-06-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jun 13 08:16:16 UTC 2017

Modified Files:
src/tests/crypto/opencrypto: h_ioctl.c

Log Message:
Avoid variable lenght buffers to help the stack protector (hopefully no
functional change)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/crypto/opencrypto/h_ioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2017-04-16 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Apr 17 03:59:37 UTC 2017

Modified Files:
src/tests/crypto/opencrypto: Makefile t_opencrypto.sh
Added Files:
src/tests/crypto/opencrypto: h_aescbc.c h_cbc3des.c

Log Message:
add opencrypto atf for CRYPTO_3DES_CBC and 
CRYPTO_AES_CBC(=CRYPTO_RIJNDAEL128_CBC).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/crypto/opencrypto/h_aescbc.c \
src/tests/crypto/opencrypto/h_cbc3des.c
cvs rdiff -u -r1.6 -r1.7 src/tests/crypto/opencrypto/t_opencrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2015-12-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Dec 26 07:10:03 UTC 2015

Modified Files:
src/tests/crypto/opencrypto: t_opencrypto.sh

Log Message:
For the skipped ARC4 test, don't bother trying to run the test clean-up
code.  It runs rump.halt which returns an error status (since rump was
never started in the first place), and this causes atf to complain about
the cleanup routine's return status, logging the test as a failure!


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/crypto/opencrypto/t_opencrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2015-03-16 Thread Patrick Welche
Module Name:src
Committed By:   prlw1
Date:   Mon Mar 16 16:42:27 UTC 2015

Modified Files:
src/tests/crypto/opencrypto: t_opencrypto.sh

Log Message:
correct test name


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/crypto/opencrypto/t_opencrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-19 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jan 19 13:41:00 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_aesctr1.c

Log Message:
Sprinkle in some UNCONST()


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/opencrypto/h_aesctr1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 18 20:40:27 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_aesctr1.c

Log Message:
Include more of the test cases from RFC 1321.

XXX cases 3, 6, and 9 are currently disabled because we don't seem
to handle plain-text in other than 8-byte chunks.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_aesctr1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 18 20:10:34 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_md5.c

Log Message:
Remove some debugging code.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/crypto/opencrypto/h_md5.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 18 19:44:41 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_md5.c

Log Message:
Free each crypto(4) session when we're done with it.  (A new session
is created for each test case.)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/opencrypto/h_md5.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 18 15:55:32 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_md5.c

Log Message:
Fix verification to use correct buffer.

Use test cases defined in RFC 1321


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_md5.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-18 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jan 18 15:15:16 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: t_opencrypto.sh

Log Message:
Add the test cases for sha1_hmac


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/opencrypto/t_opencrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jan 18 02:31:14 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_md5hmac.c h_sha1hmac.c

Log Message:
Needs some unconst.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/opencrypto/h_md5hmac.c
cvs rdiff -u -r1.1 -r1.2 src/tests/crypto/opencrypto/h_sha1hmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 17 22:33:02 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: Makefile
Added Files:
src/tests/crypto/opencrypto: h_sha1hmac.c

Log Message:
Additional tests for SHA1_HMAC (with test cases from RFC2202)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/crypto/opencrypto/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/crypto/opencrypto/h_sha1hmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 17 22:31:25 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_md5hmac.c

Log Message:
Add additional test cases from RFC2202


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_md5hmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 17 19:39:51 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_camellia.c

Log Message:
Use RFC 3713 vector, add comment to identify the source


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_camellia.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 17 19:35:33 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_null.c t_opencrypto.sh

Log Message:
Reenable h_null (NULL_CBC) test.  It works if we correctly pass a NULL iv.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_null.c \
src/tests/crypto/opencrypto/t_opencrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 17 14:16:08 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_aesctr1.c h_aesctr2.c h_arc4.c
h_camellia.c h_cbcdes.c h_gcm.c h_md5.c h_md5hmac.c h_null.c

Log Message:
Clean up the helper programs.  Remove the code to print the results, and
make sure that all helpers actually check the results against the correct
values.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/crypto/opencrypto/h_aesctr1.c \
src/tests/crypto/opencrypto/h_aesctr2.c \
src/tests/crypto/opencrypto/h_arc4.c \
src/tests/crypto/opencrypto/h_camellia.c \
src/tests/crypto/opencrypto/h_cbcdes.c \
src/tests/crypto/opencrypto/h_gcm.c src/tests/crypto/opencrypto/h_md5.c \
src/tests/crypto/opencrypto/h_md5hmac.c \
src/tests/crypto/opencrypto/h_null.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Jan 17 14:14:54 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: t_opencrypto.sh

Log Message:
Disable the arc4 and null_cbc tests for now.  The swcrypto driver does
not (yet) support them.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/crypto/opencrypto/t_opencrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jan 16 23:56:04 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_xcbcmac.c

Log Message:
Use __arraycount and size_t as the format strings are wrong anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/opencrypto/h_xcbcmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 16 22:06:45 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_xcbcmac.c

Log Message:
Since sizeof() is unsigned, use an unsigned int for the loop index.

Fixes latest build break.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_xcbcmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/crypto/opencrypto

2014-01-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 16 18:09:55 UTC 2014

Modified Files:
src/tests/crypto/opencrypto: h_xcbcmac.c

Log Message:
Include all of the examples from RFC3566


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/crypto/opencrypto/h_xcbcmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.