diff options
Diffstat (limited to 'src/lib/libcrypto/des/destest.c')
-rw-r--r-- | src/lib/libcrypto/des/destest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/des/destest.c b/src/lib/libcrypto/des/destest.c index 3983ac8e5f..e3e9d77f14 100644 --- a/src/lib/libcrypto/des/destest.c +++ b/src/lib/libcrypto/des/destest.c | |||
@@ -439,8 +439,8 @@ int main(int argc, char *argv[]) | |||
439 | memcpy(in,plain_data[i],8); | 439 | memcpy(in,plain_data[i],8); |
440 | memset(out,0,8); | 440 | memset(out,0,8); |
441 | memset(outin,0,8); | 441 | memset(outin,0,8); |
442 | des_ecb2_encrypt(&in,&out,ks,ks2,DES_ENCRYPT); | 442 | des_ecb2_encrypt(in,out,ks,ks2,DES_ENCRYPT); |
443 | des_ecb2_encrypt(&out,&outin,ks,ks2,DES_DECRYPT); | 443 | des_ecb2_encrypt(out,outin,ks,ks2,DES_DECRYPT); |
444 | 444 | ||
445 | if (memcmp(out,cipher_ecb2[i],8) != 0) | 445 | if (memcmp(out,cipher_ecb2[i],8) != 0) |
446 | { | 446 | { |