Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
111518dd
Commit
111518dd
authored
Dec 02, 2012
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced all internal usage of sha.h.
parent
f9ef3299
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
23 additions
and
25 deletions
+23
-25
ChangeLog
ChangeLog
+2
-1
dsa.h
dsa.h
+2
-1
examples/nettle-benchmark.c
examples/nettle-benchmark.c
+2
-1
hmac.h
hmac.h
+2
-1
rsa.h
rsa.h
+2
-1
sha-example.c
sha-example.c
+1
-1
sha1-compress.c
sha1-compress.c
+1
-1
sha1-meta.c
sha1-meta.c
+1
-1
sha1.c
sha1.c
+1
-1
sha224-meta.c
sha224-meta.c
+1
-1
sha256-compress.c
sha256-compress.c
+1
-1
sha256-meta.c
sha256-meta.c
+1
-1
sha256.c
sha256.c
+1
-1
sha384-meta.c
sha384-meta.c
+1
-1
sha512-compress.c
sha512-compress.c
+1
-1
sha512-meta.c
sha512-meta.c
+1
-1
sha512.c
sha512.c
+1
-1
testsuite/pbkdf2-test.c
testsuite/pbkdf2-test.c
+0
-1
testsuite/sha1-huge-test.c
testsuite/sha1-huge-test.c
+0
-1
testsuite/sha1-test.c
testsuite/sha1-test.c
+0
-1
testsuite/sha224-test.c
testsuite/sha224-test.c
+0
-1
testsuite/sha256-test.c
testsuite/sha256-test.c
+0
-1
testsuite/sha384-test.c
testsuite/sha384-test.c
+0
-1
testsuite/sha512-test.c
testsuite/sha512-test.c
+0
-1
yarrow.h
yarrow.h
+1
-1
No files found.
ChangeLog
View file @
111518dd
2012-12-02 Niels Möller <nisse@lysator.liu.se>
Split sha.h into new files sha1.h and sha2.h.
Split sha.h into new files sha1.h and sha2.h. Replaced all
internal usage of sha.h in all files.
* sha.h: Kept for compatibility, just includes both new files.
* sha1.h: New file.
* sha2.h: New file.
...
...
dsa.h
View file @
111518dd
...
...
@@ -30,7 +30,8 @@
#include "nettle-types.h"
#include "sha.h"
#include "sha1.h"
#include "sha2.h"
#ifdef __cplusplus
extern
"C"
{
...
...
examples/nettle-benchmark.c
View file @
111518dd
...
...
@@ -49,7 +49,8 @@
#include "memxor.h"
#include "salsa20.h"
#include "serpent.h"
#include "sha.h"
#include "sha1.h"
#include "sha2.h"
#include "sha3.h"
#include "twofish.h"
...
...
hmac.h
View file @
111518dd
...
...
@@ -30,7 +30,8 @@
#include "md5.h"
#include "ripemd160.h"
#include "sha.h"
#include "sha1.h"
#include "sha2.h"
#ifdef __cplusplus
extern
"C"
{
...
...
rsa.h
View file @
111518dd
...
...
@@ -30,7 +30,8 @@
#include "nettle-types.h"
#include "md5.h"
#include "sha.h"
#include "sha1.h"
#include "sha2.h"
#ifdef __cplusplus
extern
"C"
{
...
...
sha-example.c
View file @
111518dd
#include <stdio.h>
#include <stdlib.h>
#include <nettle/sha.h>
#include <nettle/sha
1
.h>
#define BUF_SIZE 1000
...
...
sha1-compress.c
View file @
111518dd
...
...
@@ -55,7 +55,7 @@
#include <stdlib.h>
#include <string.h>
#include "sha.h"
#include "sha
1
.h"
#include "macros.h"
...
...
sha1-meta.c
View file @
111518dd
...
...
@@ -26,7 +26,7 @@
#include "nettle-meta.h"
#include "sha.h"
#include "sha
1
.h"
const
struct
nettle_hash
nettle_sha1
=
_NETTLE_HASH
(
sha1
,
SHA1
);
sha1.c
View file @
111518dd
...
...
@@ -44,7 +44,7 @@
#include <stdlib.h>
#include <string.h>
#include "sha.h"
#include "sha
1
.h"
#include "macros.h"
#include "nettle-write.h"
...
...
sha224-meta.c
View file @
111518dd
...
...
@@ -26,7 +26,7 @@
#include "nettle-meta.h"
#include "sha.h"
#include "sha
2
.h"
const
struct
nettle_hash
nettle_sha224
=
_NETTLE_HASH
(
sha224
,
SHA224
);
sha256-compress.c
View file @
111518dd
...
...
@@ -31,7 +31,7 @@
#include <stdlib.h>
#include <string.h>
#include "sha.h"
#include "sha
2
.h"
#include "macros.h"
...
...
sha256-meta.c
View file @
111518dd
...
...
@@ -26,7 +26,7 @@
#include "nettle-meta.h"
#include "sha.h"
#include "sha
2
.h"
const
struct
nettle_hash
nettle_sha256
=
_NETTLE_HASH
(
sha256
,
SHA256
);
sha256.c
View file @
111518dd
...
...
@@ -35,7 +35,7 @@
#include <stdlib.h>
#include <string.h>
#include "sha.h"
#include "sha
2
.h"
#include "macros.h"
#include "nettle-write.h"
...
...
sha384-meta.c
View file @
111518dd
...
...
@@ -26,7 +26,7 @@
#include "nettle-meta.h"
#include "sha.h"
#include "sha
2
.h"
const
struct
nettle_hash
nettle_sha384
=
_NETTLE_HASH
(
sha384
,
SHA384
);
sha512-compress.c
View file @
111518dd
...
...
@@ -31,7 +31,7 @@
#include <stdlib.h>
#include <string.h>
#include "sha.h"
#include "sha
2
.h"
#include "macros.h"
...
...
sha512-meta.c
View file @
111518dd
...
...
@@ -26,7 +26,7 @@
#include "nettle-meta.h"
#include "sha.h"
#include "sha
2
.h"
const
struct
nettle_hash
nettle_sha512
=
_NETTLE_HASH
(
sha512
,
SHA512
);
sha512.c
View file @
111518dd
...
...
@@ -35,7 +35,7 @@
#include <stdlib.h>
#include <string.h>
#include "sha.h"
#include "sha
2
.h"
#include "macros.h"
...
...
testsuite/pbkdf2-test.c
View file @
111518dd
#include "testutils.h"
#include "hmac.h"
#include "sha.h"
#include "pbkdf2.h"
/* NOTE: The salt argument is expected to expand to length, data */
...
...
testsuite/sha1-huge-test.c
View file @
111518dd
#include "testutils.h"
#include "sha.h"
void
test_main
(
void
)
...
...
testsuite/sha1-test.c
View file @
111518dd
#include "testutils.h"
#include "sha.h"
void
test_main
(
void
)
...
...
testsuite/sha224-test.c
View file @
111518dd
#include "testutils.h"
#include "sha.h"
void
test_main
(
void
)
...
...
testsuite/sha256-test.c
View file @
111518dd
#include "testutils.h"
#include "sha.h"
void
test_main
(
void
)
...
...
testsuite/sha384-test.c
View file @
111518dd
#include "testutils.h"
#include "sha.h"
void
test_main
(
void
)
...
...
testsuite/sha512-test.c
View file @
111518dd
#include "testutils.h"
#include "sha.h"
void
test_main
(
void
)
...
...
yarrow.h
View file @
111518dd
...
...
@@ -27,7 +27,7 @@
#define NETTLE_YARROW_H_INCLUDED
#include "aes.h"
#include "sha.h"
#include "sha
2
.h"
#ifdef __cplusplus
extern
"C"
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment