# include "internal/bn_int.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* These preprocessor symbols control various aspects of the bignum headers
* and library code. They're not defined by any "normal" configuration, as
return bn_expand2((a),(bits+BN_BITS2-1)/BN_BITS2);
}
-#ifdef __cplusplus
-}
-#endif
-
#endif
#ifndef HEADER_CMS_LCL_H
# define HEADER_CMS_LCL_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
# include <openssl/x509.h>
/*
DECLARE_ASN1_ITEM(CMS_SignedData)
DECLARE_ASN1_ITEM(CMS_CompressedData)
-#ifdef __cplusplus
-}
-#endif
#endif
# include "internal/thread_once.h"
# include "internal/refcount.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern CRYPTO_RWLOCK *global_engine_lock;
/*
DEFINE_LHASH_OF(ENGINE_PILE);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* HEADER_ENGINE_INT_H */
#ifndef HEADER_HMAC_LCL_H
# define HEADER_HMAC_LCL_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-#if 0 /* emacs indentation fix */
-}
-#endif
-
struct hmac_ctx_st {
const EVP_MD *md;
EVP_MD_CTX *md_ctx;
unsigned char key[HMAC_MAX_MD_CBLOCK];
};
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif
# define ARIA_BLOCK_SIZE 16 /* Size of each encryption/decryption block */
# define ARIA_MAX_KEYS 17 /* Number of keys needed in the worst case */
-# ifdef __cplusplus
-extern "C" {
-# endif
-
typedef union {
unsigned char c[ARIA_BLOCK_SIZE];
unsigned int u[ARIA_BLOCK_SIZE / sizeof(unsigned int)];
void aria_encrypt(const unsigned char *in, unsigned char *out,
const ARIA_KEY *key);
-# ifdef __cplusplus
-}
-# endif
-
#endif
# include <openssl/bn.h>
# include <limits.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
BIGNUM *bn_wexpand(BIGNUM *a, int words);
BIGNUM *bn_expand2(BIGNUM *a, int words);
*/
int bn_set_words(BIGNUM *a, BN_ULONG *words, int num_words);
-#ifdef __cplusplus
-}
-#endif
-
#endif
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* ChaCha20_ctr32 encrypts |len| bytes from |inp| with the given key and
* nonce and writes the result to |out|, which may be equal to |inp|.
#define CHACHA_CTR_SIZE 16
#define CHACHA_BLK_SIZE 64
-#ifdef __cplusplus
-}
-#endif
#endif
# ifndef OPENSSL_NO_SM2
-# ifdef __cplusplus
-extern "C" {
-# endif
-
# include <openssl/ec.h>
/* The default user id as specified in GM/T 0009-2012 */
const uint8_t *ciphertext,
size_t ciphertext_len, uint8_t *ptext_buf, size_t *ptext_len);
-# ifdef __cplusplus
-}
-# endif
-
# endif /* OPENSSL_NO_SM2 */
#endif
# ifndef OPENSSL_NO_SM2
-# ifdef __cplusplus
-extern "C"
-# endif
int ERR_load_SM2_strings(void);
/*
# include <openssl/store.h>
# include <openssl/ui.h>
-# ifdef __cplusplus
-extern "C" {
-# endif
-
/*
* Two functions to read PEM data off an already opened BIO. To be used
* instead of OSSLSTORE_open() and OSSLSTORE_close(). Everything is done
void *ui_data);
int ossl_store_detach_pem_bio(OSSL_STORE_CTX *ctx);
-# ifdef __cplusplus
-}
-# endif
#endif
# endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
# define char2word(c, i) \
(i) = ((((seed_word)(c)[0]) << 24) | (((seed_word)(c)[1]) << 16) | (((seed_word)(c)[2]) << 8) | ((seed_word)(c)[3]))
(X1) ^= (T0); \
(X2) ^= (T1)
-#ifdef __cplusplus
-}
-#endif
-
#endif /* HEADER_SEED_LOCL_H */
#ifndef HEADER_V3_ADMISSION_H
# define HEADER_V3_ADMISSION_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct NamingAuthority_st {
ASN1_OBJECT* namingAuthorityId;
ASN1_IA5STRING* namingAuthorityUrl;
STACK_OF(ADMISSIONS)* contentsOfAdmissions;
};
-#ifdef __cplusplus
-}
-#endif
#endif
* outside; this file e_os.h is not part of the exported interface.
*/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
# ifndef DEVRANDOM
/*
* set this to a comma-separated list of 'random' device files to try out. By
# define CRYPTO_memcmp memcmp
#endif
-#ifdef __cplusplus
-}
-#endif
-
#endif
#include <openssl/conf.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
struct ossl_init_settings_st {
char *appname;
};
void openssl_no_config_int(void);
void conf_modules_free_int(void);
-#ifdef __cplusplus
-}
-#endif
-
#endif
# include <string.h>
# include <openssl/e_os2.h> /* For 'ossl_inline' */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*-
* The boolean methods return a bitmask of all ones (0xff...f) for true
* and 0 for false. This is useful for choosing a value based on the result
}
}
-#ifdef __cplusplus
-}
-#endif
-
#endif /* HEADER_CONSTANT_TIME_LOCL_H */
# include <openssl/err.h>
# include "internal/nelem.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifdef NDEBUG
# define ossl_assert(x) ((x) != 0)
#else
uint32_t OPENSSL_rdtsc(void);
-#ifdef __cplusplus
-}
-#endif
-
#endif
# include <openssl/crypto.h>
# include "internal/dsoerr.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* These values are used as commands to DSO_ctrl() */
# define DSO_CTRL_GET_FLAGS 1
# define DSO_CTRL_SET_FLAGS 2
int ERR_load_DSO_strings(void);
-# ifdef __cplusplus
-}
-# endif
#endif
# ifndef OPENSSL_NO_DSO
-# ifdef __cplusplus
-extern "C"
-# endif
int ERR_load_DSO_strings(void);
/*
#ifndef O_DIR_H
# define O_DIR_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef struct OPENSSL_dir_context_st OPENSSL_DIR_CTX;
/*
/* returns 1 on success, 0 on error */
int OPENSSL_DIR_end(OPENSSL_DIR_CTX **ctx);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* LPDIR_H */
# include "internal/numbers.h"
-# ifdef __cplusplus
-extern "C" {
-# endif
-
typedef struct {
/* Pointer to where we are currently reading from */
const unsigned char *curr;
/* Release resources in a WPACKET if a failure has occurred. */
void WPACKET_cleanup(WPACKET *pkt);
-# ifdef __cplusplus
-}
-# endif
-
#endif /* HEADER_PACKET_LOCL_H */