Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
cc289848
Commit
cc289848
authored
Sep 14, 2001
by
Niels Möller
Browse files
*** empty log message ***
Rev: src/nettle/.cvsignore:1.4 Rev: src/nettle/des-compat.h:1.6
parent
b5fbae36
Changes
3
Hide whitespace changes
Inline
Side-by-side
.cvsignore
View file @
cc289848
...
...
@@ -10,8 +10,22 @@ config.status
configure
desdata
keymap.h
nettle.aux
nettle.cp
nettle.cps
nettle.dvi
nettle.fn
nettle.html
nettle.info
nettle.ky
nettle.log
nettle.pg
nettle.ps
nettle.toc
nettle.tp
nettle.tps
nettle.vr
nettle.vrs
parity.h
rotors.h
stamp-h
...
...
.gitignore
View file @
cc289848
...
...
@@ -42,8 +42,22 @@ core
/configure
/desdata
/keymap.h
/nettle.aux
/nettle.cp
/nettle.cps
/nettle.dvi
/nettle.fn
/nettle.html
/nettle.info
/nettle.ky
/nettle.log
/nettle.pg
/nettle.ps
/nettle.toc
/nettle.tp
/nettle.tps
/nettle.vr
/nettle.vrs
/parity.h
/rotors.h
/stamp-h
...
...
des-compat.h
View file @
cc289848
...
...
@@ -38,7 +38,7 @@
/* Some names collides with nettle, so we'll need some ugly symbol
* munging */
#define des_set_key des_
compat_set_key
#define des_set_key des_
key_sched
enum
{
DES_DECRYPT
=
0
,
DES_ENCRYPT
=
1
};
...
...
@@ -46,8 +46,11 @@ void des_ecb3_encrypt(const uint8_t *src, uint8_t *dst,
struct
des_ctx
*
k1
,
struct
des_ctx
*
k2
,
struct
des_ctx
*
k3
,
int
enc
);
uint32_t
des_cbc_cksum
(
const
uint8_t
*
src
,
uint8_t
dst
,
/* des_cbc_cksum in libdes returns a 32 bit integer, representing the
* latter half of the output block, in some byte order. For now, lets
* just hope nobody uses thet feature, and return void instead. */
void
des_cbc_cksum
(
const
uint8_t
*
src
,
uint8_t
*
dst
,
long
length
,
struct
des_ctx
*
ctx
,
uint8_t
*
iv
);
...
...
@@ -74,10 +77,6 @@ des_ede3_cbc_encrypt(const uint8_t *src, uint8_t *dst, long length,
int
des_set_odd_parity
(
uint8_t
*
key
);
int
des_set_key
(
const
uint8_t
*
key
,
struct
des_ctx
*
ctx
);
/* What's the difference between this and des_set_key */
int
des_key_sched
(
const
uint8_t
*
key
,
struct
des_ctx
*
ctx
);
...
...
Write
Preview
Supports
Markdown
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