projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change FIPS source and utilities to use the "FIPS_" names directly
[openssl.git]
/
fips
/
des
/
fips_des_selftest.c
diff --git
a/fips/des/fips_des_selftest.c
b/fips/des/fips_des_selftest.c
index d93d3b5558de02c44f8bc4bda1d4617700806995..7b7543b645f0be5a8db45f5e8b1afd97868f14b3 100644
(file)
--- a/
fips/des/fips_des_selftest.c
+++ b/
fips/des/fips_des_selftest.c
@@
-110,7
+110,7
@@
int FIPS_selftest_des()
{
int n, ret = 0;
EVP_CIPHER_CTX ctx;
{
int n, ret = 0;
EVP_CIPHER_CTX ctx;
-
EVP_CIPHER_CTX
_init(&ctx);
+
FIPS_cipher_ctx
_init(&ctx);
/* Encrypt/decrypt with 2-key 3DES and compare to known answers */
for(n=0 ; n < 2 ; ++n)
{
/* Encrypt/decrypt with 2-key 3DES and compare to known answers */
for(n=0 ; n < 2 ; ++n)
{
@@
-130,7
+130,7
@@
int FIPS_selftest_des()
}
ret = 1;
err:
}
ret = 1;
err:
-
EVP_CIPHER_CTX
_cleanup(&ctx);
+
FIPS_cipher_ctx
_cleanup(&ctx);
if (ret == 0)
FIPSerr(FIPS_F_FIPS_SELFTEST_DES,FIPS_R_SELFTEST_FAILED);
if (ret == 0)
FIPSerr(FIPS_F_FIPS_SELFTEST_DES,FIPS_R_SELFTEST_FAILED);