/* Internal ASN1 structures and functions: not for application use */
+#if !defined(OSSL_LIBCRYPTO_ASN1_ASN1_LOCAL_H)
+#define OSSL_LIBCRYPTO_ASN1_ASN1_LOCAL_H
+
#include "crypto/asn1.h"
typedef const ASN1_VALUE const_ASN1_VALUE;
OSSL_LIB_CTX *libctx, const char *propq);
int ossl_asn1_time_time_t_to_tm(const time_t *time, struct tm *out_tm);
int ossl_asn1_time_tm_to_time_t(const struct tm *tm, time_t *out);
+
+#endif /* !defined(OSSL_LIBCRYPTO_ASN1_ASN1_LOCAL_H) */
/* size limits: this stuff is taken straight from RFC3280 */
+#if !defined(OSSL_LIBCRYPTO_ASN1_TBL_STANDARD_H)
+#define OSSL_LIBCRYPTO_ASN1_TBL_STANDARD_H
+
#define ub_name 32768
#define ub_common_name 64
#define ub_locality_name 128
{ NID_dnsName, 0, -1, B_ASN1_UTF8STRING, STABLE_NO_MASK },
{ NID_id_on_SmtpUTF8Mailbox, 1, ub_email_address, B_ASN1_UTF8STRING, STABLE_NO_MASK }
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_ASN1_TBL_STANDARD_H) */
* Must do this before including any header files, because on MacOS/X <stlib.h>
* includes <signal.h> which includes <ucontext.h>
*/
+#if !defined(OSSL_LIBCRYPTO_ASYNC_ASYNC_LOCAL_H)
+#define OSSL_LIBCRYPTO_ASYNC_ASYNC_LOCAL_H
+
#if defined(__APPLE__) && defined(__MACH__) && !defined(_XOPEN_SOURCE)
#define _XOPEN_SOURCE /* Otherwise incomplete ucontext_t structure */
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
async_ctx *async_get_ctx(void);
void async_wait_ctx_reset_counts(ASYNC_WAIT_CTX *ctx);
+
+#endif /* !defined(OSSL_LIBCRYPTO_ASYNC_ASYNC_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_BF_BF_PI_H)
+#define OSSL_LIBCRYPTO_BF_BF_PI_H
+
static const BF_KEY bf_init = {
{ 0x243f6a88L, 0x85a308d3L, 0x13198a2eL, 0x03707344L,
0xa4093822L, 0x299f31d0L, 0x082efa98L, 0xec4e6c89L,
0x3ac372e6L,
}
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_BF_BF_PI_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_BIO_BIO_LOCAL_H)
+#define OSSL_LIBCRYPTO_BIO_BIO_LOCAL_H
+
#include "internal/e_os.h"
#include "internal/sockets.h"
#include "internal/bio_addr.h"
#endif
#endif
+
+#endif /* !defined(OSSL_LIBCRYPTO_BIO_BIO_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_CAST_CAST_LOCAL_H)
+#define OSSL_LIBCRYPTO_CAST_CAST_LOCAL_H
+
#ifdef OPENSSL_SYS_WIN32
#include <stdlib.h>
#endif
extern const CAST_LONG CAST_S_table5[256];
extern const CAST_LONG CAST_S_table6[256];
extern const CAST_LONG CAST_S_table7[256];
+
+#endif /* !defined(OSSL_LIBCRYPTO_CAST_CAST_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_CAST_CAST_S_H)
+#define OSSL_LIBCRYPTO_CAST_CAST_S_H
+
const CAST_LONG CAST_S_table0[256] = {
0x30fb40d4,
0x9fa0ff0b,
0x8db2a283,
0xea8bf59e,
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_CAST_CAST_S_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_COMP_COMP_LOCAL_H)
+#define OSSL_LIBCRYPTO_COMP_COMP_LOCAL_H
+
struct comp_method_st {
int type; /* NID for compression library */
const char *name; /* A text string to identify the library */
unsigned long expand_out;
void *data;
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_COMP_COMP_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_CONF_CONF_LOCAL_H)
+#define OSSL_LIBCRYPTO_CONF_CONF_LOCAL_H
+
#include <openssl/conftypes.h>
void ossl_config_add_ssl_module(void);
+
+#endif /* !defined(OSSL_LIBCRYPTO_CONF_CONF_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_CT_CT_LOCAL_H)
+#define OSSL_LIBCRYPTO_CT_CT_LOCAL_H
+
#include <stddef.h>
#include <openssl/ct.h>
#include <openssl/evp.h>
* Handlers for Certificate Transparency X509v3/OCSP extensions
*/
extern const X509V3_EXT_METHOD ossl_v3_ct_scts[3];
+
+#endif /* !defined(OSSL_LIBCRYPTO_CT_CT_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_DES_SPR_H)
+#define OSSL_LIBCRYPTO_DES_SPR_H
+
const DES_LONG DES_SPtrans[8][64] = {
{
/* nibble 0 */
0x00820080L,
}
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_DES_SPR_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_DH_DH_LOCAL_H)
+#define OSSL_LIBCRYPTO_DH_DH_LOCAL_H
+
#include <openssl/dh.h>
#include "internal/refcount.h"
#include "internal/ffc.h"
int (*generate_params)(DH *dh, int prime_len, int generator,
BN_GENCB *cb);
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_DH_DH_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_DSA_DSA_LOCAL_H)
+#define OSSL_LIBCRYPTO_DSA_DSA_LOCAL_H
+
#include <openssl/dsa.h>
#include "internal/refcount.h"
#include "internal/ffc.h"
DSA_SIG *ossl_dsa_do_sign_int(const unsigned char *dgst, int dlen, DSA *dsa,
unsigned int nonce_type, const char *digestname,
OSSL_LIB_CTX *libctx, const char *propq);
+
+#endif /* !defined(OSSL_LIBCRYPTO_DSA_DSA_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_DSO_DSO_LOCAL_H)
+#define OSSL_LIBCRYPTO_DSO_DSO_LOCAL_H
+
#include <stdio.h>
#include "internal/cryptlib.h"
#include "internal/dso.h"
/* Perform global symbol lookup, i.e. among *all* modules */
void *(*globallookup)(const char *symname);
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_DSO_DSO_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_EC_EC_LOCAL_H)
+#define OSSL_LIBCRYPTO_EC_EC_LOCAL_H
+
#include <stdlib.h>
#include <openssl/obj_mac.h>
return 1;
}
+
+#endif /* !defined(OSSL_LIBCRYPTO_EC_EC_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_EC_ECX_BACKEND_H)
+#define OSSL_LIBCRYPTO_EC_ECX_BACKEND_H
+
#define ISX448(id) ((id) == EVP_PKEY_X448)
#define IS25519(id) ((id) == EVP_PKEY_X25519 || (id) == EVP_PKEY_ED25519)
#define KEYLENID(id) (IS25519(id) ? X25519_KEYLEN \
: ((id) == EVP_PKEY_X448 ? ECX_KEY_TYPE_X448 \
: ECX_KEY_TYPE_ED448))
#define KEYLEN(p) KEYLENID((p)->ameth->pkey_id)
+
+#endif /* !defined(OSSL_LIBCRYPTO_EC_ECX_BACKEND_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_ENCODE_DECODE_ENCODER_LOCAL_H)
+#define OSSL_LIBCRYPTO_ENCODE_DECODE_ENCODER_LOCAL_H
+
#include <openssl/core_dispatch.h>
#include <openssl/types.h>
#include <openssl/safestack.h>
int ossl_decoder_fast_is_a(OSSL_DECODER *decoder,
const char *name, int *id_cache);
+
+#endif /* !defined(OSSL_LIBCRYPTO_ENCODE_DECODE_ENCODER_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_ERR_ERR_LOCAL_H)
+#define OSSL_LIBCRYPTO_ERR_ERR_LOCAL_H
+
#include <string.h>
#include <openssl/err.h>
#include <openssl/e_os2.h>
ERR_STATE *ossl_err_get_state_int(int save_sys_error);
void ossl_err_string_int(unsigned long e, const char *func,
char *buf, size_t len);
+
+#endif /* !defined(OSSL_LIBCRYPTO_ERR_ERR_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_EVP_EVP_LOCAL_H)
+#define OSSL_LIBCRYPTO_EVP_EVP_LOCAL_H
+
#include <openssl/core_dispatch.h>
#include "internal/refcount.h"
void (*fn)(const char *name, void *data),
void *data);
int evp_cipher_cache_constants(EVP_CIPHER *cipher);
+
+#endif /* !defined(OSSL_LIBCRYPTO_EVP_EVP_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_IDEA_IDEA_LOCAL_H)
+#define OSSL_LIBCRYPTO_IDEA_IDEA_LOCAL_H
+
#define idea_mul(r, a, b, ul) \
ul = (unsigned long)a * b; \
if (ul != 0) { \
ul = x2 ^ t0; /* do the swap to x3 */ \
x2 = x3 ^ t1; \
x3 = ul;
+
+#endif /* !defined(OSSL_LIBCRYPTO_IDEA_IDEA_LOCAL_H) */
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_LHASH_LHASH_LOCAL_H)
+#define OSSL_LIBCRYPTO_LHASH_LHASH_LOCAL_H
+
#include <openssl/crypto.h>
#include "internal/tsan_assist.h"
unsigned long num_items;
int error;
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_LHASH_LHASH_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_MD4_MD4_LOCAL_H)
+#define OSSL_LIBCRYPTO_MD4_MD4_LOCAL_H
+
#include <stdlib.h>
#include <string.h>
#include <openssl/opensslconf.h>
a += ((k) + (t) + H((b), (c), (d))); \
a = ROTATE(a, s); \
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_MD4_MD4_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_MD5_MD5_LOCAL_H)
+#define OSSL_LIBCRYPTO_MD5_MD5_LOCAL_H
+
#include <stdlib.h>
#include <string.h>
#include <openssl/e_os2.h>
a = ROTATE(a, s); \
a += b; \
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_MD5_MD5_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_HASH_H)
+#define OSSL_LIBCRYPTO_ML_DSA_ML_DSA_HASH_H
+
#include <openssl/evp.h>
static ossl_inline ossl_unused int
&& EVP_DigestUpdate(ctx, in3, in3_len)
&& EVP_DigestSqueeze(ctx, out, out_len);
}
+
+#endif /* !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_HASH_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_KEY_H)
+#define OSSL_LIBCRYPTO_ML_DSA_ML_DSA_KEY_H
+
#include <openssl/e_os2.h>
#include "ml_dsa_local.h"
#include "ml_dsa_vector.h"
VECTOR s1; /* private secret of size L with short coefficients (-4..4) or (-2..2) */
/* The s1->poly block is allocated and has space for s2 and t0 also */
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_KEY_H) */
*/
/* A 'k' by 'l' Matrix object ('k' rows and 'l' columns) containing polynomial scalars */
+#if !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_MATRIX_H)
+#define OSSL_LIBCRYPTO_ML_DSA_ML_DSA_MATRIX_H
+
struct matrix_st {
POLY *m_poly;
size_t k, l;
{
return ossl_ml_dsa_matrix_expand_A(g_ctx, md, rho, out);
}
+
+#endif /* !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_MATRIX_H) */
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_POLY_H)
+#define OSSL_LIBCRYPTO_ML_DSA_ML_DSA_POLY_H
+
#include <openssl/crypto.h>
#define ML_DSA_NUM_POLY_COEFFICIENTS 256
*mx = maximum(*mx, abs);
}
}
+
+#endif /* !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_POLY_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_SIGN_H)
+#define OSSL_LIBCRYPTO_ML_DSA_ML_DSA_SIGN_H
+
struct ml_dsa_sig_st {
VECTOR z;
VECTOR hint;
uint8_t *c_tilde;
size_t c_tilde_len;
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_SIGN_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_VECTOR_H)
+#define OSSL_LIBCRYPTO_ML_DSA_ML_DSA_VECTOR_H
+
#include <assert.h>
#include "ml_dsa_poly.h"
for (i = 0; i < out->num_poly; i++)
poly_use_hint(h->poly + i, r->poly + i, gamma2, out->poly + i);
}
+
+#endif /* !defined(OSSL_LIBCRYPTO_ML_DSA_ML_DSA_VECTOR_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_OBJECTS_OBJ_LOCAL_H)
+#define OSSL_LIBCRYPTO_OBJECTS_OBJ_LOCAL_H
+
typedef struct name_funcs_st NAME_FUNCS;
DEFINE_STACK_OF(NAME_FUNCS)
DEFINE_LHASH_OF_EX(OBJ_NAME);
typedef struct added_obj_st ADDED_OBJ;
DEFINE_LHASH_OF_EX(ADDED_OBJ);
+
+#endif /* !defined(OSSL_LIBCRYPTO_OBJECTS_OBJ_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_OCSP_OCSP_LOCAL_H)
+#define OSSL_LIBCRYPTO_OCSP_OCSP_LOCAL_H
+
#include "crypto/x509.h" /* for ossl_x509_add_cert_new() */
/*- CertID ::= SEQUENCE {
ASN1_item_verify_ex(ASN1_ITEM_rptr(OCSP_RESPDATA), \
&(a)->signatureAlgorithm, (a)->signature, \
&(a)->tbsResponseData, NULL, r, libctx, propq)
+
+#endif /* !defined(OSSL_LIBCRYPTO_OCSP_OCSP_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_PEM_PEM_LOCAL_H)
+#define OSSL_LIBCRYPTO_PEM_PEM_LOCAL_H
+
#include <openssl/core_dispatch.h>
#include <openssl/pem.h>
#include <openssl/encoder.h>
#define IMPLEMENT_PEM_provided_rw_cb(name, TYPE, type, str, asn1) \
IMPLEMENT_PEM_read(name, TYPE, str, asn1) \
IMPLEMENT_PEM_provided_write_cb(name, TYPE, type, str, asn1)
+
+#endif /* !defined(OSSL_LIBCRYPTO_PEM_PEM_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_PKCS12_P12_LOCAL_H)
+#define OSSL_LIBCRYPTO_PKCS12_P12_LOCAL_H
+
struct PKCS12_MAC_DATA_st {
X509_SIG *dinfo;
ASN1_OCTET_STRING *salt;
};
const PKCS7_CTX *ossl_pkcs12_get0_pkcs7ctx(const PKCS12 *p12);
+
+#endif /* !defined(OSSL_LIBCRYPTO_PKCS12_P12_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_PKCS7_PK7_LOCAL_H)
+#define OSSL_LIBCRYPTO_PKCS7_PK7_LOCAL_H
+
#include "crypto/pkcs7.h"
STACK_OF(X509) *pkcs7_get0_certificates(const PKCS7 *p7);
const char *ossl_pkcs7_ctx_get0_propq(const PKCS7_CTX *ctx);
int ossl_pkcs7_ctx_propagate(const PKCS7 *from, PKCS7 *to);
+
+#endif /* !defined(OSSL_LIBCRYPTO_PKCS7_PK7_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_PROPERTY_PROPERTY_LOCAL_H)
+#define OSSL_LIBCRYPTO_PROPERTY_PROPERTY_LOCAL_H
+
#include <openssl/crypto.h>
#include "internal/property.h"
OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop);
int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop,
OSSL_PROPERTY_LIST **pl);
+
+#endif /* !defined(OSSL_LIBCRYPTO_PROPERTY_PROPERTY_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_PROVIDER_LOCAL_H)
+#define OSSL_LIBCRYPTO_PROVIDER_LOCAL_H
+
#include <openssl/core.h>
typedef struct {
int ossl_provider_info_add_parameter(OSSL_PROVIDER_INFO *provinfo,
const char *name,
const char *value);
+
+#endif /* !defined(OSSL_LIBCRYPTO_PROVIDER_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_RC2_RC2_LOCAL_H)
+#define OSSL_LIBCRYPTO_RC2_RC2_LOCAL_H
+
#undef c2l
#define c2l(c, l) (l = ((unsigned long)(*((c)++))), \
l |= ((unsigned long)(*((c)++))) << 8L, \
*(--(c)) = (unsigned char)(((l1)) & 0xff); \
} \
}
+
+#endif /* !defined(OSSL_LIBCRYPTO_RC2_RC2_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_RC5_RC5_LOCAL_H)
+#define OSSL_LIBCRYPTO_RC5_RC5_LOCAL_H
+
#include <stdlib.h>
#undef c2l
a &= RC5_32_MASK; \
a = ROTATE_r32(a, b); \
a ^= b;
+
+#endif /* !defined(OSSL_LIBCRYPTO_RC5_RC5_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_RIPEMD_RMD_LOCAL_H)
+#define OSSL_LIBCRYPTO_RIPEMD_RMD_LOCAL_H
+
#include <stdlib.h>
#include <string.h>
#include <openssl/opensslconf.h>
a = ROTATE(a, s) + e; \
c = ROTATE(c, 10); \
}
+
+#endif /* !defined(OSSL_LIBCRYPTO_RIPEMD_RMD_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_RIPEMD_RMDCONST_H)
+#define OSSL_LIBCRYPTO_RIPEMD_RMDCONST_H
+
#define KL0 0x00000000L
#define KL1 0x5A827999L
#define KL2 0x6ED9EBA1L
#define SR78 11
#define WR79 11
#define SR79 11
+
+#endif /* !defined(OSSL_LIBCRYPTO_RIPEMD_RMDCONST_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_SHA_SHA_LOCAL_H)
+#define OSSL_LIBCRYPTO_SHA_SHA_LOCAL_H
+
#include <stdlib.h>
#include <string.h>
#endif
#endif
+
+#endif /* !defined(OSSL_LIBCRYPTO_SHA_SHA_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_ADRS_H)
+#define OSSL_LIBCRYPTO_SLH_DSA_SLH_ADRS_H
+
#include <openssl/e_os2.h>
/*
} SLH_ADRS_FUNC;
const SLH_ADRS_FUNC *ossl_slh_get_adrs_fn(int is_compressed);
+
+#endif /* !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_ADRS_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_DSA_KEY_H)
+#define OSSL_LIBCRYPTO_SLH_DSA_SLH_DSA_KEY_H
+
#include <openssl/e_os2.h>
#define SLH_DSA_MAX_N 32
EVP_MD *md_sha512; /* Used for SHA-512 hashes */
EVP_MAC *hmac;
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_DSA_KEY_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_DSA_LOCAL_H)
+#define OSSL_LIBCRYPTO_SLH_DSA_SLH_DSA_LOCAL_H
+
#include "crypto/slh_dsa.h"
#include "slh_hash.h"
#include "slh_params.h"
const uint8_t *md, const uint8_t *pk_seed,
uint8_t *adrs,
uint8_t *pk_out, size_t pk_out_len);
+
+#endif /* !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_DSA_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_PARAMS_H)
+#define OSSL_LIBCRYPTO_SLH_DSA_SLH_PARAMS_H
+
#include <openssl/e_os2.h>
/*
} SLH_DSA_PARAMS;
const SLH_DSA_PARAMS *ossl_slh_dsa_params_get(const char *alg);
+
+#endif /* !defined(OSSL_LIBCRYPTO_SLH_DSA_SLH_PARAMS_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_SM3_SM3_LOCAL_H)
+#define OSSL_LIBCRYPTO_SM3_SM3_LOCAL_H
+
#include <string.h>
#include "internal/cryptlib.h"
#include "internal/sm3.h"
#define SM3_F 0x163138aaUL
#define SM3_G 0xe38dee4dUL
#define SM3_H 0xb0fb0e4eUL
+
+#endif /* !defined(OSSL_LIBCRYPTO_SM3_SM3_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_STORE_STORE_LOCAL_H)
+#define OSSL_LIBCRYPTO_STORE_STORE_LOCAL_H
+
#include <openssl/core_dispatch.h>
#include "internal/thread_once.h"
#include "internal/refcount.h"
OSSL_STORE_CTX *ctx;
};
OSSL_CALLBACK ossl_store_handle_load_result;
+
+#endif /* !defined(OSSL_LIBCRYPTO_STORE_STORE_LOCAL_H) */
* hashAlgorithm AlgorithmIdentifier,
* hashedMessage OCTET STRING }
*/
+#if !defined(OSSL_LIBCRYPTO_TS_TS_LOCAL_H)
+#define OSSL_LIBCRYPTO_TS_TS_LOCAL_H
+
struct TS_msg_imprint_st {
X509_ALGOR *hash_algo;
ASN1_OCTET_STRING *hashed_msg;
/* Must be set only with TS_VFY_TSA_NAME. */
GENERAL_NAME *tsa_name;
};
+
+#endif /* !defined(OSSL_LIBCRYPTO_TS_TS_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_VMS_RMS_H)
+#define OSSL_LIBCRYPTO_VMS_RMS_H
+
#ifdef NAML$C_MAXRSS
#define CC_RMS_NAMX cc$rms_naml
#endif /* def NAM$M_NO_SHORT_UPCASE [else] */
#endif /* def NAML$C_MAXRSS [else] */
+
+#endif /* !defined(OSSL_LIBCRYPTO_VMS_RMS_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_WHRLPOOL_WP_LOCAL_H)
+#define OSSL_LIBCRYPTO_WHRLPOOL_WP_LOCAL_H
+
#include <openssl/whrlpool.h>
void whirlpool_block(WHIRLPOOL_CTX *, const void *, size_t);
+
+#endif /* !defined(OSSL_LIBCRYPTO_WHRLPOOL_WP_LOCAL_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_X509_EXT_DAT_H)
+#define OSSL_LIBCRYPTO_X509_EXT_DAT_H
+
int ossl_v3_name_cmp(const char *name, const char *cmp);
extern const X509V3_EXT_METHOD ossl_v3_bcons, ossl_v3_nscert, ossl_v3_key_usage, ossl_v3_ext_ku;
extern const X509V3_EXT_METHOD ossl_v3_attribute_mappings;
extern const X509V3_EXT_METHOD ossl_v3_allowed_attribute_assignments;
extern const X509V3_EXT_METHOD ossl_v3_aa_issuing_dist_point;
+
+#endif /* !defined(OSSL_LIBCRYPTO_X509_EXT_DAT_H) */
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_X509_PCY_LOCAL_H)
+#define OSSL_LIBCRYPTO_X509_PCY_LOCAL_H
+
typedef struct X509_POLICY_DATA_st X509_POLICY_DATA;
DEFINE_STACK_OF(X509_POLICY_DATA)
const X509_POLICY_NODE *node, const ASN1_OBJECT *oid);
const X509_POLICY_CACHE *ossl_policy_cache_set(X509 *x);
+
+#endif /* !defined(OSSL_LIBCRYPTO_X509_PCY_LOCAL_H) */
* of the ext_nid values.
*/
+#if !defined(OSSL_LIBCRYPTO_X509_STANDARD_EXTS_H)
+#define OSSL_LIBCRYPTO_X509_STANDARD_EXTS_H
+
static const X509V3_EXT_METHOD *const standard_exts[] = {
&ossl_v3_nscert,
&ossl_v3_ns_ia5_list[0],
/* Number of standard extensions */
#define STANDARD_EXTENSION_COUNT OSSL_NELEM(standard_exts)
+
+#endif /* !defined(OSSL_LIBCRYPTO_X509_STANDARD_EXTS_H) */
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
+#if !defined(OSSL_LIBCRYPTO_X509_X509_LOCAL_H)
+#define OSSL_LIBCRYPTO_X509_X509_LOCAL_H
+
#include <openssl/safestack.h>
#include <openssl/x509_vfy.h>
unsigned int flags);
int ossl_x509_check_smtputf8(X509 *x, const char *chk, size_t chklen,
unsigned int flags);
+
+#endif /* !defined(OSSL_LIBCRYPTO_X509_X509_LOCAL_H) */