Skip to content
Snippets Groups Projects
Commit 572c75fe authored by Niels Möller's avatar Niels Möller
Browse files

* desCode.h (des_keymap, des_bigmap): Deleted extern declarations,

they conficted with the static definition in des.c. Reported by
Simon Josefsson.

* des.c (DesSmallFipsEncrypt, DesSmallFipsDecrypt): Moved
definitions after the definition of the des_kemap array.

Rev: src/nettle/ChangeLog:1.206
Rev: src/nettle/des.c:1.8
Rev: src/nettle/desCode.h:1.3
parent 881ab980
Branches
Tags
No related merge requests found
2003-08-17 Niels Mller <nisse@cuckoo.hack.org>
* desCode.h (des_keymap, des_bigmap): Deleted extern declarations,
they conficted with the static definition in des.c. Reported by
Simon Josefsson.
* des.c (DesSmallFipsEncrypt, DesSmallFipsDecrypt): Moved
definitions after the definition of the des_kemap array.
2003-08-11 Niels Mller <nisse@cuckoo.hack.org> 2003-08-11 Niels Mller <nisse@cuckoo.hack.org>
* rsa-encrypt.c (rsa_encrypt): Bugfix contributed by * rsa-encrypt.c (rsa_encrypt): Bugfix contributed by
......
...@@ -40,9 +40,6 @@ ...@@ -40,9 +40,6 @@
#include "desCode.h" #include "desCode.h"
static ENCRYPT(DesSmallFipsEncrypt,TEMPSMALL, LOADFIPS,KEYMAPSMALL,SAVEFIPS)
static DECRYPT(DesSmallFipsDecrypt,TEMPSMALL, LOADFIPS,KEYMAPSMALL,SAVEFIPS)
/* various tables */ /* various tables */
static const uint32_t static const uint32_t
...@@ -60,6 +57,9 @@ parity[] = { ...@@ -60,6 +57,9 @@ parity[] = {
#include "parity.h" #include "parity.h"
}; };
static ENCRYPT(DesSmallFipsEncrypt,TEMPSMALL, LOADFIPS,KEYMAPSMALL,SAVEFIPS)
static DECRYPT(DesSmallFipsDecrypt,TEMPSMALL, LOADFIPS,KEYMAPSMALL,SAVEFIPS)
void void
des_fix_parity(unsigned length, uint8_t *dst, des_fix_parity(unsigned length, uint8_t *dst,
const uint8_t *src) const uint8_t *src)
......
...@@ -9,9 +9,6 @@ ...@@ -9,9 +9,6 @@
#include "des.h" #include "des.h"
extern const uint32_t des_keymap[];
extern const uint32_t des_bigmap[];
/* optional customization: /* optional customization:
* the idea here is to alter the code so it will still run correctly * the idea here is to alter the code so it will still run correctly
* on any machine, but the quickest on the specific machine in mind. * on any machine, but the quickest on the specific machine in mind.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment