diff options
author | Ben Laurie <ben@openssl.org> | 2007-05-13 15:14:38 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2007-05-13 15:14:38 +0000 |
commit | 69ab08529048b2bd4b672717612ddb9a655def29 (patch) | |
tree | 89bd1b7355cfa3f921f08ea88ae2a2ba75140142 /apps | |
parent | 5f09d0ecc2ad6b7b90e358460ef82d17ae2abb15 (diff) |
More IGE speedup.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/speed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/speed.c b/apps/speed.c index 4447f73c49..c2ee1de6cc 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1703,7 +1703,7 @@ int MAIN(int argc, char **argv) print_message(names[D_IGE_128_AES],c[D_IGE_128_AES][j],lengths[j]); Time_F(START); for (count=0,run=1; COND(c[D_IGE_128_AES][j]); count++) - AES_ige_encrypt(buf,buf, + AES_ige_encrypt(buf,buf2, (unsigned long)lengths[j],&aes_ks1, iv,AES_ENCRYPT); d=Time_F(STOP); @@ -1717,7 +1717,7 @@ int MAIN(int argc, char **argv) print_message(names[D_IGE_192_AES],c[D_IGE_192_AES][j],lengths[j]); Time_F(START); for (count=0,run=1; COND(c[D_IGE_192_AES][j]); count++) - AES_ige_encrypt(buf,buf, + AES_ige_encrypt(buf,buf2, (unsigned long)lengths[j],&aes_ks2, iv,AES_ENCRYPT); d=Time_F(STOP); @@ -1731,7 +1731,7 @@ int MAIN(int argc, char **argv) print_message(names[D_IGE_256_AES],c[D_IGE_256_AES][j],lengths[j]); Time_F(START); for (count=0,run=1; COND(c[D_IGE_256_AES][j]); count++) - AES_ige_encrypt(buf,buf, + AES_ige_encrypt(buf,buf2, (unsigned long)lengths[j],&aes_ks3, iv,AES_ENCRYPT); d=Time_F(STOP); |