mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
Include openssl/crypto.h first in several other files so FIPS renaming
is picked up.
This commit is contained in:
parent
017bc57bf9
commit
a3654f0586
@ -49,6 +49,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/camellia.h>
|
#include <openssl/camellia.h>
|
||||||
#include <openssl/modes.h>
|
#include <openssl/modes.h>
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/camellia.h>
|
#include <openssl/camellia.h>
|
||||||
#include <openssl/modes.h>
|
#include <openssl/modes.h>
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/camellia.h>
|
#include <openssl/camellia.h>
|
||||||
#include <openssl/modes.h>
|
#include <openssl/modes.h>
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/camellia.h>
|
#include <openssl/camellia.h>
|
||||||
#include <openssl/modes.h>
|
#include <openssl/modes.h>
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
|
|
||||||
DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output,
|
DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output,
|
||||||
|
@ -73,6 +73,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define OPENSSL_DES_LIBDES_COMPATIBILITY
|
#define OPENSSL_DES_LIBDES_COMPATIBILITY
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#undef OPENSSL_DES_LIBDES_COMPATIBILITY
|
#undef OPENSSL_DES_LIBDES_COMPATIBILITY
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/e_os2.h>
|
#include <openssl/e_os2.h>
|
||||||
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_WINDOWS)
|
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_WINDOWS)
|
||||||
#ifndef OPENSSL_SYS_MSDOS
|
#ifndef OPENSSL_SYS_MSDOS
|
||||||
|
@ -68,6 +68,7 @@ http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-get.cgi/1998/CS/CS0928.ps.gz
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_DESCBCM is defined */
|
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_DESCBCM is defined */
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_DESCBCM
|
#ifndef OPENSSL_NO_DESCBCM
|
||||||
|
@ -61,6 +61,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
|
|
||||||
#ifdef CBC_ENC_C__DONT_UPDATE_IV
|
#ifdef CBC_ENC_C__DONT_UPDATE_IV
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
|
|
||||||
/* The input and output encrypted as though 64bit ofb mode is being
|
/* The input and output encrypted as though 64bit ofb mode is being
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
|
|
||||||
/* The input and output are loaded in multiples of 8 bits.
|
/* The input and output are loaded in multiples of 8 bits.
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
|
|
||||||
void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,
|
void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "rpc_des.h"
|
#include "rpc_des.h"
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
#include "des_ver.h"
|
#include "des_ver.h"
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "des_locl.h"
|
#include "des_locl.h"
|
||||||
|
|
||||||
/* RSA's DESX */
|
/* RSA's DESX */
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/e_os2.h>
|
#include <openssl/e_os2.h>
|
||||||
|
|
||||||
#ifdef OPENSSL_NO_ENGINE
|
#ifdef OPENSSL_NO_ENGINE
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#include <openssl/mdc2.h>
|
#include <openssl/mdc2.h>
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
* forms are granted according to the OpenSSL license.
|
* forms are granted according to the OpenSSL license.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "modes_lcl.h"
|
#include "modes_lcl.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|
||||||
#include "../e_os.h"
|
#include "../e_os.h"
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
|
|
||||||
#include "../e_os.h"
|
#include "../e_os.h"
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
* Requires OpenSSL 0.9.9 for compilation *
|
* Requires OpenSSL 0.9.9 for compilation *
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "gost89.h"
|
#include "gost89.h"
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
#include "e_gost_err.h"
|
#include "e_gost_err.h"
|
||||||
|
@ -114,6 +114,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "ssl_locl.h"
|
#include "ssl_locl.h"
|
||||||
#ifndef OPENSSL_NO_KRB5
|
#ifndef OPENSSL_NO_KRB5
|
||||||
#include "kssl_lcl.h"
|
#include "kssl_lcl.h"
|
||||||
|
@ -149,6 +149,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "ssl_locl.h"
|
#include "ssl_locl.h"
|
||||||
#include "kssl_lcl.h"
|
#include "kssl_lcl.h"
|
||||||
#include <openssl/buffer.h>
|
#include <openssl/buffer.h>
|
||||||
|
@ -152,6 +152,7 @@
|
|||||||
#define NETSCAPE_HANG_BUG
|
#define NETSCAPE_HANG_BUG
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "ssl_locl.h"
|
#include "ssl_locl.h"
|
||||||
#include "kssl_lcl.h"
|
#include "kssl_lcl.h"
|
||||||
#include <openssl/buffer.h>
|
#include <openssl/buffer.h>
|
||||||
|
@ -84,6 +84,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "ssl_locl.h"
|
#include "ssl_locl.h"
|
||||||
#include <openssl/asn1_mac.h>
|
#include <openssl/asn1_mac.h>
|
||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
|
@ -146,6 +146,7 @@
|
|||||||
# include <assert.h>
|
# include <assert.h>
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include "ssl_locl.h"
|
#include "ssl_locl.h"
|
||||||
#include "kssl_lcl.h"
|
#include "kssl_lcl.h"
|
||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/e_os2.h>
|
#include <openssl/e_os2.h>
|
||||||
#include <openssl/buffer.h>
|
#include <openssl/buffer.h>
|
||||||
#include <openssl/crypto.h>
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <openssl/crypto.h>
|
||||||
#include <openssl/aes.h>
|
#include <openssl/aes.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user