| |
 |
|
|
Science Forum Index » Cryptography Forum » Need to purchase AES code for Windows...
Page 1 of 1
|
| Author |
Message |
| Neil W.... |
Posted: Mon Jul 21, 2008 7:24 am |
|
|
|
Guest
|
I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
Most likely I am making some incredibly simple and stupid mistake. However,
I really need some working source code plus visual studio project files.
Is there someplace I can purchase some working AES source code, plus project
files that have been proven to pass the Monte Carlo tests in Win32
applications (and hopefully x64 applications as well).
Thanks. |
|
|
| Back to top |
|
| Ivar Rosquist... |
Posted: Mon Jul 21, 2008 7:24 am |
|
|
|
Guest
|
On Mon, 21 Jul 2008 08:24:23 -0400, Neil W. wrote:
Quote: I have downloaded the AES code for several freeware implementations from
the Web, none of which have passed the Monte Carlo output tests when
compiled into a Win32 application (GUI or Console). Interestingly, they
passed all the other tests.
Most likely I am making some incredibly simple and stupid mistake.
However, I really need some working source code plus visual studio
project files.
Is there someplace I can purchase some working AES source code, plus
project files that have been proven to pass the Monte Carlo tests in
Win32 applications (and hopefully x64 applications as well).
That's interesting: You acknowledge that you must be doing
something stupid, and rather than trying to understand what it is, you
are about to purchase something that can be obtained for free in many
places in the net.
Well, I hope they'll charge you a lot of $$$, for your stupidity. |
|
|
| Back to top |
|
| Quadibloc... |
Posted: Mon Jul 21, 2008 7:24 am |
|
|
|
Guest
|
On Jul 21, 6:24 am, "Neil W." <ne... at (no spam) REMOVEnetlib.com> wrote:
Quote: I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
If the code correctly implements AES, but does not pass a Monte Carlo
output test, then perhaps the problem is with Rijndael/AES (or, of
course, with the Monte Carlo test) and not with the implementation.
John Savard |
|
|
| Back to top |
|
| rossum... |
Posted: Mon Jul 21, 2008 9:18 am |
|
|
|
Guest
|
On Mon, 21 Jul 2008 08:24:23 -0400, "Neil W." <neilw at (no spam) REMOVEnetlib.com>
wrote:
Quote: I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
Most likely I am making some incredibly simple and stupid mistake. However,
I really need some working source code plus visual studio project files.
Is there someplace I can purchase some working AES source code, plus project
files that have been proven to pass the Monte Carlo tests in Win32
applications (and hopefully x64 applications as well).
Thanks.
AES is available for free rom both Microsoft (as part of .NET) and
from Sun (as part of Java). Both implementations work.
rossum |
|
|
| Back to top |
|
| Wolfgang Ehrhardt... |
Posted: Mon Jul 21, 2008 12:49 pm |
|
|
|
Guest
|
On Mon, 21 Jul 2008 08:24:23 -0400, "Neil W." <neilw at (no spam) REMOVEnetlib.com>
wrote:
Quote: I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
Most likely I am making some incredibly simple and stupid mistake. However,
I really need some working source code plus visual studio project files.
Is there someplace I can purchase some working AES source code, plus project
files that have been proven to pass the Monte Carlo tests in Win32
applications (and hopefully x64 applications as well).
Why are you so extremely focussed on this "Monte Carlo test" bit?
In your June 23 post you asked: "Anyone have Monte Carlo test source
code for AES CBC? Any language will do: C/C++, VB, Delphi, Java, etc"
My answer was: "Do you have any objections against the original
rijndaeltest-ref.c in the rijndael-dos-refc.tar? Pascal/Delphi
implementations reproducing the you cbc_e_m.txt and cbc_d_m.txt from
rijndael-vals.zip you can find from the sig addr."
In my answer to your July 06 question related to the data from
<http://csrc.nist.gov/groups/STM/cavp/documents/aes/AESAVS.pdf>
I have posted working source code which reproduces the test vectors?
So what's your problem? Are you unable to successfully test your own
implementation?
In the rijndael-dos-refc.tar is C code from the developers that even a
Pascal programmer can put to work:). An on THE open source freeware
web page <http://fp.gladman.plus.com/AES/index.htm> by Brian Gladman
you can find Visual Studio build projects.
Wolfgang
--
In order to e-mail me a reply to this message, you will have
to remove PLEASE.REMOVE from the address shown in the header
or get it from http://home.netsurf.de/wolfgang.ehrhardt
(Free open source Crypto, AES, CRC, Hash for Pascal/Delphi) |
|
|
| Back to top |
|
| ... |
Posted: Mon Jul 21, 2008 7:53 pm |
|
|
|
Guest
|
On Jul 21, 5:24 am, "Neil W." <ne... at (no spam) REMOVEnetlib.com> wrote:
Quote: I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
Most likely I am making some incredibly simple and stupid mistake. However,
I really need some working source code plus visual studio project files.
Is there someplace I can purchase some working AES source code, plus project
files that have been proven to pass the Monte Carlo tests in Win32
applications (and hopefully x64 applications as well).
Thanks.
OP: "Most likely I am making some incredibly simple and stupid
mistake."
Yes... this much is abundantly clear.
OP: "However, I really need some working source code plus visual
studio project files."
Here you are. A fresh steaming heap of visual studio AES goodness:
http://msdn.microsoft.com/en-us/magazine/cc164055.aspx
Now send me 500.00 USD and go on out and be somebody...
:P |
|
|
| Back to top |
|
| Unruh... |
Posted: Tue Jul 22, 2008 1:31 am |
|
|
|
Guest
|
"Neil W." <neilw at (no spam) REMOVEnetlib.com> writes:
Quote: I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
Most likely I am making some incredibly simple and stupid mistake. However,
I really need some working source code plus visual studio project files.
Is there someplace I can purchase some working AES source code, plus project
files that have been proven to pass the Monte Carlo tests in Win32
applications (and hopefully x64 applications as well).
gpg. -- it's free.
>Thanks. |
|
|
| Back to top |
|
| Blind Anagram... |
Posted: Tue Jul 22, 2008 4:08 am |
|
|
|
Guest
|
Neil W. wrote:
Quote: I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
Most likely I am making some incredibly simple and stupid mistake. However,
I really need some working source code plus visual studio project files.
Is there someplace I can purchase some working AES source code, plus project
files that have been proven to pass the Monte Carlo tests in Win32
applications (and hopefully x64 applications as well).
I see [ ] that the AES Algorithm Validation Suite tests for ECB,
CBC, CFB and OFB modes have just been added to the AES code and the
associated Visual Studio 2008 build project at:
http://fp.gladman.plus.com/AES/
The CFB1 and CFB8 tests are not present because these modes are not
implemented in this package. |
|
|
| Back to top |
|
| Tim Smith... |
Posted: Fri Jul 25, 2008 4:40 pm |
|
|
|
Guest
|
In article <4884804b$0$7336$607ed4bc at (no spam) cv.net>,
"Neil W." <neilw at (no spam) REMOVEnetlib.com> wrote:
Quote: I have downloaded the AES code for several freeware implementations from the
Web, none of which have passed the Monte Carlo output tests when compiled
into a Win32 application (GUI or Console). Interestingly, they passed all
the other tests.
Most likely I am making some incredibly simple and stupid mistake. However,
I really need some working source code plus visual studio project files.
Is there someplace I can purchase some working AES source code, plus project
files that have been proven to pass the Monte Carlo tests in Win32
applications (and hopefully x64 applications as well).
It probably won't help. A non-free implementation will give the same
results for any given plaintext/key/IV/mode. (It's kind of important
that all implementations of AES do the same thing...). So, whatever it
is in the way you are building or testing that is broken, it will be
equally broken for the paid implementations.
My first guess is that something is broken in how you are doing the
Monte Carlo tests. My second guess is that you are using a mode that
has patterns in its output, and that is throwing off the test. Without
knowing just what it is you are doing, no one can really say.
--
--Tim Smith |
|
|
| Back to top |
|
| |
|
Page 1 of 1
All times are GMT - 5 Hours
The time now is Sat Nov 22, 2008 7:35 pm
|
|