-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stephen Kapp
committed
Apr 22, 2010
1 parent
4746e79
commit 1b54a7c
Showing
21 changed files
with
209 additions
and
3,265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
RSAEURO Version 1.03 Distribution. | ||
RSAEuro Version 1.04 Distribution. | ||
|
||
Well Here it is, this is the RSAEURO Version 1.03 Distribrution. It has | ||
been a year in the making and it is finally here. RSAEURO is a International | ||
Well Here it is, this is the RSAEuro Version 1.04 Distribrution. It has | ||
been a year in the making and it is finally here. RSAEuro is a International | ||
RSAREF Replacement written with the intent of producing a package to allow | ||
use of existing RSAREF reliant packages internationally with out the | ||
US RSAREF Restrictions. | ||
|
||
RSAEURO is based about RSAREF II and covers most of the routines in that | ||
RSAEuro is based about RSAREF II and covers most of the routines in that | ||
package, however there have been some addtions. These include MD4, SHS | ||
and enhanced Random Number routines. | ||
|
||
Enclosed in this distribution is the following. | ||
|
||
RSAEURO.ZIP - RSAEURO Source and Docs in Zip format | ||
RSAEURO.TAZ - RSAEURO Source and Docs in tar/gzip format. | ||
RSAE104D.ZIP - RSAEuro Docs in Zip format | ||
RSAE104S.ZIP - RSAEuro Source in Zip format | ||
RSAEuro-1.04.tar.gz - RSAEuro Source and Docs in tar/gzip format. | ||
|
||
Please send any comments and/or suggestions to [email protected], | ||
you can encrypt these using the RSAEURO public key enclosed within. | ||
you can encrypt these using the RSAEuro public key enclosed within. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,9 @@ | |
dmult bug fix, Bug reported by Anders Heerfordt <[email protected]>. | ||
1.03 Fourth revision, SunCompiler patch | ||
1.04 Fifth revision, Fix to fix problem with NN_Encode | ||
and NN_Decode when running with MS Visual C++ 4.x. | ||
*/ | ||
|
||
#include "rsaeuro.h" | ||
|
@@ -55,8 +58,10 @@ unsigned char *b; | |
unsigned int digits, len; | ||
{ | ||
NN_DIGIT t; | ||
unsigned int i, j, u; | ||
unsigned int i, u; | ||
int j; | ||
|
||
/* @##$ unsigned/signed bug fix added JSAK - Fri 31/05/96 18:09:11 */ | ||
for (i = 0, j = len - 1; i < digits && j >= 0; i++) { | ||
t = 0; | ||
for (u = 0; j >= 0 && u < NN_DIGIT_BITS; j--, u += 8) | ||
|
@@ -81,15 +86,17 @@ unsigned char *a; | |
unsigned int digits, len; | ||
{ | ||
NN_DIGIT t; | ||
unsigned int i, j, u; | ||
unsigned int i, u; | ||
int j; | ||
|
||
for (i = 0, j = len - 1; i < digits && j >= 0; i++) { | ||
/* @##$ unsigned/signed bug fix added JSAK - Fri 31/05/96 18:09:11 */ | ||
for (i = 0, j = len - 1; i < digits && j >= 0; i++) { | ||
t = b[i]; | ||
for (u = 0; j >= 0 && u < NN_DIGIT_BITS; j--, u += 8) | ||
for (u = 0; j >= 0 && u < NN_DIGIT_BITS; j--, u += 8) | ||
a[j] = (unsigned char)(t >> u); | ||
} | ||
|
||
for (; j >= 0; j--) | ||
for (; j >= 0; j--) | ||
a[j] = 0; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.