Compare commits
5 Commits
openssl-bi
...
openssl-bi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73c7705daf | ||
|
|
572a08ac6c | ||
|
|
1af9b5f743 | ||
|
|
c4224546da | ||
|
|
2f7b6e0b49 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*_static.lib
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -8,9 +8,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is only used by HP C on VMS, and is included automatically
|
* This file is only used by HP C/C++ on VMS, and is included automatically
|
||||||
* after each header file from this directory
|
* after each header file from this directory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The C++ compiler doesn't understand these pragmas, even though it
|
||||||
|
* understands the corresponding command line qualifier.
|
||||||
|
*/
|
||||||
|
#ifndef __cplusplus
|
||||||
/* restore state. Must correspond to the save in __decc_include_prologue.h */
|
/* restore state. Must correspond to the save in __decc_include_prologue.h */
|
||||||
# pragma names restore
|
# pragma names restore
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -8,13 +8,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is only used by HP C on VMS, and is included automatically
|
* This file is only used by HP C/C++ on VMS, and is included automatically
|
||||||
* after each header file from this directory
|
* after each header file from this directory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The C++ compiler doesn't understand these pragmas, even though it
|
||||||
|
* understands the corresponding command line qualifier.
|
||||||
|
*/
|
||||||
|
#ifndef __cplusplus
|
||||||
/* save state */
|
/* save state */
|
||||||
# pragma names save
|
# pragma names save
|
||||||
/* have the compiler shorten symbols larger than 31 chars to 23 chars
|
/* have the compiler shorten symbols larger than 31 chars to 23 chars
|
||||||
* followed by a 8 hex char CRC
|
* followed by a 8 hex char CRC
|
||||||
*/
|
*/
|
||||||
# pragma names as_is,shortened
|
# pragma names as_is,shortened
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_ASN1ERR_H
|
#ifndef HEADER_ASN1ERR_H
|
||||||
# define HEADER_ASN1ERR_H
|
# define HEADER_ASN1ERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -53,6 +51,7 @@ int ERR_load_ASN1_strings(void);
|
|||||||
# define ASN1_F_ASN1_ITEM_DUP 191
|
# define ASN1_F_ASN1_ITEM_DUP 191
|
||||||
# define ASN1_F_ASN1_ITEM_EMBED_D2I 120
|
# define ASN1_F_ASN1_ITEM_EMBED_D2I 120
|
||||||
# define ASN1_F_ASN1_ITEM_EMBED_NEW 121
|
# define ASN1_F_ASN1_ITEM_EMBED_NEW 121
|
||||||
|
# define ASN1_F_ASN1_ITEM_EX_I2D 144
|
||||||
# define ASN1_F_ASN1_ITEM_FLAGS_I2D 118
|
# define ASN1_F_ASN1_ITEM_FLAGS_I2D 118
|
||||||
# define ASN1_F_ASN1_ITEM_I2D_BIO 192
|
# define ASN1_F_ASN1_ITEM_I2D_BIO 192
|
||||||
# define ASN1_F_ASN1_ITEM_I2D_FP 193
|
# define ASN1_F_ASN1_ITEM_I2D_FP 193
|
||||||
@@ -145,6 +144,7 @@ int ERR_load_ASN1_strings(void);
|
|||||||
# define ASN1_R_ASN1_SIG_PARSE_ERROR 204
|
# define ASN1_R_ASN1_SIG_PARSE_ERROR 204
|
||||||
# define ASN1_R_AUX_ERROR 100
|
# define ASN1_R_AUX_ERROR 100
|
||||||
# define ASN1_R_BAD_OBJECT_HEADER 102
|
# define ASN1_R_BAD_OBJECT_HEADER 102
|
||||||
|
# define ASN1_R_BAD_TEMPLATE 230
|
||||||
# define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
|
# define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
|
||||||
# define ASN1_R_BN_LIB 105
|
# define ASN1_R_BN_LIB 105
|
||||||
# define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
|
# define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -169,6 +169,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
# define BIO_FLAGS_MEM_RDONLY 0x200
|
# define BIO_FLAGS_MEM_RDONLY 0x200
|
||||||
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
||||||
|
# define BIO_FLAGS_IN_EOF 0x800
|
||||||
|
|
||||||
typedef union bio_addr_st BIO_ADDR;
|
typedef union bio_addr_st BIO_ADDR;
|
||||||
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -56,7 +56,7 @@ extern "C" {
|
|||||||
* avoid leaking exponent information through timing,
|
* avoid leaking exponent information through timing,
|
||||||
* BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
|
* BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
|
||||||
* BN_div() will call BN_div_no_branch,
|
* BN_div() will call BN_div_no_branch,
|
||||||
* BN_mod_inverse() will call BN_mod_inverse_no_branch.
|
* BN_mod_inverse() will call bn_mod_inverse_no_branch.
|
||||||
*/
|
*/
|
||||||
# define BN_FLG_CONSTTIME 0x04
|
# define BN_FLG_CONSTTIME 0x04
|
||||||
# define BN_FLG_SECURE 0x08
|
# define BN_FLG_SECURE 0x08
|
||||||
|
|||||||
@@ -463,8 +463,6 @@ __owur int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads the default CT log list into a |store|.
|
* Loads the default CT log list into a |store|.
|
||||||
* See internal/cryptlib.h for the environment variable and file path that are
|
|
||||||
* consulted to find the default file.
|
|
||||||
* Returns 1 if loading is successful, or 0 otherwise.
|
* Returns 1 if loading is successful, or 0 otherwise.
|
||||||
*/
|
*/
|
||||||
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
|
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
|
||||||
|
|||||||
@@ -162,6 +162,12 @@ DH *DSA_dup_DH(const DSA *r);
|
|||||||
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
|
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
|
||||||
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
|
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
|
||||||
|
# define EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits) \
|
||||||
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
|
EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS, qbits, NULL)
|
||||||
|
# define EVP_PKEY_CTX_set_dsa_paramgen_md(ctx, md) \
|
||||||
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
|
EVP_PKEY_CTRL_DSA_PARAMGEN_MD, 0, (void *)(md))
|
||||||
|
|
||||||
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
|
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
|
||||||
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
|
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ extern "C" {
|
|||||||
|
|
||||||
# define DTLS1_AL_HEADER_LENGTH 2
|
# define DTLS1_AL_HEADER_LENGTH 2
|
||||||
|
|
||||||
/* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
|
/* Timeout multipliers */
|
||||||
# define DTLS1_TMO_READ_COUNT 2
|
# define DTLS1_TMO_READ_COUNT 2
|
||||||
# define DTLS1_TMO_WRITE_COUNT 2
|
# define DTLS1_TMO_WRITE_COUNT 2
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -241,7 +241,7 @@ typedef UINT64 uint64_t;
|
|||||||
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
|
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
|
||||||
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
|
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
# elif defined(_MSC_VER) && _MSC_VER<=1500
|
# elif defined(_MSC_VER) && _MSC_VER<1600
|
||||||
/*
|
/*
|
||||||
* minimally required typdefs for systems not supporting inttypes.h or
|
* minimally required typdefs for systems not supporting inttypes.h or
|
||||||
* stdint.h: currently just older VC++
|
* stdint.h: currently just older VC++
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -829,6 +829,8 @@ void EC_KEY_set_flags(EC_KEY *key, int flags);
|
|||||||
|
|
||||||
void EC_KEY_clear_flags(EC_KEY *key, int flags);
|
void EC_KEY_clear_flags(EC_KEY *key, int flags);
|
||||||
|
|
||||||
|
int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
|
||||||
|
|
||||||
/** Creates a new EC_KEY object using a named curve as underlying
|
/** Creates a new EC_KEY object using a named curve as underlying
|
||||||
* EC_GROUP object.
|
* EC_GROUP object.
|
||||||
* \param nid NID of the named curve.
|
* \param nid NID of the named curve.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -243,6 +243,7 @@ int ERR_load_EC_strings(void);
|
|||||||
# define EC_R_LADDER_POST_FAILURE 136
|
# define EC_R_LADDER_POST_FAILURE 136
|
||||||
# define EC_R_LADDER_PRE_FAILURE 153
|
# define EC_R_LADDER_PRE_FAILURE 153
|
||||||
# define EC_R_LADDER_STEP_FAILURE 162
|
# define EC_R_LADDER_STEP_FAILURE 162
|
||||||
|
# define EC_R_MISSING_OID 167
|
||||||
# define EC_R_MISSING_PARAMETERS 124
|
# define EC_R_MISSING_PARAMETERS 124
|
||||||
# define EC_R_MISSING_PRIVATE_KEY 125
|
# define EC_R_MISSING_PRIVATE_KEY 125
|
||||||
# define EC_R_NEED_NEW_SETUP_VALUES 157
|
# define EC_R_NEED_NEW_SETUP_VALUES 157
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
|
|||||||
* if the following flag is set.
|
* if the following flag is set.
|
||||||
*/
|
*/
|
||||||
# define EVP_MD_CTX_FLAG_FINALISE 0x0200
|
# define EVP_MD_CTX_FLAG_FINALISE 0x0200
|
||||||
/* NOTE: 0x0400 is reserved for internal usage in evp_int.h */
|
/* NOTE: 0x0400 is reserved for internal usage */
|
||||||
|
|
||||||
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
||||||
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
|
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
|
||||||
@@ -1512,6 +1512,20 @@ void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
|
|||||||
const char *type,
|
const char *type,
|
||||||
const char *value));
|
const char *value));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_set_digestsign(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (*digestsign) (EVP_MD_CTX *ctx,
|
||||||
|
unsigned char *sig,
|
||||||
|
size_t *siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_set_digestverify(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (*digestverify) (EVP_MD_CTX *ctx,
|
||||||
|
const unsigned char *sig,
|
||||||
|
size_t siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
|
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
|
||||||
int (*check) (EVP_PKEY *pkey));
|
int (*check) (EVP_PKEY *pkey));
|
||||||
|
|
||||||
@@ -1617,6 +1631,20 @@ void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
|
|||||||
const char *type,
|
const char *type,
|
||||||
const char *value));
|
const char *value));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_get_digestsign(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (**digestsign) (EVP_MD_CTX *ctx,
|
||||||
|
unsigned char *sig,
|
||||||
|
size_t *siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_get_digestverify(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (**digestverify) (EVP_MD_CTX *ctx,
|
||||||
|
const unsigned char *sig,
|
||||||
|
size_t siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
|
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
|
||||||
int (**pcheck) (EVP_PKEY *pkey));
|
int (**pcheck) (EVP_PKEY *pkey));
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_EVPERR_H
|
#ifndef HEADER_EVPERR_H
|
||||||
# define HEADER_EVPERR_H
|
# define HEADER_EVPERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -160,6 +158,7 @@ int ERR_load_EVP_strings(void);
|
|||||||
# define EVP_R_INPUT_NOT_INITIALIZED 111
|
# define EVP_R_INPUT_NOT_INITIALIZED 111
|
||||||
# define EVP_R_INVALID_DIGEST 152
|
# define EVP_R_INVALID_DIGEST 152
|
||||||
# define EVP_R_INVALID_FIPS_MODE 168
|
# define EVP_R_INVALID_FIPS_MODE 168
|
||||||
|
# define EVP_R_INVALID_IV_LENGTH 194
|
||||||
# define EVP_R_INVALID_KEY 163
|
# define EVP_R_INVALID_KEY 163
|
||||||
# define EVP_R_INVALID_KEY_LENGTH 130
|
# define EVP_R_INVALID_KEY_LENGTH 130
|
||||||
# define EVP_R_INVALID_OPERATION 148
|
# define EVP_R_INVALID_OPERATION 148
|
||||||
@@ -178,6 +177,7 @@ int ERR_load_EVP_strings(void);
|
|||||||
# define EVP_R_ONLY_ONESHOT_SUPPORTED 177
|
# define EVP_R_ONLY_ONESHOT_SUPPORTED 177
|
||||||
# define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
|
# define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
|
||||||
# define EVP_R_OPERATON_NOT_INITIALIZED 151
|
# define EVP_R_OPERATON_NOT_INITIALIZED 151
|
||||||
|
# define EVP_R_OUTPUT_WOULD_OVERFLOW 184
|
||||||
# define EVP_R_PARTIALLY_OVERLAPPING 162
|
# define EVP_R_PARTIALLY_OVERLAPPING 162
|
||||||
# define EVP_R_PBKDF2_ERROR 181
|
# define EVP_R_PBKDF2_ERROR 181
|
||||||
# define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
|
# define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -120,8 +120,7 @@ void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
|
|||||||
|
|
||||||
# define DEFINE_LHASH_OF(type) \
|
# define DEFINE_LHASH_OF(type) \
|
||||||
LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
|
LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
|
||||||
static ossl_inline LHASH_OF(type) * \
|
static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *), \
|
||||||
lh_##type##_new(unsigned long (*hfn)(const type *), \
|
|
||||||
int (*cfn)(const type *, const type *)) \
|
int (*cfn)(const type *, const type *)) \
|
||||||
{ \
|
{ \
|
||||||
return (LHASH_OF(type) *) \
|
return (LHASH_OF(type) *) \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* WARNING: do not edit!
|
* WARNING: do not edit!
|
||||||
* Generated by crypto/objects/objects.pl
|
* Generated by crypto/objects/objects.pl
|
||||||
*
|
*
|
||||||
* Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
* in the file LICENSE in the source distribution or at
|
* in the file LICENSE in the source distribution or at
|
||||||
@@ -1290,12 +1290,12 @@
|
|||||||
#define OBJ_ms_efs 1L,3L,6L,1L,4L,1L,311L,10L,3L,4L
|
#define OBJ_ms_efs 1L,3L,6L,1L,4L,1L,311L,10L,3L,4L
|
||||||
|
|
||||||
#define SN_ms_smartcard_login "msSmartcardLogin"
|
#define SN_ms_smartcard_login "msSmartcardLogin"
|
||||||
#define LN_ms_smartcard_login "Microsoft Smartcardlogin"
|
#define LN_ms_smartcard_login "Microsoft Smartcard Login"
|
||||||
#define NID_ms_smartcard_login 648
|
#define NID_ms_smartcard_login 648
|
||||||
#define OBJ_ms_smartcard_login 1L,3L,6L,1L,4L,1L,311L,20L,2L,2L
|
#define OBJ_ms_smartcard_login 1L,3L,6L,1L,4L,1L,311L,20L,2L,2L
|
||||||
|
|
||||||
#define SN_ms_upn "msUPN"
|
#define SN_ms_upn "msUPN"
|
||||||
#define LN_ms_upn "Microsoft Universal Principal Name"
|
#define LN_ms_upn "Microsoft User Principal Name"
|
||||||
#define NID_ms_upn 649
|
#define NID_ms_upn 649
|
||||||
#define OBJ_ms_upn 1L,3L,6L,1L,4L,1L,311L,20L,2L,3L
|
#define OBJ_ms_upn 1L,3L,6L,1L,4L,1L,311L,20L,2L,3L
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* WARNING: do not edit!
|
* WARNING: do not edit!
|
||||||
* Generated by makefile from ..\s\include\openssl\opensslconf.h.in
|
* Generated by makefile from ..\s\include\openssl\opensslconf.h.in
|
||||||
*
|
*
|
||||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -39,6 +39,9 @@ extern "C" {
|
|||||||
#ifndef OPENSSL_RAND_SEED_OS
|
#ifndef OPENSSL_RAND_SEED_OS
|
||||||
# define OPENSSL_RAND_SEED_OS
|
# define OPENSSL_RAND_SEED_OS
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef OPENSSL_NO_AFALGENG
|
||||||
|
# define OPENSSL_NO_AFALGENG
|
||||||
|
#endif
|
||||||
#ifndef OPENSSL_NO_ASAN
|
#ifndef OPENSSL_NO_ASAN
|
||||||
# define OPENSSL_NO_ASAN
|
# define OPENSSL_NO_ASAN
|
||||||
#endif
|
#endif
|
||||||
@@ -96,9 +99,6 @@ extern "C" {
|
|||||||
#ifndef OPENSSL_NO_STATIC_ENGINE
|
#ifndef OPENSSL_NO_STATIC_ENGINE
|
||||||
# define OPENSSL_NO_STATIC_ENGINE
|
# define OPENSSL_NO_STATIC_ENGINE
|
||||||
#endif
|
#endif
|
||||||
#ifndef OPENSSL_NO_AFALGENG
|
|
||||||
# define OPENSSL_NO_AFALGENG
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -120,6 +120,11 @@ extern "C" {
|
|||||||
# undef DECLARE_DEPRECATED
|
# undef DECLARE_DEPRECATED
|
||||||
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
# endif
|
# endif
|
||||||
|
# elif defined(__SUNPRO_C)
|
||||||
|
# if (__SUNPRO_C >= 0x5130)
|
||||||
|
# undef DECLARE_DEPRECATED
|
||||||
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* {- join("\n * ", @autowarntext) -}
|
* {- join("\n * ", @autowarntext) -}
|
||||||
*
|
*
|
||||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -77,6 +77,11 @@ extern "C" {
|
|||||||
# undef DECLARE_DEPRECATED
|
# undef DECLARE_DEPRECATED
|
||||||
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
# endif
|
# endif
|
||||||
|
# elif defined(__SUNPRO_C)
|
||||||
|
# if (__SUNPRO_C >= 0x5130)
|
||||||
|
# undef DECLARE_DEPRECATED
|
||||||
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -39,8 +39,8 @@ extern "C" {
|
|||||||
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
||||||
* major minor fix final patch/beta)
|
* major minor fix final patch/beta)
|
||||||
*/
|
*/
|
||||||
# define OPENSSL_VERSION_NUMBER 0x1010104fL
|
# define OPENSSL_VERSION_NUMBER 0x101010bfL
|
||||||
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1d 10 Sep 2019"
|
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1k 25 Mar 2021"
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* The macros below are to be used for shared library (.so, .dll, ...)
|
* The macros below are to be used for shared library (.so, .dll, ...)
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ typedef struct dsa_method DSA_METHOD;
|
|||||||
|
|
||||||
typedef struct rsa_st RSA;
|
typedef struct rsa_st RSA;
|
||||||
typedef struct rsa_meth_st RSA_METHOD;
|
typedef struct rsa_meth_st RSA_METHOD;
|
||||||
|
typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
|
||||||
|
|
||||||
typedef struct ec_key_st EC_KEY;
|
typedef struct ec_key_st EC_KEY;
|
||||||
typedef struct ec_key_method_st EC_KEY_METHOD;
|
typedef struct ec_key_method_st EC_KEY_METHOD;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -61,6 +61,7 @@ int ERR_load_PEM_strings(void);
|
|||||||
# define PEM_F_PEM_SIGNFINAL 112
|
# define PEM_F_PEM_SIGNFINAL 112
|
||||||
# define PEM_F_PEM_WRITE 113
|
# define PEM_F_PEM_WRITE 113
|
||||||
# define PEM_F_PEM_WRITE_BIO 114
|
# define PEM_F_PEM_WRITE_BIO 114
|
||||||
|
# define PEM_F_PEM_WRITE_BIO_PRIVATEKEY_TRADITIONAL 147
|
||||||
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
||||||
# define PEM_F_PEM_X509_INFO_READ 115
|
# define PEM_F_PEM_X509_INFO_READ 115
|
||||||
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
||||||
@@ -99,5 +100,6 @@ int ERR_load_PEM_strings(void);
|
|||||||
# define PEM_R_UNSUPPORTED_CIPHER 113
|
# define PEM_R_UNSUPPORTED_CIPHER 113
|
||||||
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
||||||
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
||||||
|
# define PEM_R_UNSUPPORTED_PUBLIC_KEY_TYPE 110
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -21,6 +21,7 @@ int ERR_load_RAND_strings(void);
|
|||||||
/*
|
/*
|
||||||
* RAND function codes.
|
* RAND function codes.
|
||||||
*/
|
*/
|
||||||
|
# define RAND_F_DATA_COLLECT_METHOD 127
|
||||||
# define RAND_F_DRBG_BYTES 101
|
# define RAND_F_DRBG_BYTES 101
|
||||||
# define RAND_F_DRBG_GET_ENTROPY 105
|
# define RAND_F_DRBG_GET_ENTROPY 105
|
||||||
# define RAND_F_DRBG_SETUP 117
|
# define RAND_F_DRBG_SETUP 117
|
||||||
@@ -46,6 +47,7 @@ int ERR_load_RAND_strings(void);
|
|||||||
# define RAND_F_RAND_POOL_BYTES_NEEDED 115
|
# define RAND_F_RAND_POOL_BYTES_NEEDED 115
|
||||||
# define RAND_F_RAND_POOL_GROW 125
|
# define RAND_F_RAND_POOL_GROW 125
|
||||||
# define RAND_F_RAND_POOL_NEW 116
|
# define RAND_F_RAND_POOL_NEW 116
|
||||||
|
# define RAND_F_RAND_PSEUDO_BYTES 126
|
||||||
# define RAND_F_RAND_WRITE_FILE 112
|
# define RAND_F_RAND_WRITE_FILE 112
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -224,6 +224,7 @@ const BIGNUM *RSA_get0_q(const RSA *d);
|
|||||||
const BIGNUM *RSA_get0_dmp1(const RSA *r);
|
const BIGNUM *RSA_get0_dmp1(const RSA *r);
|
||||||
const BIGNUM *RSA_get0_dmq1(const RSA *r);
|
const BIGNUM *RSA_get0_dmq1(const RSA *r);
|
||||||
const BIGNUM *RSA_get0_iqmp(const RSA *r);
|
const BIGNUM *RSA_get0_iqmp(const RSA *r);
|
||||||
|
const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
|
||||||
void RSA_clear_flags(RSA *r, int flags);
|
void RSA_clear_flags(RSA *r, int flags);
|
||||||
int RSA_test_flags(const RSA *r, int flags);
|
int RSA_test_flags(const RSA *r, int flags);
|
||||||
void RSA_set_flags(RSA *r, int flags);
|
void RSA_set_flags(RSA *r, int flags);
|
||||||
@@ -279,14 +280,14 @@ int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
|
|||||||
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
|
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
|
||||||
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
|
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
|
||||||
|
|
||||||
typedef struct rsa_pss_params_st {
|
struct rsa_pss_params_st {
|
||||||
X509_ALGOR *hashAlgorithm;
|
X509_ALGOR *hashAlgorithm;
|
||||||
X509_ALGOR *maskGenAlgorithm;
|
X509_ALGOR *maskGenAlgorithm;
|
||||||
ASN1_INTEGER *saltLength;
|
ASN1_INTEGER *saltLength;
|
||||||
ASN1_INTEGER *trailerField;
|
ASN1_INTEGER *trailerField;
|
||||||
/* Decoded hash algorithm from maskGenAlgorithm */
|
/* Decoded hash algorithm from maskGenAlgorithm */
|
||||||
X509_ALGOR *maskHash;
|
X509_ALGOR *maskHash;
|
||||||
} RSA_PSS_PARAMS;
|
};
|
||||||
|
|
||||||
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
|
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
* Copyright 2005 Nokia. All rights reserved.
|
* Copyright 2005 Nokia. All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -1393,7 +1393,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|||||||
# define SSL_get1_groups(s, glist) \
|
# define SSL_get1_groups(s, glist) \
|
||||||
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
||||||
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
||||||
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(char *)(glist))
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(int *)(glist))
|
||||||
# define SSL_CTX_set1_groups_list(ctx, s) \
|
# define SSL_CTX_set1_groups_list(ctx, s) \
|
||||||
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
|
||||||
# define SSL_set1_groups(s, glist, glistlen) \
|
# define SSL_set1_groups(s, glist, glistlen) \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -292,6 +292,9 @@ extern "C" {
|
|||||||
|
|
||||||
# define TLS1_FLAGS_STATELESS 0x0800
|
# define TLS1_FLAGS_STATELESS 0x0800
|
||||||
|
|
||||||
|
/* Set if extended master secret extension required on renegotiation */
|
||||||
|
# define TLS1_FLAGS_REQUIRED_EXTMS 0x1000
|
||||||
|
|
||||||
# define SSL3_MT_HELLO_REQUEST 0
|
# define SSL3_MT_HELLO_REQUEST 0
|
||||||
# define SSL3_MT_CLIENT_HELLO 1
|
# define SSL3_MT_CLIENT_HELLO 1
|
||||||
# define SSL3_MT_SERVER_HELLO 2
|
# define SSL3_MT_SERVER_HELLO 2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -88,6 +88,7 @@ int ERR_load_SSL_strings(void);
|
|||||||
# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
|
# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
|
# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
|
# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
|
||||||
|
# define SSL_F_OSSL_STATEM_SERVER_PRE_WORK 640
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
|
# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
|
# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
|
# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -478,6 +478,7 @@ void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype,
|
|||||||
const void **ppval, const X509_ALGOR *algor);
|
const void **ppval, const X509_ALGOR *algor);
|
||||||
void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
|
void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
|
||||||
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
|
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
|
||||||
|
int X509_ALGOR_copy(X509_ALGOR *dest, const X509_ALGOR *src);
|
||||||
|
|
||||||
X509_NAME *X509_NAME_dup(X509_NAME *xn);
|
X509_NAME *X509_NAME_dup(X509_NAME *xn);
|
||||||
X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne);
|
X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne);
|
||||||
@@ -679,6 +680,8 @@ X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
|
|||||||
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
|
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
|
||||||
void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
|
void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
|
||||||
const X509_ALGOR **palg);
|
const X509_ALGOR **palg);
|
||||||
|
void X509_REQ_set0_signature(X509_REQ *req, ASN1_BIT_STRING *psig);
|
||||||
|
int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg);
|
||||||
int X509_REQ_get_signature_nid(const X509_REQ *req);
|
int X509_REQ_get_signature_nid(const X509_REQ *req);
|
||||||
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
|
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
|
||||||
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
|
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
|
||||||
@@ -930,7 +933,7 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE)
|
|||||||
int type,
|
int type,
|
||||||
const unsigned char *bytes,
|
const unsigned char *bytes,
|
||||||
int len);
|
int len);
|
||||||
void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x,
|
void *X509at_get0_data_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *x,
|
||||||
const ASN1_OBJECT *obj, int lastpos, int type);
|
const ASN1_OBJECT *obj, int lastpos, int type);
|
||||||
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
|
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
|
||||||
int atrtype, const void *data,
|
int atrtype, const void *data,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -184,6 +184,10 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
|
|||||||
# define X509_V_ERR_OCSP_VERIFY_NEEDED 73 /* Need OCSP verification */
|
# define X509_V_ERR_OCSP_VERIFY_NEEDED 73 /* Need OCSP verification */
|
||||||
# define X509_V_ERR_OCSP_VERIFY_FAILED 74 /* Couldn't verify cert through OCSP */
|
# define X509_V_ERR_OCSP_VERIFY_FAILED 74 /* Couldn't verify cert through OCSP */
|
||||||
# define X509_V_ERR_OCSP_CERT_UNKNOWN 75 /* Certificate wasn't recognized by the OCSP responder */
|
# define X509_V_ERR_OCSP_CERT_UNKNOWN 75 /* Certificate wasn't recognized by the OCSP responder */
|
||||||
|
# define X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH 76
|
||||||
|
# define X509_V_ERR_NO_ISSUER_PUBLIC_KEY 77
|
||||||
|
# define X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM 78
|
||||||
|
# define X509_V_ERR_EC_KEY_EXPLICIT_PARAMS 79
|
||||||
|
|
||||||
/* Certificate verify flags */
|
/* Certificate verify flags */
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_X509ERR_H
|
#ifndef HEADER_X509ERR_H
|
||||||
# define HEADER_X509ERR_H
|
# define HEADER_X509ERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -65,6 +63,7 @@ int ERR_load_X509_strings(void);
|
|||||||
# define X509_F_X509_OBJECT_NEW 150
|
# define X509_F_X509_OBJECT_NEW 150
|
||||||
# define X509_F_X509_PRINT_EX_FP 118
|
# define X509_F_X509_PRINT_EX_FP 118
|
||||||
# define X509_F_X509_PUBKEY_DECODE 148
|
# define X509_F_X509_PUBKEY_DECODE 148
|
||||||
|
# define X509_F_X509_PUBKEY_GET 161
|
||||||
# define X509_F_X509_PUBKEY_GET0 119
|
# define X509_F_X509_PUBKEY_GET0 119
|
||||||
# define X509_F_X509_PUBKEY_SET 120
|
# define X509_F_X509_PUBKEY_SET 120
|
||||||
# define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144
|
# define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -364,8 +364,9 @@ struct ISSUING_DIST_POINT_st {
|
|||||||
|
|
||||||
# define EXFLAG_INVALID_POLICY 0x800
|
# define EXFLAG_INVALID_POLICY 0x800
|
||||||
# define EXFLAG_FRESHEST 0x1000
|
# define EXFLAG_FRESHEST 0x1000
|
||||||
/* Self signed */
|
# define EXFLAG_SS 0x2000 /* cert is apparently self-signed */
|
||||||
# define EXFLAG_SS 0x2000
|
|
||||||
|
# define EXFLAG_NO_FINGERPRINT 0x100000
|
||||||
|
|
||||||
# define KU_DIGITAL_SIGNATURE 0x0080
|
# define KU_DIGITAL_SIGNATURE 0x0080
|
||||||
# define KU_NON_REPUDIATION 0x0040
|
# define KU_NON_REPUDIATION 0x0040
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
amd64/libssl.lib
BIN
amd64/libssl.lib
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -8,9 +8,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is only used by HP C on VMS, and is included automatically
|
* This file is only used by HP C/C++ on VMS, and is included automatically
|
||||||
* after each header file from this directory
|
* after each header file from this directory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The C++ compiler doesn't understand these pragmas, even though it
|
||||||
|
* understands the corresponding command line qualifier.
|
||||||
|
*/
|
||||||
|
#ifndef __cplusplus
|
||||||
/* restore state. Must correspond to the save in __decc_include_prologue.h */
|
/* restore state. Must correspond to the save in __decc_include_prologue.h */
|
||||||
# pragma names restore
|
# pragma names restore
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -8,13 +8,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is only used by HP C on VMS, and is included automatically
|
* This file is only used by HP C/C++ on VMS, and is included automatically
|
||||||
* after each header file from this directory
|
* after each header file from this directory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The C++ compiler doesn't understand these pragmas, even though it
|
||||||
|
* understands the corresponding command line qualifier.
|
||||||
|
*/
|
||||||
|
#ifndef __cplusplus
|
||||||
/* save state */
|
/* save state */
|
||||||
# pragma names save
|
# pragma names save
|
||||||
/* have the compiler shorten symbols larger than 31 chars to 23 chars
|
/* have the compiler shorten symbols larger than 31 chars to 23 chars
|
||||||
* followed by a 8 hex char CRC
|
* followed by a 8 hex char CRC
|
||||||
*/
|
*/
|
||||||
# pragma names as_is,shortened
|
# pragma names as_is,shortened
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_ASN1ERR_H
|
#ifndef HEADER_ASN1ERR_H
|
||||||
# define HEADER_ASN1ERR_H
|
# define HEADER_ASN1ERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -53,6 +51,7 @@ int ERR_load_ASN1_strings(void);
|
|||||||
# define ASN1_F_ASN1_ITEM_DUP 191
|
# define ASN1_F_ASN1_ITEM_DUP 191
|
||||||
# define ASN1_F_ASN1_ITEM_EMBED_D2I 120
|
# define ASN1_F_ASN1_ITEM_EMBED_D2I 120
|
||||||
# define ASN1_F_ASN1_ITEM_EMBED_NEW 121
|
# define ASN1_F_ASN1_ITEM_EMBED_NEW 121
|
||||||
|
# define ASN1_F_ASN1_ITEM_EX_I2D 144
|
||||||
# define ASN1_F_ASN1_ITEM_FLAGS_I2D 118
|
# define ASN1_F_ASN1_ITEM_FLAGS_I2D 118
|
||||||
# define ASN1_F_ASN1_ITEM_I2D_BIO 192
|
# define ASN1_F_ASN1_ITEM_I2D_BIO 192
|
||||||
# define ASN1_F_ASN1_ITEM_I2D_FP 193
|
# define ASN1_F_ASN1_ITEM_I2D_FP 193
|
||||||
@@ -145,6 +144,7 @@ int ERR_load_ASN1_strings(void);
|
|||||||
# define ASN1_R_ASN1_SIG_PARSE_ERROR 204
|
# define ASN1_R_ASN1_SIG_PARSE_ERROR 204
|
||||||
# define ASN1_R_AUX_ERROR 100
|
# define ASN1_R_AUX_ERROR 100
|
||||||
# define ASN1_R_BAD_OBJECT_HEADER 102
|
# define ASN1_R_BAD_OBJECT_HEADER 102
|
||||||
|
# define ASN1_R_BAD_TEMPLATE 230
|
||||||
# define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
|
# define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
|
||||||
# define ASN1_R_BN_LIB 105
|
# define ASN1_R_BN_LIB 105
|
||||||
# define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
|
# define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -169,6 +169,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
# define BIO_FLAGS_MEM_RDONLY 0x200
|
# define BIO_FLAGS_MEM_RDONLY 0x200
|
||||||
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
||||||
|
# define BIO_FLAGS_IN_EOF 0x800
|
||||||
|
|
||||||
typedef union bio_addr_st BIO_ADDR;
|
typedef union bio_addr_st BIO_ADDR;
|
||||||
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -56,7 +56,7 @@ extern "C" {
|
|||||||
* avoid leaking exponent information through timing,
|
* avoid leaking exponent information through timing,
|
||||||
* BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
|
* BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
|
||||||
* BN_div() will call BN_div_no_branch,
|
* BN_div() will call BN_div_no_branch,
|
||||||
* BN_mod_inverse() will call BN_mod_inverse_no_branch.
|
* BN_mod_inverse() will call bn_mod_inverse_no_branch.
|
||||||
*/
|
*/
|
||||||
# define BN_FLG_CONSTTIME 0x04
|
# define BN_FLG_CONSTTIME 0x04
|
||||||
# define BN_FLG_SECURE 0x08
|
# define BN_FLG_SECURE 0x08
|
||||||
|
|||||||
@@ -463,8 +463,6 @@ __owur int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads the default CT log list into a |store|.
|
* Loads the default CT log list into a |store|.
|
||||||
* See internal/cryptlib.h for the environment variable and file path that are
|
|
||||||
* consulted to find the default file.
|
|
||||||
* Returns 1 if loading is successful, or 0 otherwise.
|
* Returns 1 if loading is successful, or 0 otherwise.
|
||||||
*/
|
*/
|
||||||
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
|
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
|
||||||
|
|||||||
@@ -162,6 +162,12 @@ DH *DSA_dup_DH(const DSA *r);
|
|||||||
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
|
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
|
||||||
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
|
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
|
||||||
|
# define EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits) \
|
||||||
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
|
EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS, qbits, NULL)
|
||||||
|
# define EVP_PKEY_CTX_set_dsa_paramgen_md(ctx, md) \
|
||||||
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
|
EVP_PKEY_CTRL_DSA_PARAMGEN_MD, 0, (void *)(md))
|
||||||
|
|
||||||
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
|
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
|
||||||
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
|
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ extern "C" {
|
|||||||
|
|
||||||
# define DTLS1_AL_HEADER_LENGTH 2
|
# define DTLS1_AL_HEADER_LENGTH 2
|
||||||
|
|
||||||
/* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
|
/* Timeout multipliers */
|
||||||
# define DTLS1_TMO_READ_COUNT 2
|
# define DTLS1_TMO_READ_COUNT 2
|
||||||
# define DTLS1_TMO_WRITE_COUNT 2
|
# define DTLS1_TMO_WRITE_COUNT 2
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -241,7 +241,7 @@ typedef UINT64 uint64_t;
|
|||||||
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
|
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
|
||||||
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
|
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
# elif defined(_MSC_VER) && _MSC_VER<=1500
|
# elif defined(_MSC_VER) && _MSC_VER<1600
|
||||||
/*
|
/*
|
||||||
* minimally required typdefs for systems not supporting inttypes.h or
|
* minimally required typdefs for systems not supporting inttypes.h or
|
||||||
* stdint.h: currently just older VC++
|
* stdint.h: currently just older VC++
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -829,6 +829,8 @@ void EC_KEY_set_flags(EC_KEY *key, int flags);
|
|||||||
|
|
||||||
void EC_KEY_clear_flags(EC_KEY *key, int flags);
|
void EC_KEY_clear_flags(EC_KEY *key, int flags);
|
||||||
|
|
||||||
|
int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
|
||||||
|
|
||||||
/** Creates a new EC_KEY object using a named curve as underlying
|
/** Creates a new EC_KEY object using a named curve as underlying
|
||||||
* EC_GROUP object.
|
* EC_GROUP object.
|
||||||
* \param nid NID of the named curve.
|
* \param nid NID of the named curve.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -243,6 +243,7 @@ int ERR_load_EC_strings(void);
|
|||||||
# define EC_R_LADDER_POST_FAILURE 136
|
# define EC_R_LADDER_POST_FAILURE 136
|
||||||
# define EC_R_LADDER_PRE_FAILURE 153
|
# define EC_R_LADDER_PRE_FAILURE 153
|
||||||
# define EC_R_LADDER_STEP_FAILURE 162
|
# define EC_R_LADDER_STEP_FAILURE 162
|
||||||
|
# define EC_R_MISSING_OID 167
|
||||||
# define EC_R_MISSING_PARAMETERS 124
|
# define EC_R_MISSING_PARAMETERS 124
|
||||||
# define EC_R_MISSING_PRIVATE_KEY 125
|
# define EC_R_MISSING_PRIVATE_KEY 125
|
||||||
# define EC_R_NEED_NEW_SETUP_VALUES 157
|
# define EC_R_NEED_NEW_SETUP_VALUES 157
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
|
|||||||
* if the following flag is set.
|
* if the following flag is set.
|
||||||
*/
|
*/
|
||||||
# define EVP_MD_CTX_FLAG_FINALISE 0x0200
|
# define EVP_MD_CTX_FLAG_FINALISE 0x0200
|
||||||
/* NOTE: 0x0400 is reserved for internal usage in evp_int.h */
|
/* NOTE: 0x0400 is reserved for internal usage */
|
||||||
|
|
||||||
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
||||||
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
|
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
|
||||||
@@ -1512,6 +1512,20 @@ void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
|
|||||||
const char *type,
|
const char *type,
|
||||||
const char *value));
|
const char *value));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_set_digestsign(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (*digestsign) (EVP_MD_CTX *ctx,
|
||||||
|
unsigned char *sig,
|
||||||
|
size_t *siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_set_digestverify(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (*digestverify) (EVP_MD_CTX *ctx,
|
||||||
|
const unsigned char *sig,
|
||||||
|
size_t siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
|
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
|
||||||
int (*check) (EVP_PKEY *pkey));
|
int (*check) (EVP_PKEY *pkey));
|
||||||
|
|
||||||
@@ -1617,6 +1631,20 @@ void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
|
|||||||
const char *type,
|
const char *type,
|
||||||
const char *value));
|
const char *value));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_get_digestsign(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (**digestsign) (EVP_MD_CTX *ctx,
|
||||||
|
unsigned char *sig,
|
||||||
|
size_t *siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_get_digestverify(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (**digestverify) (EVP_MD_CTX *ctx,
|
||||||
|
const unsigned char *sig,
|
||||||
|
size_t siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
|
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
|
||||||
int (**pcheck) (EVP_PKEY *pkey));
|
int (**pcheck) (EVP_PKEY *pkey));
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_EVPERR_H
|
#ifndef HEADER_EVPERR_H
|
||||||
# define HEADER_EVPERR_H
|
# define HEADER_EVPERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -160,6 +158,7 @@ int ERR_load_EVP_strings(void);
|
|||||||
# define EVP_R_INPUT_NOT_INITIALIZED 111
|
# define EVP_R_INPUT_NOT_INITIALIZED 111
|
||||||
# define EVP_R_INVALID_DIGEST 152
|
# define EVP_R_INVALID_DIGEST 152
|
||||||
# define EVP_R_INVALID_FIPS_MODE 168
|
# define EVP_R_INVALID_FIPS_MODE 168
|
||||||
|
# define EVP_R_INVALID_IV_LENGTH 194
|
||||||
# define EVP_R_INVALID_KEY 163
|
# define EVP_R_INVALID_KEY 163
|
||||||
# define EVP_R_INVALID_KEY_LENGTH 130
|
# define EVP_R_INVALID_KEY_LENGTH 130
|
||||||
# define EVP_R_INVALID_OPERATION 148
|
# define EVP_R_INVALID_OPERATION 148
|
||||||
@@ -178,6 +177,7 @@ int ERR_load_EVP_strings(void);
|
|||||||
# define EVP_R_ONLY_ONESHOT_SUPPORTED 177
|
# define EVP_R_ONLY_ONESHOT_SUPPORTED 177
|
||||||
# define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
|
# define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
|
||||||
# define EVP_R_OPERATON_NOT_INITIALIZED 151
|
# define EVP_R_OPERATON_NOT_INITIALIZED 151
|
||||||
|
# define EVP_R_OUTPUT_WOULD_OVERFLOW 184
|
||||||
# define EVP_R_PARTIALLY_OVERLAPPING 162
|
# define EVP_R_PARTIALLY_OVERLAPPING 162
|
||||||
# define EVP_R_PBKDF2_ERROR 181
|
# define EVP_R_PBKDF2_ERROR 181
|
||||||
# define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
|
# define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -120,8 +120,7 @@ void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
|
|||||||
|
|
||||||
# define DEFINE_LHASH_OF(type) \
|
# define DEFINE_LHASH_OF(type) \
|
||||||
LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
|
LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
|
||||||
static ossl_inline LHASH_OF(type) * \
|
static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *), \
|
||||||
lh_##type##_new(unsigned long (*hfn)(const type *), \
|
|
||||||
int (*cfn)(const type *, const type *)) \
|
int (*cfn)(const type *, const type *)) \
|
||||||
{ \
|
{ \
|
||||||
return (LHASH_OF(type) *) \
|
return (LHASH_OF(type) *) \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* WARNING: do not edit!
|
* WARNING: do not edit!
|
||||||
* Generated by crypto/objects/objects.pl
|
* Generated by crypto/objects/objects.pl
|
||||||
*
|
*
|
||||||
* Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
* in the file LICENSE in the source distribution or at
|
* in the file LICENSE in the source distribution or at
|
||||||
@@ -1290,12 +1290,12 @@
|
|||||||
#define OBJ_ms_efs 1L,3L,6L,1L,4L,1L,311L,10L,3L,4L
|
#define OBJ_ms_efs 1L,3L,6L,1L,4L,1L,311L,10L,3L,4L
|
||||||
|
|
||||||
#define SN_ms_smartcard_login "msSmartcardLogin"
|
#define SN_ms_smartcard_login "msSmartcardLogin"
|
||||||
#define LN_ms_smartcard_login "Microsoft Smartcardlogin"
|
#define LN_ms_smartcard_login "Microsoft Smartcard Login"
|
||||||
#define NID_ms_smartcard_login 648
|
#define NID_ms_smartcard_login 648
|
||||||
#define OBJ_ms_smartcard_login 1L,3L,6L,1L,4L,1L,311L,20L,2L,2L
|
#define OBJ_ms_smartcard_login 1L,3L,6L,1L,4L,1L,311L,20L,2L,2L
|
||||||
|
|
||||||
#define SN_ms_upn "msUPN"
|
#define SN_ms_upn "msUPN"
|
||||||
#define LN_ms_upn "Microsoft Universal Principal Name"
|
#define LN_ms_upn "Microsoft User Principal Name"
|
||||||
#define NID_ms_upn 649
|
#define NID_ms_upn 649
|
||||||
#define OBJ_ms_upn 1L,3L,6L,1L,4L,1L,311L,20L,2L,3L
|
#define OBJ_ms_upn 1L,3L,6L,1L,4L,1L,311L,20L,2L,3L
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* WARNING: do not edit!
|
* WARNING: do not edit!
|
||||||
* Generated by makefile from ..\s\include\openssl\opensslconf.h.in
|
* Generated by makefile from ..\s\include\openssl\opensslconf.h.in
|
||||||
*
|
*
|
||||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -36,6 +36,9 @@ extern "C" {
|
|||||||
#ifndef OPENSSL_RAND_SEED_OS
|
#ifndef OPENSSL_RAND_SEED_OS
|
||||||
# define OPENSSL_RAND_SEED_OS
|
# define OPENSSL_RAND_SEED_OS
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef OPENSSL_NO_AFALGENG
|
||||||
|
# define OPENSSL_NO_AFALGENG
|
||||||
|
#endif
|
||||||
#ifndef OPENSSL_NO_ASAN
|
#ifndef OPENSSL_NO_ASAN
|
||||||
# define OPENSSL_NO_ASAN
|
# define OPENSSL_NO_ASAN
|
||||||
#endif
|
#endif
|
||||||
@@ -93,9 +96,6 @@ extern "C" {
|
|||||||
#ifndef OPENSSL_NO_STATIC_ENGINE
|
#ifndef OPENSSL_NO_STATIC_ENGINE
|
||||||
# define OPENSSL_NO_STATIC_ENGINE
|
# define OPENSSL_NO_STATIC_ENGINE
|
||||||
#endif
|
#endif
|
||||||
#ifndef OPENSSL_NO_AFALGENG
|
|
||||||
# define OPENSSL_NO_AFALGENG
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -117,6 +117,11 @@ extern "C" {
|
|||||||
# undef DECLARE_DEPRECATED
|
# undef DECLARE_DEPRECATED
|
||||||
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
# endif
|
# endif
|
||||||
|
# elif defined(__SUNPRO_C)
|
||||||
|
# if (__SUNPRO_C >= 0x5130)
|
||||||
|
# undef DECLARE_DEPRECATED
|
||||||
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* {- join("\n * ", @autowarntext) -}
|
* {- join("\n * ", @autowarntext) -}
|
||||||
*
|
*
|
||||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -77,6 +77,11 @@ extern "C" {
|
|||||||
# undef DECLARE_DEPRECATED
|
# undef DECLARE_DEPRECATED
|
||||||
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
# endif
|
# endif
|
||||||
|
# elif defined(__SUNPRO_C)
|
||||||
|
# if (__SUNPRO_C >= 0x5130)
|
||||||
|
# undef DECLARE_DEPRECATED
|
||||||
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -39,8 +39,8 @@ extern "C" {
|
|||||||
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
||||||
* major minor fix final patch/beta)
|
* major minor fix final patch/beta)
|
||||||
*/
|
*/
|
||||||
# define OPENSSL_VERSION_NUMBER 0x1010104fL
|
# define OPENSSL_VERSION_NUMBER 0x101010bfL
|
||||||
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1d 10 Sep 2019"
|
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1k 25 Mar 2021"
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* The macros below are to be used for shared library (.so, .dll, ...)
|
* The macros below are to be used for shared library (.so, .dll, ...)
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ typedef struct dsa_method DSA_METHOD;
|
|||||||
|
|
||||||
typedef struct rsa_st RSA;
|
typedef struct rsa_st RSA;
|
||||||
typedef struct rsa_meth_st RSA_METHOD;
|
typedef struct rsa_meth_st RSA_METHOD;
|
||||||
|
typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
|
||||||
|
|
||||||
typedef struct ec_key_st EC_KEY;
|
typedef struct ec_key_st EC_KEY;
|
||||||
typedef struct ec_key_method_st EC_KEY_METHOD;
|
typedef struct ec_key_method_st EC_KEY_METHOD;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -61,6 +61,7 @@ int ERR_load_PEM_strings(void);
|
|||||||
# define PEM_F_PEM_SIGNFINAL 112
|
# define PEM_F_PEM_SIGNFINAL 112
|
||||||
# define PEM_F_PEM_WRITE 113
|
# define PEM_F_PEM_WRITE 113
|
||||||
# define PEM_F_PEM_WRITE_BIO 114
|
# define PEM_F_PEM_WRITE_BIO 114
|
||||||
|
# define PEM_F_PEM_WRITE_BIO_PRIVATEKEY_TRADITIONAL 147
|
||||||
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
||||||
# define PEM_F_PEM_X509_INFO_READ 115
|
# define PEM_F_PEM_X509_INFO_READ 115
|
||||||
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
||||||
@@ -99,5 +100,6 @@ int ERR_load_PEM_strings(void);
|
|||||||
# define PEM_R_UNSUPPORTED_CIPHER 113
|
# define PEM_R_UNSUPPORTED_CIPHER 113
|
||||||
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
||||||
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
||||||
|
# define PEM_R_UNSUPPORTED_PUBLIC_KEY_TYPE 110
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -21,6 +21,7 @@ int ERR_load_RAND_strings(void);
|
|||||||
/*
|
/*
|
||||||
* RAND function codes.
|
* RAND function codes.
|
||||||
*/
|
*/
|
||||||
|
# define RAND_F_DATA_COLLECT_METHOD 127
|
||||||
# define RAND_F_DRBG_BYTES 101
|
# define RAND_F_DRBG_BYTES 101
|
||||||
# define RAND_F_DRBG_GET_ENTROPY 105
|
# define RAND_F_DRBG_GET_ENTROPY 105
|
||||||
# define RAND_F_DRBG_SETUP 117
|
# define RAND_F_DRBG_SETUP 117
|
||||||
@@ -46,6 +47,7 @@ int ERR_load_RAND_strings(void);
|
|||||||
# define RAND_F_RAND_POOL_BYTES_NEEDED 115
|
# define RAND_F_RAND_POOL_BYTES_NEEDED 115
|
||||||
# define RAND_F_RAND_POOL_GROW 125
|
# define RAND_F_RAND_POOL_GROW 125
|
||||||
# define RAND_F_RAND_POOL_NEW 116
|
# define RAND_F_RAND_POOL_NEW 116
|
||||||
|
# define RAND_F_RAND_PSEUDO_BYTES 126
|
||||||
# define RAND_F_RAND_WRITE_FILE 112
|
# define RAND_F_RAND_WRITE_FILE 112
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -224,6 +224,7 @@ const BIGNUM *RSA_get0_q(const RSA *d);
|
|||||||
const BIGNUM *RSA_get0_dmp1(const RSA *r);
|
const BIGNUM *RSA_get0_dmp1(const RSA *r);
|
||||||
const BIGNUM *RSA_get0_dmq1(const RSA *r);
|
const BIGNUM *RSA_get0_dmq1(const RSA *r);
|
||||||
const BIGNUM *RSA_get0_iqmp(const RSA *r);
|
const BIGNUM *RSA_get0_iqmp(const RSA *r);
|
||||||
|
const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
|
||||||
void RSA_clear_flags(RSA *r, int flags);
|
void RSA_clear_flags(RSA *r, int flags);
|
||||||
int RSA_test_flags(const RSA *r, int flags);
|
int RSA_test_flags(const RSA *r, int flags);
|
||||||
void RSA_set_flags(RSA *r, int flags);
|
void RSA_set_flags(RSA *r, int flags);
|
||||||
@@ -279,14 +280,14 @@ int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
|
|||||||
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
|
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
|
||||||
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
|
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
|
||||||
|
|
||||||
typedef struct rsa_pss_params_st {
|
struct rsa_pss_params_st {
|
||||||
X509_ALGOR *hashAlgorithm;
|
X509_ALGOR *hashAlgorithm;
|
||||||
X509_ALGOR *maskGenAlgorithm;
|
X509_ALGOR *maskGenAlgorithm;
|
||||||
ASN1_INTEGER *saltLength;
|
ASN1_INTEGER *saltLength;
|
||||||
ASN1_INTEGER *trailerField;
|
ASN1_INTEGER *trailerField;
|
||||||
/* Decoded hash algorithm from maskGenAlgorithm */
|
/* Decoded hash algorithm from maskGenAlgorithm */
|
||||||
X509_ALGOR *maskHash;
|
X509_ALGOR *maskHash;
|
||||||
} RSA_PSS_PARAMS;
|
};
|
||||||
|
|
||||||
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
|
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
* Copyright 2005 Nokia. All rights reserved.
|
* Copyright 2005 Nokia. All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -1393,7 +1393,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|||||||
# define SSL_get1_groups(s, glist) \
|
# define SSL_get1_groups(s, glist) \
|
||||||
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
||||||
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
||||||
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(char *)(glist))
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(int *)(glist))
|
||||||
# define SSL_CTX_set1_groups_list(ctx, s) \
|
# define SSL_CTX_set1_groups_list(ctx, s) \
|
||||||
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
|
||||||
# define SSL_set1_groups(s, glist, glistlen) \
|
# define SSL_set1_groups(s, glist, glistlen) \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -292,6 +292,9 @@ extern "C" {
|
|||||||
|
|
||||||
# define TLS1_FLAGS_STATELESS 0x0800
|
# define TLS1_FLAGS_STATELESS 0x0800
|
||||||
|
|
||||||
|
/* Set if extended master secret extension required on renegotiation */
|
||||||
|
# define TLS1_FLAGS_REQUIRED_EXTMS 0x1000
|
||||||
|
|
||||||
# define SSL3_MT_HELLO_REQUEST 0
|
# define SSL3_MT_HELLO_REQUEST 0
|
||||||
# define SSL3_MT_CLIENT_HELLO 1
|
# define SSL3_MT_CLIENT_HELLO 1
|
||||||
# define SSL3_MT_SERVER_HELLO 2
|
# define SSL3_MT_SERVER_HELLO 2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -88,6 +88,7 @@ int ERR_load_SSL_strings(void);
|
|||||||
# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
|
# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
|
# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
|
# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
|
||||||
|
# define SSL_F_OSSL_STATEM_SERVER_PRE_WORK 640
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
|
# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
|
# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
|
# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -478,6 +478,7 @@ void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype,
|
|||||||
const void **ppval, const X509_ALGOR *algor);
|
const void **ppval, const X509_ALGOR *algor);
|
||||||
void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
|
void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
|
||||||
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
|
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
|
||||||
|
int X509_ALGOR_copy(X509_ALGOR *dest, const X509_ALGOR *src);
|
||||||
|
|
||||||
X509_NAME *X509_NAME_dup(X509_NAME *xn);
|
X509_NAME *X509_NAME_dup(X509_NAME *xn);
|
||||||
X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne);
|
X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne);
|
||||||
@@ -679,6 +680,8 @@ X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
|
|||||||
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
|
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
|
||||||
void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
|
void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
|
||||||
const X509_ALGOR **palg);
|
const X509_ALGOR **palg);
|
||||||
|
void X509_REQ_set0_signature(X509_REQ *req, ASN1_BIT_STRING *psig);
|
||||||
|
int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg);
|
||||||
int X509_REQ_get_signature_nid(const X509_REQ *req);
|
int X509_REQ_get_signature_nid(const X509_REQ *req);
|
||||||
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
|
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
|
||||||
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
|
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
|
||||||
@@ -930,7 +933,7 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE)
|
|||||||
int type,
|
int type,
|
||||||
const unsigned char *bytes,
|
const unsigned char *bytes,
|
||||||
int len);
|
int len);
|
||||||
void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x,
|
void *X509at_get0_data_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *x,
|
||||||
const ASN1_OBJECT *obj, int lastpos, int type);
|
const ASN1_OBJECT *obj, int lastpos, int type);
|
||||||
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
|
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
|
||||||
int atrtype, const void *data,
|
int atrtype, const void *data,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -184,6 +184,10 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
|
|||||||
# define X509_V_ERR_OCSP_VERIFY_NEEDED 73 /* Need OCSP verification */
|
# define X509_V_ERR_OCSP_VERIFY_NEEDED 73 /* Need OCSP verification */
|
||||||
# define X509_V_ERR_OCSP_VERIFY_FAILED 74 /* Couldn't verify cert through OCSP */
|
# define X509_V_ERR_OCSP_VERIFY_FAILED 74 /* Couldn't verify cert through OCSP */
|
||||||
# define X509_V_ERR_OCSP_CERT_UNKNOWN 75 /* Certificate wasn't recognized by the OCSP responder */
|
# define X509_V_ERR_OCSP_CERT_UNKNOWN 75 /* Certificate wasn't recognized by the OCSP responder */
|
||||||
|
# define X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH 76
|
||||||
|
# define X509_V_ERR_NO_ISSUER_PUBLIC_KEY 77
|
||||||
|
# define X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM 78
|
||||||
|
# define X509_V_ERR_EC_KEY_EXPLICIT_PARAMS 79
|
||||||
|
|
||||||
/* Certificate verify flags */
|
/* Certificate verify flags */
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_X509ERR_H
|
#ifndef HEADER_X509ERR_H
|
||||||
# define HEADER_X509ERR_H
|
# define HEADER_X509ERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -65,6 +63,7 @@ int ERR_load_X509_strings(void);
|
|||||||
# define X509_F_X509_OBJECT_NEW 150
|
# define X509_F_X509_OBJECT_NEW 150
|
||||||
# define X509_F_X509_PRINT_EX_FP 118
|
# define X509_F_X509_PRINT_EX_FP 118
|
||||||
# define X509_F_X509_PUBKEY_DECODE 148
|
# define X509_F_X509_PUBKEY_DECODE 148
|
||||||
|
# define X509_F_X509_PUBKEY_GET 161
|
||||||
# define X509_F_X509_PUBKEY_GET0 119
|
# define X509_F_X509_PUBKEY_GET0 119
|
||||||
# define X509_F_X509_PUBKEY_SET 120
|
# define X509_F_X509_PUBKEY_SET 120
|
||||||
# define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144
|
# define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -364,8 +364,9 @@ struct ISSUING_DIST_POINT_st {
|
|||||||
|
|
||||||
# define EXFLAG_INVALID_POLICY 0x800
|
# define EXFLAG_INVALID_POLICY 0x800
|
||||||
# define EXFLAG_FRESHEST 0x1000
|
# define EXFLAG_FRESHEST 0x1000
|
||||||
/* Self signed */
|
# define EXFLAG_SS 0x2000 /* cert is apparently self-signed */
|
||||||
# define EXFLAG_SS 0x2000
|
|
||||||
|
# define EXFLAG_NO_FINGERPRINT 0x100000
|
||||||
|
|
||||||
# define KU_DIGITAL_SIGNATURE 0x0080
|
# define KU_DIGITAL_SIGNATURE 0x0080
|
||||||
# define KU_NON_REPUDIATION 0x0040
|
# define KU_NON_REPUDIATION 0x0040
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
arm32/libssl.lib
BIN
arm32/libssl.lib
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -8,9 +8,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is only used by HP C on VMS, and is included automatically
|
* This file is only used by HP C/C++ on VMS, and is included automatically
|
||||||
* after each header file from this directory
|
* after each header file from this directory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The C++ compiler doesn't understand these pragmas, even though it
|
||||||
|
* understands the corresponding command line qualifier.
|
||||||
|
*/
|
||||||
|
#ifndef __cplusplus
|
||||||
/* restore state. Must correspond to the save in __decc_include_prologue.h */
|
/* restore state. Must correspond to the save in __decc_include_prologue.h */
|
||||||
# pragma names restore
|
# pragma names restore
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -8,13 +8,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is only used by HP C on VMS, and is included automatically
|
* This file is only used by HP C/C++ on VMS, and is included automatically
|
||||||
* after each header file from this directory
|
* after each header file from this directory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The C++ compiler doesn't understand these pragmas, even though it
|
||||||
|
* understands the corresponding command line qualifier.
|
||||||
|
*/
|
||||||
|
#ifndef __cplusplus
|
||||||
/* save state */
|
/* save state */
|
||||||
# pragma names save
|
# pragma names save
|
||||||
/* have the compiler shorten symbols larger than 31 chars to 23 chars
|
/* have the compiler shorten symbols larger than 31 chars to 23 chars
|
||||||
* followed by a 8 hex char CRC
|
* followed by a 8 hex char CRC
|
||||||
*/
|
*/
|
||||||
# pragma names as_is,shortened
|
# pragma names as_is,shortened
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_ASN1ERR_H
|
#ifndef HEADER_ASN1ERR_H
|
||||||
# define HEADER_ASN1ERR_H
|
# define HEADER_ASN1ERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -53,6 +51,7 @@ int ERR_load_ASN1_strings(void);
|
|||||||
# define ASN1_F_ASN1_ITEM_DUP 191
|
# define ASN1_F_ASN1_ITEM_DUP 191
|
||||||
# define ASN1_F_ASN1_ITEM_EMBED_D2I 120
|
# define ASN1_F_ASN1_ITEM_EMBED_D2I 120
|
||||||
# define ASN1_F_ASN1_ITEM_EMBED_NEW 121
|
# define ASN1_F_ASN1_ITEM_EMBED_NEW 121
|
||||||
|
# define ASN1_F_ASN1_ITEM_EX_I2D 144
|
||||||
# define ASN1_F_ASN1_ITEM_FLAGS_I2D 118
|
# define ASN1_F_ASN1_ITEM_FLAGS_I2D 118
|
||||||
# define ASN1_F_ASN1_ITEM_I2D_BIO 192
|
# define ASN1_F_ASN1_ITEM_I2D_BIO 192
|
||||||
# define ASN1_F_ASN1_ITEM_I2D_FP 193
|
# define ASN1_F_ASN1_ITEM_I2D_FP 193
|
||||||
@@ -145,6 +144,7 @@ int ERR_load_ASN1_strings(void);
|
|||||||
# define ASN1_R_ASN1_SIG_PARSE_ERROR 204
|
# define ASN1_R_ASN1_SIG_PARSE_ERROR 204
|
||||||
# define ASN1_R_AUX_ERROR 100
|
# define ASN1_R_AUX_ERROR 100
|
||||||
# define ASN1_R_BAD_OBJECT_HEADER 102
|
# define ASN1_R_BAD_OBJECT_HEADER 102
|
||||||
|
# define ASN1_R_BAD_TEMPLATE 230
|
||||||
# define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
|
# define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
|
||||||
# define ASN1_R_BN_LIB 105
|
# define ASN1_R_BN_LIB 105
|
||||||
# define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
|
# define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -169,6 +169,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
# define BIO_FLAGS_MEM_RDONLY 0x200
|
# define BIO_FLAGS_MEM_RDONLY 0x200
|
||||||
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
# define BIO_FLAGS_NONCLEAR_RST 0x400
|
||||||
|
# define BIO_FLAGS_IN_EOF 0x800
|
||||||
|
|
||||||
typedef union bio_addr_st BIO_ADDR;
|
typedef union bio_addr_st BIO_ADDR;
|
||||||
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
typedef struct bio_addrinfo_st BIO_ADDRINFO;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -56,7 +56,7 @@ extern "C" {
|
|||||||
* avoid leaking exponent information through timing,
|
* avoid leaking exponent information through timing,
|
||||||
* BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
|
* BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
|
||||||
* BN_div() will call BN_div_no_branch,
|
* BN_div() will call BN_div_no_branch,
|
||||||
* BN_mod_inverse() will call BN_mod_inverse_no_branch.
|
* BN_mod_inverse() will call bn_mod_inverse_no_branch.
|
||||||
*/
|
*/
|
||||||
# define BN_FLG_CONSTTIME 0x04
|
# define BN_FLG_CONSTTIME 0x04
|
||||||
# define BN_FLG_SECURE 0x08
|
# define BN_FLG_SECURE 0x08
|
||||||
|
|||||||
@@ -463,8 +463,6 @@ __owur int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads the default CT log list into a |store|.
|
* Loads the default CT log list into a |store|.
|
||||||
* See internal/cryptlib.h for the environment variable and file path that are
|
|
||||||
* consulted to find the default file.
|
|
||||||
* Returns 1 if loading is successful, or 0 otherwise.
|
* Returns 1 if loading is successful, or 0 otherwise.
|
||||||
*/
|
*/
|
||||||
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
|
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
|
||||||
|
|||||||
@@ -162,6 +162,12 @@ DH *DSA_dup_DH(const DSA *r);
|
|||||||
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
|
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
|
||||||
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
|
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
|
||||||
|
# define EVP_PKEY_CTX_set_dsa_paramgen_q_bits(ctx, qbits) \
|
||||||
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
|
EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS, qbits, NULL)
|
||||||
|
# define EVP_PKEY_CTX_set_dsa_paramgen_md(ctx, md) \
|
||||||
|
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
||||||
|
EVP_PKEY_CTRL_DSA_PARAMGEN_MD, 0, (void *)(md))
|
||||||
|
|
||||||
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
|
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
|
||||||
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
|
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ extern "C" {
|
|||||||
|
|
||||||
# define DTLS1_AL_HEADER_LENGTH 2
|
# define DTLS1_AL_HEADER_LENGTH 2
|
||||||
|
|
||||||
/* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
|
/* Timeout multipliers */
|
||||||
# define DTLS1_TMO_READ_COUNT 2
|
# define DTLS1_TMO_READ_COUNT 2
|
||||||
# define DTLS1_TMO_WRITE_COUNT 2
|
# define DTLS1_TMO_WRITE_COUNT 2
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -241,7 +241,7 @@ typedef UINT64 uint64_t;
|
|||||||
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
|
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
|
||||||
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
|
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
# elif defined(_MSC_VER) && _MSC_VER<=1500
|
# elif defined(_MSC_VER) && _MSC_VER<1600
|
||||||
/*
|
/*
|
||||||
* minimally required typdefs for systems not supporting inttypes.h or
|
* minimally required typdefs for systems not supporting inttypes.h or
|
||||||
* stdint.h: currently just older VC++
|
* stdint.h: currently just older VC++
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -829,6 +829,8 @@ void EC_KEY_set_flags(EC_KEY *key, int flags);
|
|||||||
|
|
||||||
void EC_KEY_clear_flags(EC_KEY *key, int flags);
|
void EC_KEY_clear_flags(EC_KEY *key, int flags);
|
||||||
|
|
||||||
|
int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
|
||||||
|
|
||||||
/** Creates a new EC_KEY object using a named curve as underlying
|
/** Creates a new EC_KEY object using a named curve as underlying
|
||||||
* EC_GROUP object.
|
* EC_GROUP object.
|
||||||
* \param nid NID of the named curve.
|
* \param nid NID of the named curve.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -243,6 +243,7 @@ int ERR_load_EC_strings(void);
|
|||||||
# define EC_R_LADDER_POST_FAILURE 136
|
# define EC_R_LADDER_POST_FAILURE 136
|
||||||
# define EC_R_LADDER_PRE_FAILURE 153
|
# define EC_R_LADDER_PRE_FAILURE 153
|
||||||
# define EC_R_LADDER_STEP_FAILURE 162
|
# define EC_R_LADDER_STEP_FAILURE 162
|
||||||
|
# define EC_R_MISSING_OID 167
|
||||||
# define EC_R_MISSING_PARAMETERS 124
|
# define EC_R_MISSING_PARAMETERS 124
|
||||||
# define EC_R_MISSING_PRIVATE_KEY 125
|
# define EC_R_MISSING_PRIVATE_KEY 125
|
||||||
# define EC_R_NEED_NEW_SETUP_VALUES 157
|
# define EC_R_NEED_NEW_SETUP_VALUES 157
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
|
|||||||
* if the following flag is set.
|
* if the following flag is set.
|
||||||
*/
|
*/
|
||||||
# define EVP_MD_CTX_FLAG_FINALISE 0x0200
|
# define EVP_MD_CTX_FLAG_FINALISE 0x0200
|
||||||
/* NOTE: 0x0400 is reserved for internal usage in evp_int.h */
|
/* NOTE: 0x0400 is reserved for internal usage */
|
||||||
|
|
||||||
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
||||||
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
|
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
|
||||||
@@ -1512,6 +1512,20 @@ void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
|
|||||||
const char *type,
|
const char *type,
|
||||||
const char *value));
|
const char *value));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_set_digestsign(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (*digestsign) (EVP_MD_CTX *ctx,
|
||||||
|
unsigned char *sig,
|
||||||
|
size_t *siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_set_digestverify(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (*digestverify) (EVP_MD_CTX *ctx,
|
||||||
|
const unsigned char *sig,
|
||||||
|
size_t siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
|
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
|
||||||
int (*check) (EVP_PKEY *pkey));
|
int (*check) (EVP_PKEY *pkey));
|
||||||
|
|
||||||
@@ -1617,6 +1631,20 @@ void EVP_PKEY_meth_get_ctrl(const EVP_PKEY_METHOD *pmeth,
|
|||||||
const char *type,
|
const char *type,
|
||||||
const char *value));
|
const char *value));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_get_digestsign(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (**digestsign) (EVP_MD_CTX *ctx,
|
||||||
|
unsigned char *sig,
|
||||||
|
size_t *siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
|
void EVP_PKEY_meth_get_digestverify(EVP_PKEY_METHOD *pmeth,
|
||||||
|
int (**digestverify) (EVP_MD_CTX *ctx,
|
||||||
|
const unsigned char *sig,
|
||||||
|
size_t siglen,
|
||||||
|
const unsigned char *tbs,
|
||||||
|
size_t tbslen));
|
||||||
|
|
||||||
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
|
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth,
|
||||||
int (**pcheck) (EVP_PKEY *pkey));
|
int (**pcheck) (EVP_PKEY *pkey));
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_EVPERR_H
|
#ifndef HEADER_EVPERR_H
|
||||||
# define HEADER_EVPERR_H
|
# define HEADER_EVPERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -160,6 +158,7 @@ int ERR_load_EVP_strings(void);
|
|||||||
# define EVP_R_INPUT_NOT_INITIALIZED 111
|
# define EVP_R_INPUT_NOT_INITIALIZED 111
|
||||||
# define EVP_R_INVALID_DIGEST 152
|
# define EVP_R_INVALID_DIGEST 152
|
||||||
# define EVP_R_INVALID_FIPS_MODE 168
|
# define EVP_R_INVALID_FIPS_MODE 168
|
||||||
|
# define EVP_R_INVALID_IV_LENGTH 194
|
||||||
# define EVP_R_INVALID_KEY 163
|
# define EVP_R_INVALID_KEY 163
|
||||||
# define EVP_R_INVALID_KEY_LENGTH 130
|
# define EVP_R_INVALID_KEY_LENGTH 130
|
||||||
# define EVP_R_INVALID_OPERATION 148
|
# define EVP_R_INVALID_OPERATION 148
|
||||||
@@ -178,6 +177,7 @@ int ERR_load_EVP_strings(void);
|
|||||||
# define EVP_R_ONLY_ONESHOT_SUPPORTED 177
|
# define EVP_R_ONLY_ONESHOT_SUPPORTED 177
|
||||||
# define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
|
# define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
|
||||||
# define EVP_R_OPERATON_NOT_INITIALIZED 151
|
# define EVP_R_OPERATON_NOT_INITIALIZED 151
|
||||||
|
# define EVP_R_OUTPUT_WOULD_OVERFLOW 184
|
||||||
# define EVP_R_PARTIALLY_OVERLAPPING 162
|
# define EVP_R_PARTIALLY_OVERLAPPING 162
|
||||||
# define EVP_R_PBKDF2_ERROR 181
|
# define EVP_R_PBKDF2_ERROR 181
|
||||||
# define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
|
# define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -120,8 +120,7 @@ void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
|
|||||||
|
|
||||||
# define DEFINE_LHASH_OF(type) \
|
# define DEFINE_LHASH_OF(type) \
|
||||||
LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
|
LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
|
||||||
static ossl_inline LHASH_OF(type) * \
|
static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *), \
|
||||||
lh_##type##_new(unsigned long (*hfn)(const type *), \
|
|
||||||
int (*cfn)(const type *, const type *)) \
|
int (*cfn)(const type *, const type *)) \
|
||||||
{ \
|
{ \
|
||||||
return (LHASH_OF(type) *) \
|
return (LHASH_OF(type) *) \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* WARNING: do not edit!
|
* WARNING: do not edit!
|
||||||
* Generated by crypto/objects/objects.pl
|
* Generated by crypto/objects/objects.pl
|
||||||
*
|
*
|
||||||
* Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
* in the file LICENSE in the source distribution or at
|
* in the file LICENSE in the source distribution or at
|
||||||
@@ -1290,12 +1290,12 @@
|
|||||||
#define OBJ_ms_efs 1L,3L,6L,1L,4L,1L,311L,10L,3L,4L
|
#define OBJ_ms_efs 1L,3L,6L,1L,4L,1L,311L,10L,3L,4L
|
||||||
|
|
||||||
#define SN_ms_smartcard_login "msSmartcardLogin"
|
#define SN_ms_smartcard_login "msSmartcardLogin"
|
||||||
#define LN_ms_smartcard_login "Microsoft Smartcardlogin"
|
#define LN_ms_smartcard_login "Microsoft Smartcard Login"
|
||||||
#define NID_ms_smartcard_login 648
|
#define NID_ms_smartcard_login 648
|
||||||
#define OBJ_ms_smartcard_login 1L,3L,6L,1L,4L,1L,311L,20L,2L,2L
|
#define OBJ_ms_smartcard_login 1L,3L,6L,1L,4L,1L,311L,20L,2L,2L
|
||||||
|
|
||||||
#define SN_ms_upn "msUPN"
|
#define SN_ms_upn "msUPN"
|
||||||
#define LN_ms_upn "Microsoft Universal Principal Name"
|
#define LN_ms_upn "Microsoft User Principal Name"
|
||||||
#define NID_ms_upn 649
|
#define NID_ms_upn 649
|
||||||
#define OBJ_ms_upn 1L,3L,6L,1L,4L,1L,311L,20L,2L,3L
|
#define OBJ_ms_upn 1L,3L,6L,1L,4L,1L,311L,20L,2L,3L
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* WARNING: do not edit!
|
* WARNING: do not edit!
|
||||||
* Generated by makefile from ..\s\include\openssl\opensslconf.h.in
|
* Generated by makefile from ..\s\include\openssl\opensslconf.h.in
|
||||||
*
|
*
|
||||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -36,6 +36,9 @@ extern "C" {
|
|||||||
#ifndef OPENSSL_RAND_SEED_OS
|
#ifndef OPENSSL_RAND_SEED_OS
|
||||||
# define OPENSSL_RAND_SEED_OS
|
# define OPENSSL_RAND_SEED_OS
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef OPENSSL_NO_AFALGENG
|
||||||
|
# define OPENSSL_NO_AFALGENG
|
||||||
|
#endif
|
||||||
#ifndef OPENSSL_NO_ASAN
|
#ifndef OPENSSL_NO_ASAN
|
||||||
# define OPENSSL_NO_ASAN
|
# define OPENSSL_NO_ASAN
|
||||||
#endif
|
#endif
|
||||||
@@ -93,9 +96,6 @@ extern "C" {
|
|||||||
#ifndef OPENSSL_NO_STATIC_ENGINE
|
#ifndef OPENSSL_NO_STATIC_ENGINE
|
||||||
# define OPENSSL_NO_STATIC_ENGINE
|
# define OPENSSL_NO_STATIC_ENGINE
|
||||||
#endif
|
#endif
|
||||||
#ifndef OPENSSL_NO_AFALGENG
|
|
||||||
# define OPENSSL_NO_AFALGENG
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -117,6 +117,11 @@ extern "C" {
|
|||||||
# undef DECLARE_DEPRECATED
|
# undef DECLARE_DEPRECATED
|
||||||
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
# endif
|
# endif
|
||||||
|
# elif defined(__SUNPRO_C)
|
||||||
|
# if (__SUNPRO_C >= 0x5130)
|
||||||
|
# undef DECLARE_DEPRECATED
|
||||||
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* {- join("\n * ", @autowarntext) -}
|
* {- join("\n * ", @autowarntext) -}
|
||||||
*
|
*
|
||||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -77,6 +77,11 @@ extern "C" {
|
|||||||
# undef DECLARE_DEPRECATED
|
# undef DECLARE_DEPRECATED
|
||||||
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
# endif
|
# endif
|
||||||
|
# elif defined(__SUNPRO_C)
|
||||||
|
# if (__SUNPRO_C >= 0x5130)
|
||||||
|
# undef DECLARE_DEPRECATED
|
||||||
|
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -39,8 +39,8 @@ extern "C" {
|
|||||||
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
||||||
* major minor fix final patch/beta)
|
* major minor fix final patch/beta)
|
||||||
*/
|
*/
|
||||||
# define OPENSSL_VERSION_NUMBER 0x1010104fL
|
# define OPENSSL_VERSION_NUMBER 0x101010bfL
|
||||||
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1d 10 Sep 2019"
|
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1k 25 Mar 2021"
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* The macros below are to be used for shared library (.so, .dll, ...)
|
* The macros below are to be used for shared library (.so, .dll, ...)
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ typedef struct dsa_method DSA_METHOD;
|
|||||||
|
|
||||||
typedef struct rsa_st RSA;
|
typedef struct rsa_st RSA;
|
||||||
typedef struct rsa_meth_st RSA_METHOD;
|
typedef struct rsa_meth_st RSA_METHOD;
|
||||||
|
typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
|
||||||
|
|
||||||
typedef struct ec_key_st EC_KEY;
|
typedef struct ec_key_st EC_KEY;
|
||||||
typedef struct ec_key_method_st EC_KEY_METHOD;
|
typedef struct ec_key_method_st EC_KEY_METHOD;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -61,6 +61,7 @@ int ERR_load_PEM_strings(void);
|
|||||||
# define PEM_F_PEM_SIGNFINAL 112
|
# define PEM_F_PEM_SIGNFINAL 112
|
||||||
# define PEM_F_PEM_WRITE 113
|
# define PEM_F_PEM_WRITE 113
|
||||||
# define PEM_F_PEM_WRITE_BIO 114
|
# define PEM_F_PEM_WRITE_BIO 114
|
||||||
|
# define PEM_F_PEM_WRITE_BIO_PRIVATEKEY_TRADITIONAL 147
|
||||||
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
||||||
# define PEM_F_PEM_X509_INFO_READ 115
|
# define PEM_F_PEM_X509_INFO_READ 115
|
||||||
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
||||||
@@ -99,5 +100,6 @@ int ERR_load_PEM_strings(void);
|
|||||||
# define PEM_R_UNSUPPORTED_CIPHER 113
|
# define PEM_R_UNSUPPORTED_CIPHER 113
|
||||||
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
||||||
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
||||||
|
# define PEM_R_UNSUPPORTED_PUBLIC_KEY_TYPE 110
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -21,6 +21,7 @@ int ERR_load_RAND_strings(void);
|
|||||||
/*
|
/*
|
||||||
* RAND function codes.
|
* RAND function codes.
|
||||||
*/
|
*/
|
||||||
|
# define RAND_F_DATA_COLLECT_METHOD 127
|
||||||
# define RAND_F_DRBG_BYTES 101
|
# define RAND_F_DRBG_BYTES 101
|
||||||
# define RAND_F_DRBG_GET_ENTROPY 105
|
# define RAND_F_DRBG_GET_ENTROPY 105
|
||||||
# define RAND_F_DRBG_SETUP 117
|
# define RAND_F_DRBG_SETUP 117
|
||||||
@@ -46,6 +47,7 @@ int ERR_load_RAND_strings(void);
|
|||||||
# define RAND_F_RAND_POOL_BYTES_NEEDED 115
|
# define RAND_F_RAND_POOL_BYTES_NEEDED 115
|
||||||
# define RAND_F_RAND_POOL_GROW 125
|
# define RAND_F_RAND_POOL_GROW 125
|
||||||
# define RAND_F_RAND_POOL_NEW 116
|
# define RAND_F_RAND_POOL_NEW 116
|
||||||
|
# define RAND_F_RAND_PSEUDO_BYTES 126
|
||||||
# define RAND_F_RAND_WRITE_FILE 112
|
# define RAND_F_RAND_WRITE_FILE 112
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -224,6 +224,7 @@ const BIGNUM *RSA_get0_q(const RSA *d);
|
|||||||
const BIGNUM *RSA_get0_dmp1(const RSA *r);
|
const BIGNUM *RSA_get0_dmp1(const RSA *r);
|
||||||
const BIGNUM *RSA_get0_dmq1(const RSA *r);
|
const BIGNUM *RSA_get0_dmq1(const RSA *r);
|
||||||
const BIGNUM *RSA_get0_iqmp(const RSA *r);
|
const BIGNUM *RSA_get0_iqmp(const RSA *r);
|
||||||
|
const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
|
||||||
void RSA_clear_flags(RSA *r, int flags);
|
void RSA_clear_flags(RSA *r, int flags);
|
||||||
int RSA_test_flags(const RSA *r, int flags);
|
int RSA_test_flags(const RSA *r, int flags);
|
||||||
void RSA_set_flags(RSA *r, int flags);
|
void RSA_set_flags(RSA *r, int flags);
|
||||||
@@ -279,14 +280,14 @@ int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
|
|||||||
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
|
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
|
||||||
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
|
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
|
||||||
|
|
||||||
typedef struct rsa_pss_params_st {
|
struct rsa_pss_params_st {
|
||||||
X509_ALGOR *hashAlgorithm;
|
X509_ALGOR *hashAlgorithm;
|
||||||
X509_ALGOR *maskGenAlgorithm;
|
X509_ALGOR *maskGenAlgorithm;
|
||||||
ASN1_INTEGER *saltLength;
|
ASN1_INTEGER *saltLength;
|
||||||
ASN1_INTEGER *trailerField;
|
ASN1_INTEGER *trailerField;
|
||||||
/* Decoded hash algorithm from maskGenAlgorithm */
|
/* Decoded hash algorithm from maskGenAlgorithm */
|
||||||
X509_ALGOR *maskHash;
|
X509_ALGOR *maskHash;
|
||||||
} RSA_PSS_PARAMS;
|
};
|
||||||
|
|
||||||
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
|
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
* Copyright 2005 Nokia. All rights reserved.
|
* Copyright 2005 Nokia. All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -1393,7 +1393,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
|
|||||||
# define SSL_get1_groups(s, glist) \
|
# define SSL_get1_groups(s, glist) \
|
||||||
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
|
||||||
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
# define SSL_CTX_set1_groups(ctx, glist, glistlen) \
|
||||||
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(char *)(glist))
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(int *)(glist))
|
||||||
# define SSL_CTX_set1_groups_list(ctx, s) \
|
# define SSL_CTX_set1_groups_list(ctx, s) \
|
||||||
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
|
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
|
||||||
# define SSL_set1_groups(s, glist, glistlen) \
|
# define SSL_set1_groups(s, glist, glistlen) \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -292,6 +292,9 @@ extern "C" {
|
|||||||
|
|
||||||
# define TLS1_FLAGS_STATELESS 0x0800
|
# define TLS1_FLAGS_STATELESS 0x0800
|
||||||
|
|
||||||
|
/* Set if extended master secret extension required on renegotiation */
|
||||||
|
# define TLS1_FLAGS_REQUIRED_EXTMS 0x1000
|
||||||
|
|
||||||
# define SSL3_MT_HELLO_REQUEST 0
|
# define SSL3_MT_HELLO_REQUEST 0
|
||||||
# define SSL3_MT_CLIENT_HELLO 1
|
# define SSL3_MT_CLIENT_HELLO 1
|
||||||
# define SSL3_MT_SERVER_HELLO 2
|
# define SSL3_MT_SERVER_HELLO 2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -88,6 +88,7 @@ int ERR_load_SSL_strings(void);
|
|||||||
# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
|
# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
|
# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
|
# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
|
||||||
|
# define SSL_F_OSSL_STATEM_SERVER_PRE_WORK 640
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
|
# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
|
# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
|
||||||
# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
|
# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
@@ -478,6 +478,7 @@ void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype,
|
|||||||
const void **ppval, const X509_ALGOR *algor);
|
const void **ppval, const X509_ALGOR *algor);
|
||||||
void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
|
void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
|
||||||
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
|
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
|
||||||
|
int X509_ALGOR_copy(X509_ALGOR *dest, const X509_ALGOR *src);
|
||||||
|
|
||||||
X509_NAME *X509_NAME_dup(X509_NAME *xn);
|
X509_NAME *X509_NAME_dup(X509_NAME *xn);
|
||||||
X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne);
|
X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne);
|
||||||
@@ -679,6 +680,8 @@ X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
|
|||||||
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
|
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
|
||||||
void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
|
void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
|
||||||
const X509_ALGOR **palg);
|
const X509_ALGOR **palg);
|
||||||
|
void X509_REQ_set0_signature(X509_REQ *req, ASN1_BIT_STRING *psig);
|
||||||
|
int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg);
|
||||||
int X509_REQ_get_signature_nid(const X509_REQ *req);
|
int X509_REQ_get_signature_nid(const X509_REQ *req);
|
||||||
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
|
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
|
||||||
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
|
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
|
||||||
@@ -930,7 +933,7 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE)
|
|||||||
int type,
|
int type,
|
||||||
const unsigned char *bytes,
|
const unsigned char *bytes,
|
||||||
int len);
|
int len);
|
||||||
void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x,
|
void *X509at_get0_data_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *x,
|
||||||
const ASN1_OBJECT *obj, int lastpos, int type);
|
const ASN1_OBJECT *obj, int lastpos, int type);
|
||||||
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
|
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
|
||||||
int atrtype, const void *data,
|
int atrtype, const void *data,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -184,6 +184,10 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
|
|||||||
# define X509_V_ERR_OCSP_VERIFY_NEEDED 73 /* Need OCSP verification */
|
# define X509_V_ERR_OCSP_VERIFY_NEEDED 73 /* Need OCSP verification */
|
||||||
# define X509_V_ERR_OCSP_VERIFY_FAILED 74 /* Couldn't verify cert through OCSP */
|
# define X509_V_ERR_OCSP_VERIFY_FAILED 74 /* Couldn't verify cert through OCSP */
|
||||||
# define X509_V_ERR_OCSP_CERT_UNKNOWN 75 /* Certificate wasn't recognized by the OCSP responder */
|
# define X509_V_ERR_OCSP_CERT_UNKNOWN 75 /* Certificate wasn't recognized by the OCSP responder */
|
||||||
|
# define X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH 76
|
||||||
|
# define X509_V_ERR_NO_ISSUER_PUBLIC_KEY 77
|
||||||
|
# define X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM 78
|
||||||
|
# define X509_V_ERR_EC_KEY_EXPLICIT_PARAMS 79
|
||||||
|
|
||||||
/* Certificate verify flags */
|
/* Certificate verify flags */
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Generated by util/mkerr.pl DO NOT EDIT
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
* Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -11,9 +11,7 @@
|
|||||||
#ifndef HEADER_X509ERR_H
|
#ifndef HEADER_X509ERR_H
|
||||||
# define HEADER_X509ERR_H
|
# define HEADER_X509ERR_H
|
||||||
|
|
||||||
# ifndef HEADER_SYMHACKS_H
|
|
||||||
# include <openssl/symhacks.h>
|
# include <openssl/symhacks.h>
|
||||||
# endif
|
|
||||||
|
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
@@ -65,6 +63,7 @@ int ERR_load_X509_strings(void);
|
|||||||
# define X509_F_X509_OBJECT_NEW 150
|
# define X509_F_X509_OBJECT_NEW 150
|
||||||
# define X509_F_X509_PRINT_EX_FP 118
|
# define X509_F_X509_PRINT_EX_FP 118
|
||||||
# define X509_F_X509_PUBKEY_DECODE 148
|
# define X509_F_X509_PUBKEY_DECODE 148
|
||||||
|
# define X509_F_X509_PUBKEY_GET 161
|
||||||
# define X509_F_X509_PUBKEY_GET0 119
|
# define X509_F_X509_PUBKEY_GET0 119
|
||||||
# define X509_F_X509_PUBKEY_SET 120
|
# define X509_F_X509_PUBKEY_SET 120
|
||||||
# define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144
|
# define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
|
* Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
@@ -364,8 +364,9 @@ struct ISSUING_DIST_POINT_st {
|
|||||||
|
|
||||||
# define EXFLAG_INVALID_POLICY 0x800
|
# define EXFLAG_INVALID_POLICY 0x800
|
||||||
# define EXFLAG_FRESHEST 0x1000
|
# define EXFLAG_FRESHEST 0x1000
|
||||||
/* Self signed */
|
# define EXFLAG_SS 0x2000 /* cert is apparently self-signed */
|
||||||
# define EXFLAG_SS 0x2000
|
|
||||||
|
# define EXFLAG_NO_FINGERPRINT 0x100000
|
||||||
|
|
||||||
# define KU_DIGITAL_SIGNATURE 0x0080
|
# define KU_DIGITAL_SIGNATURE 0x0080
|
||||||
# define KU_NON_REPUDIATION 0x0040
|
# define KU_NON_REPUDIATION 0x0040
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user