Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
bcc66077
Commit
bcc66077
authored
Feb 19, 2002
by
Niels Möller
Browse files
*** empty log message ***
Rev: src/nettle/ChangeLog:1.70 Rev: src/nettle/asm.m4:1.6 Rev: src/nettle/rsa.h:1.11
parent
b15b54e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
bcc66077
2002-02-19 Niels Möller <nisse@cuckoo.hack.org>
* configure.in (asm_path): Renamed "path" to "asm_path". Also look
for a machine.m4.
2002-02-16 Niels Möller <nisse@cuckoo.hack.org>
* sparc/aes.asm: Use that IDX2(j) == j ^ 2
...
...
asm.m4
View file @
bcc66077
...
...
@@ -25,7 +25,7 @@ define(AES_SBOX_SIZE, 256)dnl
define(AES_IDX_SIZE, 16)dnl
define(AES_TABLE_SIZE, 1024)dnl
STRUCT(AES)
STRUCT
URE
(AES)
STRUCT(SBOX, AES_SBOX_SIZE)
STRUCT(IDX1, AES_IDX_SIZE)
...
...
rsa.h
View file @
bcc66077
...
...
@@ -162,8 +162,8 @@ int
rsa_encrypt
(
struct
rsa_public_key
*
key
,
/* For padding */
void
*
random_ctx
,
nettle_random_func
random
,
unsigned
length
,
const
uint8_t
*
message
,
mpz_t
gibbberish
);
unsigned
length
,
const
uint8_t
*
cleartext
,
mpz_t
cipher
);
/* Message must point to a buffer of size *LENGTH. KEY->size is enough
* for all valid messages. On success, *LENGTH is updated to reflect
...
...
@@ -172,8 +172,8 @@ rsa_encrypt(struct rsa_public_key *key,
* didn't fit. */
int
rsa_decrypt
(
struct
rsa_private_key
*
key
,
unsigned
*
length
,
uint8_t
*
message
,
const
mpz_t
gibberish
);
unsigned
*
length
,
uint8_t
*
cleartext
,
const
mpz_t
ciphertext
);
/* Compute x, the e:th root of m. Calling it with x == m is allowed. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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