Hello,

I'm currently working on an implementation of GOST for the GNU Classpath 
project, and I'm running up into the problem of actually testing my 
implementation, available here:
http://www.surgo.net/classpath/GOST.java

As you can see in the file, I'm using the S-Boxes detailed on Applied 
Cryptography, 2nd ed., page 333. As there are no published test 
vectors, I need to make some sort of interoptability test with another 
implementation. To that end, I was wondering which S-Boxes you use? It 
looks like you use the same S-Boxes that I do, but you then have some 
sort of speed-up table that I don't entirely understand.

In addition, what is the format for the test vectors you have in your 
gostval.dat file? Key/plaintext/ciphertext? If it's that, I seem to 
have some subtle bug in my implementation that makes encryption wrong, 
though decryption ends up correct.

Thanks for the information,
-- 
Morgon Kanter           <[EMAIL PROTECTED]>

Reply via email to