projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added SILC Server library.
[silc.git]
/
lib
/
silccrypt
/
tests
/
test_sha256.c
diff --git
a/lib/silccrypt/tests/test_sha256.c
b/lib/silccrypt/tests/test_sha256.c
index e89ce57f46a5ae820f8931835aa6776c00c00e7e..ef0945b6dd40675464df1cd402ec577184f0b69e 100644
(file)
--- a/
lib/silccrypt/tests/test_sha256.c
+++ b/
lib/silccrypt/tests/test_sha256.c
@@
-1,4
+1,4
@@
-#include "silc
includes
.h"
+#include "silc.h"
/* Test vectors from NIST secure hashing definition for SHA-256 */
@@
-12,7
+12,7
@@
const unsigned char data2_digest[] = "\xba\x78\x16\xbf\x8f\x01\xcf\xea\x41\x41\x
int main(int argc, char **argv)
{
-
b
ool success = FALSE;
+
SilcB
ool success = FALSE;
unsigned char digest[20];
SilcHash sha256;