openssl 1.1.1
include/openssl
aes.h: # define HEADER_AES_H
aes.h: # define AES_ENCRYPT 1
aes.h: # define AES_DECRYPT 0
aes.h: # define AES_MAXNR 14
aes.h: # define AES_BLOCK_SIZE 16
aes.h: struct aes_key_st {
aes.h: unsigned long rd_key[4 * (AES_MAXNR + 1)];
aes.h: unsigned int rd_key[4 * (AES_MAXNR + 1)];
aes.h: typedef struct aes_key_st AES_KEY;
aes.h: const char *AES_options(void);
aes.h: int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
aes.h: int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
aes.h: void AES_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_decrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_ige_encrypt(const unsigned char *in, unsigned char *out,
aes.h: void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out,
aes.h: int AES_wrap_key(AES_KEY *key, const unsigned char *iv,
aes.h: int AES_unwrap_key(AES_KEY *key, const unsigned char *iv,
asn1err.h: * Licensed under the OpenSSL license (the "License"). You may not use
asn1err.h: # define HEADER_ASN1ERR_H
asn1err.h: int ERR_load_ASN1_strings(void);
asn1err.h: # define ASN1_F_A2D_ASN1_OBJECT 100
asn1err.h: # define ASN1_F_A2I_ASN1_INTEGER 102
asn1err.h: # define ASN1_F_A2I_ASN1_STRING 103
asn1err.h: # define ASN1_F_APPEND_EXP 176
asn1err.h: # define ASN1_F_ASN1_BIT_STRING_SET_BIT 183
asn1err.h: # define ASN1_F_ASN1_CB 177
asn1err.h: # define ASN1_F_ASN1_CHECK_TLEN 104
asn1err.h: # define ASN1_F_ASN1_COLLECT 106
asn1err.h: # define ASN1_F_ASN1_D2I_EX_PRIMITIVE 108
asn1err.h: # define ASN1_F_ASN1_D2I_FP 109
asn1err.h: # define ASN1_F_ASN1_D2I_READ_BIO 107
asn1err.h: # define ASN1_F_ASN1_DIGEST 184
asn1err.h: # define ASN1_F_ASN1_DO_ADB 110
asn1err.h: # define ASN1_F_ASN1_DO_LOCK 233
asn1err.h: # define ASN1_F_ASN1_DUP 111
asn1err.h: # define ASN1_F_ASN1_EX_C2I 204
asn1err.h: # define ASN1_F_ASN1_FIND_END 190
asn1err.h: # define ASN1_F_ASN1_GENERALIZEDTIME_ADJ 216
asn1err.h: # define ASN1_F_ASN1_GENERATE_V3 178
asn1err.h: # define ASN1_F_ASN1_GET_INT64 224
asn1err.h: # define ASN1_F_ASN1_GET_OBJECT 114
asn1err.h: # define ASN1_F_ASN1_GET_UINT64 225
asn1err.h: # define ASN1_F_ASN1_I2D_BIO 116
asn1err.h: # define ASN1_F_ASN1_I2D_FP 117
asn1err.h: # define ASN1_F_ASN1_ITEM_D2I_FP 206
asn1err.h: # define ASN1_F_ASN1_ITEM_DUP 191
asn1err.h: # define ASN1_F_ASN1_ITEM_EMBED_D2I 120
asn1err.h: # define ASN1_F_ASN1_ITEM_EMBED_NEW 121
asn1err.h: # define ASN1_F_ASN1_ITEM_I2D_BIO 192
asn1err.h: # define ASN1_F_ASN1_ITEM_I2D_FP 193
asn1err.h: # define ASN1_F_ASN1_ITEM_PACK 198
asn1err.h: # define ASN1_F_ASN1_ITEM_SIGN 195
asn1err.h: # define ASN1_F_ASN1_ITEM_SIGN_CTX 220
asn1err.h: # define ASN1_F_ASN1_ITEM_UNPACK 199
asn1err.h: # define ASN1_F_ASN1_ITEM_VERIFY 197
asn1err.h: # define ASN1_F_ASN1_MBSTRING_NCOPY 122
asn1err.h: # define ASN1_F_ASN1_OBJECT_NEW 123
asn1err.h: # define ASN1_F_ASN1_OUTPUT_DATA 214
asn1err.h: # define ASN1_F_ASN1_PCTX_NEW 205
asn1err.h: # define ASN1_F_ASN1_SCTX_NEW 221
asn1err.h: # define ASN1_F_ASN1_SIGN 128
asn1err.h: # define ASN1_F_ASN1_STR2TYPE 179
asn1err.h: # define ASN1_F_ASN1_STRING_GET_INT64 227
asn1err.h: # define ASN1_F_ASN1_STRING_GET_UINT64 230
asn1err.h: # define ASN1_F_ASN1_STRING_SET 186
asn1err.h: # define ASN1_F_ASN1_STRING_TABLE_ADD 129
asn1err.h: # define ASN1_F_ASN1_STRING_TO_BN 228
asn1err.h: # define ASN1_F_ASN1_STRING_TYPE_NEW 130
asn1err.h: # define ASN1_F_ASN1_TEMPLATE_EX_D2I 132
asn1err.h: # define ASN1_F_ASN1_TEMPLATE_NEW 133
asn1err.h: # define ASN1_F_ASN1_TEMPLATE_NOEXP_D2I 131
asn1err.h: # define ASN1_F_ASN1_TIME_ADJ 217
asn1err.h: # define ASN1_F_ASN1_TYPE_GET_INT_OCTETSTRING 134
asn1err.h: # define ASN1_F_ASN1_TYPE_GET_OCTETSTRING 135
asn1err.h: # define ASN1_F_ASN1_UTCTIME_ADJ 218
asn1err.h: # define ASN1_F_ASN1_VERIFY 137
asn1err.h: # define ASN1_F_B64_READ_ASN1 209
asn1err.h: # define ASN1_F_B64_WRITE_ASN1 210
asn1err.h: # define ASN1_F_BIO_NEW_NDEF 208
asn1err.h: # define ASN1_F_BITSTR_CB 180
asn1err.h: # define ASN1_F_BN_TO_ASN1_STRING 229
asn1err.h: # define ASN1_F_C2I_ASN1_BIT_STRING 189
asn1err.h: # define ASN1_F_C2I_ASN1_INTEGER 194
asn1err.h: # define ASN1_F_C2I_ASN1_OBJECT 196
asn1err.h: # define ASN1_F_C2I_IBUF 226
asn1err.h: # define ASN1_F_C2I_UINT64_INT 101
asn1err.h: # define ASN1_F_COLLECT_DATA 140
asn1err.h: # define ASN1_F_D2I_ASN1_OBJECT 147
asn1err.h: # define ASN1_F_D2I_ASN1_UINTEGER 150
asn1err.h: # define ASN1_F_D2I_AUTOPRIVATEKEY 207
asn1err.h: # define ASN1_F_D2I_PRIVATEKEY 154
asn1err.h: # define ASN1_F_D2I_PUBLICKEY 155
asn1err.h: # define ASN1_F_DO_TCREATE 222
asn1err.h: # define ASN1_F_I2D_ASN1_BIO_STREAM 211
asn1err.h: # define ASN1_F_I2D_DSA_PUBKEY 161
asn1err.h: # define ASN1_F_I2D_EC_PUBKEY 181
asn1err.h: # define ASN1_F_I2D_PRIVATEKEY 163
asn1err.h: # define ASN1_F_I2D_PUBLICKEY 164
asn1err.h: # define ASN1_F_I2D_RSA_PUBKEY 165
asn1err.h: # define ASN1_F_LONG_C2I 166
asn1err.h: # define ASN1_F_OID_MODULE_INIT 174
asn1err.h: # define ASN1_F_PARSE_TAGGING 182
asn1err.h: # define ASN1_F_PKCS5_PBE2_SET_IV 167
asn1err.h: # define ASN1_F_PKCS5_PBE2_SET_SCRYPT 231
asn1err.h: # define ASN1_F_PKCS5_PBE_SET 202
asn1err.h: # define ASN1_F_PKCS5_PBE_SET0_ALGOR 215
asn1err.h: # define ASN1_F_PKCS5_PBKDF2_SET 219
asn1err.h: # define ASN1_F_PKCS5_SCRYPT_SET 232
asn1err.h: # define ASN1_F_SMIME_READ_ASN1 212
asn1err.h: # define ASN1_F_SMIME_TEXT 213
asn1err.h: # define ASN1_F_STBL_MODULE_INIT 223
asn1err.h: # define ASN1_F_UINT32_C2I 105
asn1err.h: # define ASN1_F_UINT64_C2I 112
asn1err.h: # define ASN1_F_X509_CRL_ADD0_REVOKED 169
asn1err.h: # define ASN1_F_X509_INFO_NEW 170
asn1err.h: # define ASN1_F_X509_NAME_ENCODE 203
asn1err.h: # define ASN1_F_X509_NAME_EX_D2I 158
asn1err.h: # define ASN1_F_X509_NAME_EX_NEW 171
asn1err.h: # define ASN1_F_X509_PKEY_NEW 173
asn1err.h: # define ASN1_R_ADDING_OBJECT 171
asn1err.h: # define ASN1_R_ASN1_PARSE_ERROR 203
asn1err.h: # define ASN1_R_ASN1_SIG_PARSE_ERROR 204
asn1err.h: # define ASN1_R_AUX_ERROR 100
asn1err.h: # define ASN1_R_BAD_OBJECT_HEADER 102
asn1err.h: # define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 214
asn1err.h: # define ASN1_R_BN_LIB 105
asn1err.h: # define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 106
asn1err.h: # define ASN1_R_BUFFER_TOO_SMALL 107
asn1err.h: # define ASN1_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 108
asn1err.h: # define ASN1_R_CONTEXT_NOT_INITIALISED 217
asn1err.h: # define ASN1_R_DATA_IS_WRONG 109
asn1err.h: # define ASN1_R_DECODE_ERROR 110
asn1err.h: # define ASN1_R_DEPTH_EXCEEDED 174
asn1err.h: # define ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED 198
asn1err.h: # define ASN1_R_ENCODE_ERROR 112
asn1err.h: # define ASN1_R_ERROR_GETTING_TIME 173
asn1err.h: # define ASN1_R_ERROR_LOADING_SECTION 172
asn1err.h: # define ASN1_R_ERROR_SETTING_CIPHER_PARAMS 114
asn1err.h: # define ASN1_R_EXPECTING_AN_INTEGER 115
asn1err.h: # define ASN1_R_EXPECTING_AN_OBJECT 116
asn1err.h: # define ASN1_R_EXPLICIT_LENGTH_MISMATCH 119
asn1err.h: # define ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED 120
asn1err.h: # define ASN1_R_FIELD_MISSING 121
asn1err.h: # define ASN1_R_FIRST_NUM_TOO_LARGE 122
asn1err.h: # define ASN1_R_HEADER_TOO_LONG 123
asn1err.h: # define ASN1_R_ILLEGAL_BITSTRING_FORMAT 175
asn1err.h: # define ASN1_R_ILLEGAL_BOOLEAN 176
asn1err.h: # define ASN1_R_ILLEGAL_CHARACTERS 124
asn1err.h: # define ASN1_R_ILLEGAL_FORMAT 177
asn1err.h: # define ASN1_R_ILLEGAL_HEX 178
asn1err.h: # define ASN1_R_ILLEGAL_IMPLICIT_TAG 179
asn1err.h: # define ASN1_R_ILLEGAL_INTEGER 180
asn1err.h: # define ASN1_R_ILLEGAL_NEGATIVE_VALUE 226
asn1err.h: # define ASN1_R_ILLEGAL_NESTED_TAGGING 181
asn1err.h: # define ASN1_R_ILLEGAL_NULL 125
asn1err.h: # define ASN1_R_ILLEGAL_NULL_VALUE 182
asn1err.h: # define ASN1_R_ILLEGAL_OBJECT 183
asn1err.h: # define ASN1_R_ILLEGAL_OPTIONAL_ANY 126
asn1err.h: # define ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE 170
asn1err.h: # define ASN1_R_ILLEGAL_PADDING 221
asn1err.h: # define ASN1_R_ILLEGAL_TAGGED_ANY 127
asn1err.h: # define ASN1_R_ILLEGAL_TIME_VALUE 184
asn1err.h: # define ASN1_R_ILLEGAL_ZERO_CONTENT 222
asn1err.h: # define ASN1_R_INTEGER_NOT_ASCII_FORMAT 185
asn1err.h: # define ASN1_R_INTEGER_TOO_LARGE_FOR_LONG 128
asn1err.h: # define ASN1_R_INVALID_BIT_STRING_BITS_LEFT 220
asn1err.h: # define ASN1_R_INVALID_BMPSTRING_LENGTH 129
asn1err.h: # define ASN1_R_INVALID_DIGIT 130
asn1err.h: # define ASN1_R_INVALID_MIME_TYPE 205
asn1err.h: # define ASN1_R_INVALID_MODIFIER 186
asn1err.h: # define ASN1_R_INVALID_NUMBER 187
asn1err.h: # define ASN1_R_INVALID_OBJECT_ENCODING 216
asn1err.h: # define ASN1_R_INVALID_SCRYPT_PARAMETERS 227
asn1err.h: # define ASN1_R_INVALID_SEPARATOR 131
asn1err.h: # define ASN1_R_INVALID_STRING_TABLE_VALUE 218
asn1err.h: # define ASN1_R_INVALID_UNIVERSALSTRING_LENGTH 133
asn1err.h: # define ASN1_R_INVALID_UTF8STRING 134
asn1err.h: # define ASN1_R_INVALID_VALUE 219
asn1err.h: # define ASN1_R_LIST_ERROR 188
asn1err.h: # define ASN1_R_MIME_NO_CONTENT_TYPE 206
asn1err.h: # define ASN1_R_MIME_PARSE_ERROR 207
asn1err.h: # define ASN1_R_MIME_SIG_PARSE_ERROR 208
asn1err.h: # define ASN1_R_MISSING_EOC 137
asn1err.h: # define ASN1_R_MISSING_SECOND_NUMBER 138
asn1err.h: # define ASN1_R_MISSING_VALUE 189
asn1err.h: # define ASN1_R_MSTRING_NOT_UNIVERSAL 139
asn1err.h: # define ASN1_R_MSTRING_WRONG_TAG 140
asn1err.h: # define ASN1_R_NESTED_ASN1_STRING 197
asn1err.h: # define ASN1_R_NON_HEX_CHARACTERS 141
asn1err.h: # define ASN1_R_NOT_ASCII_FORMAT 190
asn1err.h: # define ASN1_R_NOT_ENOUGH_DATA 142
asn1err.h: # define ASN1_R_NO_CONTENT_TYPE 209
asn1err.h: # define ASN1_R_NO_MATCHING_CHOICE_TYPE 143
asn1err.h: # define ASN1_R_NO_MULTIPART_BODY_FAILURE 210
asn1err.h: # define ASN1_R_NO_MULTIPART_BOUNDARY 211
asn1err.h: # define ASN1_R_NO_SIG_CONTENT_TYPE 212
asn1err.h: # define ASN1_R_NULL_IS_WRONG_LENGTH 144
asn1err.h: # define ASN1_R_OBJECT_NOT_ASCII_FORMAT 191
asn1err.h: # define ASN1_R_ODD_NUMBER_OF_CHARS 145
asn1err.h: # define ASN1_R_SECOND_NUMBER_TOO_LARGE 147
asn1err.h: # define ASN1_R_SEQUENCE_LENGTH_MISMATCH 148
asn1err.h: # define ASN1_R_SEQUENCE_NOT_CONSTRUCTED 149
asn1err.h: # define ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG 192
asn1err.h: # define ASN1_R_SHORT_LINE 150
asn1err.h: # define ASN1_R_SIG_INVALID_MIME_TYPE 213
asn1err.h: # define ASN1_R_STREAMING_NOT_SUPPORTED 202
asn1err.h: # define ASN1_R_STRING_TOO_LONG 151
asn1err.h: # define ASN1_R_STRING_TOO_SHORT 152
asn1err.h: # define ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 154
asn1err.h: # define ASN1_R_TIME_NOT_ASCII_FORMAT 193
asn1err.h: # define ASN1_R_TOO_LARGE 223
asn1err.h: # define ASN1_R_TOO_LONG 155
asn1err.h: # define ASN1_R_TOO_SMALL 224
asn1err.h: # define ASN1_R_TYPE_NOT_CONSTRUCTED 156
asn1err.h: # define ASN1_R_TYPE_NOT_PRIMITIVE 195
asn1err.h: # define ASN1_R_UNEXPECTED_EOC 159
asn1err.h: # define ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH 215
asn1err.h: # define ASN1_R_UNKNOWN_FORMAT 160
asn1err.h: # define ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM 161
asn1err.h: # define ASN1_R_UNKNOWN_OBJECT_TYPE 162
asn1err.h: # define ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE 163
asn1err.h: # define ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM 199
asn1err.h: # define ASN1_R_UNKNOWN_TAG 194
asn1err.h: # define ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE 164
asn1err.h: # define ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE 167
asn1err.h: # define ASN1_R_UNSUPPORTED_TYPE 196
asn1err.h: # define ASN1_R_WRONG_INTEGER_TYPE 225
asn1err.h: # define ASN1_R_WRONG_PUBLIC_KEY_TYPE 200
asn1err.h: # define ASN1_R_WRONG_TAG 168
asn1.h: * Licensed under the OpenSSL license (the "License"). You may not use
asn1.h: # define HEADER_ASN1_H
asn1.h: # define OPENSSL_EXTERN OPENSSL_EXPORT
asn1.h: # define V_ASN1_UNIVERSAL 0x00
asn1.h: # define V_ASN1_APPLICATION 0x40
asn1.h: # define V_ASN1_CONTEXT_SPECIFIC 0x80
asn1.h: # define V_ASN1_PRIVATE 0xc0
asn1.h: # define V_ASN1_CONSTRUCTED 0x20
asn1.h: # define V_ASN1_PRIMITIVE_TAG 0x1f
asn1.h: # define V_ASN1_PRIMATIVE_TAG /*compat*/ V_ASN1_PRIMITIVE_TAG
asn1.h: # define V_ASN1_APP_CHOOSE -2/* let the recipient choose */
asn1.h: # define V_ASN1_OTHER -3/* used in ASN1_TYPE */
asn1.h: # define V_ASN1_ANY -4/* used in ASN1 template code */
asn1.h: # define V_ASN1_UNDEF -1
asn1.h: # define V_ASN1_EOC 0
asn1.h: # define V_ASN1_BOOLEAN 1 /**/
asn1.h: # define V_ASN1_INTEGER 2
asn1.h: # define V_ASN1_BIT_STRING 3
asn1.h: # define V_ASN1_OCTET_STRING 4
asn1.h: # define V_ASN1_NULL 5
asn1.h: # define V_ASN1_OBJECT 6
asn1.h: # define V_ASN1_OBJECT_DESCRIPTOR 7
asn1.h: # define V_ASN1_EXTERNAL 8
asn1.h: # define V_ASN1_REAL 9
asn1.h: # define V_ASN1_ENUMERATED 10
asn1.h: # define V_ASN1_UTF8STRING 12
asn1.h: # define V_ASN1_SEQUENCE 16
asn1.h: # define V_ASN1_SET 17
asn1.h: # define V_ASN1_NUMERICSTRING 18 /**/
asn1.h: # define V_ASN1_PRINTABLESTRING 19
asn1.h: # define V_ASN1_T61STRING 20
asn1.h: # define V_ASN1_TELETEXSTRING 20/* alias */
asn1.h: # define V_ASN1_VIDEOTEXSTRING 21 /**/
asn1.h: # define V_ASN1_IA5STRING 22
asn1.h: # define V_ASN1_UTCTIME 23
asn1.h: # define V_ASN1_GENERALIZEDTIME 24 /**/
asn1.h: # define V_ASN1_GRAPHICSTRING 25 /**/
asn1.h: # define V_ASN1_ISO64STRING 26 /**/
asn1.h: # define V_ASN1_VISIBLESTRING 26/* alias */
asn1.h: # define V_ASN1_GENERALSTRING 27 /**/
asn1.h: # define V_ASN1_UNIVERSALSTRING 28 /**/
asn1.h: # define V_ASN1_BMPSTRING 30
asn1.h: # define V_ASN1_NEG 0x100
asn1.h: # define V_ASN1_NEG_INTEGER (2 | V_ASN1_NEG)
asn1.h: # define V_ASN1_NEG_ENUMERATED (10 | V_ASN1_NEG)
asn1.h: /* For use with d2i_ASN1_type_bytes() */
asn1.h: # define B_ASN1_NUMERICSTRING 0x0001
asn1.h: # define B_ASN1_PRINTABLESTRING 0x0002
asn1.h: # define B_ASN1_T61STRING 0x0004
asn1.h: # define B_ASN1_TELETEXSTRING 0x0004
asn1.h: # define B_ASN1_VIDEOTEXSTRING 0x0008
asn1.h: # define B_ASN1_IA5STRING 0x0010
asn1.h: # define B_ASN1_GRAPHICSTRING 0x0020
asn1.h: # define B_ASN1_ISO64STRING 0x0040
asn1.h: # define B_ASN1_VISIBLESTRING 0x0040
asn1.h: # define B_ASN1_GENERALSTRING 0x0080
asn1.h: # define B_ASN1_UNIVERSALSTRING 0x0100
asn1.h: # define B_ASN1_OCTET_STRING 0x0200
asn1.h: # define B_ASN1_BIT_STRING 0x0400
asn1.h: # define B_ASN1_BMPSTRING 0x0800
asn1.h: # define B_ASN1_UNKNOWN 0x1000
asn1.h: # define B_ASN1_UTF8STRING 0x2000
asn1.h: # define B_ASN1_UTCTIME 0x4000
asn1.h: # define B_ASN1_GENERALIZEDTIME 0x8000
asn1.h: # define B_ASN1_SEQUENCE 0x10000
asn1.h: /* For use with ASN1_mbstring_copy() */
asn1.h: # define MBSTRING_FLAG 0x1000
asn1.h: # define MBSTRING_UTF8 (MBSTRING_FLAG)
asn1.h: # define MBSTRING_ASC (MBSTRING_FLAG|1)
asn1.h: # define MBSTRING_BMP (MBSTRING_FLAG|2)
asn1.h: # define MBSTRING_UNIV (MBSTRING_FLAG|4)
asn1.h: # define SMIME_OLDMIME 0x400
asn1.h: # define SMIME_CRLFEOL 0x800
asn1.h: # define SMIME_STREAM 0x1000
asn1.h: struct X509_algor_st;
asn1.h: DEFINE_STACK_OF(X509_ALGOR)
asn1.h: # define ASN1_STRING_FLAG_BITS_LEFT 0x08/* Set if 0x07 has bits left value */
asn1.h: # define ASN1_STRING_FLAG_NDEF 0x010
asn1.h: # define ASN1_STRING_FLAG_CONT 0x020
asn1.h: # define ASN1_STRING_FLAG_MSTRING 0x040
asn1.h: # define ASN1_STRING_FLAG_EMBED 0x080
asn1.h: # define ASN1_STRING_FLAG_X509_TIME 0x100
asn1.h: struct asn1_string_st {
asn1.h: typedef struct ASN1_ENCODING_st {
asn1.h: # define ASN1_LONG_UNDEF 0x7fffffffL
asn1.h: # define STABLE_FLAGS_MALLOC 0x01
asn1.h: # define STABLE_FLAGS_CLEAR STABLE_FLAGS_MALLOC
asn1.h: # define STABLE_NO_MASK 0x02
asn1.h: # define DIRSTRING_TYPE \
asn1.h: (B_ASN1_PRINTABLESTRING|B_ASN1_T61STRING|B_ASN1_BMPSTRING|B_ASN1_UTF8STRING)
asn1.h: # define PKCS9STRING_TYPE (DIRSTRING_TYPE|B_ASN1_IA5STRING)
asn1.h: typedef struct asn1_string_table_st {
asn1.h: DEFINE_STACK_OF(ASN1_STRING_TABLE)
asn1.h: # define ub_name 32768
asn1.h: # define ub_common_name 64
asn1.h: # define ub_locality_name 128
asn1.h: # define ub_state_name 128
asn1.h: # define ub_organization_name 64
asn1.h: # define ub_organization_unit_name 64
asn1.h: # define ub_title 64
asn1.h: # define ub_email_address 128
asn1.h: typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;
asn1.h: typedef struct ASN1_TLC_st ASN1_TLC;
asn1.h: typedef struct ASN1_VALUE_st ASN1_VALUE;
asn1.h: # define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type)
asn1.h: # define DECLARE_ASN1_ALLOC_FUNCTIONS(type) \
asn1.h: DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, type)
asn1.h: # define DECLARE_ASN1_FUNCTIONS_name(type, name) \
asn1.h: DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
asn1.h: DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name)
asn1.h: # define DECLARE_ASN1_FUNCTIONS_fname(type, itname, name) \
asn1.h: DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
asn1.h: DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name)
asn1.h: # define DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name) \
asn1.h: type *d2i_##name(type **a, const unsigned char **in, long len); \
asn1.h: int i2d_##name(type *a, unsigned char **out); \
asn1.h: DECLARE_ASN1_ITEM(itname)
asn1.h: # define DECLARE_ASN1_ENCODE_FUNCTIONS_const(type, name) \
asn1.h: type *d2i_##name(type **a, const unsigned char **in, long len); \
asn1.h: int i2d_##name(const type *a, unsigned char **out); \
asn1.h: DECLARE_ASN1_ITEM(name)
asn1.h: # define DECLARE_ASN1_NDEF_FUNCTION(name) \
asn1.h: int i2d_##name##_NDEF(name *a, unsigned char **out);
asn1.h: # define DECLARE_ASN1_FUNCTIONS_const(name) \
asn1.h: DECLARE_ASN1_ALLOC_FUNCTIONS(name) \
asn1.h: DECLARE_ASN1_ENCODE_FUNCTIONS_const(name, name)
asn1.h: # define DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
asn1.h: type *name##_new(void); \
asn1.h: void name##_free(type *a);
asn1.h: # define DECLARE_ASN1_PRINT_FUNCTION(stname) \
asn1.h: DECLARE_ASN1_PRINT_FUNCTION_fname(stname, stname)
asn1.h: # define DECLARE_ASN1_PRINT_FUNCTION_fname(stname, fname) \
asn1.h: int fname##_print_ctx(BIO *out, stname *x, int indent, \
asn1.h: # define D2I_OF(type) type *(*)(type **,const unsigned char **,long)
asn1.h: # define I2D_OF(type) int (*)(type *,unsigned char **)
asn1.h: # define I2D_OF_const(type) int (*)(const type *,unsigned char **)
asn1.h: # define CHECKED_D2I_OF(type, d2i) \
asn1.h: ((d2i_of_void*) (1 ? d2i : ((D2I_OF(type))0)))
asn1.h: # define CHECKED_I2D_OF(type, i2d) \
asn1.h: ((i2d_of_void*) (1 ? i2d : ((I2D_OF(type))0)))
asn1.h: # define CHECKED_NEW_OF(type, xnew) \
asn1.h: ((void *(*)(void)) (1 ? xnew : ((type *(*)(void))0)))
asn1.h: # define CHECKED_PTR_OF(type, p) \
asn1.h: ((void*) (1 ? p : (type*)0))
asn1.h: # define CHECKED_PPTR_OF(type, p) \
asn1.h: ((void**) (1 ? p : (type**)0))
asn1.h: # define TYPEDEF_D2I_OF(type) typedef type *d2i_of_##type(type **,const unsigned char **,long)
asn1.h: # define TYPEDEF_I2D_OF(type) typedef int i2d_of_##type(type *,unsigned char **)
asn1.h: # define TYPEDEF_D2I2D_OF(type) TYPEDEF_D2I_OF(type); TYPEDEF_I2D_OF(type)
asn1.h: TYPEDEF_D2I2D_OF(void);
asn1.h: * (possibly from shared libraries) they may exist in
asn1.h: * typedef struct SOMETHING_st {
asn1.h: * SOMETHING somevar = {...,ASN1_ITEM_ref(X509),...};
asn1.h: * const ASN1_ITEM *it = ASN1_ITEM_ptr(somevar.iptr);
asn1.h: * appropriate reference wi.h: ASN1_ITEM_rptr(X509). This
asn1.h: # define ASN1_ITEM_ptr(iptr) (iptr)
asn1.h: # define ASN1_ITEM_ref(iptr) (&(iptr##_it))
asn1.h: # define ASN1_ITEM_rptr(ref) (&(ref##_it))
asn1.h: # define DECLARE_ASN1_ITEM(name) \
asn1.h: typedef const ASN1_ITEM *ASN1_ITEM_EXP (void);
asn1.h: # define ASN1_ITEM_ptr(iptr) (iptr())
asn1.h: # define ASN1_ITEM_ref(iptr) (iptr##_it)
asn1.h: # define ASN1_ITEM_rptr(ref) (ref##_it())
asn1.h: # define DECLARE_ASN1_ITEM(name) \
asn1.h: const ASN1_ITEM * name##_it(void);
asn1.h: /* Parameters used by ASN1_STRING_print_ex() */
asn1.h: # define ASN1_STRFLGS_ESC_2253 1
asn1.h: # define ASN1_STRFLGS_ESC_CTRL 2
asn1.h: # define ASN1_STRFLGS_ESC_MSB 4
asn1.h: # define ASN1_STRFLGS_ESC_QUOTE 8
asn1.h: # define CHARTYPE_PRINTABLESTRING 0x10
asn1.h: # define CHARTYPE_FIRST_ESC_2253 0x20
asn1.h: # define CHARTYPE_LAST_ESC_2253 0x40
asn1.h: # define ASN1_STRFLGS_UTF8_CONVERT 0x10
asn1.h: # define ASN1_STRFLGS_IGNORE_TYPE 0x20
asn1.h: # define ASN1_STRFLGS_SHOW_TYPE 0x40
asn1.h: * This determines which strings to display and which to 'dump' (hex dump of
asn1.h: # define ASN1_STRFLGS_DUMP_ALL 0x80
asn1.h: # define ASN1_STRFLGS_DUMP_UNKNOWN 0x100
asn1.h: # define ASN1_STRFLGS_DUMP_DER 0x200
asn1.h: # define ASN1_STRFLGS_RFC2253 (ASN1_STRFLGS_ESC_2253 | \
asn1.h: DEFINE_STACK_OF(ASN1_INTEGER)
asn1.h: DEFINE_STACK_OF(ASN1_GENERALSTRING)
asn1.h: DEFINE_STACK_OF(ASN1_UTF8STRING)
asn1.h: typedef struct asn1_type_st {
asn1.h: DEFINE_STACK_OF(ASN1_TYPE)
asn1.h: typedef STACK_OF(ASN1_TYPE) ASN1_SEQUENCE_ANY;
asn1.h: DECLARE_ASN1_ENCODE_FUNCTIONS_const(ASN1_SEQUENCE_ANY, ASN1_SEQUENCE_ANY)
asn1.h: DECLARE_ASN1_ENCODE_FUNCTIONS_const(ASN1_SEQUENCE_ANY, ASN1_SET_ANY)
asn1.h: typedef struct BIT_STRING_BITNAME_st {
asn1.h: # define B_ASN1_TIME \
asn1.h: # define B_ASN1_PRINTABLE \
asn1.h: # define B_ASN1_DIRECTORYSTRING \
asn1.h: # define B_ASN1_DISPLAYTEXT \
asn1.h: DECLARE_ASN1_FUNCTIONS_fname(ASN1_TYPE, ASN1_ANY, ASN1_TYPE)
asn1.h: int ASN1_TYPE_get(const ASN1_TYPE *a);
asn1.h: void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
asn1.h: int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
asn1.h: int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
asn1.h: ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
asn1.h: void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
asn1.h: ASN1_OBJECT *ASN1_OBJECT_new(void);
asn1.h: void ASN1_OBJECT_free(ASN1_OBJECT *a);
asn1.h: int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp);
asn1.h: ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp,
asn1.h: DECLARE_ASN1_ITEM(ASN1_OBJECT)
asn1.h: DEFINE_STACK_OF(ASN1_OBJECT)
asn1.h: ASN1_STRING *ASN1_STRING_new(void);
asn1.h: void ASN1_STRING_free(ASN1_STRING *a);
asn1.h: void ASN1_STRING_clear_free(ASN1_STRING *a);
asn1.h: int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
asn1.h: ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *a);
asn1.h: ASN1_STRING *ASN1_STRING_type_new(int type);
asn1.h: int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
asn1.h: int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
asn1.h: void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len);
asn1.h: int ASN1_STRING_length(const ASN1_STRING *x);
asn1.h: void ASN1_STRING_length_set(ASN1_STRING *x, int n);
asn1.h: int ASN1_STRING_type(const ASN1_STRING *x);
asn1.h: DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
asn1.h: const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_BIT_STRING)
asn1.h: int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length);
asn1.h: int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
asn1.h: int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
asn1.h: int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a,
asn1.h: int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs,
asn1.h: int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl);
asn1.h: int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value,
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER)
asn1.h: ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp,
asn1.h: ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *x);
asn1.h: int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y);
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_ENUMERATED)
asn1.h: int ASN1_UTCTIME_check(const ASN1_UTCTIME *a);
asn1.h: ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
asn1.h: ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
asn1.h: int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);
asn1.h: int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
asn1.h: int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a);
asn1.h: ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
asn1.h: ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s,
asn1.h: int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str);
asn1.h: int ASN1_TIME_diff(int *pday, int *psec,
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_OCTET_STRING)
asn1.h: ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *a);
asn1.h: int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a,
asn1.h: int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, const unsigned char *data,
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_VISIBLESTRING)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_UNIVERSALSTRING)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_UTF8STRING)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_NULL)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING)
asn1.h: int UTF8_getc(const unsigned char *str, int len, unsigned long *val);
asn1.h: int UTF8_putc(unsigned char *str, int len, unsigned long value);
asn1.h: DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE)
asn1.h: DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING)
asn1.h: DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_PRINTABLESTRING)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_T61STRING)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_IA5STRING)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_GENERALSTRING)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_UTCTIME)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_GENERALIZEDTIME)
asn1.h: DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
asn1.h: DECLARE_ASN1_ITEM(ASN1_OCTET_STRING_NDEF)
asn1.h: ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
asn1.h: ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
asn1.h: int ASN1_TIME_check(const ASN1_TIME *t);
asn1.h: ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
asn1.h: int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
asn1.h: int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str);
asn1.h: int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
asn1.h: int ASN1_TIME_normalize(ASN1_TIME *s);
asn1.h: int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
asn1.h: int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
asn1.h: int i2a_ASN1_INTEGER(BIO *bp, const ASN1_INTEGER *a);
asn1.h: int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size);
asn1.h: int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a);
asn1.h: int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size);
asn1.h: int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a);
asn1.h: int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size);
asn1.h: int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type);
asn1.h: int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a);
asn1.h: int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num);
asn1.h: ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len,
asn1.h: int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a);
asn1.h: int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r);
asn1.h: int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a);
asn1.h: int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r);
asn1.h: int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
asn1.h: long ASN1_INTEGER_get(const ASN1_INTEGER *a);
asn1.h: ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
asn1.h: BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
asn1.h: int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a);
asn1.h: int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r);
asn1.h: int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
asn1.h: long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a);
asn1.h: ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
asn1.h: BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);
asn1.h: int ASN1_PRINTABLE_type(const unsigned char *s, int max);
asn1.h: unsigned long ASN1_tag2bit(int tag);
asn1.h: int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag,
asn1.h: int ASN1_check_infinite_end(unsigned char **p, long len);
asn1.h: int ASN1_const_check_infinite_end(const unsigned char **p, long len);
asn1.h: void ASN1_put_object(unsigned char **pp, int constructed, int length,
asn1.h: int ASN1_put_eoc(unsigned char **pp);
asn1.h: int ASN1_object_size(int constructed, int length, int tag);
asn1.h: void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
asn1.h: # define ASN1_dup_of(type,i2d,d2i,x) \
asn1.h: ((type*)ASN1_dup(CHECKED_I2D_OF(type, i2d), \
asn1.h: CHECKED_D2I_OF(type, d2i), \
asn1.h: CHECKED_PTR_OF(type, x)))
asn1.h: # define ASN1_dup_of_const(type,i2d,d2i,x) \
asn1.h: ((type*)ASN1_dup(CHECKED_I2D_OF(const type, i2d), \
asn1.h: CHECKED_D2I_OF(type, d2i), \
asn1.h: CHECKED_PTR_OF(const type, x)))
asn1.h: void *ASN1_item_dup(const ASN1_ITEM *it, void *x);
asn1.h: # define M_ASN1_new_of(type) (type *)ASN1_item_new(ASN1_ITEM_rptr(type))
asn1.h: # define M_ASN1_free_of(x, type) \
asn1.h: ASN1_item_free(CHECKED_PTR_OF(type, x), ASN1_ITEM_rptr(type))
asn1.h: void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x);
asn1.h: # define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \
asn1.h: ((type*)ASN1_d2i_fp(CHECKED_NEW_OF(type, xnew), \
asn1.h: CHECKED_D2I_OF(type, d2i), \
asn1.h: CHECKED_PPTR_OF(type, x)))
asn1.h: void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
asn1.h: int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, void *x);
asn1.h: # define ASN1_i2d_fp_of(type,i2d,out,x) \
asn1.h: (ASN1_i2d_fp(CHECKED_I2D_OF(type, i2d), \
asn1.h: CHECKED_PTR_OF(type, x)))
asn1.h: # define ASN1_i2d_fp_of_const(type,i2d,out,x) \
asn1.h: (ASN1_i2d_fp(CHECKED_I2D_OF(const type, i2d), \
asn1.h: CHECKED_PTR_OF(const type, x)))
asn1.h: int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x);
asn1.h: int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags);
asn1.h: int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in);
asn1.h: void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x);
asn1.h: # define ASN1_d2i_bio_of(type,xnew,d2i,in,x) \
asn1.h: ((type*)ASN1_d2i_bio( CHECKED_NEW_OF(type, xnew), \
asn1.h: CHECKED_D2I_OF(type, d2i), \
asn1.h: CHECKED_PPTR_OF(type, x)))
asn1.h: void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x);
asn1.h: int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, unsigned char *x);
asn1.h: # define ASN1_i2d_bio_of(type,i2d,out,x) \
asn1.h: (ASN1_i2d_bio(CHECKED_I2D_OF(type, i2d), \
asn1.h: CHECKED_PTR_OF(type, x)))
asn1.h: # define ASN1_i2d_bio_of_const(type,i2d,out,x) \
asn1.h: (ASN1_i2d_bio(CHECKED_I2D_OF(const type, i2d), \
asn1.h: CHECKED_PTR_OF(const type, x)))
asn1.h: int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x);
asn1.h: int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
asn1.h: int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a);
asn1.h: int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a);
asn1.h: int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
asn1.h: int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags);
asn1.h: int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int off);
asn1.h: int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
asn1.h: int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent);
asn1.h: int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent,
asn1.h: const char *ASN1_tag2str(int tag);
asn1.h: int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s);
asn1.h: int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len);
asn1.h: int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len);
asn1.h: int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num,
asn1.h: int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num,
asn1.h: void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it);
asn1.h: ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it,
asn1.h: void ASN1_STRING_set_default_mask(unsigned long mask);
asn1.h: int ASN1_STRING_set_default_mask_asc(const char *p);
asn1.h: unsigned long ASN1_STRING_get_default_mask(void);
asn1.h: int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len,
asn1.h: int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
asn1.h: ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out,
asn1.h: ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid);
asn1.h: int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long);
asn1.h: void ASN1_STRING_TABLE_cleanup(void);
asn1.h: ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
asn1.h: void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
asn1.h: ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
asn1.h: int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
asn1.h: int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out,
asn1.h: void ASN1_add_oid_module(void);
asn1.h: void ASN1_add_stable_module(void);
asn1.h: ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);
asn1.h: ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf);
asn1.h: int ASN1_str2mask(const char *str, unsigned long *pmask);
asn1.h: # define ASN1_PCTX_FLAGS_SHOW_ABSENT 0x001
asn1.h: # define ASN1_PCTX_FLAGS_SHOW_SEQUENCE 0x002
asn1.h: # define ASN1_PCTX_FLAGS_SHOW_SSOF 0x004
asn1.h: # define ASN1_PCTX_FLAGS_SHOW_TYPE 0x008
asn1.h: # define ASN1_PCTX_FLAGS_NO_ANY_TYPE 0x010
asn1.h: # define ASN1_PCTX_FLAGS_NO_MSTRING_TYPE 0x020
asn1.h: # define ASN1_PCTX_FLAGS_NO_FIELD_NAME 0x040
asn1.h: # define ASN1_PCTX_FLAGS_SHOW_FIELD_STRUCT_NAME 0x080
asn1.h: # define ASN1_PCTX_FLAGS_NO_STRUCT_NAME 0x100
asn1.h: int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
asn1.h: ASN1_PCTX *ASN1_PCTX_new(void);
asn1.h: void ASN1_PCTX_free(ASN1_PCTX *p);
asn1.h: unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p);
asn1.h: void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags);
asn1.h: unsigned long ASN1_PCTX_get_nm_flags(const ASN1_PCTX *p);
asn1.h: void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags);
asn1.h: unsigned long ASN1_PCTX_get_cert_flags(const ASN1_PCTX *p);
asn1.h: void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags);
asn1.h: unsigned long ASN1_PCTX_get_oid_flags(const ASN1_PCTX *p);
asn1.h: void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags);
asn1.h: unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p);
asn1.h: void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags);
asn1.h: ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx));
asn1.h: void ASN1_SCTX_free(ASN1_SCTX *p);
asn1.h: const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p);
asn1.h: const ASN1_TEMPLATE *ASN1_SCTX_get_template(ASN1_SCTX *p);
asn1.h: unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p);
asn1.h: void ASN1_SCTX_set_app_data(ASN1_SCTX *p, void *data);
asn1.h: void *ASN1_SCTX_get_app_data(ASN1_SCTX *p);
asn1.h: const BIO_METHOD *BIO_f_asn1(void);
asn1.h: BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it);
asn1.h: int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
asn1.h: int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
asn1.h: int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
asn1.h: STACK_OF(X509_ALGOR) *mdalgs, const ASN1_ITEM *it);
asn1.h: ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
asn1.h: int SMIME_crlf_copy(BIO *in, BIO *out, int flags);
asn1.h: int SMIME_text(BIO *in, BIO *out);
asn1.h: const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
asn1.h: const ASN1_ITEM *ASN1_ITEM_get(size_t i);
asn1_mac.h: * Licensed under the OpenSSL license (the "License"). You may not use
asn1t.h: * Licensed under the OpenSSL license (the "License"). You may not use
asn1t.h: # define HEADER_ASN1T_H
asn1t.h: # define OPENSSL_EXTERN OPENSSL_EXPORT
asn1t.h: /* Macro to obtain ASN1_ADB pointer from a type (only used internally) */
asn1t.h: # define ASN1_ADB_ptr(iptr) ((const ASN1_ADB *)(iptr))
asn1t.h: # define ASN1_ITEM_start(itname) \
asn1t.h: # define static_ASN1_ITEM_start(itname) \
asn1t.h: # define ASN1_ITEM_end(itname) \
asn1t.h: /* Macro to obtain ASN1_ADB pointer from a type (only used internally) */
asn1t.h: # define ASN1_ADB_ptr(iptr) ((const ASN1_ADB *)((iptr)()))
asn1t.h: # define ASN1_ITEM_start(itname) \
asn1t.h: const ASN1_ITEM * itname##_it(void) \
asn1t.h: # define static_ASN1_ITEM_start(itname) \
asn1t.h: static ASN1_ITEM_start(itname)
asn1t.h: # define ASN1_ITEM_end(itname) \
asn1t.h: # define ASN1_ITEM_TEMPLATE(tname) \
asn1t.h: # define ASN1_ITEM_TEMPLATE_END(tname) \
asn1t.h: ASN1_ITEM_start(tname) \
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define static_ASN1_ITEM_TEMPLATE_END(tname) \
asn1t.h: static_ASN1_ITEM_start(tname) \
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: * ASN1_SEQUENCE(stname) = {
asn1t.h: * } ASN1_SEQUENCE_END(stname)
asn1t.h: * ASN1_SEQUENCE(itname) = {
asn1t.h: * } ASN1_SEQUENCE_END_name(stname, itname)
asn1t.h: # define ASN1_SEQUENCE(tname) \
asn1t.h: # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
asn1t.h: # define static_ASN1_SEQUENCE_END(stname) static_ASN1_SEQUENCE_END_name(stname, stname)
asn1t.h: # define ASN1_SEQUENCE_END_name(stname, tname) \
asn1t.h: ASN1_ITEM_start(tname) \
asn1t.h: sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define static_ASN1_SEQUENCE_END_name(stname, tname) \
asn1t.h: static_ASN1_ITEM_start(tname) \
asn1t.h: sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define ASN1_NDEF_SEQUENCE(tname) \
asn1t.h: ASN1_SEQUENCE(tname)
asn1t.h: # define ASN1_NDEF_SEQUENCE_cb(tname, cb) \
asn1t.h: ASN1_SEQUENCE_cb(tname, cb)
asn1t.h: # define ASN1_SEQUENCE_cb(tname, cb) \
asn1t.h: ASN1_SEQUENCE(tname)
asn1t.h: # define ASN1_BROKEN_SEQUENCE(tname) \
asn1t.h: ASN1_SEQUENCE(tname)
asn1t.h: # define ASN1_SEQUENCE_ref(tname, cb) \
asn1t.h: static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), offsetof(tname, lock), cb, 0}; \
asn1t.h: ASN1_SEQUENCE(tname)
asn1t.h: # define ASN1_SEQUENCE_enc(tname, enc, cb) \
asn1t.h: static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_ENCODING, 0, 0, cb, offsetof(tname, enc)}; \
asn1t.h: ASN1_SEQUENCE(tname)
asn1t.h: # define ASN1_NDEF_SEQUENCE_END(tname) \
asn1t.h: ASN1_ITEM_start(tname) \
asn1t.h: sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(tname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define static_ASN1_NDEF_SEQUENCE_END(tname) \
asn1t.h: static_ASN1_ITEM_start(tname) \
asn1t.h: sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(tname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define ASN1_BROKEN_SEQUENCE_END(stname) ASN1_SEQUENCE_END_ref(stname, stname)
asn1t.h: # define static_ASN1_BROKEN_SEQUENCE_END(stname) \
asn1t.h: static_ASN1_SEQUENCE_END_ref(stname, stname)
asn1t.h: # define ASN1_SEQUENCE_END_enc(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname)
asn1t.h: # define ASN1_SEQUENCE_END_cb(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname)
asn1t.h: # define static_ASN1_SEQUENCE_END_cb(stname, tname) static_ASN1_SEQUENCE_END_ref(stname, tname)
asn1t.h: # define ASN1_SEQUENCE_END_ref(stname, tname) \
asn1t.h: ASN1_ITEM_start(tname) \
asn1t.h: sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define static_ASN1_SEQUENCE_END_ref(stname, tname) \
asn1t.h: static_ASN1_ITEM_start(tname) \
asn1t.h: sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define ASN1_NDEF_SEQUENCE_END_cb(stname, tname) \
asn1t.h: ASN1_ITEM_start(tname) \
asn1t.h: sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: * ASN1_CHOICE(chname) = {
asn1t.h: * ASN1_CHOICE_END(chname)
asn1t.h: * typedef struct {
asn1t.h: * ASN1_CHOICE_END_selector() version.
asn1t.h: # define ASN1_CHOICE(tname) \
asn1t.h: # define ASN1_CHOICE_cb(tname, cb) \
asn1t.h: ASN1_CHOICE(tname)
asn1t.h: # define ASN1_CHOICE_END(stname) ASN1_CHOICE_END_name(stname, stname)
asn1t.h: # define static_ASN1_CHOICE_END(stname) static_ASN1_CHOICE_END_name(stname, stname)
asn1t.h: # define ASN1_CHOICE_END_name(stname, tname) ASN1_CHOICE_END_selector(stname, tname, type)
asn1t.h: # define static_ASN1_CHOICE_END_name(stname, tname) static_ASN1_CHOICE_END_selector(stname, tname, type)
asn1t.h: # define ASN1_CHOICE_END_selector(stname, tname, selname) \
asn1t.h: ASN1_ITEM_start(tname) \
asn1t.h: offsetof(stname,selname) ,\
asn1t.h: sizeof(tname##_ch_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define static_ASN1_CHOICE_END_selector(stname, tname, selname) \
asn1t.h: static_ASN1_ITEM_start(tname) \
asn1t.h: offsetof(stname,selname) ,\
asn1t.h: sizeof(tname##_ch_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define ASN1_CHOICE_END_cb(stname, tname, selname) \
asn1t.h: ASN1_ITEM_start(tname) \
asn1t.h: offsetof(stname,selname) ,\
asn1t.h: sizeof(tname##_ch_tt) / sizeof(ASN1_TEMPLATE),\
asn1t.h: sizeof(stname),\
asn1t.h: ASN1_ITEM_end(tname)
asn1t.h: # define ASN1_EX_TEMPLATE_TYPE(flags, tag, name, type) { \
asn1t.h: (flags), (tag), 0,\
asn1t.h: #name, ASN1_ITEM_ref(type) }
asn1t.h: # define ASN1_EX_TYPE(flags, tag, stname, field, type) { \
asn1t.h: (flags), (tag), offsetof(stname, field),\
asn1t.h: #field, ASN1_ITEM_ref(type) }
asn1t.h: # define ASN1_IMP_EX(stname, field, type, tag, ex) \
asn1t.h: ASN1_EX_TYPE(ASN1_TFLG_IMPLICIT | (ex), tag, stname, field, type)
asn1t.h: # define ASN1_EXP_EX(stname, field, type, tag, ex) \
asn1t.h: ASN1_EX_TYPE(ASN1_TFLG_EXPLICIT | (ex), tag, stname, field, type)
asn1t.h: # define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
asn1t.h: # define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
asn1t.h: # define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, tblname##_adb }
asn1t.h: # define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, tblname##_adb }
asn1t.h: # define ASN1_SIMPLE(stname, field, type) ASN1_EX_TYPE(0,0, stname, field, type)
asn1t.h: # define ASN1_EMBED(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_EMBED,0, stname, field, type)
asn1t.h: # define ASN1_OPT(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_OPTIONAL, 0, stname, field, type)
asn1t.h: # define ASN1_OPT_EMBED(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_OPTIONAL|ASN1_TFLG_EMBED, 0, stname, field, type)
asn1t.h: # define ASN1_IMP(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, 0)
asn1t.h: # define ASN1_IMP_EMBED(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_EMBED)
asn1t.h: # define ASN1_IMP_OPT(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_OPTIONAL)
asn1t.h: # define ASN1_IMP_OPT_EMBED(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_OPTIONAL|ASN1_TFLG_EMBED)
asn1t.h: # define ASN1_EXP(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, 0)
asn1t.h: # define ASN1_EXP_EMBED(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_EMBED)
asn1t.h: # define ASN1_EXP_OPT(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_OPTIONAL)
asn1t.h: # define ASN1_EXP_OPT_EMBED(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_OPTIONAL|ASN1_TFLG_EMBED)
asn1t.h: # define ASN1_SEQUENCE_OF(stname, field, type) \
asn1t.h: ASN1_EX_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, stname, field, type)
asn1t.h: # define ASN1_SEQUENCE_OF_OPT(stname, field, type) \
asn1t.h: ASN1_EX_TYPE(ASN1_TFLG_SEQUENCE_OF|ASN1_TFLG_OPTIONAL, 0, stname, field, type)
asn1t.h: # define ASN1_SET_OF(stname, field, type) \
asn1t.h: ASN1_EX_TYPE(ASN1_TFLG_SET_OF, 0, stname, field, type)
asn1t.h: # define ASN1_SET_OF_OPT(stname, field, type) \
asn1t.h: ASN1_EX_TYPE(ASN1_TFLG_SET_OF|ASN1_TFLG_OPTIONAL, 0, stname, field, type)
asn1t.h: # define ASN1_IMP_SET_OF(stname, field, type, tag) \
asn1t.h: ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF)
asn1t.h: # define ASN1_EXP_SET_OF(stname, field, type, tag) \
asn1t.h: ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF)
asn1t.h: # define ASN1_IMP_SET_OF_OPT(stname, field, type, tag) \
asn1t.h: ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF|ASN1_TFLG_OPTIONAL)
asn1t.h: # define ASN1_EXP_SET_OF_OPT(stname, field, type, tag) \
asn1t.h: ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF|ASN1_TFLG_OPTIONAL)
asn1t.h: # define ASN1_IMP_SEQUENCE_OF(stname, field, type, tag) \
asn1t.h: ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF)
asn1t.h: # define ASN1_IMP_SEQUENCE_OF_OPT(stname, field, type, tag) \
asn1t.h: ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF|ASN1_TFLG_OPTIONAL)
asn1t.h: # define ASN1_EXP_SEQUENCE_OF(stname, field, type, tag) \
asn1t.h: ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF)
asn1t.h: # define ASN1_EXP_SEQUENCE_OF_OPT(stname, field, type, tag) \
asn1t.h: ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF|ASN1_TFLG_OPTIONAL)
asn1t.h: # define ASN1_NDEF_EXP(stname, field, type, tag) \
asn1t.h: ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_NDEF)
asn1t.h: # define ASN1_NDEF_EXP_OPT(stname, field, type, tag) \
asn1t.h: ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_OPTIONAL|ASN1_TFLG_NDEF)
asn1t.h: # define ASN1_ADB(name) \
asn1t.h: # define ASN1_ADB_END(name, flags, field, adb_cb, def, none) \
asn1t.h: offsetof(name, field),\
asn1t.h: sizeof(name##_adbtbl) / sizeof(ASN1_ADB_TABLE),\
asn1t.h: # define ASN1_ADB_END(name, flags, field, adb_cb, def, none) \
asn1t.h: static const ASN1_ITEM *name##_adb(void) \
asn1t.h: offsetof(name, field),\
asn1t.h: sizeof(name##_adbtbl) / sizeof(ASN1_ADB_TABLE),\
asn1t.h: return (const ASN1_ITEM *) &internal_adb; \
asn1t.h: void dummy_function(void)
asn1t.h: # define ADB_ENTRY(val, template) {val, template}
asn1t.h: # define ASN1_ADB_TEMPLATE(name) \
asn1t.h: struct ASN1_TEMPLATE_st {
asn1t.h: # define ASN1_TEMPLATE_item(t) (t->item_ptr)
asn1t.h: # define ASN1_TEMPLATE_adb(t) (t->item_ptr)
asn1t.h: typedef struct ASN1_ADB_TABLE_st ASN1_ADB_TABLE;
asn1t.h: typedef struct ASN1_ADB_st ASN1_ADB;
asn1t.h: struct ASN1_ADB_st {
asn1t.h: int (*adb_cb)(long *psel); /* Application callback */
asn1t.h: struct ASN1_ADB_TABLE_st {
asn1t.h: # define ASN1_TFLG_OPTIONAL (0x1)
asn1t.h: # define ASN1_TFLG_SET_OF (0x1 << 1)
asn1t.h: # define ASN1_TFLG_SEQUENCE_OF (0x2 << 1)
asn1t.h: # define ASN1_TFLG_SET_ORDER (0x3 << 1)
asn1t.h: # define ASN1_TFLG_SK_MASK (0x3 << 1)
asn1t.h: # define ASN1_TFLG_IMPTAG (0x1 << 3)
asn1t.h: # define ASN1_TFLG_EXPTAG (0x2 << 3)
asn1t.h: # define ASN1_TFLG_TAG_MASK (0x3 << 3)
asn1t.h: # define ASN1_TFLG_IMPLICIT (ASN1_TFLG_IMPTAG|ASN1_TFLG_CONTEXT)
asn1t.h: # define ASN1_TFLG_EXPLICIT (ASN1_TFLG_EXPTAG|ASN1_TFLG_CONTEXT)
asn1t.h: # define ASN1_TFLG_UNIVERSAL (0x0<<6)
asn1t.h: # define ASN1_TFLG_APPLICATION (0x1<<6)
asn1t.h: # define ASN1_TFLG_CONTEXT (0x2<<6)
asn1t.h: # define ASN1_TFLG_PRIVATE (0x3<<6)
asn1t.h: # define ASN1_TFLG_TAG_CLASS (0x3<<6)
asn1t.h: # define ASN1_TFLG_ADB_MASK (0x3<<8)
asn1t.h: # define ASN1_TFLG_ADB_OID (0x1<<8)
asn1t.h: # define ASN1_TFLG_ADB_INT (0x1<<9)
asn1t.h: # define ASN1_TFLG_NDEF (0x1<<11)
asn1t.h: # define ASN1_TFLG_EMBED (0x1 << 12)
asn1t.h: struct ASN1_ITEM_st {
asn1t.h: long size; /* Structure size (usually) */
asn1t.h: * to each possible member (typically a union)
asn1t.h: # define ASN1_ITYPE_PRIMITIVE 0x0
asn1t.h: # define ASN1_ITYPE_SEQUENCE 0x1
asn1t.h: # define ASN1_ITYPE_CHOICE 0x2
asn1t.h: # define ASN1_ITYPE_EXTERN 0x4
asn1t.h: # define ASN1_ITYPE_MSTRING 0x5
asn1t.h: # define ASN1_ITYPE_NDEF_SEQUENCE 0x6
asn1t.h: struct ASN1_TLC_st {
asn1t.h: typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
asn1t.h: typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
asn1t.h: typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
asn1t.h: typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
asn1t.h: typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval,
asn1t.h: typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont,
asn1t.h: typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont,
asn1t.h: typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval,
asn1t.h: typedef struct ASN1_EXTERN_FUNCS_st {
asn1t.h: typedef struct ASN1_PRIMITIVE_FUNCS_st {
asn1t.h: typedef int ASN1_aux_cb(int operation, ASN1_VALUE **in, const ASN1_ITEM *it,
asn1t.h: typedef struct ASN1_AUX_st {
asn1t.h: typedef struct ASN1_PRINT_ARG_st {
asn1t.h: typedef struct ASN1_STREAM_ARG_st {
asn1t.h: # define ASN1_AFLG_REFCOUNT 1
asn1t.h: /* Save the encoding of structure (useful for signatures) */
asn1t.h: # define ASN1_AFLG_ENCODING 2
asn1t.h: # define ASN1_AFLG_BROKEN 4
asn1t.h: # define ASN1_OP_NEW_PRE 0
asn1t.h: # define ASN1_OP_NEW_POST 1
asn1t.h: # define ASN1_OP_FREE_PRE 2
asn1t.h: # define ASN1_OP_FREE_POST 3
asn1t.h: # define ASN1_OP_D2I_PRE 4
asn1t.h: # define ASN1_OP_D2I_POST 5
asn1t.h: # define ASN1_OP_I2D_PRE 6
asn1t.h: # define ASN1_OP_I2D_POST 7
asn1t.h: # define ASN1_OP_PRINT_PRE 8
asn1t.h: # define ASN1_OP_PRINT_POST 9
asn1t.h: # define ASN1_OP_STREAM_PRE 10
asn1t.h: # define ASN1_OP_STREAM_POST 11
asn1t.h: # define ASN1_OP_DETACHED_PRE 12
asn1t.h: # define ASN1_OP_DETACHED_POST 13
asn1t.h: # define IMPLEMENT_ASN1_TYPE(stname) IMPLEMENT_ASN1_TYPE_ex(stname, stname, 0)
asn1t.h: # define IMPLEMENT_ASN1_TYPE_ex(itname, vname, ex) \
asn1t.h: ASN1_ITEM_start(itname) \
asn1t.h: ASN1_ITEM_end(itname)
asn1t.h: # define IMPLEMENT_ASN1_MSTRING(itname, mask) \
asn1t.h: ASN1_ITEM_start(itname) \
asn1t.h: ASN1_ITYPE_MSTRING, mask, NULL, 0, NULL, sizeof(ASN1_STRING), #itname \
asn1t.h: ASN1_ITEM_end(itname)
asn1t.h: # define IMPLEMENT_EXTERN_ASN1(sname, tag, fptrs) \
asn1t.h: ASN1_ITEM_start(sname) \
asn1t.h: ASN1_ITEM_end(sname)
asn1t.h: # define IMPLEMENT_ASN1_FUNCTIONS(stname) IMPLEMENT_ASN1_FUNCTIONS_fname(stname, stname, stname)
asn1t.h: # define IMPLEMENT_ASN1_FUNCTIONS_name(stname, itname) IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname, itname)
asn1t.h: # define IMPLEMENT_ASN1_FUNCTIONS_ENCODE_name(stname, itname) \
asn1t.h: IMPLEMENT_ASN1_FUNCTIONS_ENCODE_fname(stname, itname, itname)
asn1t.h: # define IMPLEMENT_STATIC_ASN1_ALLOC_FUNCTIONS(stname) \
asn1t.h: IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname(static, stname, stname, stname)
asn1t.h: # define IMPLEMENT_ASN1_ALLOC_FUNCTIONS(stname) \
asn1t.h: IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, stname, stname)
asn1t.h: # define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname(pre, stname, itname, fname) \
asn1t.h: pre stname *fname##_new(void) \
asn1t.h: return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
asn1t.h: pre void fname##_free(stname *a) \
asn1t.h: ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
asn1t.h: # define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname) \
asn1t.h: stname *fname##_new(void) \
asn1t.h: return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
asn1t.h: void fname##_free(stname *a) \
asn1t.h: ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
asn1t.h: # define IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname, fname) \
asn1t.h: IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(stname, itname, fname) \
asn1t.h: IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname)
asn1t.h: # define IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(stname, itname, fname) \
asn1t.h: stname *d2i_##fname(stname **a, const unsigned char **in, long len) \
asn1t.h: return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
asn1t.h: int i2d_##fname(stname *a, unsigned char **out) \
asn1t.h: return ASN1_item_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(itname));\
asn1t.h: # define IMPLEMENT_ASN1_NDEF_FUNCTION(stname) \
asn1t.h: int i2d_##stname##_NDEF(stname *a, unsigned char **out) \
asn1t.h: return ASN1_item_ndef_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(stname));\
asn1t.h: # define IMPLEMENT_STATIC_ASN1_ENCODE_FUNCTIONS(stname) \
asn1t.h: static stname *d2i_##stname(stname **a, \
asn1t.h: return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, \
asn1t.h: ASN1_ITEM_rptr(stname)); \
asn1t.h: static int i2d_##stname(stname *a, unsigned char **out) \
asn1t.h: return ASN1_item_i2d((ASN1_VALUE *)a, out, \
asn1t.h: ASN1_ITEM_rptr(stname)); \
asn1t.h: # define IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \
asn1t.h: stname *d2i_##fname(stname **a, const unsigned char **in, long len) \
asn1t.h: return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
asn1t.h: int i2d_##fname(const stname *a, unsigned char **out) \
asn1t.h: return ASN1_item_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(itname));\
asn1t.h: # define IMPLEMENT_ASN1_DUP_FUNCTION(stname) \
asn1t.h: stname * stname##_dup(stname *x) \
asn1t.h: return ASN1_item_dup(ASN1_ITEM_rptr(stname), x); \
asn1t.h: # define IMPLEMENT_ASN1_PRINT_FUNCTION(stname) \
asn1t.h: IMPLEMENT_ASN1_PRINT_FUNCTION_fname(stname, stname, stname)
asn1t.h: # define IMPLEMENT_ASN1_PRINT_FUNCTION_fname(stname, itname, fname) \
asn1t.h: int fname##_print_ctx(BIO *out, stname *x, int indent, \
asn1t.h: return ASN1_item_print(out, (ASN1_VALUE *)x, indent, \
asn1t.h: ASN1_ITEM_rptr(itname), pctx); \
asn1t.h: # define IMPLEMENT_ASN1_FUNCTIONS_const(name) \
asn1t.h: IMPLEMENT_ASN1_FUNCTIONS_const_fname(name, name, name)
asn1t.h: # define IMPLEMENT_ASN1_FUNCTIONS_const_fname(stname, itname, fname) \
asn1t.h: IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \
asn1t.h: IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname)
asn1t.h: DECLARE_ASN1_ITEM(ASN1_BOOLEAN)
asn1t.h: DECLARE_ASN1_ITEM(ASN1_TBOOLEAN)
asn1t.h: DECLARE_ASN1_ITEM(ASN1_FBOOLEAN)
asn1t.h: DECLARE_ASN1_ITEM(ASN1_SEQUENCE)
asn1t.h: DECLARE_ASN1_ITEM(CBIGNUM)
asn1t.h: DECLARE_ASN1_ITEM(BIGNUM)
asn1t.h: DECLARE_ASN1_ITEM(INT32)
asn1t.h: DECLARE_ASN1_ITEM(ZINT32)
asn1t.h: DECLARE_ASN1_ITEM(UINT32)
asn1t.h: DECLARE_ASN1_ITEM(ZUINT32)
asn1t.h: DECLARE_ASN1_ITEM(INT64)
asn1t.h: DECLARE_ASN1_ITEM(ZINT64)
asn1t.h: DECLARE_ASN1_ITEM(UINT64)
asn1t.h: DECLARE_ASN1_ITEM(ZUINT64)
asn1t.h: * underlying C type (long) differs in size depending on the architecture.
asn1t.h: DECLARE_ASN1_ITEM(LONG)
asn1t.h: DECLARE_ASN1_ITEM(ZLONG)
asn1t.h: DEFINE_STACK_OF(ASN1_VALUE)
asn1t.h: int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
asn1t.h: void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
asn1t.h: int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
asn1t.h: int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
asyncerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
asyncerr.h: # define HEADER_ASYNCERR_H
asyncerr.h: int ERR_load_ASYNC_strings(void);
asyncerr.h: # define ASYNC_F_ASYNC_CTX_NEW 100
asyncerr.h: # define ASYNC_F_ASYNC_INIT_THREAD 101
asyncerr.h: # define ASYNC_F_ASYNC_JOB_NEW 102
asyncerr.h: # define ASYNC_F_ASYNC_PAUSE_JOB 103
asyncerr.h: # define ASYNC_F_ASYNC_START_FUNC 104
asyncerr.h: # define ASYNC_F_ASYNC_START_JOB 105
asyncerr.h: # define ASYNC_R_FAILED_TO_SET_POOL 101
asyncerr.h: # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
asyncerr.h: # define ASYNC_R_INIT_FAILED 105
asyncerr.h: # define ASYNC_R_INVALID_POOL_SIZE 103
async.h: * Licensed under the OpenSSL license (the "License"). You may not use
async.h: # define HEADER_ASYNC_H
async.h: #if defined(_WIN32)
async.h: # if defined(BASETYPES) || defined(_WINDEF_H)
async.h: typedef struct async_job_st ASYNC_JOB;
async.h: typedef struct async_wait_ctx_st ASYNC_WAIT_CTX;
async.h: int ASYNC_init_thread(size_t max_size, size_t init_size);
async.h: void ASYNC_cleanup_thread(void);
async.h: ASYNC_WAIT_CTX *ASYNC_WAIT_CTX_new(void);
async.h: void ASYNC_WAIT_CTX_free(ASYNC_WAIT_CTX *ctx);
async.h: int ASYNC_WAIT_CTX_set_wait_fd(ASYNC_WAIT_CTX *ctx, const void *key,
async.h: void (*cleanup)(ASYNC_WAIT_CTX *, const void *,
async.h: int ASYNC_WAIT_CTX_get_fd(ASYNC_WAIT_CTX *ctx, const void *key,
async.h: int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd,
async.h: int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd,
async.h: int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key);
async.h: int ASYNC_is_capable(void);
async.h: int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *ctx, int *ret,
async.h: int (*func)(void *), void *args, size_t size);
async.h: int ASYNC_pause_job(void);
async.h: ASYNC_JOB *ASYNC_get_current_job(void);
async.h: ASYNC_WAIT_CTX *ASYNC_get_wait_ctx(ASYNC_JOB *job);
async.h: void ASYNC_block_pause(void);
async.h: void ASYNC_unblock_pause(void);
bioerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
bioerr.h: # define HEADER_BIOERR_H
bioerr.h: int ERR_load_BIO_strings(void);
bioerr.h: # define BIO_F_ACPT_STATE 100
bioerr.h: # define BIO_F_ADDR_STRINGS 134
bioerr.h: # define BIO_F_BIO_ACCEPT 101
bioerr.h: # define BIO_F_BIO_ACCEPT_EX 137
bioerr.h: # define BIO_F_BIO_ADDR_NEW 144
bioerr.h: # define BIO_F_BIO_BIND 147
bioerr.h: # define BIO_F_BIO_CALLBACK_CTRL 131
bioerr.h: # define BIO_F_BIO_CONNECT 138
bioerr.h: # define BIO_F_BIO_CTRL 103
bioerr.h: # define BIO_F_BIO_GETS 104
bioerr.h: # define BIO_F_BIO_GET_HOST_IP 106
bioerr.h: # define BIO_F_BIO_GET_NEW_INDEX 102
bioerr.h: # define BIO_F_BIO_GET_PORT 107
bioerr.h: # define BIO_F_BIO_LISTEN 139
bioerr.h: # define BIO_F_BIO_LOOKUP 135
bioerr.h: # define BIO_F_BIO_LOOKUP_EX 143
bioerr.h: # define BIO_F_BIO_MAKE_PAIR 121
bioerr.h: # define BIO_F_BIO_METH_NEW 146
bioerr.h: # define BIO_F_BIO_NEW 108
bioerr.h: # define BIO_F_BIO_NEW_DGRAM_SCTP 145
bioerr.h: # define BIO_F_BIO_NEW_FILE 109
bioerr.h: # define BIO_F_BIO_NEW_MEM_BUF 126
bioerr.h: # define BIO_F_BIO_NREAD 123
bioerr.h: # define BIO_F_BIO_NREAD0 124
bioerr.h: # define BIO_F_BIO_NWRITE 125
bioerr.h: # define BIO_F_BIO_NWRITE0 122
bioerr.h: # define BIO_F_BIO_PARSE_HOSTSERV 136
bioerr.h: # define BIO_F_BIO_PUTS 110
bioerr.h: # define BIO_F_BIO_READ 111
bioerr.h: # define BIO_F_BIO_READ_EX 105
bioerr.h: # define BIO_F_BIO_READ_INTERN 120
bioerr.h: # define BIO_F_BIO_SOCKET 140
bioerr.h: # define BIO_F_BIO_SOCKET_NBIO 142
bioerr.h: # define BIO_F_BIO_SOCK_INFO 141
bioerr.h: # define BIO_F_BIO_SOCK_INIT 112
bioerr.h: # define BIO_F_BIO_WRITE 113
bioerr.h: # define BIO_F_BIO_WRITE_EX 119
bioerr.h: # define BIO_F_BIO_WRITE_INTERN 128
bioerr.h: # define BIO_F_BUFFER_CTRL 114
bioerr.h: # define BIO_F_CONN_CTRL 127
bioerr.h: # define BIO_F_CONN_STATE 115
bioerr.h: # define BIO_F_DGRAM_SCTP_READ 132
bioerr.h: # define BIO_F_DGRAM_SCTP_WRITE 133
bioerr.h: # define BIO_F_FILE_CTRL 116
bioerr.h: # define BIO_F_FILE_READ 130
bioerr.h: # define BIO_F_LINEBUFFER_CTRL 129
bioerr.h: # define BIO_F_MEM_WRITE 117
bioerr.h: # define BIO_F_SSL_NEW 118
bioerr.h: # define BIO_R_ACCEPT_ERROR 100
bioerr.h: # define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141
bioerr.h: # define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129
bioerr.h: # define BIO_R_BAD_FOPEN_MODE 101
bioerr.h: # define BIO_R_BROKEN_PIPE 124
bioerr.h: # define BIO_R_CONNECT_ERROR 103
bioerr.h: # define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
bioerr.h: # define BIO_R_GETSOCKNAME_ERROR 132
bioerr.h: # define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133
bioerr.h: # define BIO_R_GETTING_SOCKTYPE 134
bioerr.h: # define BIO_R_INVALID_ARGUMENT 125
bioerr.h: # define BIO_R_INVALID_SOCKET 135
bioerr.h: # define BIO_R_IN_USE 123
bioerr.h: # define BIO_R_LENGTH_TOO_LONG 102
bioerr.h: # define BIO_R_LISTEN_V6_ONLY 136
bioerr.h: # define BIO_R_LOOKUP_RETURNED_NOTHING 142
bioerr.h: # define BIO_R_MALFORMED_HOST_OR_SERVICE 130
bioerr.h: # define BIO_R_NBIO_CONNECT_ERROR 110
bioerr.h: # define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143
bioerr.h: # define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144
bioerr.h: # define BIO_R_NO_PORT_DEFINED 113
bioerr.h: # define BIO_R_NO_SUCH_FILE 128
bioerr.h: # define BIO_R_NULL_PARAMETER 115
bioerr.h: # define BIO_R_UNABLE_TO_BIND_SOCKET 117
bioerr.h: # define BIO_R_UNABLE_TO_CREATE_SOCKET 118
bioerr.h: # define BIO_R_UNABLE_TO_KEEPALIVE 137
bioerr.h: # define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
bioerr.h: # define BIO_R_UNABLE_TO_NODELAY 138
bioerr.h: # define BIO_R_UNABLE_TO_REUSEADDR 139
bioerr.h: # define BIO_R_UNAVAILABLE_IP_FAMILY 145
bioerr.h: # define BIO_R_UNINITIALIZED 120
bioerr.h: # define BIO_R_UNKNOWN_INFO_TYPE 140
bioerr.h: # define BIO_R_UNSUPPORTED_IP_FAMILY 146
bioerr.h: # define BIO_R_UNSUPPORTED_METHOD 121
bioerr.h: # define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131
bioerr.h: # define BIO_R_WRITE_TO_READ_ONLY_BIO 126
bioerr.h: # define BIO_R_WSASTARTUP 122
bio.h: * Licensed under the OpenSSL license (the "License"). You may not use
bio.h: # define HEADER_BIO_H
bio.h: # define BIO_TYPE_DESCRIPTOR 0x0100 /* socket, fd, connect or accept */
bio.h: # define BIO_TYPE_FILTER 0x0200
bio.h: # define BIO_TYPE_SOURCE_SINK 0x0400
bio.h: # define BIO_TYPE_NONE 0
bio.h: # define BIO_TYPE_MEM ( 1|BIO_TYPE_SOURCE_SINK)
bio.h: # define BIO_TYPE_FILE ( 2|BIO_TYPE_SOURCE_SINK)
bio.h: # define BIO_TYPE_FD ( 4|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
bio.h: # define BIO_TYPE_SOCKET ( 5|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
bio.h: # define BIO_TYPE_NULL ( 6|BIO_TYPE_SOURCE_SINK)
bio.h: # define BIO_TYPE_SSL ( 7|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_MD ( 8|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_BUFFER ( 9|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_CIPHER (10|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_BASE64 (11|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_CONNECT (12|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
bio.h: # define BIO_TYPE_ACCEPT (13|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
bio.h: # define BIO_TYPE_NBIO_TEST (16|BIO_TYPE_FILTER)/* server proxy BIO */
bio.h: # define BIO_TYPE_NULL_FILTER (17|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_BIO (19|BIO_TYPE_SOURCE_SINK)/* half a BIO pair */
bio.h: # define BIO_TYPE_LINEBUFFER (20|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_DGRAM (21|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
bio.h: # define BIO_TYPE_ASN1 (22|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_COMP (23|BIO_TYPE_FILTER)
bio.h: # define BIO_TYPE_DGRAM_SCTP (24|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
bio.h: * BIO_set_fp(in,stdin,BIO_NOCLOSE);
bio.h: # define BIO_NOCLOSE 0x00
bio.h: # define BIO_CLOSE 0x01
bio.h: * These are used in the following macros and are passed to BIO_ctrl()
bio.h: # define BIO_CTRL_RESET 1/* opt - rewind/zero etc */
bio.h: # define BIO_CTRL_EOF 2/* opt - are we at the eof */
bio.h: # define BIO_CTRL_INFO 3/* opt - extra tit-bits */
bio.h: # define BIO_CTRL_SET 4/* man - set the 'IO' type */
bio.h: # define BIO_CTRL_GET 5/* man - get the 'IO' type */
bio.h: # define BIO_CTRL_PUSH 6/* opt - internal, used to signify change */
bio.h: # define BIO_CTRL_POP 7/* opt - internal, used to signify change */
bio.h: # define BIO_CTRL_GET_CLOSE 8/* man - set the 'close' on free */
bio.h: # define BIO_CTRL_SET_CLOSE 9/* man - set the 'close' on free */
bio.h: # define BIO_CTRL_PENDING 10/* opt - is their more data buffered */
bio.h: # define BIO_CTRL_FLUSH 11/* opt - 'flush' buffered output */
bio.h: # define BIO_CTRL_DUP 12/* man - extra stuff for 'duped' BIO */
bio.h: # define BIO_CTRL_WPENDING 13/* opt - number of bytes still to write */
bio.h: # define BIO_CTRL_SET_CALLBACK 14/* opt - set callback function */
bio.h: # define BIO_CTRL_GET_CALLBACK 15/* opt - set callback function */
bio.h: # define BIO_CTRL_PEEK 29/* BIO_f_buffer special */
bio.h: # define BIO_CTRL_SET_FILENAME 30/* BIO_s_file special */
bio.h: # define BIO_CTRL_DGRAM_CONNECT 31/* BIO dgram special */
bio.h: # define BIO_CTRL_DGRAM_SET_CONNECTED 32/* allow for an externally connected
bio.h: # define BIO_CTRL_DGRAM_SET_RECV_TIMEOUT 33/* setsockopt, essentially */
bio.h: # define BIO_CTRL_DGRAM_GET_RECV_TIMEOUT 34/* getsockopt, essentially */
bio.h: # define BIO_CTRL_DGRAM_SET_SEND_TIMEOUT 35/* setsockopt, essentially */
bio.h: # define BIO_CTRL_DGRAM_GET_SEND_TIMEOUT 36/* getsockopt, essentially */
bio.h: # define BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP 37/* flag whether the last */
bio.h: # define BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP 38/* I/O operation tiemd out */
bio.h: # define BIO_CTRL_DGRAM_MTU_DISCOVER 39/* set DF bit on egress packets */
bio.h: # define BIO_CTRL_DGRAM_QUERY_MTU 40/* as kernel for current MTU */
bio.h: # define BIO_CTRL_DGRAM_GET_FALLBACK_MTU 47
bio.h: # define BIO_CTRL_DGRAM_GET_MTU 41/* get cached value for MTU */
bio.h: # define BIO_CTRL_DGRAM_SET_MTU 42/* set cached value for MTU.
bio.h: # define BIO_CTRL_DGRAM_MTU_EXCEEDED 43/* check whether the MTU was
bio.h: # define BIO_CTRL_DGRAM_GET_PEER 46
bio.h: # define BIO_CTRL_DGRAM_SET_PEER 44/* Destination for the data */
bio.h: # define BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT 45/* Next DTLS handshake timeout
bio.h: # define BIO_CTRL_DGRAM_SET_DONT_FRAG 48
bio.h: # define BIO_CTRL_DGRAM_GET_MTU_OVERHEAD 49
bio.h: # define BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE 50
bio.h: # define BIO_CTRL_DGRAM_SCTP_ADD_AUTH_KEY 51
bio.h: # define BIO_CTRL_DGRAM_SCTP_NEXT_AUTH_KEY 52
bio.h: # define BIO_CTRL_DGRAM_SCTP_AUTH_CCS_RCVD 53
bio.h: # define BIO_CTRL_DGRAM_SCTP_GET_SNDINFO 60
bio.h: # define BIO_CTRL_DGRAM_SCTP_SET_SNDINFO 61
bio.h: # define BIO_CTRL_DGRAM_SCTP_GET_RCVINFO 62
bio.h: # define BIO_CTRL_DGRAM_SCTP_SET_RCVINFO 63
bio.h: # define BIO_CTRL_DGRAM_SCTP_GET_PRINFO 64
bio.h: # define BIO_CTRL_DGRAM_SCTP_SET_PRINFO 65
bio.h: # define BIO_CTRL_DGRAM_SCTP_SAVE_SHUTDOWN 70
bio.h: # define BIO_CTRL_DGRAM_SET_PEEK_MODE 71
bio.h: # define BIO_FP_READ 0x02
bio.h: # define BIO_FP_WRITE 0x04
bio.h: # define BIO_FP_APPEND 0x08
bio.h: # define BIO_FP_TEXT 0x10
bio.h: # define BIO_FLAGS_READ 0x01
bio.h: # define BIO_FLAGS_WRITE 0x02
bio.h: # define BIO_FLAGS_IO_SPECIAL 0x04
bio.h: # define BIO_FLAGS_RWS (BIO_FLAGS_READ|BIO_FLAGS_WRITE|BIO_FLAGS_IO_SPECIAL)
bio.h: # define BIO_FLAGS_SHOULD_RETRY 0x08
bio.h: # define BIO_FLAGS_UPLINK 0
bio.h: # define BIO_FLAGS_BASE64_NO_NL 0x100
bio.h: # define BIO_FLAGS_MEM_RDONLY 0x200
bio.h: # define BIO_FLAGS_NONCLEAR_RST 0x400
bio.h: typedef struct bio_addrinfo_st BIO_ADDRINFO;
bio.h: int BIO_get_new_index(void);
bio.h: void BIO_set_flags(BIO *b, int flags);
bio.h: int BIO_test_flags(const BIO *b, int flags);
bio.h: void BIO_clear_flags(BIO *b, int flags);
bio.h: # define BIO_get_flags(b) BIO_test_flags(b, ~(0x0))
bio.h: # define BIO_set_retry_special(b) \
bio.h: BIO_set_flags(b, (BIO_FLAGS_IO_SPECIAL|BIO_FLAGS_SHOULD_RETRY))
bio.h: # define BIO_set_retry_read(b) \
bio.h: BIO_set_flags(b, (BIO_FLAGS_READ|BIO_FLAGS_SHOULD_RETRY))
bio.h: # define BIO_set_retry_write(b) \
bio.h: BIO_set_flags(b, (BIO_FLAGS_WRITE|BIO_FLAGS_SHOULD_RETRY))
bio.h: # define BIO_clear_retry_flags(b) \
bio.h: BIO_clear_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
bio.h: # define BIO_get_retry_flags(b) \
bio.h: BIO_test_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
bio.h: # define BIO_should_read(a) BIO_test_flags(a, BIO_FLAGS_READ)
bio.h: # define BIO_should_write(a) BIO_test_flags(a, BIO_FLAGS_WRITE)
bio.h: # define BIO_should_io_special(a) BIO_test_flags(a, BIO_FLAGS_IO_SPECIAL)
bio.h: # define BIO_retry_type(a) BIO_test_flags(a, BIO_FLAGS_RWS)
bio.h: # define BIO_should_retry(a) BIO_test_flags(a, BIO_FLAGS_SHOULD_RETRY)
bio.h: * The next three are used in conjunction with the BIO_should_io_special()
bio.h: * condition. After this returns true, BIO *BIO_get_retry_BIO(BIO *bio, int
bio.h: * and the offending BIO. Given a BIO, BIO_get_retry_reason(bio) will return
bio.h: # define BIO_RR_SSL_X509_LOOKUP 0x01
bio.h: # define BIO_RR_CONNECT 0x02
bio.h: # define BIO_RR_ACCEPT 0x03
bio.h: # define BIO_CB_FREE 0x01
bio.h: # define BIO_CB_READ 0x02
bio.h: # define BIO_CB_WRITE 0x03
bio.h: # define BIO_CB_PUTS 0x04
bio.h: # define BIO_CB_GETS 0x05
bio.h: # define BIO_CB_CTRL 0x06
bio.h: # define BIO_CB_RETURN 0x80
bio.h: # define BIO_CB_return(a) ((a)|BIO_CB_RETURN)
bio.h: # define BIO_cb_pre(a) (!((a)&BIO_CB_RETURN))
bio.h: # define BIO_cb_post(a) ((a)&BIO_CB_RETURN)
bio.h: typedef long (*BIO_callback_fn)(BIO *b, int oper, const char *argp, int argi,
bio.h: typedef long (*BIO_callback_fn_ex)(BIO *b, int oper, const char *argp,
bio.h: BIO_callback_fn BIO_get_callback(const BIO *b);
bio.h: void BIO_set_callback(BIO *b, BIO_callback_fn callback);
bio.h: BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b);
bio.h: void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback);
bio.h: char *BIO_get_callback_arg(const BIO *b);
bio.h: void BIO_set_callback_arg(BIO *b, char *arg);
bio.h: typedef struct bio_method_st BIO_METHOD;
bio.h: const char *BIO_method_name(const BIO *b);
bio.h: int BIO_method_type(const BIO *b);
bio.h: typedef int BIO_info_cb(BIO *, int, int);
bio.h: DEFINE_STACK_OF(BIO)
bio.h: typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen,
bio.h: struct bio_dgram_sctp_sndinfo {
bio.h: struct bio_dgram_sctp_rcvinfo {
bio.h: struct bio_dgram_sctp_prinfo {
bio.h: # define BIO_C_SET_CONNECT 100
bio.h: # define BIO_C_DO_STATE_MACHINE 101
bio.h: # define BIO_C_SET_NBIO 102
bio.h: /* # define BIO_C_SET_PROXY_PARAM 103 */
bio.h: # define BIO_C_SET_FD 104
bio.h: # define BIO_C_GET_FD 105
bio.h: # define BIO_C_SET_FILE_PTR 106
bio.h: # define BIO_C_GET_FILE_PTR 107
bio.h: # define BIO_C_SET_FILENAME 108
bio.h: # define BIO_C_SET_SSL 109
bio.h: # define BIO_C_GET_SSL 110
bio.h: # define BIO_C_SET_MD 111
bio.h: # define BIO_C_GET_MD 112
bio.h: # define BIO_C_GET_CIPHER_STATUS 113
bio.h: # define BIO_C_SET_BUF_MEM 114
bio.h: # define BIO_C_GET_BUF_MEM_PTR 115
bio.h: # define BIO_C_GET_BUFF_NUM_LINES 116
bio.h: # define BIO_C_SET_BUFF_SIZE 117
bio.h: # define BIO_C_SET_ACCEPT 118
bio.h: # define BIO_C_SSL_MODE 119
bio.h: # define BIO_C_GET_MD_CTX 120
bio.h: /* # define BIO_C_GET_PROXY_PARAM 121 */
bio.h: # define BIO_C_SET_BUFF_READ_DATA 122/* data to read first */
bio.h: # define BIO_C_GET_CONNECT 123
bio.h: # define BIO_C_GET_ACCEPT 124
bio.h: # define BIO_C_SET_SSL_RENEGOTIATE_BYTES 125
bio.h: # define BIO_C_GET_SSL_NUM_RENEGOTIATES 126
bio.h: # define BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT 127
bio.h: # define BIO_C_FILE_SEEK 128
bio.h: # define BIO_C_GET_CIPHER_CTX 129
bio.h: # define BIO_C_SET_BUF_MEM_EOF_RETURN 130/* return end of input
bio.h: # define BIO_C_SET_BIND_MODE 131
bio.h: # define BIO_C_GET_BIND_MODE 132
bio.h: # define BIO_C_FILE_TELL 133
bio.h: # define BIO_C_GET_SOCKS 134
bio.h: # define BIO_C_SET_SOCKS 135
bio.h: # define BIO_C_SET_WRITE_BUF_SIZE 136/* for BIO_s_bio */
bio.h: # define BIO_C_GET_WRITE_BUF_SIZE 137
bio.h: # define BIO_C_MAKE_BIO_PAIR 138
bio.h: # define BIO_C_DESTROY_BIO_PAIR 139
bio.h: # define BIO_C_GET_WRITE_GUARANTEE 140
bio.h: # define BIO_C_GET_READ_REQUEST 141
bio.h: # define BIO_C_SHUTDOWN_WR 142
bio.h: # define BIO_C_NREAD0 143
bio.h: # define BIO_C_NREAD 144
bio.h: # define BIO_C_NWRITE0 145
bio.h: # define BIO_C_NWRITE 146
bio.h: # define BIO_C_RESET_READ_REQUEST 147
bio.h: # define BIO_C_SET_MD_CTX 148
bio.h: # define BIO_C_SET_PREFIX 149
bio.h: # define BIO_C_GET_PREFIX 150
bio.h: # define BIO_C_SET_SUFFIX 151
bio.h: # define BIO_C_GET_SUFFIX 152
bio.h: # define BIO_C_SET_EX_ARG 153
bio.h: # define BIO_C_GET_EX_ARG 154
bio.h: # define BIO_C_SET_CONNECT_MODE 155
bio.h: # define BIO_set_app_data(s,arg) BIO_set_ex_data(s,0,arg)
bio.h: # define BIO_get_app_data(s) BIO_get_ex_data(s,0)
bio.h: # define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL)
bio.h: /* IP families we support, for BIO_s_connect() and BIO_s_accept() */
bio.h: # define BIO_FAMILY_IPV4 4
bio.h: # define BIO_FAMILY_IPV6 6
bio.h: # define BIO_FAMILY_IPANY 256
bio.h: /* BIO_s_connect() */
bio.h: # define BIO_set_conn_hostname(b,name) BIO_ctrl(b,BIO_C_SET_CONNECT,0, \
bio.h: (char *)(name))
bio.h: # define BIO_set_conn_port(b,port) BIO_ctrl(b,BIO_C_SET_CONNECT,1, \
bio.h: (char *)(port))
bio.h: # define BIO_set_conn_address(b,addr) BIO_ctrl(b,BIO_C_SET_CONNECT,2, \
bio.h: (char *)(addr))
bio.h: # define BIO_set_conn_ip_family(b,f) BIO_int_ctrl(b,BIO_C_SET_CONNECT,3,f)
bio.h: # define BIO_get_conn_hostname(b) ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,0))
bio.h: # define BIO_get_conn_port(b) ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,1))
bio.h: # define BIO_get_conn_address(b) ((const BIO_ADDR *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,2))
bio.h: # define BIO_get_conn_ip_family(b) BIO_ctrl(b,BIO_C_GET_CONNECT,3,NULL)
bio.h: # define BIO_set_conn_mode(b,n) BIO_ctrl(b,BIO_C_SET_CONNECT_MODE,(n),NULL)
bio.h: /* BIO_s_accept() */
bio.h: # define BIO_set_accept_name(b,name) BIO_ctrl(b,BIO_C_SET_ACCEPT,0, \
bio.h: (char *)(name))
bio.h: # define BIO_set_accept_port(b,port) BIO_ctrl(b,BIO_C_SET_ACCEPT,1, \
bio.h: (char *)(port))
bio.h: # define BIO_get_accept_name(b) ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,0))
bio.h: # define BIO_get_accept_port(b) ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,1))
bio.h: # define BIO_get_peer_name(b) ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,2))
bio.h: # define BIO_get_peer_port(b) ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,3))
bio.h: /* #define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL) */
bio.h: # define BIO_set_nbio_accept(b,n) BIO_ctrl(b,BIO_C_SET_ACCEPT,2,(n)?(void *)"a":NULL)
bio.h: # define BIO_set_accept_bios(b,bio) BIO_ctrl(b,BIO_C_SET_ACCEPT,3, \
bio.h: (char *)(bio))
bio.h: # define BIO_set_accept_ip_family(b,f) BIO_int_ctrl(b,BIO_C_SET_ACCEPT,4,f)
bio.h: # define BIO_get_accept_ip_family(b) BIO_ctrl(b,BIO_C_GET_ACCEPT,4,NULL)
bio.h: # define BIO_BIND_NORMAL 0
bio.h: # define BIO_BIND_REUSEADDR BIO_SOCK_REUSEADDR
bio.h: # define BIO_BIND_REUSEADDR_IF_UNUSED BIO_SOCK_REUSEADDR
bio.h: # define BIO_set_bind_mode(b,mode) BIO_ctrl(b,BIO_C_SET_BIND_MODE,mode,NULL)
bio.h: # define BIO_get_bind_mode(b) BIO_ctrl(b,BIO_C_GET_BIND_MODE,0,NULL)
bio.h: /* BIO_s_accept() and BIO_s_connect() */
bio.h: # define BIO_do_connect(b) BIO_do_handshake(b)
bio.h: # define BIO_do_accept(b) BIO_do_handshake(b)
bio.h: # define BIO_do_handshake(b) BIO_ctrl(b,BIO_C_DO_STATE_MACHINE,0,NULL)
bio.h: /* BIO_s_datagram(), BIO_s_fd(), BIO_s_socket(), BIO_s_accept() and BIO_s_connect() */
bio.h: # define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd)
bio.h: # define BIO_get_fd(b,c) BIO_ctrl(b,BIO_C_GET_FD,0,(char *)(c))
bio.h: /* BIO_s_file() */
bio.h: # define BIO_set_fp(b,fp,c) BIO_ctrl(b,BIO_C_SET_FILE_PTR,c,(char *)(fp))
bio.h: # define BIO_get_fp(b,fpp) BIO_ctrl(b,BIO_C_GET_FILE_PTR,0,(char *)(fpp))
bio.h: /* BIO_s_fd() and BIO_s_file() */
bio.h: # define BIO_seek(b,ofs) (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL)
bio.h: # define BIO_tell(b) (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL)
bio.h: int BIO_read_filename(BIO *b, const char *name);
bio.h: # define BIO_read_filename(b,name) (int)BIO_ctrl(b,BIO_C_SET_FILENAME, \
bio.h: BIO_CLOSE|BIO_FP_READ,(char *)(name))
bio.h: # define BIO_write_filename(b,name) (int)BIO_ctrl(b,BIO_C_SET_FILENAME, \
bio.h: # define BIO_append_filename(b,name) (int)BIO_ctrl(b,BIO_C_SET_FILENAME, \
bio.h: # define BIO_rw_filename(b,name) (int)BIO_ctrl(b,BIO_C_SET_FILENAME, \
bio.h: * doing a BIO_free_all() to catch the underlying BIO.
bio.h: # define BIO_set_ssl(b,ssl,c) BIO_ctrl(b,BIO_C_SET_SSL,c,(char *)(ssl))
bio.h: # define BIO_get_ssl(b,sslp) BIO_ctrl(b,BIO_C_GET_SSL,0,(char *)(sslp))
bio.h: # define BIO_set_ssl_mode(b,client) BIO_ctrl(b,BIO_C_SSL_MODE,client,NULL)
bio.h: # define BIO_set_ssl_renegotiate_bytes(b,num) \
bio.h: BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_BYTES,num,NULL)
bio.h: # define BIO_get_num_renegotiates(b) \
bio.h: BIO_ctrl(b,BIO_C_GET_SSL_NUM_RENEGOTIATES,0,NULL)
bio.h: # define BIO_set_ssl_renegotiate_timeout(b,seconds) \
bio.h: BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT,seconds,NULL)
bio.h: /* #define BIO_set_md(b,md) BIO_ctrl(b,BIO_C_SET_MD,1,(char *)(md)) */
bio.h: # define BIO_get_mem_data(b,pp) BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)(pp))
bio.h: # define BIO_set_mem_buf(b,bm,c) BIO_ctrl(b,BIO_C_SET_BUF_MEM,c,(char *)(bm))
bio.h: # define BIO_get_mem_ptr(b,pp) BIO_ctrl(b,BIO_C_GET_BUF_MEM_PTR,0, \
bio.h: (char *)(pp))
bio.h: # define BIO_set_mem_eof_return(b,v) \
bio.h: BIO_ctrl(b,BIO_C_SET_BUF_MEM_EOF_RETURN,v,NULL)
bio.h: /* For the BIO_f_buffer() type */
bio.h: # define BIO_get_buffer_num_lines(b) BIO_ctrl(b,BIO_C_GET_BUFF_NUM_LINES,0,NULL)
bio.h: # define BIO_set_buffer_size(b,size) BIO_ctrl(b,BIO_C_SET_BUFF_SIZE,size,NULL)
bio.h: # define BIO_set_read_buffer_size(b,size) BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,0)
bio.h: # define BIO_set_write_buffer_size(b,size) BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,1)
bio.h: # define BIO_set_buffer_read_data(b,buf,num) BIO_ctrl(b,BIO_C_SET_BUFF_READ_DATA,num,buf)
bio.h: # define BIO_dup_state(b,ret) BIO_ctrl(b,BIO_CTRL_DUP,0,(char *)(ret))
bio.h: # define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)
bio.h: # define BIO_eof(b) (int)BIO_ctrl(b,BIO_CTRL_EOF,0,NULL)
bio.h: # define BIO_set_close(b,c) (int)BIO_ctrl(b,BIO_CTRL_SET_CLOSE,(c),NULL)
bio.h: # define BIO_get_close(b) (int)BIO_ctrl(b,BIO_CTRL_GET_CLOSE,0,NULL)
bio.h: # define BIO_pending(b) (int)BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)
bio.h: # define BIO_wpending(b) (int)BIO_ctrl(b,BIO_CTRL_WPENDING,0,NULL)
bio.h: size_t BIO_ctrl_pending(BIO *b);
bio.h: size_t BIO_ctrl_wpending(BIO *b);
bio.h: # define BIO_flush(b) (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL)
bio.h: # define BIO_get_info_callback(b,cbp) (int)BIO_ctrl(b,BIO_CTRL_GET_CALLBACK,0, \
bio.h: # define BIO_set_info_callback(b,cb) (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,cb)
bio.h: /* For the BIO_f_buffer() type */
bio.h: # define BIO_buffer_get_num_lines(b) BIO_ctrl(b,BIO_CTRL_GET,0,NULL)
bio.h: # define BIO_buffer_peek(b,s,l) BIO_ctrl(b,BIO_CTRL_PEEK,(l),(s))
bio.h: /* For BIO_s_bio() */
bio.h: # define BIO_set_write_buf_size(b,size) (int)BIO_ctrl(b,BIO_C_SET_WRITE_BUF_SIZE,size,NULL)
bio.h: # define BIO_get_write_buf_size(b,size) (size_t)BIO_ctrl(b,BIO_C_GET_WRITE_BUF_SIZE,size,NULL)
bio.h: # define BIO_make_bio_pair(b1,b2) (int)BIO_ctrl(b1,BIO_C_MAKE_BIO_PAIR,0,b2)
bio.h: # define BIO_destroy_bio_pair(b) (int)BIO_ctrl(b,BIO_C_DESTROY_BIO_PAIR,0,NULL)
bio.h: # define BIO_shutdown_wr(b) (int)BIO_ctrl(b, BIO_C_SHUTDOWN_WR, 0, NULL)
bio.h: # define BIO_get_write_guarantee(b) (int)BIO_ctrl(b,BIO_C_GET_WRITE_GUARANTEE,0,NULL)
bio.h: # define BIO_get_read_request(b) (int)BIO_ctrl(b,BIO_C_GET_READ_REQUEST,0,NULL)
bio.h: size_t BIO_ctrl_get_write_guarantee(BIO *b);
bio.h: size_t BIO_ctrl_get_read_request(BIO *b);
bio.h: int BIO_ctrl_reset_read_request(BIO *b);
bio.h: # define BIO_ctrl_dgram_connect(b,peer) \
bio.h: (int)BIO_ctrl(b,BIO_CTRL_DGRAM_CONNECT,0, (char *)(peer))
bio.h: # define BIO_ctrl_set_connected(b,peer) \
bio.h: (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_CONNECTED, 0, (char *)(peer))
bio.h: # define BIO_dgram_recv_timedout(b) \
bio.h: (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP, 0, NULL)
bio.h: # define BIO_dgram_send_timedout(b) \
bio.h: (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP, 0, NULL)
bio.h: # define BIO_dgram_get_peer(b,peer) \
bio.h: (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_PEER, 0, (char *)(peer))
bio.h: # define BIO_dgram_set_peer(b,peer) \
bio.h: (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_PEER, 0, (char *)(peer))
bio.h: # define BIO_dgram_get_mtu_overhead(b) \
bio.h: (unsigned int)BIO_ctrl((b), BIO_CTRL_DGRAM_GET_MTU_OVERHEAD, 0, NULL)
bio.h: #define BIO_get_ex_new_index(l, p, newf, dupf, freef) \
bio.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_BIO, l, p, newf, dupf, freef)
bio.h: int BIO_set_ex_data(BIO *bio, int idx, void *data);
bio.h: void *BIO_get_ex_data(BIO *bio, int idx);
bio.h: uint64_t BIO_number_read(BIO *bio);
bio.h: uint64_t BIO_number_written(BIO *bio);
bio.h: /* For BIO_f_asn1() */
bio.h: int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix,
bio.h: int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix,
bio.h: int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix,
bio.h: int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix,
bio.h: const BIO_METHOD *BIO_s_file(void);
bio.h: BIO *BIO_new_file(const char *filename, const char *mode);
bio.h: BIO *BIO_new_fp(FILE *stream, int close_flag);
bio.h: BIO *BIO_new(const BIO_METHOD *type);
bio.h: int BIO_free(BIO *a);
bio.h: void BIO_set_data(BIO *a, void *ptr);
bio.h: void *BIO_get_data(BIO *a);
bio.h: void BIO_set_init(BIO *a, int init);
bio.h: int BIO_get_init(BIO *a);
bio.h: void BIO_set_shutdown(BIO *a, int shut);
bio.h: int BIO_get_shutdown(BIO *a);
bio.h: void BIO_vfree(BIO *a);
bio.h: int BIO_up_ref(BIO *a);
bio.h: int BIO_read(BIO *b, void *data, int dlen);
bio.h: int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);
bio.h: int BIO_gets(BIO *bp, char *buf, int size);
bio.h: int BIO_write(BIO *b, const void *data, int dlen);
bio.h: int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);
bio.h: int BIO_puts(BIO *bp, const char *buf);
bio.h: int BIO_indent(BIO *b, int indent, int max);
bio.h: long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
bio.h: long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
bio.h: void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
bio.h: long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
bio.h: BIO *BIO_push(BIO *b, BIO *append);
bio.h: BIO *BIO_pop(BIO *b);
bio.h: void BIO_free_all(BIO *a);
bio.h: BIO *BIO_find_type(BIO *b, int bio_type);
bio.h: BIO *BIO_next(BIO *b);
bio.h: void BIO_set_next(BIO *b, BIO *next);
bio.h: BIO *BIO_get_retry_BIO(BIO *bio, int *reason);
bio.h: int BIO_get_retry_reason(BIO *bio);
bio.h: void BIO_set_retry_reason(BIO *bio, int reason);
bio.h: BIO *BIO_dup_chain(BIO *in);
bio.h: int BIO_nread0(BIO *bio, char **buf);
bio.h: int BIO_nread(BIO *bio, char **buf, int num);
bio.h: int BIO_nwrite0(BIO *bio, char **buf);
bio.h: int BIO_nwrite(BIO *bio, char **buf, int num);
bio.h: long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi,
bio.h: const BIO_METHOD *BIO_s_mem(void);
bio.h: const BIO_METHOD *BIO_s_secmem(void);
bio.h: BIO *BIO_new_mem_buf(const void *buf, int len);
bio.h: const BIO_METHOD *BIO_s_socket(void);
bio.h: const BIO_METHOD *BIO_s_connect(void);
bio.h: const BIO_METHOD *BIO_s_accept(void);
bio.h: const BIO_METHOD *BIO_s_fd(void);
bio.h: const BIO_METHOD *BIO_s_log(void);
bio.h: const BIO_METHOD *BIO_s_bio(void);
bio.h: const BIO_METHOD *BIO_s_null(void);
bio.h: const BIO_METHOD *BIO_f_null(void);
bio.h: const BIO_METHOD *BIO_f_buffer(void);
bio.h: const BIO_METHOD *BIO_f_linebuffer(void);
bio.h: const BIO_METHOD *BIO_f_nbio_test(void);
bio.h: const BIO_METHOD *BIO_s_datagram(void);
bio.h: int BIO_dgram_non_fatal_error(int error);
bio.h: BIO *BIO_new_dgram(int fd, int close_flag);
bio.h: const BIO_METHOD *BIO_s_datagram_sctp(void);
bio.h: BIO *BIO_new_dgram_sctp(int fd, int close_flag);
bio.h: int BIO_dgram_is_sctp(BIO *bio);
bio.h: int BIO_dgram_sctp_notification_cb(BIO *b,
bio.h: void (*handle_notifications) (BIO *bio,
bio.h: int BIO_dgram_sctp_wait_for_dry(BIO *b);
bio.h: int BIO_dgram_sctp_msg_waiting(BIO *b);
bio.h: int BIO_sock_should_retry(int i);
bio.h: int BIO_sock_non_fatal_error(int error);
bio.h: int BIO_fd_should_retry(int i);
bio.h: int BIO_fd_non_fatal_error(int error);
bio.h: int BIO_dump_cb(int (*cb) (const void *data, size_t len, void *u),
bio.h: int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u),
bio.h: int BIO_dump(BIO *b, const char *bytes, int len);
bio.h: int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent);
bio.h: int BIO_dump_fp(FILE *fp, const char *s, int len);
bio.h: int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent);
bio.h: int BIO_hex_string(BIO *out, int indent, int width, unsigned char *data,
bio.h: BIO_ADDR *BIO_ADDR_new(void);
bio.h: int BIO_ADDR_rawmake(BIO_ADDR *ap, int family,
bio.h: void BIO_ADDR_free(BIO_ADDR *);
bio.h: void BIO_ADDR_clear(BIO_ADDR *ap);
bio.h: int BIO_ADDR_family(const BIO_ADDR *ap);
bio.h: int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l);
bio.h: unsigned short BIO_ADDR_rawport(const BIO_ADDR *ap);
bio.h: char *BIO_ADDR_hostname_string(const BIO_ADDR *ap, int numeric);
bio.h: char *BIO_ADDR_service_string(const BIO_ADDR *ap, int numeric);
bio.h: char *BIO_ADDR_path_string(const BIO_ADDR *ap);
bio.h: const BIO_ADDRINFO *BIO_ADDRINFO_next(const BIO_ADDRINFO *bai);
bio.h: int BIO_ADDRINFO_family(const BIO_ADDRINFO *bai);
bio.h: int BIO_ADDRINFO_socktype(const BIO_ADDRINFO *bai);
bio.h: int BIO_ADDRINFO_protocol(const BIO_ADDRINFO *bai);
bio.h: const BIO_ADDR *BIO_ADDRINFO_address(const BIO_ADDRINFO *bai);
bio.h: void BIO_ADDRINFO_free(BIO_ADDRINFO *bai);
bio.h: int BIO_parse_hostserv(const char *hostserv, char **host, char **service,
bio.h: int BIO_lookup(const char *host, const char *service,
bio.h: int BIO_lookup_ex(const char *host, const char *service,
bio.h: int BIO_sock_error(int sock);
bio.h: int BIO_socket_ioctl(int fd, long type, void *arg);
bio.h: int BIO_socket_nbio(int fd, int mode);
bio.h: int BIO_sock_init(void);
bio.h: # define BIO_sock_cleanup() while(0) continue
bio.h: int BIO_set_tcp_ndelay(int sock, int turn_on);
bio.h: DEPRECATEDIN_1_1_0(struct hostent *BIO_gethostbyname(const char *name))
bio.h: DEPRECATEDIN_1_1_0(int BIO_get_port(const char *str, unsigned short *port_ptr))
bio.h: DEPRECATEDIN_1_1_0(int BIO_get_host_ip(const char *str, unsigned char *ip))
bio.h: DEPRECATEDIN_1_1_0(int BIO_get_accept_socket(char *host_port, int mode))
bio.h: DEPRECATEDIN_1_1_0(int BIO_accept(int sock, char **ip_port))
bio.h: int BIO_sock_info(int sock,
bio.h: # define BIO_SOCK_REUSEADDR 0x01
bio.h: # define BIO_SOCK_V6_ONLY 0x02
bio.h: # define BIO_SOCK_KEEPALIVE 0x04
bio.h: # define BIO_SOCK_NONBLOCK 0x08
bio.h: # define BIO_SOCK_NODELAY 0x10
bio.h: int BIO_socket(int domain, int socktype, int protocol, int options);
bio.h: int BIO_connect(int sock, const BIO_ADDR *addr, int options);
bio.h: int BIO_bind(int sock, const BIO_ADDR *addr, int options);
bio.h: int BIO_listen(int sock, const BIO_ADDR *addr, int options);
bio.h: int BIO_accept_ex(int accept_sock, BIO_ADDR *addr, int options);
bio.h: int BIO_closesocket(int sock);
bio.h: BIO *BIO_new_socket(int sock, int close_flag);
bio.h: BIO *BIO_new_connect(const char *host_port);
bio.h: BIO *BIO_new_accept(const char *host_port);
bio.h: BIO *BIO_new_fd(int fd, int close_flag);
bio.h: int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
bio.h: void BIO_copy_next_retry(BIO *b);
bio.h: * long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);
bio.h: # define __bio_h__attr__(x)
bio.h: # if defined(__GNUC__) && defined(__STDC_VERSION__) \
bio.h: && !defined(__APPLE__)
bio.h: # define __bio_h__attr__ __attribute__
bio.h: int BIO_printf(BIO *bio, const char *format, ...)
bio.h: __bio_h__attr__((__format__(__printf__, 2, 3)));
bio.h: int BIO_vprintf(BIO *bio, const char *format, va_list args)
bio.h: __bio_h__attr__((__format__(__printf__, 2, 0)));
bio.h: int BIO_snprintf(char *buf, size_t n, const char *format, ...)
bio.h: __bio_h__attr__((__format__(__printf__, 3, 4)));
bio.h: int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
bio.h: __bio_h__attr__((__format__(__printf__, 3, 0)));
bio.h: BIO_METHOD *BIO_meth_new(int type, const char *name);
bio.h: void BIO_meth_free(BIO_METHOD *biom);
bio.h: int (*BIO_meth_get_write(BIO_METHOD *biom)) (BIO *, const char *, int);
bio.h: int (*BIO_meth_get_write_ex(BIO_METHOD *biom)) (BIO *, const char *, size_t,
bio.h: int BIO_meth_set_write(BIO_METHOD *biom,
bio.h: int (*write) (BIO *, const char *, int));
bio.h: int BIO_meth_set_write_ex(BIO_METHOD *biom,
bio.h: int (*bwrite) (BIO *, const char *, size_t, size_t *));
bio.h: int (*BIO_meth_get_read(BIO_METHOD *biom)) (BIO *, char *, int);
bio.h: int (*BIO_meth_get_read_ex(BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *);
bio.h: int BIO_meth_set_read(BIO_METHOD *biom,
bio.h: int (*read) (BIO *, char *, int));
bio.h: int BIO_meth_set_read_ex(BIO_METHOD *biom,
bio.h: int (*bread) (BIO *, char *, size_t, size_t *));
bio.h: int (*BIO_meth_get_puts(BIO_METHOD *biom)) (BIO *, const char *);
bio.h: int BIO_meth_set_puts(BIO_METHOD *biom,
bio.h: int (*puts) (BIO *, const char *));
bio.h: int (*BIO_meth_get_gets(BIO_METHOD *biom)) (BIO *, char *, int);
bio.h: int BIO_meth_set_gets(BIO_METHOD *biom,
bio.h: int (*gets) (BIO *, char *, int));
bio.h: long (*BIO_meth_get_ctrl(BIO_METHOD *biom)) (BIO *, int, long, void *);
bio.h: int BIO_meth_set_ctrl(BIO_METHOD *biom,
bio.h: long (*ctrl) (BIO *, int, long, void *));
bio.h: int (*BIO_meth_get_create(BIO_METHOD *bion)) (BIO *);
bio.h: int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *));
bio.h: int (*BIO_meth_get_destroy(BIO_METHOD *biom)) (BIO *);
bio.h: int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *));
bio.h: long (*BIO_meth_get_callback_ctrl(BIO_METHOD *biom))
bio.h: (BIO *, int, BIO_info_cb *);
bio.h: int BIO_meth_set_callback_ctrl(BIO_METHOD *biom,
bio.h: long (*callback_ctrl) (BIO *, int,
blowfish.h: * Licensed under the OpenSSL license (the "License"). You may not use
blowfish.h: # define HEADER_BLOWFISH_H
blowfish.h: # define BF_ENCRYPT 1
blowfish.h: # define BF_DECRYPT 0
blowfish.h: # define BF_LONG unsigned int
blowfish.h: # define BF_ROUNDS 16
blowfish.h: # define BF_BLOCK 8
blowfish.h: typedef struct bf_key_st {
blowfish.h: void BF_set_key(BF_KEY *key, int len, const unsigned char *data);
blowfish.h: void BF_encrypt(BF_LONG *data, const BF_KEY *key);
blowfish.h: void BF_decrypt(BF_LONG *data, const BF_KEY *key);
blowfish.h: void BF_ecb_encrypt(const unsigned char *in, unsigned char *out,
blowfish.h: void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
blowfish.h: void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out,
blowfish.h: void BF_ofb64_encrypt(const unsigned char *in, unsigned char *out,
blowfish.h: const char *BF_options(void);
bnerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
bnerr.h: # define HEADER_BNERR_H
bnerr.h: int ERR_load_BN_strings(void);
bnerr.h: # define BN_F_BNRAND 127
bnerr.h: # define BN_F_BNRAND_RANGE 138
bnerr.h: # define BN_F_BN_BLINDING_CONVERT_EX 100
bnerr.h: # define BN_F_BN_BLINDING_CREATE_PARAM 128
bnerr.h: # define BN_F_BN_BLINDING_INVERT_EX 101
bnerr.h: # define BN_F_BN_BLINDING_NEW 102
bnerr.h: # define BN_F_BN_BLINDING_UPDATE 103
bnerr.h: # define BN_F_BN_BN2DEC 104
bnerr.h: # define BN_F_BN_BN2HEX 105
bnerr.h: # define BN_F_BN_COMPUTE_WNAF 142
bnerr.h: # define BN_F_BN_CTX_GET 116
bnerr.h: # define BN_F_BN_CTX_NEW 106
bnerr.h: # define BN_F_BN_CTX_START 129
bnerr.h: # define BN_F_BN_DIV 107
bnerr.h: # define BN_F_BN_DIV_RECP 130
bnerr.h: # define BN_F_BN_EXP 123
bnerr.h: # define BN_F_BN_EXPAND_INTERNAL 120
bnerr.h: # define BN_F_BN_GENCB_NEW 143
bnerr.h: # define BN_F_BN_GENERATE_DSA_NONCE 140
bnerr.h: # define BN_F_BN_GENERATE_PRIME_EX 141
bnerr.h: # define BN_F_BN_GF2M_MOD 131
bnerr.h: # define BN_F_BN_GF2M_MOD_EXP 132
bnerr.h: # define BN_F_BN_GF2M_MOD_MUL 133
bnerr.h: # define BN_F_BN_GF2M_MOD_SOLVE_QUAD 134
bnerr.h: # define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR 135
bnerr.h: # define BN_F_BN_GF2M_MOD_SQR 136
bnerr.h: # define BN_F_BN_GF2M_MOD_SQRT 137
bnerr.h: # define BN_F_BN_LSHIFT 145
bnerr.h: # define BN_F_BN_MOD_EXP2_MONT 118
bnerr.h: # define BN_F_BN_MOD_EXP_MONT 109
bnerr.h: # define BN_F_BN_MOD_EXP_MONT_CONSTTIME 124
bnerr.h: # define BN_F_BN_MOD_EXP_MONT_WORD 117
bnerr.h: # define BN_F_BN_MOD_EXP_RECP 125
bnerr.h: # define BN_F_BN_MOD_EXP_SIMPLE 126
bnerr.h: # define BN_F_BN_MOD_INVERSE 110
bnerr.h: # define BN_F_BN_MOD_INVERSE_NO_BRANCH 139
bnerr.h: # define BN_F_BN_MOD_LSHIFT_QUICK 119
bnerr.h: # define BN_F_BN_MOD_SQRT 121
bnerr.h: # define BN_F_BN_MPI2BN 112
bnerr.h: # define BN_F_BN_NEW 113
bnerr.h: # define BN_F_BN_RAND 114
bnerr.h: # define BN_F_BN_RAND_RANGE 122
bnerr.h: # define BN_F_BN_RSHIFT 146
bnerr.h: # define BN_F_BN_SET_WORDS 144
bnerr.h: # define BN_F_BN_USUB 115
bnerr.h: # define BN_R_ARG2_LT_ARG3 100
bnerr.h: # define BN_R_BAD_RECIPROCAL 101
bnerr.h: # define BN_R_BIGNUM_TOO_LONG 114
bnerr.h: # define BN_R_BITS_TOO_SMALL 118
bnerr.h: # define BN_R_CALLED_WITH_EVEN_MODULUS 102
bnerr.h: # define BN_R_DIV_BY_ZERO 103
bnerr.h: # define BN_R_ENCODING_ERROR 104
bnerr.h: # define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
bnerr.h: # define BN_R_INPUT_NOT_REDUCED 110
bnerr.h: # define BN_R_INVALID_LENGTH 106
bnerr.h: # define BN_R_INVALID_RANGE 115
bnerr.h: # define BN_R_INVALID_SHIFT 119
bnerr.h: # define BN_R_NOT_A_SQUARE 111
bnerr.h: # define BN_R_NOT_INITIALIZED 107
bnerr.h: # define BN_R_NO_INVERSE 108
bnerr.h: # define BN_R_NO_SOLUTION 116
bnerr.h: # define BN_R_PRIVATE_KEY_TOO_LARGE 117
bnerr.h: # define BN_R_P_IS_NOT_PRIME 112
bnerr.h: # define BN_R_TOO_MANY_ITERATIONS 113
bnerr.h: # define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109
bn.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
bn.h: * Licensed under the OpenSSL license (the "License"). You may not use
bn.h: # define HEADER_BN_H
bn.h: # define BN_ULONG unsigned long
bn.h: # define BN_BYTES 8
bn.h: # define BN_ULONG unsigned long long
bn.h: # define BN_BYTES 8
bn.h: # define BN_ULONG unsigned int
bn.h: # define BN_BYTES 4
bn.h: # define BN_BITS2 (BN_BYTES * 8)
bn.h: # define BN_BITS (BN_BITS2 * 2)
bn.h: # define BN_TBIT ((BN_ULONG)1 << (BN_BITS2 - 1))
bn.h: # define BN_FLG_MALLOCED 0x01
bn.h: # define BN_FLG_STATIC_DATA 0x02
bn.h: * BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
bn.h: * BN_div() will call BN_div_no_branch,
bn.h: * BN_mod_inverse() will call BN_mod_inverse_no_branch.
bn.h: # define BN_FLG_CONSTTIME 0x04
bn.h: # define BN_FLG_SECURE 0x08
bn.h: # define BN_FLG_EXP_CONSTTIME BN_FLG_CONSTTIME
bn.h: # define BN_FLG_FREE 0x8000 /* used for debugging */
bn.h: void BN_set_flags(BIGNUM *b, int n);
bn.h: int BN_get_flags(const BIGNUM *b, int n);
bn.h: /* Values for |top| in BN_rand() */
bn.h: /* Values for |bottom| in BN_rand() */
bn.h: * get a clone of a BIGNUM with changed flags, for *temporary* use only (the
bn.h: * value |dest| should be a newly allocated BIGNUM obtained via BN_new() that
bn.h: void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags);
bn.h: int BN_GENCB_call(BN_GENCB *cb, int a, int b);
bn.h: BN_GENCB *BN_GENCB_new(void);
bn.h: void BN_GENCB_free(BN_GENCB *cb);
bn.h: void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback) (int, int, void *),
bn.h: void BN_GENCB_set(BN_GENCB *gencb, int (*callback) (int, int, BN_GENCB *),
bn.h: void *BN_GENCB_get_arg(BN_GENCB *cb);
bn.h: # define BN_prime_checks 0 /* default: select number of iterations based
bn.h: * random 'b'-bit input, b >= 100 (taken from table 4.4 in the Handbook of
bn.h: * estimates for the strong probable prime test. -- Math. Comp. 61 (1993)
bn.h: # define BN_prime_checks_for_size(b) ((b) >= 1300 ? 2 : \
bn.h: (b) >= 850 ? 3 : \
bn.h: (b) >= 650 ? 4 : \
bn.h: (b) >= 550 ? 5 : \
bn.h: (b) >= 450 ? 6 : \
bn.h: (b) >= 400 ? 7 : \
bn.h: (b) >= 350 ? 8 : \
bn.h: (b) >= 300 ? 9 : \
bn.h: (b) >= 250 ? 12 : \
bn.h: (b) >= 200 ? 15 : \
bn.h: (b) >= 150 ? 18 : \
bn.h: # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
bn.h: int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w);
bn.h: int BN_is_zero(const BIGNUM *a);
bn.h: int BN_is_one(const BIGNUM *a);
bn.h: int BN_is_word(const BIGNUM *a, const BN_ULONG w);
bn.h: int BN_is_odd(const BIGNUM *a);
bn.h: # define BN_one(a) (BN_set_word((a),1))
bn.h: void BN_zero_ex(BIGNUM *a);
bn.h: # define BN_zero(a) BN_zero_ex(a)
bn.h: # define BN_zero(a) (BN_set_word((a),0))
bn.h: const BIGNUM *BN_value_one(void);
bn.h: char *BN_options(void);
bn.h: BN_CTX *BN_CTX_new(void);
bn.h: BN_CTX *BN_CTX_secure_new(void);
bn.h: void BN_CTX_free(BN_CTX *c);
bn.h: void BN_CTX_start(BN_CTX *ctx);
bn.h: BIGNUM *BN_CTX_get(BN_CTX *ctx);
bn.h: void BN_CTX_end(BN_CTX *ctx);
bn.h: int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
bn.h: int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom);
bn.h: int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
bn.h: int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range);
bn.h: int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
bn.h: int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
bn.h: int BN_num_bits(const BIGNUM *a);
bn.h: int BN_num_bits_word(BN_ULONG l);
bn.h: int BN_security_bits(int L, int N);
bn.h: BIGNUM *BN_new(void);
bn.h: BIGNUM *BN_secure_new(void);
bn.h: void BN_clear_free(BIGNUM *a);
bn.h: BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
bn.h: void BN_swap(BIGNUM *a, BIGNUM *b);
bn.h: BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
bn.h: int BN_bn2bin(const BIGNUM *a, unsigned char *to);
bn.h: int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
bn.h: BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
bn.h: int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
bn.h: BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
bn.h: int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
bn.h: int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
bn.h: int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
bn.h: int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
bn.h: int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
bn.h: int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
bn.h: int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
bn.h: void BN_set_negative(BIGNUM *b, int n);
bn.h: int BN_is_negative(const BIGNUM *b);
bn.h: int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
bn.h: # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
bn.h: int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
bn.h: int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
bn.h: int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
bn.h: int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
bn.h: int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
bn.h: int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
bn.h: int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m);
bn.h: int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
bn.h: int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
bn.h: BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
bn.h: BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
bn.h: int BN_mul_word(BIGNUM *a, BN_ULONG w);
bn.h: int BN_add_word(BIGNUM *a, BN_ULONG w);
bn.h: int BN_sub_word(BIGNUM *a, BN_ULONG w);
bn.h: int BN_set_word(BIGNUM *a, BN_ULONG w);
bn.h: BN_ULONG BN_get_word(const BIGNUM *a);
bn.h: int BN_cmp(const BIGNUM *a, const BIGNUM *b);
bn.h: void BN_free(BIGNUM *a);
bn.h: int BN_is_bit_set(const BIGNUM *a, int n);
bn.h: int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
bn.h: int BN_lshift1(BIGNUM *r, const BIGNUM *a);
bn.h: int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
bn.h: int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
bn.h: int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
bn.h: int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
bn.h: int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
bn.h: int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1,
bn.h: int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
bn.h: int BN_mask_bits(BIGNUM *a, int n);
bn.h: int BN_print_fp(FILE *fp, const BIGNUM *a);
bn.h: int BN_print(BIO *bio, const BIGNUM *a);
bn.h: int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
bn.h: int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
bn.h: int BN_rshift1(BIGNUM *r, const BIGNUM *a);
bn.h: void BN_clear(BIGNUM *a);
bn.h: BIGNUM *BN_dup(const BIGNUM *a);
bn.h: int BN_ucmp(const BIGNUM *a, const BIGNUM *b);
bn.h: int BN_set_bit(BIGNUM *a, int n);
bn.h: int BN_clear_bit(BIGNUM *a, int n);
bn.h: char *BN_bn2hex(const BIGNUM *a);
bn.h: char *BN_bn2dec(const BIGNUM *a);
bn.h: int BN_hex2bn(BIGNUM **a, const char *str);
bn.h: int BN_dec2bn(BIGNUM **a, const char *str);
bn.h: int BN_asc2bn(BIGNUM **a, const char *str);
bn.h: int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
bn.h: int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); /* returns
bn.h: BIGNUM *BN_mod_inverse(BIGNUM *ret,
bn.h: BIGNUM *BN_mod_sqrt(BIGNUM *ret,
bn.h: void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
bn.h: DEPRECATEDIN_0_9_8(BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
bn.h: void (*callback) (int, int,
bn.h: DEPRECATEDIN_0_9_8(int
bn.h: BN_is_prime(const BIGNUM *p, int nchecks,
bn.h: void (*callback) (int, int, void *),
bn.h: DEPRECATEDIN_0_9_8(int
bn.h: BN_is_prime_fasttest(const BIGNUM *p, int nchecks,
bn.h: void (*callback) (int, int, void *),
bn.h: int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
bn.h: int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
bn.h: int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
bn.h: int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
bn.h: int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
bn.h: int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
bn.h: BN_MONT_CTX *BN_MONT_CTX_new(void);
bn.h: int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
bn.h: int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
bn.h: void BN_MONT_CTX_free(BN_MONT_CTX *mont);
bn.h: int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
bn.h: BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from);
bn.h: BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock,
bn.h: # define BN_BLINDING_NO_UPDATE 0x00000001
bn.h: # define BN_BLINDING_NO_RECREATE 0x00000002
bn.h: BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
bn.h: void BN_BLINDING_free(BN_BLINDING *b);
bn.h: int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx);
bn.h: int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
bn.h: int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
bn.h: int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
bn.h: int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
bn.h: int BN_BLINDING_is_current_thread(BN_BLINDING *b);
bn.h: void BN_BLINDING_set_current_thread(BN_BLINDING *b);
bn.h: int BN_BLINDING_lock(BN_BLINDING *b);
bn.h: int BN_BLINDING_unlock(BN_BLINDING *b);
bn.h: unsigned long BN_BLINDING_get_flags(const BN_BLINDING *);
bn.h: void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long);
bn.h: BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b,
bn.h: int (*bn_mod_exp) (BIGNUM *r,
bn.h: DEPRECATEDIN_0_9_8(void BN_set_params(int mul, int high, int low, int mont))
bn.h: DEPRECATEDIN_0_9_8(int BN_get_params(int which)) /* 0, mul, 1 high, 2 low, 3
bn.h: BN_RECP_CTX *BN_RECP_CTX_new(void);
bn.h: void BN_RECP_CTX_free(BN_RECP_CTX *recp);
bn.h: int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
bn.h: int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
bn.h: int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
bn.h: int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
bn.h: int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
bn.h: # define BN_GF2m_sub(r, a, b) BN_GF2m_add(r, a, b)
bn.h: int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p);
bn.h: /* r = (a * b) mod p */
bn.h: int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: /* r = (a * a) mod p */
bn.h: int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
bn.h: /* r = (1 / b) mod p */
bn.h: int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx);
bn.h: /* r = (a / b) mod p */
bn.h: int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: /* r = (a ^ b) mod p */
bn.h: int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: /* r = sqrt(a) mod p */
bn.h: int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
bn.h: int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
bn.h: # define BN_GF2m_cmp(a, b) BN_ucmp((a), (b))
bn.h: * as an unsigned int[], say p. The irreducible f(t) is then of the form:
bn.h: int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]);
bn.h: /* r = (a * b) mod p */
bn.h: int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: /* r = (a * a) mod p */
bn.h: int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
bn.h: /* r = (1 / b) mod p */
bn.h: int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[],
bn.h: /* r = (a / b) mod p */
bn.h: int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: /* r = (a ^ b) mod p */
bn.h: int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
bn.h: /* r = sqrt(a) mod p */
bn.h: int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a,
bn.h: int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a,
bn.h: int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max);
bn.h: int BN_GF2m_arr2poly(const int p[], BIGNUM *a);
bn.h: int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
bn.h: int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
bn.h: int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
bn.h: int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
bn.h: int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
bn.h: const BIGNUM *BN_get0_nist_prime_192(void);
bn.h: const BIGNUM *BN_get0_nist_prime_224(void);
bn.h: const BIGNUM *BN_get0_nist_prime_256(void);
bn.h: const BIGNUM *BN_get0_nist_prime_384(void);
bn.h: const BIGNUM *BN_get0_nist_prime_521(void);
bn.h: int (*BN_nist_mod_func(const BIGNUM *p)) (BIGNUM *r, const BIGNUM *a,
bn.h: int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
bn.h: BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn);
bn.h: BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn);
bn.h: BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn);
bn.h: BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn);
bn.h: BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn);
bn.h: BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn);
bn.h: BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn);
bn.h: BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn);
bn.h: # define get_rfc2409_prime_768 BN_get_rfc2409_prime_768
bn.h: # define get_rfc2409_prime_1024 BN_get_rfc2409_prime_1024
bn.h: # define get_rfc3526_prime_1536 BN_get_rfc3526_prime_1536
bn.h: # define get_rfc3526_prime_2048 BN_get_rfc3526_prime_2048
bn.h: # define get_rfc3526_prime_3072 BN_get_rfc3526_prime_3072
bn.h: # define get_rfc3526_prime_4096 BN_get_rfc3526_prime_4096
bn.h: # define get_rfc3526_prime_6144 BN_get_rfc3526_prime_6144
bn.h: # define get_rfc3526_prime_8192 BN_get_rfc3526_prime_8192
bn.h: int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
buffererr.h: * Licensed under the OpenSSL license (the "License"). You may not use
buffererr.h: # define HEADER_BUFERR_H
buffererr.h: int ERR_load_BUF_strings(void);
buffererr.h: # define BUF_F_BUF_MEM_GROW 100
buffererr.h: # define BUF_F_BUF_MEM_GROW_CLEAN 105
buffererr.h: # define BUF_F_BUF_MEM_NEW 101
buffer.h: * Licensed under the OpenSSL license (the "License"). You may not use
buffer.h: # define HEADER_BUFFER_H
buffer.h: # define BUF_strdup(s) OPENSSL_strdup(s)
buffer.h: # define BUF_strndup(s, size) OPENSSL_strndup(s, size)
buffer.h: # define BUF_memdup(data, size) OPENSSL_memdup(data, size)
buffer.h: # define BUF_strlcpy(dst, src, size) OPENSSL_strlcpy(dst, src, size)
buffer.h: # define BUF_strlcat(dst, src, size) OPENSSL_strlcat(dst, src, size)
buffer.h: # define BUF_strnlen(str, maxlen) OPENSSL_strnlen(str, maxlen)
buffer.h: struct buf_mem_st {
buffer.h: # define BUF_MEM_FLAG_SECURE 0x01
buffer.h: BUF_MEM *BUF_MEM_new(void);
buffer.h: BUF_MEM *BUF_MEM_new_ex(unsigned long flags);
buffer.h: void BUF_MEM_free(BUF_MEM *a);
buffer.h: size_t BUF_MEM_grow(BUF_MEM *str, size_t len);
buffer.h: size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
buffer.h: void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
camellia.h: * Licensed under the OpenSSL license (the "License"). You may not use
camellia.h: # define HEADER_CAMELLIA_H
camellia.h: # define CAMELLIA_ENCRYPT 1
camellia.h: # define CAMELLIA_DECRYPT 0
camellia.h: # define CAMELLIA_BLOCK_SIZE 16
camellia.h: # define CAMELLIA_TABLE_BYTE_LEN 272
camellia.h: # define CAMELLIA_TABLE_WORD_LEN (CAMELLIA_TABLE_BYTE_LEN / 4)
camellia.h: struct camellia_key_st {
camellia.h: typedef struct camellia_key_st CAMELLIA_KEY;
camellia.h: int Camellia_set_key(const unsigned char *userKey, const int bits,
camellia.h: void Camellia_encrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_decrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_ecb_encrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_cbc_encrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_cfb128_encrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_cfb1_encrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_cfb8_encrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_ofb128_encrypt(const unsigned char *in, unsigned char *out,
camellia.h: void Camellia_ctr128_encrypt(const unsigned char *in, unsigned char *out,
cast.h: * Licensed under the OpenSSL license (the "License"). You may not use
cast.h: # define HEADER_CAST_H
cast.h: # define CAST_ENCRYPT 1
cast.h: # define CAST_DECRYPT 0
cast.h: # define CAST_LONG unsigned int
cast.h: # define CAST_BLOCK 8
cast.h: # define CAST_KEY_LENGTH 16
cast.h: typedef struct cast_key_st {
cast.h: void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data);
cast.h: void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,
cast.h: void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key);
cast.h: void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key);
cast.h: void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out,
cast.h: void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out,
cast.h: void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out,
cmac.h: * Licensed under the OpenSSL license (the "License"). You may not use
cmac.h: # define HEADER_CMAC_H
cmac.h: typedef struct CMAC_CTX_st CMAC_CTX;
cmac.h: CMAC_CTX *CMAC_CTX_new(void);
cmac.h: void CMAC_CTX_cleanup(CMAC_CTX *ctx);
cmac.h: void CMAC_CTX_free(CMAC_CTX *ctx);
cmac.h: EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx);
cmac.h: int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in);
cmac.h: int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen,
cmac.h: int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen);
cmac.h: int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen);
cmac.h: int CMAC_resume(CMAC_CTX *ctx);
cmserr.h: * Licensed under the OpenSSL license (the "License"). You may not use
cmserr.h: # define HEADER_CMSERR_H
cmserr.h: int ERR_load_CMS_strings(void);
cmserr.h: # define CMS_F_CHECK_CONTENT 99
cmserr.h: # define CMS_F_CMS_ADD0_CERT 164
cmserr.h: # define CMS_F_CMS_ADD0_RECIPIENT_KEY 100
cmserr.h: # define CMS_F_CMS_ADD0_RECIPIENT_PASSWORD 165
cmserr.h: # define CMS_F_CMS_ADD1_RECEIPTREQUEST 158
cmserr.h: # define CMS_F_CMS_ADD1_RECIPIENT_CERT 101
cmserr.h: # define CMS_F_CMS_ADD1_SIGNER 102
cmserr.h: # define CMS_F_CMS_ADD1_SIGNINGTIME 103
cmserr.h: # define CMS_F_CMS_COMPRESS 104
cmserr.h: # define CMS_F_CMS_COMPRESSEDDATA_CREATE 105
cmserr.h: # define CMS_F_CMS_COMPRESSEDDATA_INIT_BIO 106
cmserr.h: # define CMS_F_CMS_COPY_CONTENT 107
cmserr.h: # define CMS_F_CMS_COPY_MESSAGEDIGEST 108
cmserr.h: # define CMS_F_CMS_DATA 109
cmserr.h: # define CMS_F_CMS_DATAFINAL 110
cmserr.h: # define CMS_F_CMS_DATAINIT 111
cmserr.h: # define CMS_F_CMS_DECRYPT 112
cmserr.h: # define CMS_F_CMS_DECRYPT_SET1_KEY 113
cmserr.h: # define CMS_F_CMS_DECRYPT_SET1_PASSWORD 166
cmserr.h: # define CMS_F_CMS_DECRYPT_SET1_PKEY 114
cmserr.h: # define CMS_F_CMS_DIGESTALGORITHM_FIND_CTX 115
cmserr.h: # define CMS_F_CMS_DIGESTALGORITHM_INIT_BIO 116
cmserr.h: # define CMS_F_CMS_DIGESTEDDATA_DO_FINAL 117
cmserr.h: # define CMS_F_CMS_DIGEST_VERIFY 118
cmserr.h: # define CMS_F_CMS_ENCODE_RECEIPT 161
cmserr.h: # define CMS_F_CMS_ENCRYPT 119
cmserr.h: # define CMS_F_CMS_ENCRYPTEDCONTENT_INIT_BIO 120
cmserr.h: # define CMS_F_CMS_ENCRYPTEDDATA_DECRYPT 121
cmserr.h: # define CMS_F_CMS_ENCRYPTEDDATA_ENCRYPT 122
cmserr.h: # define CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY 123
cmserr.h: # define CMS_F_CMS_ENVELOPEDDATA_CREATE 124
cmserr.h: # define CMS_F_CMS_ENVELOPEDDATA_INIT_BIO 125
cmserr.h: # define CMS_F_CMS_ENVELOPED_DATA_INIT 126
cmserr.h: # define CMS_F_CMS_ENV_ASN1_CTRL 171
cmserr.h: # define CMS_F_CMS_FINAL 127
cmserr.h: # define CMS_F_CMS_GET0_CERTIFICATE_CHOICES 128
cmserr.h: # define CMS_F_CMS_GET0_CONTENT 129
cmserr.h: # define CMS_F_CMS_GET0_ECONTENT_TYPE 130
cmserr.h: # define CMS_F_CMS_GET0_ENVELOPED 131
cmserr.h: # define CMS_F_CMS_GET0_REVOCATION_CHOICES 132
cmserr.h: # define CMS_F_CMS_GET0_SIGNED 133
cmserr.h: # define CMS_F_CMS_MSGSIGDIGEST_ADD1 162
cmserr.h: # define CMS_F_CMS_RECEIPTREQUEST_CREATE0 159
cmserr.h: # define CMS_F_CMS_RECEIPT_VERIFY 160
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_DECRYPT 134
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_ENCRYPT 169
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KARI_ENCRYPT 178
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG 175
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID 173
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_REKS 172
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KARI_ORIG_ID_CMP 174
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KEKRI_DECRYPT 135
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ENCRYPT 136
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KEKRI_GET0_ID 137
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP 138
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KTRI_CERT_CMP 139
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KTRI_DECRYPT 140
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KTRI_ENCRYPT 141
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_ALGS 142
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_SIGNER_ID 143
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_PWRI_CRYPT 167
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_SET0_KEY 144
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_SET0_PASSWORD 168
cmserr.h: # define CMS_F_CMS_RECIPIENTINFO_SET0_PKEY 145
cmserr.h: # define CMS_F_CMS_SD_ASN1_CTRL 170
cmserr.h: # define CMS_F_CMS_SET1_IAS 176
cmserr.h: # define CMS_F_CMS_SET1_KEYID 177
cmserr.h: # define CMS_F_CMS_SET1_SIGNERIDENTIFIER 146
cmserr.h: # define CMS_F_CMS_SET_DETACHED 147
cmserr.h: # define CMS_F_CMS_SIGN 148
cmserr.h: # define CMS_F_CMS_SIGNED_DATA_INIT 149
cmserr.h: # define CMS_F_CMS_SIGNERINFO_CONTENT_SIGN 150
cmserr.h: # define CMS_F_CMS_SIGNERINFO_SIGN 151
cmserr.h: # define CMS_F_CMS_SIGNERINFO_VERIFY 152
cmserr.h: # define CMS_F_CMS_SIGNERINFO_VERIFY_CERT 153
cmserr.h: # define CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT 154
cmserr.h: # define CMS_F_CMS_SIGN_RECEIPT 163
cmserr.h: # define CMS_F_CMS_STREAM 155
cmserr.h: # define CMS_F_CMS_UNCOMPRESS 156
cmserr.h: # define CMS_F_CMS_VERIFY 157
cmserr.h: # define CMS_R_ADD_SIGNER_ERROR 99
cmserr.h: # define CMS_R_CERTIFICATE_ALREADY_PRESENT 175
cmserr.h: # define CMS_R_CERTIFICATE_HAS_NO_KEYID 160
cmserr.h: # define CMS_R_CERTIFICATE_VERIFY_ERROR 100
cmserr.h: # define CMS_R_CIPHER_INITIALISATION_ERROR 101
cmserr.h: # define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR 102
cmserr.h: # define CMS_R_CMS_DATAFINAL_ERROR 103
cmserr.h: # define CMS_R_CMS_LIB 104
cmserr.h: # define CMS_R_CONTENTIDENTIFIER_MISMATCH 170
cmserr.h: # define CMS_R_CONTENT_NOT_FOUND 105
cmserr.h: # define CMS_R_CONTENT_TYPE_MISMATCH 171
cmserr.h: # define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA 106
cmserr.h: # define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA 107
cmserr.h: # define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA 108
cmserr.h: # define CMS_R_CONTENT_VERIFY_ERROR 109
cmserr.h: # define CMS_R_CTRL_ERROR 110
cmserr.h: # define CMS_R_CTRL_FAILURE 111
cmserr.h: # define CMS_R_DECRYPT_ERROR 112
cmserr.h: # define CMS_R_ERROR_GETTING_PUBLIC_KEY 113
cmserr.h: # define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE 114
cmserr.h: # define CMS_R_ERROR_SETTING_KEY 115
cmserr.h: # define CMS_R_ERROR_SETTING_RECIPIENTINFO 116
cmserr.h: # define CMS_R_INVALID_ENCRYPTED_KEY_LENGTH 117
cmserr.h: # define CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER 176
cmserr.h: # define CMS_R_INVALID_KEY_LENGTH 118
cmserr.h: # define CMS_R_MD_BIO_INIT_ERROR 119
cmserr.h: # define CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH 120
cmserr.h: # define CMS_R_MESSAGEDIGEST_WRONG_LENGTH 121
cmserr.h: # define CMS_R_MSGSIGDIGEST_ERROR 172
cmserr.h: # define CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE 162
cmserr.h: # define CMS_R_MSGSIGDIGEST_WRONG_LENGTH 163
cmserr.h: # define CMS_R_NEED_ONE_SIGNER 164
cmserr.h: # define CMS_R_NOT_A_SIGNED_RECEIPT 165
cmserr.h: # define CMS_R_NOT_ENCRYPTED_DATA 122
cmserr.h: # define CMS_R_NOT_KEK 123
cmserr.h: # define CMS_R_NOT_KEY_AGREEMENT 181
cmserr.h: # define CMS_R_NOT_KEY_TRANSPORT 124
cmserr.h: # define CMS_R_NOT_PWRI 177
cmserr.h: # define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 125
cmserr.h: # define CMS_R_NO_CIPHER 126
cmserr.h: # define CMS_R_NO_CONTENT 127
cmserr.h: # define CMS_R_NO_CONTENT_TYPE 173
cmserr.h: # define CMS_R_NO_DEFAULT_DIGEST 128
cmserr.h: # define CMS_R_NO_DIGEST_SET 129
cmserr.h: # define CMS_R_NO_KEY 130
cmserr.h: # define CMS_R_NO_KEY_OR_CERT 174
cmserr.h: # define CMS_R_NO_MATCHING_DIGEST 131
cmserr.h: # define CMS_R_NO_MATCHING_RECIPIENT 132
cmserr.h: # define CMS_R_NO_MATCHING_SIGNATURE 166
cmserr.h: # define CMS_R_NO_MSGSIGDIGEST 167
cmserr.h: # define CMS_R_NO_PASSWORD 178
cmserr.h: # define CMS_R_NO_PRIVATE_KEY 133
cmserr.h: # define CMS_R_NO_PUBLIC_KEY 134
cmserr.h: # define CMS_R_NO_RECEIPT_REQUEST 168
cmserr.h: # define CMS_R_NO_SIGNERS 135
cmserr.h: # define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 136
cmserr.h: # define CMS_R_RECEIPT_DECODE_ERROR 169
cmserr.h: # define CMS_R_RECIPIENT_ERROR 137
cmserr.h: # define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND 138
cmserr.h: # define CMS_R_SIGNFINAL_ERROR 139
cmserr.h: # define CMS_R_SMIME_TEXT_ERROR 140
cmserr.h: # define CMS_R_STORE_INIT_ERROR 141
cmserr.h: # define CMS_R_TYPE_NOT_COMPRESSED_DATA 142
cmserr.h: # define CMS_R_TYPE_NOT_DATA 143
cmserr.h: # define CMS_R_TYPE_NOT_DIGESTED_DATA 144
cmserr.h: # define CMS_R_TYPE_NOT_ENCRYPTED_DATA 145
cmserr.h: # define CMS_R_TYPE_NOT_ENVELOPED_DATA 146
cmserr.h: # define CMS_R_UNABLE_TO_FINALIZE_CONTEXT 147
cmserr.h: # define CMS_R_UNKNOWN_CIPHER 148
cmserr.h: # define CMS_R_UNKNOWN_DIGEST_ALGORITHM 149
cmserr.h: # define CMS_R_UNKNOWN_ID 150
cmserr.h: # define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM 151
cmserr.h: # define CMS_R_UNSUPPORTED_CONTENT_TYPE 152
cmserr.h: # define CMS_R_UNSUPPORTED_KEK_ALGORITHM 153
cmserr.h: # define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM 179
cmserr.h: # define CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE 155
cmserr.h: # define CMS_R_UNSUPPORTED_RECIPIENT_TYPE 154
cmserr.h: # define CMS_R_UNSUPPORTED_TYPE 156
cmserr.h: # define CMS_R_UNWRAP_ERROR 157
cmserr.h: # define CMS_R_UNWRAP_FAILURE 180
cmserr.h: # define CMS_R_VERIFICATION_FAILURE 158
cmserr.h: # define CMS_R_WRAP_ERROR 159
cms.h: * Licensed under the OpenSSL license (the "License"). You may not use
cms.h: # define HEADER_CMS_H
cms.h: typedef struct CMS_ContentInfo_st CMS_ContentInfo;
cms.h: typedef struct CMS_SignerInfo_st CMS_SignerInfo;
cms.h: typedef struct CMS_CertificateChoices CMS_CertificateChoices;
cms.h: typedef struct CMS_RevocationInfoChoice_st CMS_RevocationInfoChoice;
cms.h: typedef struct CMS_RecipientInfo_st CMS_RecipientInfo;
cms.h: typedef struct CMS_ReceiptRequest_st CMS_ReceiptRequest;
cms.h: typedef struct CMS_Receipt_st CMS_Receipt;
cms.h: typedef struct CMS_RecipientEncryptedKey_st CMS_RecipientEncryptedKey;
cms.h: typedef struct CMS_OtherKeyAttribute_st CMS_OtherKeyAttribute;
cms.h: DEFINE_STACK_OF(CMS_SignerInfo)
cms.h: DEFINE_STACK_OF(CMS_RecipientEncryptedKey)
cms.h: DEFINE_STACK_OF(CMS_RecipientInfo)
cms.h: DEFINE_STACK_OF(CMS_RevocationInfoChoice)
cms.h: DECLARE_ASN1_FUNCTIONS(CMS_ContentInfo)
cms.h: DECLARE_ASN1_FUNCTIONS(CMS_ReceiptRequest)
cms.h: DECLARE_ASN1_PRINT_FUNCTION(CMS_ContentInfo)
cms.h: # define CMS_SIGNERINFO_ISSUER_SERIAL 0
cms.h: # define CMS_SIGNERINFO_KEYIDENTIFIER 1
cms.h: # define CMS_RECIPINFO_NONE -1
cms.h: # define CMS_RECIPINFO_TRANS 0
cms.h: # define CMS_RECIPINFO_AGREE 1
cms.h: # define CMS_RECIPINFO_KEK 2
cms.h: # define CMS_RECIPINFO_PASS 3
cms.h: # define CMS_RECIPINFO_OTHER 4
cms.h: # define CMS_TEXT 0x1
cms.h: # define CMS_NOCERTS 0x2
cms.h: # define CMS_NO_CONTENT_VERIFY 0x4
cms.h: # define CMS_NO_ATTR_VERIFY 0x8
cms.h: # define CMS_NOSIGS \
cms.h: (CMS_NO_CONTENT_VERIFY|CMS_NO_ATTR_VERIFY)
cms.h: # define CMS_NOINTERN 0x10
cms.h: # define CMS_NO_SIGNER_CERT_VERIFY 0x20
cms.h: # define CMS_NOVERIFY 0x20
cms.h: # define CMS_DETACHED 0x40
cms.h: # define CMS_BINARY 0x80
cms.h: # define CMS_NOATTR 0x100
cms.h: # define CMS_NOSMIMECAP 0x200
cms.h: # define CMS_NOOLDMIMETYPE 0x400
cms.h: # define CMS_CRLFEOL 0x800
cms.h: # define CMS_STREAM 0x1000
cms.h: # define CMS_NOCRL 0x2000
cms.h: # define CMS_PARTIAL 0x4000
cms.h: # define CMS_REUSE_DIGEST 0x8000
cms.h: # define CMS_USE_KEYID 0x10000
cms.h: # define CMS_DEBUG_DECRYPT 0x20000
cms.h: # define CMS_KEY_PARAM 0x40000
cms.h: # define CMS_ASCIICRLF 0x80000
cms.h: const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);
cms.h: BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont);
cms.h: int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio);
cms.h: ASN1_OCTET_STRING **CMS_get0_content(CMS_ContentInfo *cms);
cms.h: int CMS_is_detached(CMS_ContentInfo *cms);
cms.h: int CMS_set_detached(CMS_ContentInfo *cms, int detached);
cms.h: DECLARE_PEM_rw_const(CMS, CMS_ContentInfo)
cms.h: int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms);
cms.h: CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms);
cms.h: int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms);
cms.h: BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms);
cms.h: int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags);
cms.h: int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in,
cms.h: CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont);
cms.h: int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags);
cms.h: int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont,
cms.h: CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,
cms.h: STACK_OF(X509) *certs, BIO *data,
cms.h: CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si,
cms.h: STACK_OF(X509) *certs, unsigned int flags);
cms.h: int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags);
cms.h: CMS_ContentInfo *CMS_data_create(BIO *in, unsigned int flags);
cms.h: int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
cms.h: CMS_ContentInfo *CMS_digest_create(BIO *in, const EVP_MD *md,
cms.h: int CMS_EncryptedData_decrypt(CMS_ContentInfo *cms,
cms.h: CMS_ContentInfo *CMS_EncryptedData_encrypt(BIO *in, const EVP_CIPHER *cipher,
cms.h: int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph,
cms.h: int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
cms.h: int CMS_verify_receipt(CMS_ContentInfo *rcms, CMS_ContentInfo *ocms,
cms.h: STACK_OF(X509) *certs,
cms.h: STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
cms.h: CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
cms.h: int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert,
cms.h: int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert);
cms.h: int CMS_decrypt_set1_key(CMS_ContentInfo *cms,
cms.h: int CMS_decrypt_set1_password(CMS_ContentInfo *cms,
cms.h: STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms);
cms.h: int CMS_RecipientInfo_type(CMS_RecipientInfo *ri);
cms.h: EVP_PKEY_CTX *CMS_RecipientInfo_get0_pkey_ctx(CMS_RecipientInfo *ri);
cms.h: CMS_ContentInfo *CMS_EnvelopedData_create(const EVP_CIPHER *cipher);
cms.h: CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,
cms.h: int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);
cms.h: int CMS_RecipientInfo_ktri_cert_cmp(CMS_RecipientInfo *ri, X509 *cert);
cms.h: int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri,
cms.h: int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri,
cms.h: CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid,
cms.h: int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri,
cms.h: int CMS_RecipientInfo_set0_key(CMS_RecipientInfo *ri,
cms.h: int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri,
cms.h: int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri,
cms.h: CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms,
cms.h: int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
cms.h: int CMS_RecipientInfo_encrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
cms.h: int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
cms.h: CMS_ContentInfo *CMS_compress(BIO *in, int comp_nid, unsigned int flags);
cms.h: int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid);
cms.h: const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms);
cms.h: CMS_CertificateChoices *CMS_add0_CertificateChoices(CMS_ContentInfo *cms);
cms.h: int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert);
cms.h: int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert);
cms.h: STACK_OF(X509) *CMS_get1_certs(CMS_ContentInfo *cms);
cms.h: CMS_RevocationInfoChoice *CMS_add0_RevocationInfoChoice(CMS_ContentInfo *cms);
cms.h: int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl);
cms.h: int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl);
cms.h: STACK_OF(X509_CRL) *CMS_get1_crls(CMS_ContentInfo *cms);
cms.h: int CMS_SignedData_init(CMS_ContentInfo *cms);
cms.h: CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms,
cms.h: EVP_PKEY_CTX *CMS_SignerInfo_get0_pkey_ctx(CMS_SignerInfo *si);
cms.h: EVP_MD_CTX *CMS_SignerInfo_get0_md_ctx(CMS_SignerInfo *si);
cms.h: STACK_OF(CMS_SignerInfo) *CMS_get0_SignerInfos(CMS_ContentInfo *cms);
cms.h: void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer);
cms.h: int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si,
cms.h: int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
cms.h: int CMS_set1_signers_certs(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
cms.h: void CMS_SignerInfo_get0_algs(CMS_SignerInfo *si, EVP_PKEY **pk,
cms.h: ASN1_OCTET_STRING *CMS_SignerInfo_get0_signature(CMS_SignerInfo *si);
cms.h: int CMS_SignerInfo_sign(CMS_SignerInfo *si);
cms.h: int CMS_SignerInfo_verify(CMS_SignerInfo *si);
cms.h: int CMS_SignerInfo_verify_content(CMS_SignerInfo *si, BIO *chain);
cms.h: int CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs);
cms.h: int CMS_add_simple_smimecap(STACK_OF(X509_ALGOR) **algs,
cms.h: int CMS_add_standard_smimecap(STACK_OF(X509_ALGOR) **smcap);
cms.h: int CMS_signed_get_attr_count(const CMS_SignerInfo *si);
cms.h: int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid,
cms.h: int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj,
cms.h: X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc);
cms.h: X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc);
cms.h: int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
cms.h: int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si,
cms.h: int CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si,
cms.h: int CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si,
cms.h: void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid,
cms.h: int CMS_unsigned_get_attr_count(const CMS_SignerInfo *si);
cms.h: int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid,
cms.h: int CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si,
cms.h: X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc);
cms.h: X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc);
cms.h: int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
cms.h: int CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si,
cms.h: int CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si,
cms.h: int CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si,
cms.h: void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid,
cms.h: int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr);
cms.h: CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen,
cms.h: STACK_OF(GENERAL_NAMES)
cms.h: *receiptList, STACK_OF(GENERAL_NAMES)
cms.h: int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr);
cms.h: void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr,
cms.h: STACK_OF(GENERAL_NAMES) **plist,
cms.h: STACK_OF(GENERAL_NAMES) **prto);
cms.h: int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri,
cms.h: STACK_OF(CMS_RecipientEncryptedKey)
cms.h: *CMS_RecipientInfo_kari_get0_reks(CMS_RecipientInfo *ri);
cms.h: int CMS_RecipientInfo_kari_get0_orig_id(CMS_RecipientInfo *ri,
cms.h: int CMS_RecipientInfo_kari_orig_id_cmp(CMS_RecipientInfo *ri, X509 *cert);
cms.h: int CMS_RecipientEncryptedKey_get0_id(CMS_RecipientEncryptedKey *rek,
cms.h: int CMS_RecipientEncryptedKey_cert_cmp(CMS_RecipientEncryptedKey *rek,
cms.h: int CMS_RecipientInfo_kari_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pk);
cms.h: EVP_CIPHER_CTX *CMS_RecipientInfo_kari_get0_ctx(CMS_RecipientInfo *ri);
cms.h: int CMS_RecipientInfo_kari_decrypt(CMS_ContentInfo *cms,
cms.h: int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,
cms.h: # define CMS_R_UNKNOWN_DIGEST_ALGORITM CMS_R_UNKNOWN_DIGEST_ALGORITHM
cms.h: # define CMS_R_UNSUPPORTED_RECPIENTINFO_TYPE \
comperr.h: * Licensed under the OpenSSL license (the "License"). You may not use
comperr.h: # define HEADER_COMPERR_H
comperr.h: int ERR_load_COMP_strings(void);
comperr.h: # define COMP_F_BIO_ZLIB_FLUSH 99
comperr.h: # define COMP_F_BIO_ZLIB_NEW 100
comperr.h: # define COMP_F_BIO_ZLIB_READ 101
comperr.h: # define COMP_F_BIO_ZLIB_WRITE 102
comperr.h: # define COMP_R_ZLIB_DEFLATE_ERROR 99
comperr.h: # define COMP_R_ZLIB_INFLATE_ERROR 100
comperr.h: # define COMP_R_ZLIB_NOT_SUPPORTED 101
comp.h: * Licensed under the OpenSSL license (the "License"). You may not use
comp.h: # define HEADER_COMP_H
comp.h: COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
comp.h: const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx);
comp.h: int COMP_CTX_get_type(const COMP_CTX* comp);
comp.h: int COMP_get_type(const COMP_METHOD *meth);
comp.h: const char *COMP_get_name(const COMP_METHOD *meth);
comp.h: void COMP_CTX_free(COMP_CTX *ctx);
comp.h: int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
comp.h: int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
comp.h: COMP_METHOD *COMP_zlib(void);
comp.h: #define COMP_zlib_cleanup() while(0) continue
comp.h: const BIO_METHOD *BIO_f_zlib(void);
conf_api.h: * Licensed under the OpenSSL license (the "License"). You may not use
conf_api.h: # define HEADER_CONF_API_H
conf_api.h: CONF_VALUE *_CONF_new_section(CONF *conf, const char *section);
conf_api.h: CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section);
conf_api.h: STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf,
conf_api.h: int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
conf_api.h: char *_CONF_get_string(const CONF *conf, const char *section,
conf_api.h: long _CONF_get_number(const CONF *conf, const char *section,
conf_api.h: int _CONF_new_data(CONF *conf);
conf_api.h: void _CONF_free_data(CONF *conf);
conferr.h: * Licensed under the OpenSSL license (the "License"). You may not use
conferr.h: # define HEADER_CONFERR_H
conferr.h: int ERR_load_CONF_strings(void);
conferr.h: # define CONF_F_CONF_DUMP_FP 104
conferr.h: # define CONF_F_CONF_LOAD 100
conferr.h: # define CONF_F_CONF_LOAD_FP 103
conferr.h: # define CONF_F_CONF_PARSE_LIST 119
conferr.h: # define CONF_F_DEF_LOAD 120
conferr.h: # define CONF_F_DEF_LOAD_BIO 121
conferr.h: # define CONF_F_MODULE_INIT 115
conferr.h: # define CONF_F_MODULE_LOAD_DSO 117
conferr.h: # define CONF_F_MODULE_RUN 118
conferr.h: # define CONF_F_NCONF_DUMP_BIO 105
conferr.h: # define CONF_F_NCONF_DUMP_FP 106
conferr.h: # define CONF_F_NCONF_GET_NUMBER_E 112
conferr.h: # define CONF_F_NCONF_GET_SECTION 108
conferr.h: # define CONF_F_NCONF_GET_STRING 109
conferr.h: # define CONF_F_NCONF_LOAD 113
conferr.h: # define CONF_F_NCONF_LOAD_BIO 110
conferr.h: # define CONF_F_NCONF_LOAD_FP 114
conferr.h: # define CONF_F_NCONF_NEW 111
conferr.h: # define CONF_F_STR_COPY 101
conferr.h: # define CONF_R_ERROR_LOADING_DSO 110
conferr.h: # define CONF_R_LIST_CANNOT_BE_NULL 115
conferr.h: # define CONF_R_MISSING_CLOSE_SQUARE_BRACKET 100
conferr.h: # define CONF_R_MISSING_EQUAL_SIGN 101
conferr.h: # define CONF_R_MISSING_INIT_FUNCTION 112
conferr.h: # define CONF_R_MODULE_INITIALIZATION_ERROR 109
conferr.h: # define CONF_R_NO_CLOSE_BRACE 102
conferr.h: # define CONF_R_NO_CONF 105
conferr.h: # define CONF_R_NO_CONF_OR_ENVIRONMENT_VARIABLE 106
conferr.h: # define CONF_R_NO_SECTION 107
conferr.h: # define CONF_R_NO_SUCH_FILE 114
conferr.h: # define CONF_R_NO_VALUE 108
conferr.h: # define CONF_R_UNABLE_TO_CREATE_NEW_SECTION 103
conferr.h: # define CONF_R_UNKNOWN_MODULE_NAME 113
conferr.h: # define CONF_R_VARIABLE_EXPANSION_TOO_LONG 116
conferr.h: # define CONF_R_VARIABLE_HAS_NO_VALUE 104
conf.h: * Licensed under the OpenSSL license (the "License"). You may not use
conf.h: # define HEADER_CONF_H
conf.h: typedef struct {
conf.h: DEFINE_STACK_OF(CONF_VALUE)
conf.h: DEFINE_LHASH_OF(CONF_VALUE);
conf.h: struct conf_st;
conf.h: struct conf_method_st;
conf.h: typedef struct conf_method_st CONF_METHOD;
conf.h: struct conf_method_st {
conf.h: CONF *(*create) (CONF_METHOD *meth);
conf.h: int (*init) (CONF *conf);
conf.h: int (*destroy) (CONF *conf);
conf.h: int (*destroy_data) (CONF *conf);
conf.h: int (*load_bio) (CONF *conf, BIO *bp, long *eline);
conf.h: int (*dump) (const CONF *conf, BIO *bp);
conf.h: int (*is_number) (const CONF *conf, char c);
conf.h: int (*to_int) (const CONF *conf, char c);
conf.h: int (*load) (CONF *conf, const char *name, long *eline);
conf.h: typedef struct conf_imodule_st CONF_IMODULE;
conf.h: typedef struct conf_module_st CONF_MODULE;
conf.h: DEFINE_STACK_OF(CONF_MODULE)
conf.h: DEFINE_STACK_OF(CONF_IMODULE)
conf.h: typedef int conf_init_func (CONF_IMODULE *md, const CONF *cnf);
conf.h: typedef void conf_finish_func (CONF_IMODULE *md);
conf.h: # define CONF_MFLAGS_IGNORE_ERRORS 0x1
conf.h: # define CONF_MFLAGS_IGNORE_RETURN_CODES 0x2
conf.h: # define CONF_MFLAGS_SILENT 0x4
conf.h: # define CONF_MFLAGS_NO_DSO 0x8
conf.h: # define CONF_MFLAGS_IGNORE_MISSING_FILE 0x10
conf.h: # define CONF_MFLAGS_DEFAULT_SECTION 0x20
conf.h: int CONF_set_default_method(CONF_METHOD *meth);
conf.h: void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
conf.h: LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
conf.h: LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
conf.h: LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,
conf.h: STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
conf.h: char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group,
conf.h: long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group,
conf.h: void CONF_free(LHASH_OF(CONF_VALUE) *conf);
conf.h: int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out);
conf.h: int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out);
conf.h: DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
conf.h: # define OPENSSL_no_config() \
conf.h: OPENSSL_init_crypto(OPENSSL_INIT_NO_LOAD_CONFIG, NULL)
conf.h: struct conf_st {
conf.h: LHASH_OF(CONF_VALUE) *data;
conf.h: CONF *NCONF_new(CONF_METHOD *meth);
conf.h: CONF_METHOD *NCONF_default(void);
conf.h: CONF_METHOD *NCONF_WIN32(void);
conf.h: void NCONF_free(CONF *conf);
conf.h: void NCONF_free_data(CONF *conf);
conf.h: int NCONF_load(CONF *conf, const char *file, long *eline);
conf.h: int NCONF_load_fp(CONF *conf, FILE *fp, long *eline);
conf.h: int NCONF_load_bio(CONF *conf, BIO *bp, long *eline);
conf.h: STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf,
conf.h: char *NCONF_get_string(const CONF *conf, const char *group, const char *name);
conf.h: int NCONF_get_number_e(const CONF *conf, const char *group, const char *name,
conf.h: int NCONF_dump_fp(const CONF *conf, FILE *out);
conf.h: int NCONF_dump_bio(const CONF *conf, BIO *out);
conf.h: #define NCONF_get_number(c,g,n,r) NCONF_get_number_e(c,g,n,r)
conf.h: int CONF_modules_load(const CONF *cnf, const char *appname,
conf.h: int CONF_modules_load_file(const char *filename, const char *appname,
conf.h: void CONF_modules_unload(int all);
conf.h: void CONF_modules_finish(void);
conf.h: # define CONF_modules_free() while(0) continue
conf.h: int CONF_module_add(const char *name, conf_init_func *ifunc,
conf.h: const char *CONF_imodule_get_name(const CONF_IMODULE *md);
conf.h: const char *CONF_imodule_get_value(const CONF_IMODULE *md);
conf.h: void *CONF_imodule_get_usr_data(const CONF_IMODULE *md);
conf.h: void CONF_imodule_set_usr_data(CONF_IMODULE *md, void *usr_data);
conf.h: CONF_MODULE *CONF_imodule_get_module(const CONF_IMODULE *md);
conf.h: unsigned long CONF_imodule_get_flags(const CONF_IMODULE *md);
conf.h: void CONF_imodule_set_flags(CONF_IMODULE *md, unsigned long flags);
conf.h: void *CONF_module_get_usr_data(CONF_MODULE *pmod);
conf.h: void CONF_module_set_usr_data(CONF_MODULE *pmod, void *usr_data);
conf.h: char *CONF_get1_default_config_file(void);
conf.h: int CONF_parse_list(const char *list, int sep, int nospc,
conf.h: int (*list_cb) (const char *elem, int len, void *usr),
conf.h: void OPENSSL_load_builtin_modules(void);
cryptoerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
cryptoerr.h: # define HEADER_CRYPTOERR_H
cryptoerr.h: int ERR_load_CRYPTO_strings(void);
cryptoerr.h: # define CRYPTO_F_CRYPTO_DUP_EX_DATA 110
cryptoerr.h: # define CRYPTO_F_CRYPTO_FREE_EX_DATA 111
cryptoerr.h: # define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX 100
cryptoerr.h: # define CRYPTO_F_CRYPTO_MEMDUP 115
cryptoerr.h: # define CRYPTO_F_CRYPTO_NEW_EX_DATA 112
cryptoerr.h: # define CRYPTO_F_CRYPTO_SET_EX_DATA 102
cryptoerr.h: # define CRYPTO_F_FIPS_MODE_SET 109
cryptoerr.h: # define CRYPTO_F_GET_AND_LOCK 113
cryptoerr.h: # define CRYPTO_F_OPENSSL_BUF2HEXSTR 117
cryptoerr.h: # define CRYPTO_F_OPENSSL_HEXSTR2BUF 118
cryptoerr.h: # define CRYPTO_F_OPENSSL_INIT_CRYPTO 116
cryptoerr.h: # define CRYPTO_R_FIPS_MODE_NOT_SUPPORTED 101
cryptoerr.h: # define CRYPTO_R_ILLEGAL_HEX_DIGIT 102
cryptoerr.h: # define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103
crypto.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
crypto.h: * Licensed under the OpenSSL license (the "License"). You may not use
crypto.h: # define HEADER_CRYPTO_H
crypto.h: # define SSLeay OpenSSL_version_num
crypto.h: # define SSLeay_version OpenSSL_version
crypto.h: # define SSLEAY_VERSION_NUMBER OPENSSL_VERSION_NUMBER
crypto.h: # define SSLEAY_VERSION OPENSSL_VERSION
crypto.h: # define SSLEAY_CFLAGS OPENSSL_CFLAGS
crypto.h: # define SSLEAY_BUILT_ON OPENSSL_BUILT_ON
crypto.h: # define SSLEAY_PLATFORM OPENSSL_PLATFORM
crypto.h: # define SSLEAY_DIR OPENSSL_DIR
crypto.h: typedef struct {
crypto.h: CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
crypto.h: int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
crypto.h: int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock);
crypto.h: int CRYPTO_THREAD_unlock(CRYPTO_RWLOCK *lock);
crypto.h: void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock);
crypto.h: int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
crypto.h: int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock);
crypto.h: int CRYPTO_atomic_write(int *val, int n, CRYPTO_RWLOCK *lock);
crypto.h: # define CRYPTO_MEM_CHECK_OFF 0x0 /* Control only */
crypto.h: # define CRYPTO_MEM_CHECK_ON 0x1 /* Control and mode bit */
crypto.h: # define CRYPTO_MEM_CHECK_ENABLE 0x2 /* Control and mode bit */
crypto.h: # define CRYPTO_MEM_CHECK_DISABLE 0x3 /* Control only */
crypto.h: struct crypto_ex_data_st {
crypto.h: STACK_OF(void) *sk;
crypto.h: DEFINE_STACK_OF(void)
crypto.h: # define CRYPTO_EX_INDEX_SSL 0
crypto.h: # define CRYPTO_EX_INDEX_SSL_CTX 1
crypto.h: # define CRYPTO_EX_INDEX_SSL_SESSION 2
crypto.h: # define CRYPTO_EX_INDEX_X509 3
crypto.h: # define CRYPTO_EX_INDEX_X509_STORE 4
crypto.h: # define CRYPTO_EX_INDEX_X509_STORE_CTX 5
crypto.h: # define CRYPTO_EX_INDEX_DH 6
crypto.h: # define CRYPTO_EX_INDEX_DSA 7
crypto.h: # define CRYPTO_EX_INDEX_EC_KEY 8
crypto.h: # define CRYPTO_EX_INDEX_RSA 9
crypto.h: # define CRYPTO_EX_INDEX_ENGINE 10
crypto.h: # define CRYPTO_EX_INDEX_UI 11
crypto.h: # define CRYPTO_EX_INDEX_BIO 12
crypto.h: # define CRYPTO_EX_INDEX_APP 13
crypto.h: # define CRYPTO_EX_INDEX_UI_METHOD 14
crypto.h: # define CRYPTO_EX_INDEX_DRBG 15
crypto.h: # define CRYPTO_EX_INDEX__COUNT 16
crypto.h: #define OPENSSL_malloc_init() \
crypto.h: CRYPTO_set_mem_functions(CRYPTO_malloc, CRYPTO_realloc, CRYPTO_free)
crypto.h: int CRYPTO_mem_ctrl(int mode);
crypto.h: # define OPENSSL_malloc(num) \
crypto.h: CRYPTO_malloc(num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_zalloc(num) \
crypto.h: CRYPTO_zalloc(num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_realloc(addr, num) \
crypto.h: CRYPTO_realloc(addr, num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_clear_realloc(addr, old_num, num) \
crypto.h: CRYPTO_clear_realloc(addr, old_num, num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_clear_free(addr, num) \
crypto.h: CRYPTO_clear_free(addr, num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_free(addr) \
crypto.h: CRYPTO_free(addr, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_memdup(str, s) \
crypto.h: CRYPTO_memdup((str), s, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_strdup(str) \
crypto.h: CRYPTO_strdup(str, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_strndup(str, n) \
crypto.h: CRYPTO_strndup(str, n, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_secure_malloc(num) \
crypto.h: CRYPTO_secure_malloc(num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_secure_zalloc(num) \
crypto.h: CRYPTO_secure_zalloc(num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_secure_free(addr) \
crypto.h: CRYPTO_secure_free(addr, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_secure_clear_free(addr, num) \
crypto.h: CRYPTO_secure_clear_free(addr, num, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_secure_actual_size(ptr) \
crypto.h: CRYPTO_secure_actual_size(ptr)
crypto.h: size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
crypto.h: size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
crypto.h: size_t OPENSSL_strnlen(const char *str, size_t maxlen);
crypto.h: char *OPENSSL_buf2hexstr(const unsigned char *buffer, long len);
crypto.h: unsigned char *OPENSSL_hexstr2buf(const char *str, long *len);
crypto.h: int OPENSSL_hexchar2int(unsigned char c);
crypto.h: # define OPENSSL_MALLOC_MAX_NELEMS(type) (((1U<<(sizeof(int)*8-1))-1)/sizeof(type))
crypto.h: unsigned long OpenSSL_version_num(void);
crypto.h: const char *OpenSSL_version(int type);
crypto.h: # define OPENSSL_VERSION 0
crypto.h: # define OPENSSL_CFLAGS 1
crypto.h: # define OPENSSL_BUILT_ON 2
crypto.h: # define OPENSSL_PLATFORM 3
crypto.h: # define OPENSSL_DIR 4
crypto.h: # define OPENSSL_ENGINES_DIR 5
crypto.h: int OPENSSL_issetugid(void);
crypto.h: typedef void CRYPTO_EX_new (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
crypto.h: typedef void CRYPTO_EX_free (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
crypto.h: typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
crypto.h: __owur int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp,
crypto.h: int CRYPTO_free_ex_index(int class_index, int idx);
crypto.h: * given class (invokes whatever per-class callbacks are applicable)
crypto.h: int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
crypto.h: int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
crypto.h: void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
crypto.h: * index (relative to the class type involved)
crypto.h: int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val);
crypto.h: void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
crypto.h: # define CRYPTO_cleanup_all_ex_data() while(0) continue
crypto.h: # define CRYPTO_num_locks() (1)
crypto.h: # define CRYPTO_set_locking_callback(func)
crypto.h: # define CRYPTO_get_locking_callback() (NULL)
crypto.h: # define CRYPTO_set_add_lock_callback(func)
crypto.h: # define CRYPTO_get_add_lock_callback() (NULL)
crypto.h: # define CRYPTO_LOCK 1
crypto.h: # define CRYPTO_UNLOCK 2
crypto.h: # define CRYPTO_READ 4
crypto.h: # define CRYPTO_WRITE 8
crypto.h: typedef struct crypto_threadid_st {
crypto.h: /* Only use CRYPTO_THREADID_set_[numeric|pointer]() within callbacks */
crypto.h: # define CRYPTO_THREADID_set_numeric(id, val)
crypto.h: # define CRYPTO_THREADID_set_pointer(id, ptr)
crypto.h: # define CRYPTO_THREADID_set_callback(threadid_func) (0)
crypto.h: # define CRYPTO_THREADID_get_callback() (NULL)
crypto.h: # define CRYPTO_THREADID_current(id)
crypto.h: # define CRYPTO_THREADID_cmp(a, b) (-1)
crypto.h: # define CRYPTO_THREADID_cpy(dest, src)
crypto.h: # define CRYPTO_THREADID_hash(id) (0UL)
crypto.h: # define CRYPTO_set_id_callback(func)
crypto.h: # define CRYPTO_get_id_callback() (NULL)
crypto.h: # define CRYPTO_thread_id() (0UL)
crypto.h: # define CRYPTO_set_dynlock_create_callback(dyn_create_function)
crypto.h: # define CRYPTO_set_dynlock_lock_callback(dyn_lock_function)
crypto.h: # define CRYPTO_set_dynlock_destroy_callback(dyn_destroy_function)
crypto.h: # define CRYPTO_get_dynlock_create_callback() (NULL)
crypto.h: # define CRYPTO_get_dynlock_lock_callback() (NULL)
crypto.h: # define CRYPTO_get_dynlock_destroy_callback() (NULL)
crypto.h: int CRYPTO_set_mem_functions(
crypto.h: void *(*m) (size_t, const char *, int),
crypto.h: void *(*r) (void *, size_t, const char *, int),
crypto.h: void (*f) (void *, const char *, int));
crypto.h: int CRYPTO_set_mem_debug(int flag);
crypto.h: void CRYPTO_get_mem_functions(
crypto.h: void *(**m) (size_t, const char *, int),
crypto.h: void *(**r) (void *, size_t, const char *, int),
crypto.h: void (**f) (void *, const char *, int));
crypto.h: void *CRYPTO_malloc(size_t num, const char *file, int line);
crypto.h: void *CRYPTO_zalloc(size_t num, const char *file, int line);
crypto.h: void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
crypto.h: char *CRYPTO_strdup(const char *str, const char *file, int line);
crypto.h: char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
crypto.h: void CRYPTO_free(void *ptr, const char *file, int line);
crypto.h: void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
crypto.h: void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
crypto.h: void *CRYPTO_clear_realloc(void *addr, size_t old_num, size_t num,
crypto.h: int CRYPTO_secure_malloc_init(size_t sz, int minsize);
crypto.h: int CRYPTO_secure_malloc_done(void);
crypto.h: void *CRYPTO_secure_malloc(size_t num, const char *file, int line);
crypto.h: void *CRYPTO_secure_zalloc(size_t num, const char *file, int line);
crypto.h: void CRYPTO_secure_free(void *ptr, const char *file, int line);
crypto.h: void CRYPTO_secure_clear_free(void *ptr, size_t num,
crypto.h: int CRYPTO_secure_allocated(const void *ptr);
crypto.h: int CRYPTO_secure_malloc_initialized(void);
crypto.h: size_t CRYPTO_secure_actual_size(void *ptr);
crypto.h: size_t CRYPTO_secure_used(void);
crypto.h: void OPENSSL_cleanse(void *ptr, size_t len);
crypto.h: # define OPENSSL_mem_debug_push(info) \
crypto.h: CRYPTO_mem_debug_push(info, OPENSSL_FILE, OPENSSL_LINE)
crypto.h: # define OPENSSL_mem_debug_pop() \
crypto.h: CRYPTO_mem_debug_pop()
crypto.h: int CRYPTO_mem_debug_push(const char *info, const char *file, int line);
crypto.h: int CRYPTO_mem_debug_pop(void);
crypto.h: void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount);
crypto.h: * Debugging functions (enabled by CRYPTO_set_mem_debug(1))
crypto.h: void CRYPTO_mem_debug_malloc(void *addr, size_t num, int flag,
crypto.h: void CRYPTO_mem_debug_realloc(void *addr1, void *addr2, size_t num, int flag,
crypto.h: void CRYPTO_mem_debug_free(void *addr, int flag,
crypto.h: int CRYPTO_mem_leaks_cb(int (*cb) (const char *str, size_t len, void *u),
crypto.h: int CRYPTO_mem_leaks_fp(FILE *);
crypto.h: int CRYPTO_mem_leaks(BIO *bio);
crypto.h: ossl_noreturn void OPENSSL_die(const char *assertion, const char *file, int line);
crypto.h: # define OpenSSLDie(f,l,a) OPENSSL_die((a),(f),(l))
crypto.h: # define OPENSSL_assert(e) \
crypto.h: (void)((e) ? 0 : (OPENSSL_die("assertion failed: " #e, OPENSSL_FILE, OPENSSL_LINE), 1))
crypto.h: int OPENSSL_isservice(void);
crypto.h: int FIPS_mode(void);
crypto.h: int FIPS_mode_set(int r);
crypto.h: void OPENSSL_init(void);
crypto.h: void OPENSSL_fork_prepare(void);
crypto.h: void OPENSSL_fork_parent(void);
crypto.h: void OPENSSL_fork_child(void);
crypto.h: struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
crypto.h: int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
crypto.h: int OPENSSL_gmtime_diff(int *pday, int *psec,
crypto.h: const struct tm *from, const struct tm *to);
crypto.h: int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len);
crypto.h: # define OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS 0x00000001L
crypto.h: # define OPENSSL_INIT_LOAD_CRYPTO_STRINGS 0x00000002L
crypto.h: # define OPENSSL_INIT_ADD_ALL_CIPHERS 0x00000004L
crypto.h: # define OPENSSL_INIT_ADD_ALL_DIGESTS 0x00000008L
crypto.h: # define OPENSSL_INIT_NO_ADD_ALL_CIPHERS 0x00000010L
crypto.h: # define OPENSSL_INIT_NO_ADD_ALL_DIGESTS 0x00000020L
crypto.h: # define OPENSSL_INIT_LOAD_CONFIG 0x00000040L
crypto.h: # define OPENSSL_INIT_NO_LOAD_CONFIG 0x00000080L
crypto.h: # define OPENSSL_INIT_ASYNC 0x00000100L
crypto.h: # define OPENSSL_INIT_ENGINE_RDRAND 0x00000200L
crypto.h: # define OPENSSL_INIT_ENGINE_DYNAMIC 0x00000400L
crypto.h: # define OPENSSL_INIT_ENGINE_OPENSSL 0x00000800L
crypto.h: # define OPENSSL_INIT_ENGINE_CRYPTODEV 0x00001000L
crypto.h: # define OPENSSL_INIT_ENGINE_CAPI 0x00002000L
crypto.h: # define OPENSSL_INIT_ENGINE_PADLOCK 0x00004000L
crypto.h: # define OPENSSL_INIT_ENGINE_AFALG 0x00008000L
crypto.h: # define OPENSSL_INIT_reserved_internal 0x00010000L
crypto.h: # define OPENSSL_INIT_ATFORK 0x00020000L
crypto.h: /* OPENSSL_INIT flag range 0xfff00000 reserved for OPENSSL_init_ssl() */
crypto.h: # define OPENSSL_INIT_ENGINE_ALL_BUILTIN \
crypto.h: (OPENSSL_INIT_ENGINE_RDRAND | OPENSSL_INIT_ENGINE_DYNAMIC \
crypto.h: void OPENSSL_cleanup(void);
crypto.h: int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
crypto.h: int OPENSSL_atexit(void (*handler)(void));
crypto.h: void OPENSSL_thread_stop(void);
crypto.h: OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void);
crypto.h: int OPENSSL_INIT_set_config_appname(OPENSSL_INIT_SETTINGS *settings,
crypto.h: void OPENSSL_INIT_free(OPENSSL_INIT_SETTINGS *settings);
crypto.h: # if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG)
crypto.h: # if defined(_WIN32)
crypto.h: # if defined(BASETYPES) || defined(_WINDEF_H)
crypto.h: # define CRYPTO_ONCE_STATIC_INIT 0
crypto.h: # define CRYPTO_ONCE_STATIC_INIT PTHREAD_ONCE_INIT
crypto.h: # if !defined(CRYPTO_ONCE_STATIC_INIT)
crypto.h: # define CRYPTO_ONCE_STATIC_INIT 0
crypto.h: int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void));
crypto.h: int CRYPTO_THREAD_init_local(CRYPTO_THREAD_LOCAL *key, void (*cleanup)(void *));
crypto.h: void *CRYPTO_THREAD_get_local(CRYPTO_THREAD_LOCAL *key);
crypto.h: int CRYPTO_THREAD_set_local(CRYPTO_THREAD_LOCAL *key, void *val);
crypto.h: int CRYPTO_THREAD_cleanup_local(CRYPTO_THREAD_LOCAL *key);
crypto.h: CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void);
crypto.h: int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b);
cterr.h: * Licensed under the OpenSSL license (the "License"). You may not use
cterr.h: # define HEADER_CTERR_H
cterr.h: int ERR_load_CT_strings(void);
cterr.h: # define CT_F_CTLOG_NEW 117
cterr.h: # define CT_F_CTLOG_NEW_FROM_BASE64 118
cterr.h: # define CT_F_CTLOG_NEW_FROM_CONF 119
cterr.h: # define CT_F_CTLOG_STORE_LOAD_CTX_NEW 122
cterr.h: # define CT_F_CTLOG_STORE_LOAD_FILE 123
cterr.h: # define CT_F_CTLOG_STORE_LOAD_LOG 130
cterr.h: # define CT_F_CTLOG_STORE_NEW 131
cterr.h: # define CT_F_CT_BASE64_DECODE 124
cterr.h: # define CT_F_CT_POLICY_EVAL_CTX_NEW 133
cterr.h: # define CT_F_CT_V1_LOG_ID_FROM_PKEY 125
cterr.h: # define CT_F_I2O_SCT 107
cterr.h: # define CT_F_I2O_SCT_LIST 108
cterr.h: # define CT_F_I2O_SCT_SIGNATURE 109
cterr.h: # define CT_F_O2I_SCT 110
cterr.h: # define CT_F_O2I_SCT_LIST 111
cterr.h: # define CT_F_O2I_SCT_SIGNATURE 112
cterr.h: # define CT_F_SCT_CTX_NEW 126
cterr.h: # define CT_F_SCT_CTX_VERIFY 128
cterr.h: # define CT_F_SCT_NEW 100
cterr.h: # define CT_F_SCT_NEW_FROM_BASE64 127
cterr.h: # define CT_F_SCT_SET0_LOG_ID 101
cterr.h: # define CT_F_SCT_SET1_EXTENSIONS 114
cterr.h: # define CT_F_SCT_SET1_LOG_ID 115
cterr.h: # define CT_F_SCT_SET1_SIGNATURE 116
cterr.h: # define CT_F_SCT_SET_LOG_ENTRY_TYPE 102
cterr.h: # define CT_F_SCT_SET_SIGNATURE_NID 103
cterr.h: # define CT_F_SCT_SET_VERSION 104
cterr.h: # define CT_R_BASE64_DECODE_ERROR 108
cterr.h: # define CT_R_INVALID_LOG_ID_LENGTH 100
cterr.h: # define CT_R_LOG_CONF_INVALID 109
cterr.h: # define CT_R_LOG_CONF_INVALID_KEY 110
cterr.h: # define CT_R_LOG_CONF_MISSING_DESCRIPTION 111
cterr.h: # define CT_R_LOG_CONF_MISSING_KEY 112
cterr.h: # define CT_R_LOG_KEY_INVALID 113
cterr.h: # define CT_R_SCT_FUTURE_TIMESTAMP 116
cterr.h: # define CT_R_SCT_INVALID 104
cterr.h: # define CT_R_SCT_INVALID_SIGNATURE 107
cterr.h: # define CT_R_SCT_LIST_INVALID 105
cterr.h: # define CT_R_SCT_LOG_ID_MISMATCH 114
cterr.h: # define CT_R_SCT_NOT_SET 106
cterr.h: # define CT_R_SCT_UNSUPPORTED_VERSION 115
cterr.h: # define CT_R_UNRECOGNIZED_SIGNATURE_NID 101
cterr.h: # define CT_R_UNSUPPORTED_ENTRY_TYPE 102
cterr.h: # define CT_R_UNSUPPORTED_VERSION 103
ct.h: * Licensed under the OpenSSL license (the "License"). You may not use
ct.h: # define HEADER_CT_H
ct.h: # define SCT_MIN_RSA_BITS 2048
ct.h: # define CT_V1_HASHLEN SHA256_DIGEST_LENGTH
ct.h: DEFINE_STACK_OF(SCT)
ct.h: DEFINE_STACK_OF(CTLOG)
ct.h: CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void);
ct.h: void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx);
ct.h: X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx);
ct.h: int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert);
ct.h: X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx);
ct.h: int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer);
ct.h: const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx);
ct.h: void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx,
ct.h: uint64_t CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx);
ct.h: void CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms);
ct.h: SCT *SCT_new(void);
ct.h: SCT *SCT_new_from_base64(unsigned char version,
ct.h: void SCT_free(SCT *sct);
ct.h: void SCT_LIST_free(STACK_OF(SCT) *a);
ct.h: sct_version_t SCT_get_version(const SCT *sct);
ct.h: __owur int SCT_set_version(SCT *sct, sct_version_t version);
ct.h: ct_log_entry_type_t SCT_get_log_entry_type(const SCT *sct);
ct.h: __owur int SCT_set_log_entry_type(SCT *sct, ct_log_entry_type_t entry_type);
ct.h: size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id);
ct.h: __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
ct.h: __owur int SCT_set1_log_id(SCT *sct, const unsigned char *log_id,
ct.h: * Returns the timestamp for the SCT (epoch time in milliseconds).
ct.h: uint64_t SCT_get_timestamp(const SCT *sct);
ct.h: * Set the timestamp of an SCT (epoch time in milliseconds).
ct.h: void SCT_set_timestamp(SCT *sct, uint64_t timestamp);
ct.h: * NID_ecdsa_with_SHA256 (or NID_undef if incorrect/unset).
ct.h: int SCT_get_signature_nid(const SCT *sct);
ct.h: __owur int SCT_set_signature_nid(SCT *sct, int nid);
ct.h: size_t SCT_get0_extensions(const SCT *sct, unsigned char **ext);
ct.h: void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len);
ct.h: __owur int SCT_set1_extensions(SCT *sct, const unsigned char *ext,
ct.h: size_t SCT_get0_signature(const SCT *sct, unsigned char **sig);
ct.h: void SCT_set0_signature(SCT *sct, unsigned char *sig, size_t sig_len);
ct.h: __owur int SCT_set1_signature(SCT *sct, const unsigned char *sig,
ct.h: sct_source_t SCT_get_source(const SCT *sct);
ct.h: __owur int SCT_set_source(SCT *sct, sct_source_t source);
ct.h: const char *SCT_validation_status_string(const SCT *sct);
ct.h: void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs);
ct.h: void SCT_LIST_print(const STACK_OF(SCT) *sct_list, BIO *out, int indent,
ct.h: sct_validation_status_t SCT_get_validation_status(const SCT *sct);
ct.h: __owur int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx);
ct.h: __owur int SCT_LIST_validate(const STACK_OF(SCT) *scts,
ct.h: * Serialize (to TLS format) a stack of SCTs and return the length.
ct.h: * for data that caller is responsible for freeing (only if function returns
ct.h: * Returns < 0 on error, >= 0 indicating bytes written (or would have been)
ct.h: __owur int i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp);
ct.h: * responsible for freeing (by calling SCT_LIST_free).
ct.h: STACK_OF(SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
ct.h: * Serialize (to DER format) a stack of SCTs and return the length.
ct.h: * for data that caller is responsible for freeing (only if function returns
ct.h: * Returns < 0 on error, >= 0 indicating bytes written (or would have been)
ct.h: __owur int i2d_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp);
ct.h: * responsible for freeing (by calling SCT_LIST_free).
ct.h: STACK_OF(SCT) *d2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp,
ct.h: * Serialize (to TLS format) an |sct| and write it to |out|.
ct.h: __owur int i2o_SCT(const SCT *sct, unsigned char **out);
ct.h: * fields will be populated (with |in| and |len| respectively).
ct.h: SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len);
ct.h: CTLOG *CTLOG_new(EVP_PKEY *public_key, const char *name);
ct.h: int CTLOG_new_from_base64(CTLOG ** ct_log,
ct.h: void CTLOG_free(CTLOG *log);
ct.h: const char *CTLOG_get0_name(const CTLOG *log);
ct.h: void CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id,
ct.h: EVP_PKEY *CTLOG_get0_public_key(const CTLOG *log);
ct.h: CTLOG_STORE *CTLOG_STORE_new(void);
ct.h: void CTLOG_STORE_free(CTLOG_STORE *store);
ct.h: const CTLOG *CTLOG_STORE_get0_log_by_id(const CTLOG_STORE *store,
ct.h: __owur int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file);
ct.h: __owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
des.h: * Licensed under the OpenSSL license (the "License"). You may not use
des.h: # define HEADER_DES_H
des.h: # define OPENSSL_EXTERN OPENSSL_EXPORT
des.h: typedef struct DES_ks {
des.h: # define DES_KEY_SZ (sizeof(DES_cblock))
des.h: # define DES_SCHEDULE_SZ (sizeof(DES_key_schedule))
des.h: # define DES_ENCRYPT 1
des.h: # define DES_DECRYPT 0
des.h: # define DES_CBC_MODE 0
des.h: # define DES_PCBC_MODE 1
des.h: # define DES_ecb2_encrypt(i,o,k1,k2,e) \
des.h: DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
des.h: # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
des.h: DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
des.h: # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
des.h: DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
des.h: # define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
des.h: DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
des.h: OPENSSL_DECLARE_GLOBAL(int, DES_check_key); /* defaults to false */
des.h: # define DES_check_key OPENSSL_GLOBAL_REF(DES_check_key)
des.h: const char *DES_options(void);
des.h: void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
des.h: DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output,
des.h: void DES_cbc_encrypt(const unsigned char *input, unsigned char *output,
des.h: void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output,
des.h: void DES_xcbc_encrypt(const unsigned char *input, unsigned char *output,
des.h: void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
des.h: void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
des.h: void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc);
des.h: * This functions is the same as DES_encrypt1() except that the DES initial
des.h: * permutation (IP) and final permutation (FP) have been left out. As for
des.h: * DES_encrypt1(), you should not use this function. It is used by the
des.h: * routines in the library that implement triple DES. IP() DES_encrypt2()
des.h: * DES_encrypt2() DES_encrypt2() FP() is the same as DES_encrypt1()
des.h: * DES_encrypt1() DES_encrypt1() except faster :-).
des.h: void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc);
des.h: void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1,
des.h: void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1,
des.h: void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output,
des.h: void DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out,
des.h: void DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out,
des.h: void DES_ede3_ofb64_encrypt(const unsigned char *in, unsigned char *out,
des.h: char *DES_fcrypt(const char *buf, const char *salt, char *ret);
des.h: char *DES_crypt(const char *buf, const char *salt);
des.h: void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
des.h: void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,
des.h: DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[],
des.h: int DES_random_key(DES_cblock *ret);
des.h: void DES_set_odd_parity(DES_cblock *key);
des.h: int DES_check_key_parity(const_DES_cblock *key);
des.h: int DES_is_weak_key(const_DES_cblock *key);
des.h: * DES_set_key (= set_key = DES_key_sched = key_sched) calls
des.h: int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule);
des.h: int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule);
des.h: int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule);
des.h: void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule);
des.h: void DES_string_to_key(const char *str, DES_cblock *key);
des.h: void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2);
des.h: void DES_cfb64_encrypt(const unsigned char *in, unsigned char *out,
des.h: void DES_ofb64_encrypt(const unsigned char *in, unsigned char *out,
des.h: # define DES_fixup_key_parity DES_set_odd_parity
dherr.h: * Licensed under the OpenSSL license (the "License"). You may not use
dherr.h: # define HEADER_DHERR_H
dherr.h: int ERR_load_DH_strings(void);
dherr.h: # define DH_F_COMPUTE_KEY 102
dherr.h: # define DH_F_DHPARAMS_PRINT_FP 101
dherr.h: # define DH_F_DH_BUILTIN_GENPARAMS 106
dherr.h: # define DH_F_DH_CHECK_EX 121
dherr.h: # define DH_F_DH_CHECK_PARAMS_EX 122
dherr.h: # define DH_F_DH_CHECK_PUB_KEY_EX 123
dherr.h: # define DH_F_DH_CMS_DECRYPT 114
dherr.h: # define DH_F_DH_CMS_SET_PEERKEY 115
dherr.h: # define DH_F_DH_CMS_SET_SHARED_INFO 116
dherr.h: # define DH_F_DH_METH_DUP 117
dherr.h: # define DH_F_DH_METH_NEW 118
dherr.h: # define DH_F_DH_METH_SET1_NAME 119
dherr.h: # define DH_F_DH_NEW_BY_NID 104
dherr.h: # define DH_F_DH_NEW_METHOD 105
dherr.h: # define DH_F_DH_PARAM_DECODE 107
dherr.h: # define DH_F_DH_PKEY_PUBLIC_CHECK 124
dherr.h: # define DH_F_DH_PRIV_DECODE 110
dherr.h: # define DH_F_DH_PRIV_ENCODE 111
dherr.h: # define DH_F_DH_PUB_DECODE 108
dherr.h: # define DH_F_DH_PUB_ENCODE 109
dherr.h: # define DH_F_DO_DH_PRINT 100
dherr.h: # define DH_F_GENERATE_KEY 103
dherr.h: # define DH_F_PKEY_DH_CTRL_STR 120
dherr.h: # define DH_F_PKEY_DH_DERIVE 112
dherr.h: # define DH_F_PKEY_DH_KEYGEN 113
dherr.h: # define DH_R_BAD_GENERATOR 101
dherr.h: # define DH_R_BN_DECODE_ERROR 109
dherr.h: # define DH_R_BN_ERROR 106
dherr.h: # define DH_R_CHECK_INVALID_J_VALUE 115
dherr.h: # define DH_R_CHECK_INVALID_Q_VALUE 116
dherr.h: # define DH_R_CHECK_PUBKEY_INVALID 122
dherr.h: # define DH_R_CHECK_PUBKEY_TOO_LARGE 123
dherr.h: # define DH_R_CHECK_PUBKEY_TOO_SMALL 124
dherr.h: # define DH_R_CHECK_P_NOT_PRIME 117
dherr.h: # define DH_R_CHECK_P_NOT_SAFE_PRIME 118
dherr.h: # define DH_R_CHECK_Q_NOT_PRIME 119
dherr.h: # define DH_R_DECODE_ERROR 104
dherr.h: # define DH_R_INVALID_PARAMETER_NAME 110
dherr.h: # define DH_R_INVALID_PARAMETER_NID 114
dherr.h: # define DH_R_INVALID_PUBKEY 102
dherr.h: # define DH_R_KDF_PARAMETER_ERROR 112
dherr.h: # define DH_R_KEYS_NOT_SET 108
dherr.h: # define DH_R_MISSING_PUBKEY 125
dherr.h: # define DH_R_MODULUS_TOO_LARGE 103
dherr.h: # define DH_R_NOT_SUITABLE_GENERATOR 120
dherr.h: # define DH_R_NO_PARAMETERS_SET 107
dherr.h: # define DH_R_NO_PRIVATE_VALUE 100
dherr.h: # define DH_R_PARAMETER_ENCODING_ERROR 105
dherr.h: # define DH_R_PEER_KEY_ERROR 111
dherr.h: # define DH_R_SHARED_INFO_ERROR 113
dherr.h: # define DH_R_UNABLE_TO_CHECK_GENERATOR 121
dh.h: * Licensed under the OpenSSL license (the "License"). You may not use
dh.h: # define HEADER_DH_H
dh.h: # define OPENSSL_DH_MAX_MODULUS_BITS 10000
dh.h: # define OPENSSL_DH_FIPS_MIN_MODULUS_BITS 1024
dh.h: # define DH_FLAG_CACHE_MONT_P 0x01
dh.h: # define DH_FLAG_NO_EXP_CONSTTIME 0x00
dh.h: # define DH_FLAG_FIPS_METHOD 0x0400
dh.h: # define DH_FLAG_NON_FIPS_ALLOW 0x0400
dh.h: /* typedef struct dh_st DH; */
dh.h: /* typedef struct dh_method DH_METHOD; */
dh.h: DECLARE_ASN1_ITEM(DHparams)
dh.h: # define DH_GENERATOR_2 2
dh.h: # define DH_GENERATOR_5 5
dh.h: # define DH_CHECK_P_NOT_PRIME 0x01
dh.h: # define DH_CHECK_P_NOT_SAFE_PRIME 0x02
dh.h: # define DH_UNABLE_TO_CHECK_GENERATOR 0x04
dh.h: # define DH_NOT_SUITABLE_GENERATOR 0x08
dh.h: # define DH_CHECK_Q_NOT_PRIME 0x10
dh.h: # define DH_CHECK_INVALID_Q_VALUE 0x20
dh.h: # define DH_CHECK_INVALID_J_VALUE 0x40
dh.h: # define DH_CHECK_PUBKEY_TOO_SMALL 0x01
dh.h: # define DH_CHECK_PUBKEY_TOO_LARGE 0x02
dh.h: # define DH_CHECK_PUBKEY_INVALID 0x04
dh.h: * primes p where (p-1)/2 is prime too are called "safe"; we define this for
dh.h: # define DH_CHECK_P_NOT_STRONG_PRIME DH_CHECK_P_NOT_SAFE_PRIME
dh.h: # define d2i_DHparams_fp(fp,x) \
dh.h: (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
dh.h: (char *(*)())d2i_DHparams, \
dh.h: (fp), \
dh.h: (unsigned char **)(x))
dh.h: # define i2d_DHparams_fp(fp,x) \
dh.h: ASN1_i2d_fp(i2d_DHparams,(fp), (unsigned char *)(x))
dh.h: # define d2i_DHparams_bio(bp,x) \
dh.h: ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x)
dh.h: # define i2d_DHparams_bio(bp,x) \
dh.h: ASN1_i2d_bio_of_const(DH,i2d_DHparams,bp,x)
dh.h: # define d2i_DHxparams_fp(fp,x) \
dh.h: (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
dh.h: (char *(*)())d2i_DHxparams, \
dh.h: (fp), \
dh.h: (unsigned char **)(x))
dh.h: # define i2d_DHxparams_fp(fp,x) \
dh.h: ASN1_i2d_fp(i2d_DHxparams,(fp), (unsigned char *)(x))
dh.h: # define d2i_DHxparams_bio(bp,x) \
dh.h: ASN1_d2i_bio_of(DH, DH_new, d2i_DHxparams, bp, x)
dh.h: # define i2d_DHxparams_bio(bp,x) \
dh.h: ASN1_i2d_bio_of_const(DH, i2d_DHxparams, bp, x)
dh.h: DH *DHparams_dup(DH *);
dh.h: const DH_METHOD *DH_OpenSSL(void);
dh.h: void DH_set_default_method(const DH_METHOD *meth);
dh.h: const DH_METHOD *DH_get_default_method(void);
dh.h: int DH_set_method(DH *dh, const DH_METHOD *meth);
dh.h: DH *DH_new_method(ENGINE *engine);
dh.h: DH *DH_new(void);
dh.h: void DH_free(DH *dh);
dh.h: int DH_up_ref(DH *dh);
dh.h: int DH_bits(const DH *dh);
dh.h: int DH_size(const DH *dh);
dh.h: int DH_security_bits(const DH *dh);
dh.h: #define DH_get_ex_new_index(l, p, newf, dupf, freef) \
dh.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DH, l, p, newf, dupf, freef)
dh.h: int DH_set_ex_data(DH *d, int idx, void *arg);
dh.h: void *DH_get_ex_data(DH *d, int idx);
dh.h: DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
dh.h: void (*callback) (int, int,
dh.h: int DH_generate_parameters_ex(DH *dh, int prime_len, int generator,
dh.h: int DH_check_params_ex(const DH *dh);
dh.h: int DH_check_ex(const DH *dh);
dh.h: int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key);
dh.h: int DH_check_params(const DH *dh, int *ret);
dh.h: int DH_check(const DH *dh, int *codes);
dh.h: int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *codes);
dh.h: int DH_generate_key(DH *dh);
dh.h: int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
dh.h: int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh);
dh.h: DH *d2i_DHparams(DH **a, const unsigned char **pp, long length);
dh.h: int i2d_DHparams(const DH *a, unsigned char **pp);
dh.h: DH *d2i_DHxparams(DH **a, const unsigned char **pp, long length);
dh.h: int i2d_DHxparams(const DH *a, unsigned char **pp);
dh.h: int DHparams_print_fp(FILE *fp, const DH *x);
dh.h: int DHparams_print(BIO *bp, const DH *x);
dh.h: DH *DH_get_1024_160(void);
dh.h: DH *DH_get_2048_224(void);
dh.h: DH *DH_get_2048_256(void);
dh.h: DH *DH_new_by_nid(int nid);
dh.h: int DH_get_nid(const DH *dh);
dh.h: int DH_KDF_X9_42(unsigned char *out, size_t outlen,
dh.h: void DH_get0_pqg(const DH *dh,
dh.h: int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
dh.h: void DH_get0_key(const DH *dh,
dh.h: int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
dh.h: void DH_clear_flags(DH *dh, int flags);
dh.h: int DH_test_flags(const DH *dh, int flags);
dh.h: void DH_set_flags(DH *dh, int flags);
dh.h: ENGINE *DH_get0_engine(DH *d);
dh.h: long DH_get_length(const DH *dh);
dh.h: int DH_set_length(DH *dh, long length);
dh.h: DH_METHOD *DH_meth_new(const char *name, int flags);
dh.h: void DH_meth_free(DH_METHOD *dhm);
dh.h: DH_METHOD *DH_meth_dup(const DH_METHOD *dhm);
dh.h: const char *DH_meth_get0_name(const DH_METHOD *dhm);
dh.h: int DH_meth_set1_name(DH_METHOD *dhm, const char *name);
dh.h: int DH_meth_get_flags(DH_METHOD *dhm);
dh.h: int DH_meth_set_flags(DH_METHOD *dhm, int flags);
dh.h: void *DH_meth_get0_app_data(const DH_METHOD *dhm);
dh.h: int DH_meth_set0_app_data(DH_METHOD *dhm, void *app_data);
dh.h: int (*DH_meth_get_generate_key(const DH_METHOD *dhm)) (DH *);
dh.h: int DH_meth_set_generate_key(DH_METHOD *dhm, int (*generate_key) (DH *));
dh.h: int (*DH_meth_get_compute_key(const DH_METHOD *dhm))
dh.h: (unsigned char *key, const BIGNUM *pub_key, DH *dh);
dh.h: int DH_meth_set_compute_key(DH_METHOD *dhm,
dh.h: int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh));
dh.h: int (*DH_meth_get_bn_mod_exp(const DH_METHOD *dhm))
dh.h: (const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
dh.h: int DH_meth_set_bn_mod_exp(DH_METHOD *dhm,
dh.h: int (*bn_mod_exp) (const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *,
dh.h: int (*DH_meth_get_init(const DH_METHOD *dhm))(DH *);
dh.h: int DH_meth_set_init(DH_METHOD *dhm, int (*init)(DH *));
dh.h: int (*DH_meth_get_finish(const DH_METHOD *dhm)) (DH *);
dh.h: int DH_meth_set_finish(DH_METHOD *dhm, int (*finish) (DH *));
dh.h: int (*DH_meth_get_generate_params(const DH_METHOD *dhm))
dh.h: (DH *, int, int, BN_GENCB *);
dh.h: int DH_meth_set_generate_params(DH_METHOD *dhm,
dh.h: int (*generate_params) (DH *, int, int, BN_GENCB *));
dh.h: # define EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, len) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, EVP_PKEY_OP_PARAMGEN, \
dh.h: # define EVP_PKEY_CTX_set_dh_paramgen_subprime_len(ctx, len) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, EVP_PKEY_OP_PARAMGEN, \
dh.h: # define EVP_PKEY_CTX_set_dh_paramgen_type(ctx, typ) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, EVP_PKEY_OP_PARAMGEN, \
dh.h: # define EVP_PKEY_CTX_set_dh_paramgen_generator(ctx, gen) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, EVP_PKEY_OP_PARAMGEN, \
dh.h: # define EVP_PKEY_CTX_set_dh_rfc5114(ctx, gen) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, EVP_PKEY_OP_PARAMGEN, \
dh.h: # define EVP_PKEY_CTX_set_dhx_rfc5114(ctx, gen) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, EVP_PKEY_OP_PARAMGEN, \
dh.h: # define EVP_PKEY_CTX_set_dh_nid(ctx, nid) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, \
dh.h: # define EVP_PKEY_CTX_set_dh_pad(ctx, pad) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, EVP_PKEY_OP_DERIVE, \
dh.h: # define EVP_PKEY_CTX_set_dh_kdf_type(ctx, kdf) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: # define EVP_PKEY_CTX_get_dh_kdf_type(ctx) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: # define EVP_PKEY_CTX_set0_dh_kdf_oid(ctx, oid) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: EVP_PKEY_CTRL_DH_KDF_OID, 0, (void *)(oid))
dh.h: # define EVP_PKEY_CTX_get0_dh_kdf_oid(ctx, poid) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: EVP_PKEY_CTRL_GET_DH_KDF_OID, 0, (void *)(poid))
dh.h: # define EVP_PKEY_CTX_set_dh_kdf_md(ctx, md) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: EVP_PKEY_CTRL_DH_KDF_MD, 0, (void *)(md))
dh.h: # define EVP_PKEY_CTX_get_dh_kdf_md(ctx, pmd) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: EVP_PKEY_CTRL_GET_DH_KDF_MD, 0, (void *)(pmd))
dh.h: # define EVP_PKEY_CTX_set_dh_kdf_outlen(ctx, len) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: # define EVP_PKEY_CTX_get_dh_kdf_outlen(ctx, plen) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: EVP_PKEY_CTRL_GET_DH_KDF_OUTLEN, 0, (void *)(plen))
dh.h: # define EVP_PKEY_CTX_set0_dh_kdf_ukm(ctx, p, plen) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: EVP_PKEY_CTRL_DH_KDF_UKM, plen, (void *)(p))
dh.h: # define EVP_PKEY_CTX_get0_dh_kdf_ukm(ctx, p) \
dh.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, \
dh.h: EVP_PKEY_CTRL_GET_DH_KDF_UKM, 0, (void *)(p))
dh.h: # define EVP_PKEY_CTRL_DH_PARAMGEN_PRIME_LEN (EVP_PKEY_ALG_CTRL + 1)
dh.h: # define EVP_PKEY_CTRL_DH_PARAMGEN_GENERATOR (EVP_PKEY_ALG_CTRL + 2)
dh.h: # define EVP_PKEY_CTRL_DH_RFC5114 (EVP_PKEY_ALG_CTRL + 3)
dh.h: # define EVP_PKEY_CTRL_DH_PARAMGEN_SUBPRIME_LEN (EVP_PKEY_ALG_CTRL + 4)
dh.h: # define EVP_PKEY_CTRL_DH_PARAMGEN_TYPE (EVP_PKEY_ALG_CTRL + 5)
dh.h: # define EVP_PKEY_CTRL_DH_KDF_TYPE (EVP_PKEY_ALG_CTRL + 6)
dh.h: # define EVP_PKEY_CTRL_DH_KDF_MD (EVP_PKEY_ALG_CTRL + 7)
dh.h: # define EVP_PKEY_CTRL_GET_DH_KDF_MD (EVP_PKEY_ALG_CTRL + 8)
dh.h: # define EVP_PKEY_CTRL_DH_KDF_OUTLEN (EVP_PKEY_ALG_CTRL + 9)
dh.h: # define EVP_PKEY_CTRL_GET_DH_KDF_OUTLEN (EVP_PKEY_ALG_CTRL + 10)
dh.h: # define EVP_PKEY_CTRL_DH_KDF_UKM (EVP_PKEY_ALG_CTRL + 11)
dh.h: # define EVP_PKEY_CTRL_GET_DH_KDF_UKM (EVP_PKEY_ALG_CTRL + 12)
dh.h: # define EVP_PKEY_CTRL_DH_KDF_OID (EVP_PKEY_ALG_CTRL + 13)
dh.h: # define EVP_PKEY_CTRL_GET_DH_KDF_OID (EVP_PKEY_ALG_CTRL + 14)
dh.h: # define EVP_PKEY_CTRL_DH_NID (EVP_PKEY_ALG_CTRL + 15)
dh.h: # define EVP_PKEY_CTRL_DH_PAD (EVP_PKEY_ALG_CTRL + 16)
dh.h: # define EVP_PKEY_DH_KDF_NONE 1
dh.h: # define EVP_PKEY_DH_KDF_X9_42 2
dsaerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
dsaerr.h: # define HEADER_DSAERR_H
dsaerr.h: int ERR_load_DSA_strings(void);
dsaerr.h: # define DSA_F_DSAPARAMS_PRINT 100
dsaerr.h: # define DSA_F_DSAPARAMS_PRINT_FP 101
dsaerr.h: # define DSA_F_DSA_BUILTIN_PARAMGEN 125
dsaerr.h: # define DSA_F_DSA_BUILTIN_PARAMGEN2 126
dsaerr.h: # define DSA_F_DSA_DO_SIGN 112
dsaerr.h: # define DSA_F_DSA_DO_VERIFY 113
dsaerr.h: # define DSA_F_DSA_METH_DUP 127
dsaerr.h: # define DSA_F_DSA_METH_NEW 128
dsaerr.h: # define DSA_F_DSA_METH_SET1_NAME 129
dsaerr.h: # define DSA_F_DSA_NEW_METHOD 103
dsaerr.h: # define DSA_F_DSA_PARAM_DECODE 119
dsaerr.h: # define DSA_F_DSA_PRINT_FP 105
dsaerr.h: # define DSA_F_DSA_PRIV_DECODE 115
dsaerr.h: # define DSA_F_DSA_PRIV_ENCODE 116
dsaerr.h: # define DSA_F_DSA_PUB_DECODE 117
dsaerr.h: # define DSA_F_DSA_PUB_ENCODE 118
dsaerr.h: # define DSA_F_DSA_SIGN 106
dsaerr.h: # define DSA_F_DSA_SIGN_SETUP 107
dsaerr.h: # define DSA_F_DSA_SIG_NEW 102
dsaerr.h: # define DSA_F_OLD_DSA_PRIV_DECODE 122
dsaerr.h: # define DSA_F_PKEY_DSA_CTRL 120
dsaerr.h: # define DSA_F_PKEY_DSA_KEYGEN 121
dsaerr.h: # define DSA_R_BAD_Q_VALUE 102
dsaerr.h: # define DSA_R_BN_DECODE_ERROR 108
dsaerr.h: # define DSA_R_BN_ERROR 109
dsaerr.h: # define DSA_R_DECODE_ERROR 104
dsaerr.h: # define DSA_R_INVALID_DIGEST_TYPE 106
dsaerr.h: # define DSA_R_INVALID_PARAMETERS 112
dsaerr.h: # define DSA_R_MISSING_PARAMETERS 101
dsaerr.h: # define DSA_R_MODULUS_TOO_LARGE 103
dsaerr.h: # define DSA_R_NO_PARAMETERS_SET 107
dsaerr.h: # define DSA_R_PARAMETER_ENCODING_ERROR 105
dsaerr.h: # define DSA_R_Q_NOT_PRIME 113
dsaerr.h: # define DSA_R_SEED_LEN_SMALL 110
dsa.h: * Licensed under the OpenSSL license (the "License"). You may not use
dsa.h: # define HEADER_DSA_H
dsa.h: # define OPENSSL_DSA_MAX_MODULUS_BITS 10000
dsa.h: # define OPENSSL_DSA_FIPS_MIN_MODULUS_BITS 1024
dsa.h: # define DSA_FLAG_CACHE_MONT_P 0x01
dsa.h: # define DSA_FLAG_NO_EXP_CONSTTIME 0x00
dsa.h: # define DSA_FLAG_FIPS_METHOD 0x0400
dsa.h: # define DSA_FLAG_NON_FIPS_ALLOW 0x0400
dsa.h: # define DSA_FLAG_FIPS_CHECKED 0x0800
dsa.h: /* typedef struct dsa_st DSA; */
dsa.h: /* typedef struct dsa_method DSA_METHOD; */
dsa.h: typedef struct DSA_SIG_st DSA_SIG;
dsa.h: # define d2i_DSAparams_fp(fp,x) (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \
dsa.h: (char *(*)())d2i_DSAparams,(fp),(unsigned char **)(x))
dsa.h: # define i2d_DSAparams_fp(fp,x) ASN1_i2d_fp(i2d_DSAparams,(fp), \
dsa.h: (unsigned char *)(x))
dsa.h: # define d2i_DSAparams_bio(bp,x) ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAparams,bp,x)
dsa.h: # define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio_of_const(DSA,i2d_DSAparams,bp,x)
dsa.h: DSA *DSAparams_dup(DSA *x);
dsa.h: DSA_SIG *DSA_SIG_new(void);
dsa.h: void DSA_SIG_free(DSA_SIG *a);
dsa.h: int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp);
dsa.h: DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length);
dsa.h: void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
dsa.h: int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
dsa.h: DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
dsa.h: int DSA_do_verify(const unsigned char *dgst, int dgst_len,
dsa.h: const DSA_METHOD *DSA_OpenSSL(void);
dsa.h: void DSA_set_default_method(const DSA_METHOD *);
dsa.h: const DSA_METHOD *DSA_get_default_method(void);
dsa.h: int DSA_set_method(DSA *dsa, const DSA_METHOD *);
dsa.h: const DSA_METHOD *DSA_get_method(DSA *d);
dsa.h: DSA *DSA_new(void);
dsa.h: DSA *DSA_new_method(ENGINE *engine);
dsa.h: void DSA_free(DSA *r);
dsa.h: int DSA_up_ref(DSA *r);
dsa.h: int DSA_size(const DSA *);
dsa.h: int DSA_bits(const DSA *d);
dsa.h: int DSA_security_bits(const DSA *d);
dsa.h: int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp);
dsa.h: int DSA_sign(int type, const unsigned char *dgst, int dlen,
dsa.h: int DSA_verify(int type, const unsigned char *dgst, int dgst_len,
dsa.h: #define DSA_get_ex_new_index(l, p, newf, dupf, freef) \
dsa.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DSA, l, p, newf, dupf, freef)
dsa.h: int DSA_set_ex_data(DSA *d, int idx, void *arg);
dsa.h: void *DSA_get_ex_data(DSA *d, int idx);
dsa.h: DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length);
dsa.h: DSA *d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length);
dsa.h: DSA *d2i_DSAparams(DSA **a, const unsigned char **pp, long length);
dsa.h: DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
dsa.h: (*callback) (int, int,
dsa.h: int DSA_generate_parameters_ex(DSA *dsa, int bits,
dsa.h: int DSA_generate_key(DSA *a);
dsa.h: int i2d_DSAPublicKey(const DSA *a, unsigned char **pp);
dsa.h: int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp);
dsa.h: int i2d_DSAparams(const DSA *a, unsigned char **pp);
dsa.h: int DSAparams_print(BIO *bp, const DSA *x);
dsa.h: int DSA_print(BIO *bp, const DSA *x, int off);
dsa.h: int DSAparams_print_fp(FILE *fp, const DSA *x);
dsa.h: int DSA_print_fp(FILE *bp, const DSA *x, int off);
dsa.h: # define DSS_prime_checks 50
dsa.h: # define DSA_is_prime(n, callback, cb_arg) \
dsa.h: BN_is_prime(n, DSS_prime_checks, callback, NULL, cb_arg)
dsa.h: * Convert DSA structure (key or just parameters) into DH structure (be
dsa.h: DH *DSA_dup_DH(const DSA *r);
dsa.h: # define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
dsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
dsa.h: # define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
dsa.h: # define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
dsa.h: # define EVP_PKEY_CTRL_DSA_PARAMGEN_MD (EVP_PKEY_ALG_CTRL + 3)
dsa.h: void DSA_get0_pqg(const DSA *d,
dsa.h: int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
dsa.h: void DSA_get0_key(const DSA *d,
dsa.h: int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
dsa.h: void DSA_clear_flags(DSA *d, int flags);
dsa.h: int DSA_test_flags(const DSA *d, int flags);
dsa.h: void DSA_set_flags(DSA *d, int flags);
dsa.h: ENGINE *DSA_get0_engine(DSA *d);
dsa.h: DSA_METHOD *DSA_meth_new(const char *name, int flags);
dsa.h: void DSA_meth_free(DSA_METHOD *dsam);
dsa.h: DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam);
dsa.h: const char *DSA_meth_get0_name(const DSA_METHOD *dsam);
dsa.h: int DSA_meth_set1_name(DSA_METHOD *dsam, const char *name);
dsa.h: int DSA_meth_get_flags(DSA_METHOD *dsam);
dsa.h: int DSA_meth_set_flags(DSA_METHOD *dsam, int flags);
dsa.h: void *DSA_meth_get0_app_data(const DSA_METHOD *dsam);
dsa.h: int DSA_meth_set0_app_data(DSA_METHOD *dsam, void *app_data);
dsa.h: DSA_SIG *(*DSA_meth_get_sign(const DSA_METHOD *dsam))
dsa.h: (const unsigned char *, int, DSA *);
dsa.h: int DSA_meth_set_sign(DSA_METHOD *dsam,
dsa.h: DSA_SIG *(*sign) (const unsigned char *, int, DSA *));
dsa.h: int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))
dsa.h: (DSA *, BN_CTX *, BIGNUM **, BIGNUM **);
dsa.h: int DSA_meth_set_sign_setup(DSA_METHOD *dsam,
dsa.h: int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **));
dsa.h: int (*DSA_meth_get_verify(const DSA_METHOD *dsam))
dsa.h: (const unsigned char *, int, DSA_SIG *, DSA *);
dsa.h: int DSA_meth_set_verify(DSA_METHOD *dsam,
dsa.h: int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *));
dsa.h: int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))
dsa.h: (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
dsa.h: int DSA_meth_set_mod_exp(DSA_METHOD *dsam,
dsa.h: int (*mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
dsa.h: int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))
dsa.h: (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
dsa.h: int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam,
dsa.h: int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
dsa.h: int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *);
dsa.h: int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *));
dsa.h: int (*DSA_meth_get_finish(const DSA_METHOD *dsam)) (DSA *);
dsa.h: int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish) (DSA *));
dsa.h: int (*DSA_meth_get_paramgen(const DSA_METHOD *dsam))
dsa.h: (DSA *, int, const unsigned char *, int, int *, unsigned long *,
dsa.h: int DSA_meth_set_paramgen(DSA_METHOD *dsam,
dsa.h: int (*paramgen) (DSA *, int, const unsigned char *, int, int *,
dsa.h: int (*DSA_meth_get_keygen(const DSA_METHOD *dsam)) (DSA *);
dsa.h: int DSA_meth_set_keygen(DSA_METHOD *dsam, int (*keygen) (DSA *));
dtls1.h: * Licensed under the OpenSSL license (the "License"). You may not use
dtls1.h: # define HEADER_DTLS1_H
dtls1.h: # define DTLS1_VERSION 0xFEFF
dtls1.h: # define DTLS1_2_VERSION 0xFEFD
dtls1.h: # define DTLS_MIN_VERSION DTLS1_VERSION
dtls1.h: # define DTLS_MAX_VERSION DTLS1_2_VERSION
dtls1.h: # define DTLS1_VERSION_MAJOR 0xFE
dtls1.h: # define DTLS1_BAD_VER 0x0100
dtls1.h: # define DTLS_ANY_VERSION 0x1FFFF
dtls1.h: # define DTLS1_COOKIE_LENGTH 256
dtls1.h: # define DTLS1_RT_HEADER_LENGTH 13
dtls1.h: # define DTLS1_HM_HEADER_LENGTH 12
dtls1.h: # define DTLS1_HM_BAD_FRAGMENT -2
dtls1.h: # define DTLS1_HM_FRAGMENT_RETRY -3
dtls1.h: # define DTLS1_CCS_HEADER_LENGTH 1
dtls1.h: # define DTLS1_AL_HEADER_LENGTH 2
dtls1.h: /* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
dtls1.h: # define DTLS1_TMO_READ_COUNT 2
dtls1.h: # define DTLS1_TMO_WRITE_COUNT 2
dtls1.h: # define DTLS1_TMO_ALERT_COUNT 12
ebcdic.h: * Licensed under the OpenSSL license (the "License"). You may not use
ebcdic.h: # define HEADER_EBCDIC_H
ebcdic.h: # define os_toascii _openssl_os_toascii
ebcdic.h: # define os_toebcdic _openssl_os_toebcdic
ebcdic.h: # define ebcdic2ascii _openssl_ebcdic2ascii
ebcdic.h: # define ascii2ebcdic _openssl_ascii2ebcdic
ebcdic.h: void *ebcdic2ascii(void *dest, const void *srce, size_t count);
ebcdic.h: void *ascii2ebcdic(void *dest, const void *srce, size_t count);
ecdh.h: * Licensed under the OpenSSL license (the "License"). You may not use
ecdsa.h: * Licensed under the OpenSSL license (the "License"). You may not use
ecerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
ecerr.h: # define HEADER_ECERR_H
ecerr.h: int ERR_load_EC_strings(void);
ecerr.h: # define EC_F_BN_TO_FELEM 224
ecerr.h: # define EC_F_D2I_ECPARAMETERS 144
ecerr.h: # define EC_F_D2I_ECPKPARAMETERS 145
ecerr.h: # define EC_F_D2I_ECPRIVATEKEY 146
ecerr.h: # define EC_F_DO_EC_KEY_PRINT 221
ecerr.h: # define EC_F_ECDH_CMS_DECRYPT 238
ecerr.h: # define EC_F_ECDH_CMS_SET_SHARED_INFO 239
ecerr.h: # define EC_F_ECDH_COMPUTE_KEY 246
ecerr.h: # define EC_F_ECDH_SIMPLE_COMPUTE_KEY 257
ecerr.h: # define EC_F_ECDSA_DO_SIGN_EX 251
ecerr.h: # define EC_F_ECDSA_DO_VERIFY 252
ecerr.h: # define EC_F_ECDSA_SIGN_EX 254
ecerr.h: # define EC_F_ECDSA_SIGN_SETUP 248
ecerr.h: # define EC_F_ECDSA_SIG_NEW 265
ecerr.h: # define EC_F_ECDSA_VERIFY 253
ecerr.h: # define EC_F_ECD_ITEM_VERIFY 270
ecerr.h: # define EC_F_ECKEY_PARAM2TYPE 223
ecerr.h: # define EC_F_ECKEY_PARAM_DECODE 212
ecerr.h: # define EC_F_ECKEY_PRIV_DECODE 213
ecerr.h: # define EC_F_ECKEY_PRIV_ENCODE 214
ecerr.h: # define EC_F_ECKEY_PUB_DECODE 215
ecerr.h: # define EC_F_ECKEY_PUB_ENCODE 216
ecerr.h: # define EC_F_ECKEY_TYPE2PARAM 220
ecerr.h: # define EC_F_ECPARAMETERS_PRINT 147
ecerr.h: # define EC_F_ECPARAMETERS_PRINT_FP 148
ecerr.h: # define EC_F_ECPKPARAMETERS_PRINT 149
ecerr.h: # define EC_F_ECPKPARAMETERS_PRINT_FP 150
ecerr.h: # define EC_F_ECP_NISTZ256_GET_AFFINE 240
ecerr.h: # define EC_F_ECP_NISTZ256_INV_MOD_ORD 275
ecerr.h: # define EC_F_ECP_NISTZ256_MULT_PRECOMPUTE 243
ecerr.h: # define EC_F_ECP_NISTZ256_POINTS_MUL 241
ecerr.h: # define EC_F_ECP_NISTZ256_PRE_COMP_NEW 244
ecerr.h: # define EC_F_ECP_NISTZ256_WINDOWED_MUL 242
ecerr.h: # define EC_F_ECX_KEY_OP 266
ecerr.h: # define EC_F_ECX_PRIV_ENCODE 267
ecerr.h: # define EC_F_ECX_PUB_ENCODE 268
ecerr.h: # define EC_F_EC_ASN1_GROUP2CURVE 153
ecerr.h: # define EC_F_EC_ASN1_GROUP2FIELDID 154
ecerr.h: # define EC_F_EC_GF2M_MONTGOMERY_POINT_MULTIPLY 208
ecerr.h: # define EC_F_EC_GF2M_SIMPLE_GROUP_CHECK_DISCRIMINANT 159
ecerr.h: # define EC_F_EC_GF2M_SIMPLE_GROUP_SET_CURVE 195
ecerr.h: # define EC_F_EC_GF2M_SIMPLE_OCT2POINT 160
ecerr.h: # define EC_F_EC_GF2M_SIMPLE_POINT2OCT 161
ecerr.h: # define EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES 162
ecerr.h: # define EC_F_EC_GF2M_SIMPLE_POINT_SET_AFFINE_COORDINATES 163
ecerr.h: # define EC_F_EC_GF2M_SIMPLE_SET_COMPRESSED_COORDINATES 164
ecerr.h: # define EC_F_EC_GFP_MONT_FIELD_DECODE 133
ecerr.h: # define EC_F_EC_GFP_MONT_FIELD_ENCODE 134
ecerr.h: # define EC_F_EC_GFP_MONT_FIELD_MUL 131
ecerr.h: # define EC_F_EC_GFP_MONT_FIELD_SET_TO_ONE 209
ecerr.h: # define EC_F_EC_GFP_MONT_FIELD_SQR 132
ecerr.h: # define EC_F_EC_GFP_MONT_GROUP_SET_CURVE 189
ecerr.h: # define EC_F_EC_GFP_NISTP224_GROUP_SET_CURVE 225
ecerr.h: # define EC_F_EC_GFP_NISTP224_POINTS_MUL 228
ecerr.h: # define EC_F_EC_GFP_NISTP224_POINT_GET_AFFINE_COORDINATES 226
ecerr.h: # define EC_F_EC_GFP_NISTP256_GROUP_SET_CURVE 230
ecerr.h: # define EC_F_EC_GFP_NISTP256_POINTS_MUL 231
ecerr.h: # define EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES 232
ecerr.h: # define EC_F_EC_GFP_NISTP521_GROUP_SET_CURVE 233
ecerr.h: # define EC_F_EC_GFP_NISTP521_POINTS_MUL 234
ecerr.h: # define EC_F_EC_GFP_NISTP521_POINT_GET_AFFINE_COORDINATES 235
ecerr.h: # define EC_F_EC_GFP_NIST_FIELD_MUL 200
ecerr.h: # define EC_F_EC_GFP_NIST_FIELD_SQR 201
ecerr.h: # define EC_F_EC_GFP_NIST_GROUP_SET_CURVE 202
ecerr.h: # define EC_F_EC_GFP_SIMPLE_GROUP_CHECK_DISCRIMINANT 165
ecerr.h: # define EC_F_EC_GFP_SIMPLE_GROUP_SET_CURVE 166
ecerr.h: # define EC_F_EC_GFP_SIMPLE_MAKE_AFFINE 102
ecerr.h: # define EC_F_EC_GFP_SIMPLE_OCT2POINT 103
ecerr.h: # define EC_F_EC_GFP_SIMPLE_POINT2OCT 104
ecerr.h: # define EC_F_EC_GFP_SIMPLE_POINTS_MAKE_AFFINE 137
ecerr.h: # define EC_F_EC_GFP_SIMPLE_POINT_GET_AFFINE_COORDINATES 167
ecerr.h: # define EC_F_EC_GFP_SIMPLE_POINT_SET_AFFINE_COORDINATES 168
ecerr.h: # define EC_F_EC_GFP_SIMPLE_SET_COMPRESSED_COORDINATES 169
ecerr.h: # define EC_F_EC_GROUP_CHECK 170
ecerr.h: # define EC_F_EC_GROUP_CHECK_DISCRIMINANT 171
ecerr.h: # define EC_F_EC_GROUP_COPY 106
ecerr.h: # define EC_F_EC_GROUP_GET_CURVE_GF2M 172
ecerr.h: # define EC_F_EC_GROUP_GET_CURVE_GFP 130
ecerr.h: # define EC_F_EC_GROUP_GET_DEGREE 173
ecerr.h: # define EC_F_EC_GROUP_GET_ECPARAMETERS 261
ecerr.h: # define EC_F_EC_GROUP_GET_ECPKPARAMETERS 262
ecerr.h: # define EC_F_EC_GROUP_GET_PENTANOMIAL_BASIS 193
ecerr.h: # define EC_F_EC_GROUP_GET_TRINOMIAL_BASIS 194
ecerr.h: # define EC_F_EC_GROUP_NEW 108
ecerr.h: # define EC_F_EC_GROUP_NEW_BY_CURVE_NAME 174
ecerr.h: # define EC_F_EC_GROUP_NEW_FROM_DATA 175
ecerr.h: # define EC_F_EC_GROUP_NEW_FROM_ECPARAMETERS 263
ecerr.h: # define EC_F_EC_GROUP_NEW_FROM_ECPKPARAMETERS 264
ecerr.h: # define EC_F_EC_GROUP_SET_CURVE_GF2M 176
ecerr.h: # define EC_F_EC_GROUP_SET_CURVE_GFP 109
ecerr.h: # define EC_F_EC_GROUP_SET_GENERATOR 111
ecerr.h: # define EC_F_EC_KEY_CHECK_KEY 177
ecerr.h: # define EC_F_EC_KEY_COPY 178
ecerr.h: # define EC_F_EC_KEY_GENERATE_KEY 179
ecerr.h: # define EC_F_EC_KEY_NEW 182
ecerr.h: # define EC_F_EC_KEY_NEW_METHOD 245
ecerr.h: # define EC_F_EC_KEY_OCT2PRIV 255
ecerr.h: # define EC_F_EC_KEY_PRINT 180
ecerr.h: # define EC_F_EC_KEY_PRINT_FP 181
ecerr.h: # define EC_F_EC_KEY_PRIV2OCT 256
ecerr.h: # define EC_F_EC_KEY_SET_PUBLIC_KEY_AFFINE_COORDINATES 229
ecerr.h: # define EC_F_EC_KEY_SIMPLE_CHECK_KEY 258
ecerr.h: # define EC_F_EC_KEY_SIMPLE_OCT2PRIV 259
ecerr.h: # define EC_F_EC_KEY_SIMPLE_PRIV2OCT 260
ecerr.h: # define EC_F_EC_PKEY_CHECK 273
ecerr.h: # define EC_F_EC_PKEY_PARAM_CHECK 274
ecerr.h: # define EC_F_EC_POINTS_MAKE_AFFINE 136
ecerr.h: # define EC_F_EC_POINT_ADD 112
ecerr.h: # define EC_F_EC_POINT_CMP 113
ecerr.h: # define EC_F_EC_POINT_COPY 114
ecerr.h: # define EC_F_EC_POINT_DBL 115
ecerr.h: # define EC_F_EC_POINT_GET_AFFINE_COORDINATES_GF2M 183
ecerr.h: # define EC_F_EC_POINT_GET_AFFINE_COORDINATES_GFP 116
ecerr.h: # define EC_F_EC_POINT_GET_JPROJECTIVE_COORDINATES_GFP 117
ecerr.h: # define EC_F_EC_POINT_INVERT 210
ecerr.h: # define EC_F_EC_POINT_IS_AT_INFINITY 118
ecerr.h: # define EC_F_EC_POINT_IS_ON_CURVE 119
ecerr.h: # define EC_F_EC_POINT_MAKE_AFFINE 120
ecerr.h: # define EC_F_EC_POINT_NEW 121
ecerr.h: # define EC_F_EC_POINT_OCT2POINT 122
ecerr.h: # define EC_F_EC_POINT_POINT2OCT 123
ecerr.h: # define EC_F_EC_POINT_SET_AFFINE_COORDINATES_GF2M 185
ecerr.h: # define EC_F_EC_POINT_SET_AFFINE_COORDINATES_GFP 124
ecerr.h: # define EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GF2M 186
ecerr.h: # define EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GFP 125
ecerr.h: # define EC_F_EC_POINT_SET_JPROJECTIVE_COORDINATES_GFP 126
ecerr.h: # define EC_F_EC_POINT_SET_TO_INFINITY 127
ecerr.h: # define EC_F_EC_PRE_COMP_NEW 196
ecerr.h: # define EC_F_EC_WNAF_MUL 187
ecerr.h: # define EC_F_EC_WNAF_PRECOMPUTE_MULT 188
ecerr.h: # define EC_F_I2D_ECPARAMETERS 190
ecerr.h: # define EC_F_I2D_ECPKPARAMETERS 191
ecerr.h: # define EC_F_I2D_ECPRIVATEKEY 192
ecerr.h: # define EC_F_I2O_ECPUBLICKEY 151
ecerr.h: # define EC_F_NISTP224_PRE_COMP_NEW 227
ecerr.h: # define EC_F_NISTP256_PRE_COMP_NEW 236
ecerr.h: # define EC_F_NISTP521_PRE_COMP_NEW 237
ecerr.h: # define EC_F_O2I_ECPUBLICKEY 152
ecerr.h: # define EC_F_OLD_EC_PRIV_DECODE 222
ecerr.h: # define EC_F_OSSL_ECDH_COMPUTE_KEY 247
ecerr.h: # define EC_F_OSSL_ECDSA_SIGN_SIG 249
ecerr.h: # define EC_F_OSSL_ECDSA_VERIFY_SIG 250
ecerr.h: # define EC_F_PKEY_ECD_CTRL 271
ecerr.h: # define EC_F_PKEY_ECD_DIGESTSIGN 272
ecerr.h: # define EC_F_PKEY_ECX_DERIVE 269
ecerr.h: # define EC_F_PKEY_EC_CTRL 197
ecerr.h: # define EC_F_PKEY_EC_CTRL_STR 198
ecerr.h: # define EC_F_PKEY_EC_DERIVE 217
ecerr.h: # define EC_F_PKEY_EC_KEYGEN 199
ecerr.h: # define EC_F_PKEY_EC_PARAMGEN 219
ecerr.h: # define EC_F_PKEY_EC_SIGN 218
ecerr.h: # define EC_R_ASN1_ERROR 115
ecerr.h: # define EC_R_BAD_SIGNATURE 156
ecerr.h: # define EC_R_BIGNUM_OUT_OF_RANGE 144
ecerr.h: # define EC_R_BUFFER_TOO_SMALL 100
ecerr.h: # define EC_R_COORDINATES_OUT_OF_RANGE 146
ecerr.h: # define EC_R_CURVE_DOES_NOT_SUPPORT_ECDH 160
ecerr.h: # define EC_R_CURVE_DOES_NOT_SUPPORT_SIGNING 159
ecerr.h: # define EC_R_D2I_ECPKPARAMETERS_FAILURE 117
ecerr.h: # define EC_R_DECODE_ERROR 142
ecerr.h: # define EC_R_DISCRIMINANT_IS_ZERO 118
ecerr.h: # define EC_R_EC_GROUP_NEW_BY_NAME_FAILURE 119
ecerr.h: # define EC_R_FIELD_TOO_LARGE 143
ecerr.h: # define EC_R_GF2M_NOT_SUPPORTED 147
ecerr.h: # define EC_R_GROUP2PKPARAMETERS_FAILURE 120
ecerr.h: # define EC_R_I2D_ECPKPARAMETERS_FAILURE 121
ecerr.h: # define EC_R_INCOMPATIBLE_OBJECTS 101
ecerr.h: # define EC_R_INVALID_ARGUMENT 112
ecerr.h: # define EC_R_INVALID_COMPRESSED_POINT 110
ecerr.h: # define EC_R_INVALID_COMPRESSION_BIT 109
ecerr.h: # define EC_R_INVALID_CURVE 141
ecerr.h: # define EC_R_INVALID_DIGEST 151
ecerr.h: # define EC_R_INVALID_DIGEST_TYPE 138
ecerr.h: # define EC_R_INVALID_ENCODING 102
ecerr.h: # define EC_R_INVALID_FIELD 103
ecerr.h: # define EC_R_INVALID_FORM 104
ecerr.h: # define EC_R_INVALID_GROUP_ORDER 122
ecerr.h: # define EC_R_INVALID_KEY 116
ecerr.h: # define EC_R_INVALID_OUTPUT_LENGTH 161
ecerr.h: # define EC_R_INVALID_PEER_KEY 133
ecerr.h: # define EC_R_INVALID_PENTANOMIAL_BASIS 132
ecerr.h: # define EC_R_INVALID_PRIVATE_KEY 123
ecerr.h: # define EC_R_INVALID_TRINOMIAL_BASIS 137
ecerr.h: # define EC_R_KDF_PARAMETER_ERROR 148
ecerr.h: # define EC_R_KEYS_NOT_SET 140
ecerr.h: # define EC_R_MISSING_PARAMETERS 124
ecerr.h: # define EC_R_MISSING_PRIVATE_KEY 125
ecerr.h: # define EC_R_NEED_NEW_SETUP_VALUES 157
ecerr.h: # define EC_R_NOT_A_NIST_PRIME 135
ecerr.h: # define EC_R_NOT_IMPLEMENTED 126
ecerr.h: # define EC_R_NOT_INITIALIZED 111
ecerr.h: # define EC_R_NO_PARAMETERS_SET 139
ecerr.h: # define EC_R_NO_PRIVATE_VALUE 154
ecerr.h: # define EC_R_OPERATION_NOT_SUPPORTED 152
ecerr.h: # define EC_R_PASSED_NULL_PARAMETER 134
ecerr.h: # define EC_R_PEER_KEY_ERROR 149
ecerr.h: # define EC_R_PKPARAMETERS2GROUP_FAILURE 127
ecerr.h: # define EC_R_POINT_ARITHMETIC_FAILURE 155
ecerr.h: # define EC_R_POINT_AT_INFINITY 106
ecerr.h: # define EC_R_POINT_IS_NOT_ON_CURVE 107
ecerr.h: # define EC_R_RANDOM_NUMBER_GENERATION_FAILED 158
ecerr.h: # define EC_R_SHARED_INFO_ERROR 150
ecerr.h: # define EC_R_SLOT_FULL 108
ecerr.h: # define EC_R_UNDEFINED_GENERATOR 113
ecerr.h: # define EC_R_UNDEFINED_ORDER 128
ecerr.h: # define EC_R_UNKNOWN_GROUP 129
ecerr.h: # define EC_R_UNKNOWN_ORDER 114
ecerr.h: # define EC_R_UNSUPPORTED_FIELD 131
ecerr.h: # define EC_R_WRONG_CURVE_PARAMETERS 145
ecerr.h: # define EC_R_WRONG_ORDER 130
ec.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
ec.h: * Licensed under the OpenSSL license (the "License"). You may not use
ec.h: # define HEADER_EC_H
ec.h: # define OPENSSL_ECC_MAX_FIELD_BITS 661
ec.h: /** Enum for the point conversion form as defined in X9.62 (ECDSA)
ec.h: * for the encoding of a elliptic curve point (x,y) */
ec.h: typedef struct ec_method_st EC_METHOD;
ec.h: typedef struct ec_group_st EC_GROUP;
ec.h: typedef struct ec_point_st EC_POINT;
ec.h: typedef struct ecpk_parameters_st ECPKPARAMETERS;
ec.h: typedef struct ec_parameters_st ECPARAMETERS;
ec.h: /* EC_METHODs for curves over GF(p) */
ec.h: const EC_METHOD *EC_GFp_simple_method(void);
ec.h: const EC_METHOD *EC_GFp_mont_method(void);
ec.h: const EC_METHOD *EC_GFp_nist_method(void);
ec.h: const EC_METHOD *EC_GFp_nistp224_method(void);
ec.h: const EC_METHOD *EC_GFp_nistp256_method(void);
ec.h: const EC_METHOD *EC_GFp_nistp521_method(void);
ec.h: /* EC_METHOD for curves over GF(2^m) */
ec.h: const EC_METHOD *EC_GF2m_simple_method(void);
ec.h: EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
ec.h: void EC_GROUP_free(EC_GROUP *group);
ec.h: void EC_GROUP_clear_free(EC_GROUP *group);
ec.h: int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src);
ec.h: EC_GROUP *EC_GROUP_dup(const EC_GROUP *src);
ec.h: const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
ec.h: int EC_METHOD_get_field_type(const EC_METHOD *meth);
ec.h: int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
ec.h: * \return the currently used generator (possibly NULL).
ec.h: const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
ec.h: /** Returns the montgomery data for order(Generator)
ec.h: * \return the currently used montgomery data (possibly NULL).
ec.h: BN_MONT_CTX *EC_GROUP_get_mont_data(const EC_GROUP *group);
ec.h: int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
ec.h: const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
ec.h: int EC_GROUP_order_bits(const EC_GROUP *group);
ec.h: int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
ec.h: const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
ec.h: void EC_GROUP_set_curve_name(EC_GROUP *group, int nid);
ec.h: int EC_GROUP_get_curve_name(const EC_GROUP *group);
ec.h: void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag);
ec.h: int EC_GROUP_get_asn1_flag(const EC_GROUP *group);
ec.h: void EC_GROUP_set_point_conversion_form(EC_GROUP *group,
ec.h: point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP *);
ec.h: unsigned char *EC_GROUP_get0_seed(const EC_GROUP *x);
ec.h: size_t EC_GROUP_get_seed_len(const EC_GROUP *);
ec.h: size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len);
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
ec.h: int EC_GROUP_get_degree(const EC_GROUP *group);
ec.h: /** Checks whether the parameter in the EC_GROUP define a valid ec group
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx);
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx);
ec.h: * EC_GROUP_new_GF*() calls EC_GROUP_new() and EC_GROUP_set_GF*() after
ec.h: * over GFp (defined by the equation y^2 = x^3 + a*x + b)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
ec.h: * over GF2m (defined by the equation y^2 + x*y = x^3 + a*x^2 + b)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a,
ec.h: EC_GROUP *EC_GROUP_new_by_curve_name(int nid);
ec.h: EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params);
ec.h: ECPARAMETERS *EC_GROUP_get_ecparameters(const EC_GROUP *group,
ec.h: EC_GROUP *EC_GROUP_new_from_ecpkparameters(const ECPKPARAMETERS *params);
ec.h: ECPKPARAMETERS *EC_GROUP_get_ecpkparameters(const EC_GROUP *group,
ec.h: typedef struct {
ec.h: * EC_builtin_curves(EC_builtin_curve *r, size_t size) returns number of all
ec.h: size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems);
ec.h: const char *EC_curve_nid2nist(int nid);
ec.h: int EC_curve_nist2nid(const char *name);
ec.h: EC_POINT *EC_POINT_new(const EC_GROUP *group);
ec.h: void EC_POINT_free(EC_POINT *point);
ec.h: void EC_POINT_clear_free(EC_POINT *point);
ec.h: int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src);
ec.h: EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group);
ec.h: const EC_METHOD *EC_POINT_method_of(const EC_POINT *point);
ec.h: /** Sets a point to infinity (neutral element)
ec.h: int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point);
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *p,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
ec.h: * \param y_bit integer with the y-Bit (either 0 or 1)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_set_affine_coordinates_GF2m(const EC_GROUP *group, EC_POINT *p,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_get_affine_coordinates_GF2m(const EC_GROUP *group,
ec.h: * \param y_bit integer with the y-Bit (either 0 or 1)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point,
ec.h: BIGNUM *EC_POINT_point2bn(const EC_GROUP *, const EC_POINT *,
ec.h: EC_POINT *EC_POINT_bn2point(const EC_GROUP *, const BIGNUM *,
ec.h: char *EC_POINT_point2hex(const EC_GROUP *, const EC_POINT *,
ec.h: EC_POINT *EC_POINT_hex2point(const EC_GROUP *, const char *,
ec.h: * \param r EC_POINT object for the result (r = a + b)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
ec.h: * \param r EC_POINT object for the result (r = 2 * a)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
ec.h: * \param a EC_POINT object to be inverted (it's used for the result as well)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx);
ec.h: int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p);
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b,
ec.h: int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx);
ec.h: int EC_POINTs_make_affine(const EC_GROUP *group, size_t num,
ec.h: * \param n BIGNUM with the multiplier for the group generator (optional)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
ec.h: * \param n BIGNUM with the multiplier for the group generator (optional)
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
ec.h: int EC_GROUP_have_precompute_mult(const EC_GROUP *group);
ec.h: DECLARE_ASN1_ITEM(ECPKPARAMETERS)
ec.h: DECLARE_ASN1_ALLOC_FUNCTIONS(ECPKPARAMETERS)
ec.h: DECLARE_ASN1_ITEM(ECPARAMETERS)
ec.h: DECLARE_ASN1_ALLOC_FUNCTIONS(ECPARAMETERS)
ec.h: * EC_GROUP_get_basis_type() returns the NID of the basis type used to
ec.h: int EC_GROUP_get_basis_type(const EC_GROUP *);
ec.h: int EC_GROUP_get_trinomial_basis(const EC_GROUP *, unsigned int *k);
ec.h: int EC_GROUP_get_pentanomial_basis(const EC_GROUP *, unsigned int *k1,
ec.h: # define OPENSSL_EC_EXPLICIT_CURVE 0x000
ec.h: # define OPENSSL_EC_NAMED_CURVE 0x001
ec.h: EC_GROUP *d2i_ECPKParameters(EC_GROUP **, const unsigned char **in, long len);
ec.h: int i2d_ECPKParameters(const EC_GROUP *, unsigned char **out);
ec.h: # define d2i_ECPKParameters_bio(bp,x) ASN1_d2i_bio_of(EC_GROUP,NULL,d2i_ECPKParameters,bp,x)
ec.h: # define i2d_ECPKParameters_bio(bp,x) ASN1_i2d_bio_of_const(EC_GROUP,i2d_ECPKParameters,bp,x)
ec.h: # define d2i_ECPKParameters_fp(fp,x) (EC_GROUP *)ASN1_d2i_fp(NULL, \
ec.h: (char *(*)())d2i_ECPKParameters,(fp),(unsigned char **)(x))
ec.h: # define i2d_ECPKParameters_fp(fp,x) ASN1_i2d_fp(i2d_ECPKParameters,(fp), \
ec.h: (unsigned char *)(x))
ec.h: int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off);
ec.h: int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off);
ec.h: # define EC_PKEY_NO_PARAMETERS 0x001
ec.h: # define EC_PKEY_NO_PUBKEY 0x002
ec.h: # define EC_FLAG_NON_FIPS_ALLOW 0x1
ec.h: # define EC_FLAG_FIPS_CHECKED 0x2
ec.h: # define EC_FLAG_COFACTOR_ECDH 0x1000
ec.h: EC_KEY *EC_KEY_new(void);
ec.h: int EC_KEY_get_flags(const EC_KEY *key);
ec.h: void EC_KEY_set_flags(EC_KEY *key, int flags);
ec.h: void EC_KEY_clear_flags(EC_KEY *key, int flags);
ec.h: EC_KEY *EC_KEY_new_by_curve_name(int nid);
ec.h: void EC_KEY_free(EC_KEY *key);
ec.h: EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
ec.h: EC_KEY *EC_KEY_dup(const EC_KEY *src);
ec.h: int EC_KEY_up_ref(EC_KEY *key);
ec.h: * \return the ENGINE object (possibly NULL).
ec.h: ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey);
ec.h: * \return the EC_GROUP object (possibly NULL).
ec.h: const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
ec.h: * \param group EC_GROUP to use in the EC_KEY object (note: the EC_KEY
ec.h: int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
ec.h: * \return a BIGNUM with the private key (possibly NULL).
ec.h: const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
ec.h: * \param prv BIGNUM with the private key (note: the EC_KEY object
ec.h: int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
ec.h: * \return a EC_POINT object with the public key (possibly NULL)
ec.h: const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
ec.h: * \param pub EC_POINT object with the public key (note: the EC_KEY object
ec.h: int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
ec.h: unsigned EC_KEY_get_enc_flags(const EC_KEY *key);
ec.h: void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags);
ec.h: point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
ec.h: void EC_KEY_set_conv_form(EC_KEY *eckey, point_conversion_form_t cform);
ec.h: #define EC_KEY_get_ex_new_index(l, p, newf, dupf, freef) \
ec.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_EC_KEY, l, p, newf, dupf, freef)
ec.h: int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
ec.h: void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
ec.h: void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx);
ec.h: /** Creates a new ec private (and optional a new public) key.
ec.h: int EC_KEY_generate_key(EC_KEY *key);
ec.h: int EC_KEY_check_key(const EC_KEY *key);
ec.h: int EC_KEY_can_sign(const EC_KEY *eckey);
ec.h: int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: size_t EC_KEY_key2buf(const EC_KEY *key, point_conversion_form_t form,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf, size_t len,
ec.h: int EC_KEY_oct2priv(EC_KEY *key, const unsigned char *buf, size_t len);
ec.h: size_t EC_KEY_priv2oct(const EC_KEY *key, unsigned char *buf, size_t len);
ec.h: size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf);
ec.h: * \param key a pointer to a EC_KEY object which should be used (or NULL)
ec.h: EC_KEY *d2i_ECPrivateKey(EC_KEY **key, const unsigned char **in, long len);
ec.h: * \param out the buffer for the result (if NULL the function returns number
ec.h: int i2d_ECPrivateKey(EC_KEY *key, unsigned char **out);
ec.h: * \param key a pointer to a EC_KEY object which should be used (or NULL)
ec.h: EC_KEY *d2i_ECParameters(EC_KEY **key, const unsigned char **in, long len);
ec.h: * \param out the buffer for the result (if NULL the function returns number
ec.h: int i2d_ECParameters(EC_KEY *key, unsigned char **out);
ec.h: /* (octet string, not DER -- hence 'o2i' and 'i2o') */
ec.h: EC_KEY *o2i_ECPublicKey(EC_KEY **key, const unsigned char **in, long len);
ec.h: * \param out the buffer for the result (if NULL the function returns number
ec.h: int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
ec.h: int ECParameters_print(BIO *bp, const EC_KEY *key);
ec.h: int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
ec.h: int ECParameters_print_fp(FILE *fp, const EC_KEY *key);
ec.h: int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off);
ec.h: const EC_KEY_METHOD *EC_KEY_OpenSSL(void);
ec.h: const EC_KEY_METHOD *EC_KEY_get_default_method(void);
ec.h: void EC_KEY_set_default_method(const EC_KEY_METHOD *meth);
ec.h: const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key);
ec.h: int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
ec.h: EC_KEY *EC_KEY_new_method(ENGINE *engine);
ec.h: int ECDH_KDF_X9_62(unsigned char *out, size_t outlen,
ec.h: int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
ec.h: void *(*KDF) (const void *in, size_t inlen,
ec.h: typedef struct ECDSA_SIG_st ECDSA_SIG;
ec.h: ECDSA_SIG *ECDSA_SIG_new(void);
ec.h: void ECDSA_SIG_free(ECDSA_SIG *sig);
ec.h: /** DER encode content of ECDSA_SIG object (note: this function modifies *pp
ec.h: * (*pp += length of the DER encoded signature)).
ec.h: int i2d_ECDSA_SIG(const ECDSA_SIG *sig, unsigned char **pp);
ec.h: /** Decodes a DER encoded ECDSA signature (note: this function changes *pp
ec.h: * (*pp += len)).
ec.h: * \param sig pointer to ECDSA_SIG pointer (may be NULL)
ec.h: * \return pointer to the decoded ECDSA_SIG structure (or NULL)
ec.h: ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len);
ec.h: * \param pr pointer to BIGNUM pointer for r (may be NULL)
ec.h: * \param ps pointer to BIGNUM pointer for s (may be NULL)
ec.h: void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
ec.h: * \param r pointer to BIGNUM for r (may be NULL)
ec.h: * \param s pointer to BIGNUM for s (may be NULL)
ec.h: int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
ec.h: ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dgst_len,
ec.h: * private key (note: sig must point to ECDSA_size(eckey) bytes of memory).
ec.h: * \param kinv BIGNUM with a pre-computed inverse k (optional)
ec.h: * \param rp BIGNUM with a pre-computed rp value (optional),
ec.h: ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dgstlen,
ec.h: int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
ec.h: * \param ctx BN_CTX object (optional)
ec.h: int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp);
ec.h: * private key (note: sig must point to ECDSA_size(eckey) bytes of memory).
ec.h: int ECDSA_sign(int type, const unsigned char *dgst, int dgstlen,
ec.h: * private key (note: sig must point to ECDSA_size(eckey) bytes of memory).
ec.h: * \param kinv BIGNUM with a pre-computed inverse k (optional)
ec.h: * \param rp BIGNUM with a pre-computed rp value (optional),
ec.h: int ECDSA_sign_ex(int type, const unsigned char *dgst, int dgstlen,
ec.h: int ECDSA_verify(int type, const unsigned char *dgst, int dgstlen,
ec.h: int ECDSA_size(const EC_KEY *eckey);
ec.h: EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
ec.h: void EC_KEY_METHOD_free(EC_KEY_METHOD *meth);
ec.h: void EC_KEY_METHOD_set_init(EC_KEY_METHOD *meth,
ec.h: int (*init)(EC_KEY *key),
ec.h: void (*finish)(EC_KEY *key),
ec.h: int (*copy)(EC_KEY *dest, const EC_KEY *src),
ec.h: int (*set_group)(EC_KEY *key, const EC_GROUP *grp),
ec.h: int (*set_private)(EC_KEY *key,
ec.h: int (*set_public)(EC_KEY *key,
ec.h: void EC_KEY_METHOD_set_keygen(EC_KEY_METHOD *meth,
ec.h: int (*keygen)(EC_KEY *key));
ec.h: void EC_KEY_METHOD_set_compute_key(EC_KEY_METHOD *meth,
ec.h: int (*ckey)(unsigned char **psec,
ec.h: void EC_KEY_METHOD_set_sign(EC_KEY_METHOD *meth,
ec.h: int (*sign)(int type, const unsigned char *dgst,
ec.h: int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
ec.h: ECDSA_SIG *(*sign_sig)(const unsigned char *dgst,
ec.h: void EC_KEY_METHOD_set_verify(EC_KEY_METHOD *meth,
ec.h: int (*verify)(int type, const unsigned
ec.h: int (*verify_sig)(const unsigned char *dgst,
ec.h: void EC_KEY_METHOD_get_init(const EC_KEY_METHOD *meth,
ec.h: int (**pinit)(EC_KEY *key),
ec.h: void (**pfinish)(EC_KEY *key),
ec.h: int (**pcopy)(EC_KEY *dest, const EC_KEY *src),
ec.h: int (**pset_group)(EC_KEY *key,
ec.h: int (**pset_private)(EC_KEY *key,
ec.h: int (**pset_public)(EC_KEY *key,
ec.h: void EC_KEY_METHOD_get_keygen(const EC_KEY_METHOD *meth,
ec.h: int (**pkeygen)(EC_KEY *key));
ec.h: void EC_KEY_METHOD_get_compute_key(const EC_KEY_METHOD *meth,
ec.h: int (**pck)(unsigned char **psec,
ec.h: void EC_KEY_METHOD_get_sign(const EC_KEY_METHOD *meth,
ec.h: int (**psign)(int type, const unsigned char *dgst,
ec.h: int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
ec.h: ECDSA_SIG *(**psign_sig)(const unsigned char *dgst,
ec.h: void EC_KEY_METHOD_get_verify(const EC_KEY_METHOD *meth,
ec.h: int (**pverify)(int type, const unsigned
ec.h: int (**pverify_sig)(const unsigned char *dgst,
ec.h: # define ECParameters_dup(x) ASN1_dup_of(EC_KEY,i2d_ECParameters,d2i_ECParameters,x)
ec.h: # if defined(__SUNPRO_C)
ec.h: # pragma error_messages (default,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE)
ec.h: # define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: # define EVP_PKEY_CTX_set_ec_param_enc(ctx, flag) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: # define EVP_PKEY_CTX_set_ecdh_cofactor_mode(ctx, flag) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: # define EVP_PKEY_CTX_get_ecdh_cofactor_mode(ctx) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: # define EVP_PKEY_CTX_set_ecdh_kdf_type(ctx, kdf) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: # define EVP_PKEY_CTX_get_ecdh_kdf_type(ctx) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: # define EVP_PKEY_CTX_set_ecdh_kdf_md(ctx, md) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: EVP_PKEY_CTRL_EC_KDF_MD, 0, (void *)(md))
ec.h: # define EVP_PKEY_CTX_get_ecdh_kdf_md(ctx, pmd) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: EVP_PKEY_CTRL_GET_EC_KDF_MD, 0, (void *)(pmd))
ec.h: # define EVP_PKEY_CTX_set_ecdh_kdf_outlen(ctx, len) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: # define EVP_PKEY_CTX_get_ecdh_kdf_outlen(ctx, plen) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: (void *)(plen))
ec.h: # define EVP_PKEY_CTX_set0_ecdh_kdf_ukm(ctx, p, plen) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: EVP_PKEY_CTRL_EC_KDF_UKM, plen, (void *)(p))
ec.h: # define EVP_PKEY_CTX_get0_ecdh_kdf_ukm(ctx, p) \
ec.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
ec.h: EVP_PKEY_CTRL_GET_EC_KDF_UKM, 0, (void *)(p))
ec.h: # define EVP_PKEY_CTRL_EC_PARAMGEN_CURVE_NID (EVP_PKEY_ALG_CTRL + 1)
ec.h: # define EVP_PKEY_CTRL_EC_PARAM_ENC (EVP_PKEY_ALG_CTRL + 2)
ec.h: # define EVP_PKEY_CTRL_EC_ECDH_COFACTOR (EVP_PKEY_ALG_CTRL + 3)
ec.h: # define EVP_PKEY_CTRL_EC_KDF_TYPE (EVP_PKEY_ALG_CTRL + 4)
ec.h: # define EVP_PKEY_CTRL_EC_KDF_MD (EVP_PKEY_ALG_CTRL + 5)
ec.h: # define EVP_PKEY_CTRL_GET_EC_KDF_MD (EVP_PKEY_ALG_CTRL + 6)
ec.h: # define EVP_PKEY_CTRL_EC_KDF_OUTLEN (EVP_PKEY_ALG_CTRL + 7)
ec.h: # define EVP_PKEY_CTRL_GET_EC_KDF_OUTLEN (EVP_PKEY_ALG_CTRL + 8)
ec.h: # define EVP_PKEY_CTRL_EC_KDF_UKM (EVP_PKEY_ALG_CTRL + 9)
ec.h: # define EVP_PKEY_CTRL_GET_EC_KDF_UKM (EVP_PKEY_ALG_CTRL + 10)
ec.h: # define EVP_PKEY_ECDH_KDF_NONE 1
ec.h: # define EVP_PKEY_ECDH_KDF_X9_62 2
engineerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
engineerr.h: # define HEADER_ENGINEERR_H
engineerr.h: int ERR_load_ENGINE_strings(void);
engineerr.h: # define ENGINE_F_DIGEST_UPDATE 198
engineerr.h: # define ENGINE_F_DYNAMIC_CTRL 180
engineerr.h: # define ENGINE_F_DYNAMIC_GET_DATA_CTX 181
engineerr.h: # define ENGINE_F_DYNAMIC_LOAD 182
engineerr.h: # define ENGINE_F_DYNAMIC_SET_DATA_CTX 183
engineerr.h: # define ENGINE_F_ENGINE_ADD 105
engineerr.h: # define ENGINE_F_ENGINE_BY_ID 106
engineerr.h: # define ENGINE_F_ENGINE_CMD_IS_EXECUTABLE 170
engineerr.h: # define ENGINE_F_ENGINE_CTRL 142
engineerr.h: # define ENGINE_F_ENGINE_CTRL_CMD 178
engineerr.h: # define ENGINE_F_ENGINE_CTRL_CMD_STRING 171
engineerr.h: # define ENGINE_F_ENGINE_FINISH 107
engineerr.h: # define ENGINE_F_ENGINE_GET_CIPHER 185
engineerr.h: # define ENGINE_F_ENGINE_GET_DIGEST 186
engineerr.h: # define ENGINE_F_ENGINE_GET_FIRST 195
engineerr.h: # define ENGINE_F_ENGINE_GET_LAST 196
engineerr.h: # define ENGINE_F_ENGINE_GET_NEXT 115
engineerr.h: # define ENGINE_F_ENGINE_GET_PKEY_ASN1_METH 193
engineerr.h: # define ENGINE_F_ENGINE_GET_PKEY_METH 192
engineerr.h: # define ENGINE_F_ENGINE_GET_PREV 116
engineerr.h: # define ENGINE_F_ENGINE_INIT 119
engineerr.h: # define ENGINE_F_ENGINE_LIST_ADD 120
engineerr.h: # define ENGINE_F_ENGINE_LIST_REMOVE 121
engineerr.h: # define ENGINE_F_ENGINE_LOAD_PRIVATE_KEY 150
engineerr.h: # define ENGINE_F_ENGINE_LOAD_PUBLIC_KEY 151
engineerr.h: # define ENGINE_F_ENGINE_LOAD_SSL_CLIENT_CERT 194
engineerr.h: # define ENGINE_F_ENGINE_NEW 122
engineerr.h: # define ENGINE_F_ENGINE_PKEY_ASN1_FIND_STR 197
engineerr.h: # define ENGINE_F_ENGINE_REMOVE 123
engineerr.h: # define ENGINE_F_ENGINE_SET_DEFAULT_STRING 189
engineerr.h: # define ENGINE_F_ENGINE_SET_ID 129
engineerr.h: # define ENGINE_F_ENGINE_SET_NAME 130
engineerr.h: # define ENGINE_F_ENGINE_TABLE_REGISTER 184
engineerr.h: # define ENGINE_F_ENGINE_UNLOCKED_FINISH 191
engineerr.h: # define ENGINE_F_ENGINE_UP_REF 190
engineerr.h: # define ENGINE_F_INT_CTRL_HELPER 172
engineerr.h: # define ENGINE_F_INT_ENGINE_CONFIGURE 188
engineerr.h: # define ENGINE_F_INT_ENGINE_MODULE_INIT 187
engineerr.h: # define ENGINE_R_ALREADY_LOADED 100
engineerr.h: # define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER 133
engineerr.h: # define ENGINE_R_CMD_NOT_EXECUTABLE 134
engineerr.h: # define ENGINE_R_COMMAND_TAKES_INPUT 135
engineerr.h: # define ENGINE_R_COMMAND_TAKES_NO_INPUT 136
engineerr.h: # define ENGINE_R_CONFLICTING_ENGINE_ID 103
engineerr.h: # define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED 119
engineerr.h: # define ENGINE_R_DSO_FAILURE 104
engineerr.h: # define ENGINE_R_DSO_NOT_FOUND 132
engineerr.h: # define ENGINE_R_ENGINES_SECTION_ERROR 148
engineerr.h: # define ENGINE_R_ENGINE_CONFIGURATION_ERROR 102
engineerr.h: # define ENGINE_R_ENGINE_IS_NOT_IN_LIST 105
engineerr.h: # define ENGINE_R_ENGINE_SECTION_ERROR 149
engineerr.h: # define ENGINE_R_FAILED_LOADING_PRIVATE_KEY 128
engineerr.h: # define ENGINE_R_FAILED_LOADING_PUBLIC_KEY 129
engineerr.h: # define ENGINE_R_FINISH_FAILED 106
engineerr.h: # define ENGINE_R_ID_OR_NAME_MISSING 108
engineerr.h: # define ENGINE_R_INIT_FAILED 109
engineerr.h: # define ENGINE_R_INTERNAL_LIST_ERROR 110
engineerr.h: # define ENGINE_R_INVALID_ARGUMENT 143
engineerr.h: # define ENGINE_R_INVALID_CMD_NAME 137
engineerr.h: # define ENGINE_R_INVALID_CMD_NUMBER 138
engineerr.h: # define ENGINE_R_INVALID_INIT_VALUE 151
engineerr.h: # define ENGINE_R_INVALID_STRING 150
engineerr.h: # define ENGINE_R_NOT_INITIALISED 117
engineerr.h: # define ENGINE_R_NOT_LOADED 112
engineerr.h: # define ENGINE_R_NO_CONTROL_FUNCTION 120
engineerr.h: # define ENGINE_R_NO_INDEX 144
engineerr.h: # define ENGINE_R_NO_LOAD_FUNCTION 125
engineerr.h: # define ENGINE_R_NO_REFERENCE 130
engineerr.h: # define ENGINE_R_NO_SUCH_ENGINE 116
engineerr.h: # define ENGINE_R_UNIMPLEMENTED_CIPHER 146
engineerr.h: # define ENGINE_R_UNIMPLEMENTED_DIGEST 147
engineerr.h: # define ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD 101
engineerr.h: # define ENGINE_R_VERSION_INCOMPATIBILITY 145
engine.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
engine.h: * Licensed under the OpenSSL license (the "License"). You may not use
engine.h: # define HEADER_ENGINE_H
engine.h: * These flags are used to control combinations of algorithm (methods) by
engine.h: # define ENGINE_METHOD_RSA (unsigned int)0x0001
engine.h: # define ENGINE_METHOD_DSA (unsigned int)0x0002
engine.h: # define ENGINE_METHOD_DH (unsigned int)0x0004
engine.h: # define ENGINE_METHOD_RAND (unsigned int)0x0008
engine.h: # define ENGINE_METHOD_CIPHERS (unsigned int)0x0040
engine.h: # define ENGINE_METHOD_DIGESTS (unsigned int)0x0080
engine.h: # define ENGINE_METHOD_PKEY_METHS (unsigned int)0x0200
engine.h: # define ENGINE_METHOD_PKEY_ASN1_METHS (unsigned int)0x0400
engine.h: # define ENGINE_METHOD_EC (unsigned int)0x0800
engine.h: # define ENGINE_METHOD_ALL (unsigned int)0xFFFF
engine.h: # define ENGINE_METHOD_NONE (unsigned int)0x0000
engine.h: * This(ese) flag(s) controls behaviour of the ENGINE_TABLE mechanism used
engine.h: * set by ENGINE_set_table_flags(). The "NOINIT" flag prevents attempts to
engine.h: # define ENGINE_TABLE_FLAG_NOINIT (unsigned int)0x0001
engine.h: /* ENGINE flags that can be set by ENGINE_set_flags(). */
engine.h: * control commands on their own. Without this flag, ENGINE_ctrl() handles
engine.h: # define ENGINE_FLAGS_MANUAL_CMD_CTRL (int)0x0002
engine.h: * via "ENGINE_by_id()". When an ENGINE must store state (eg. if
engine.h: * ENGINE_ctrl() commands are called in sequence as part of some stateful
engine.h: * ENGINE_by_id() just increments the existing ENGINE's structural reference
engine.h: # define ENGINE_FLAGS_BY_ID_COPY (int)0x0004
engine.h: * part of ENGINE_register_all_complete() for example if the methods are not
engine.h: # define ENGINE_FLAGS_NO_REGISTER_ALL (int)0x0008
engine.h: * available to the ENGINE_ctrl_cmd_string() function, only raw ENGINE_ctrl()
engine.h: * carefully in ENGINE_cmd_is_executable() and ENGINE_ctrl_cmd_string().
engine.h: /* accepts a 'long' input value (3rd parameter to ENGINE_ctrl) */
engine.h: # define ENGINE_CMD_FLAG_NUMERIC (unsigned int)0x0001
engine.h: * accepts string input (cast from 'void*' to 'const char *', 4th parameter
engine.h: # define ENGINE_CMD_FLAG_STRING (unsigned int)0x0002
engine.h: # define ENGINE_CMD_FLAG_NO_INPUT (unsigned int)0x0004
engine.h: * be shown in any output, and is only usable through the ENGINE_ctrl_cmd()
engine.h: # define ENGINE_CMD_FLAG_INTERNAL (unsigned int)0x0008
engine.h: * compatibility (eg. if these symbols are defined) but should also migrate
engine.h: * commands wouldn't be "executable" (ie. usable by text-based config)
engine.h: # define ENGINE_CTRL_SET_LOGSTREAM 1
engine.h: # define ENGINE_CTRL_SET_PASSWORD_CALLBACK 2
engine.h: # define ENGINE_CTRL_HUP 3/* Close and reinitialise
engine.h: # define ENGINE_CTRL_SET_USER_INTERFACE 4/* Alternative to callback */
engine.h: # define ENGINE_CTRL_SET_CALLBACK_DATA 5/* User-specific data, used
engine.h: # define ENGINE_CTRL_LOAD_CONFIGURATION 6/* Load a configuration,
engine.h: # define ENGINE_CTRL_LOAD_SECTION 7/* Load data from a given
engine.h: * ENGINE_FLAGS_MANUAL_CMD_CTRL flag (using ENGINE_set_flags()). Otherwise
engine.h: * the ENGINE_ctrl() code handles this on the ENGINE's behalf using the
engine.h: * cmd_defns data (set using ENGINE_set_cmd_defns()). This means an ENGINE's
engine.h: * ctrl() handler need only implement its own commands - the above "meta"
engine.h: * Returns non-zero if the supplied ENGINE has a ctrl() handler. If "not",
engine.h: # define ENGINE_CTRL_HAS_CTRL_FUNCTION 10
engine.h: # define ENGINE_CTRL_GET_FIRST_CMD_TYPE 11
engine.h: # define ENGINE_CTRL_GET_NEXT_CMD_TYPE 12
engine.h: * The 'void*' argument is a command name (cast from 'const char *'), and the
engine.h: # define ENGINE_CTRL_GET_CMD_FROM_NAME 13
engine.h: * NAME_LEN case, the return value is the length of the command name (not
engine.h: * command (WITH a trailing EOL).
engine.h: # define ENGINE_CTRL_GET_NAME_LEN_FROM_CMD 14
engine.h: # define ENGINE_CTRL_GET_NAME_FROM_CMD 15
engine.h: # define ENGINE_CTRL_GET_DESC_LEN_FROM_CMD 16
engine.h: # define ENGINE_CTRL_GET_DESC_FROM_CMD 17
engine.h: # define ENGINE_CTRL_GET_CMD_FLAGS 18
engine.h: * commands from this value. (ie. ENGINE_CMD_BASE, ENGINE_CMD_BASE + 1, etc).
engine.h: # define ENGINE_CMD_BASE 200
engine.h: * (exposed through the above-mentioned 'CMD'-handling). Code using these 2
engine.h: # define ENGINE_CTRL_CHIL_SET_FORKCHECK 100
engine.h: * Depending on the value of the (long)i argument, this sets or
engine.h: * disable checking and workarounds for applications that fork().
engine.h: # define ENGINE_CTRL_CHIL_NO_LOCKING 101
engine.h: * entries to ENGINE_set_cmd_defns(). It should also implement a ctrl()
engine.h: * handler that supports the stated commands (ie. the "cmd_num" entries as
engine.h: typedef struct ENGINE_CMD_DEFN_st {
engine.h: typedef int (*ENGINE_GEN_FUNC_PTR) (void);
engine.h: typedef int (*ENGINE_GEN_INT_FUNC_PTR) (ENGINE *);
engine.h: typedef int (*ENGINE_CTRL_FUNC_PTR) (ENGINE *, int, long, void *,
engine.h: void (*f) (void));
engine.h: typedef EVP_PKEY *(*ENGINE_LOAD_KEY_PTR)(ENGINE *, const char *,
engine.h: typedef int (*ENGINE_SSL_CLIENT_CERT_PTR) (ENGINE *, SSL *ssl,
engine.h: STACK_OF(X509_NAME) *ca_dn,
engine.h: STACK_OF(X509) **pother,
engine.h: * int foo(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid);
engine.h: * int foo(ENGINE *e, const EVP_MD **digest, const int **nids, int nid);
engine.h: * foo(e, &p_evp_cipher, NULL, nid); (return zero for failure)
engine.h: * foo(e, NULL, &p_nids, 0); (returns number of 'nids' or -1 for error)
engine.h: typedef int (*ENGINE_CIPHERS_PTR) (ENGINE *, const EVP_CIPHER **,
engine.h: typedef int (*ENGINE_DIGESTS_PTR) (ENGINE *, const EVP_MD **, const int **,
engine.h: typedef int (*ENGINE_PKEY_METHS_PTR) (ENGINE *, EVP_PKEY_METHOD **,
engine.h: typedef int (*ENGINE_PKEY_ASN1_METHS_PTR) (ENGINE *, EVP_PKEY_ASN1_METHOD **,
engine.h: * ENGINE it returns (unless it is NULL).
engine.h: ENGINE *ENGINE_get_first(void);
engine.h: ENGINE *ENGINE_get_last(void);
engine.h: /* Iterate to the next/previous "ENGINE" type (NULL = end of the list). */
engine.h: ENGINE *ENGINE_get_next(ENGINE *e);
engine.h: ENGINE *ENGINE_get_prev(ENGINE *e);
engine.h: int ENGINE_add(ENGINE *e);
engine.h: int ENGINE_remove(ENGINE *e);
engine.h: ENGINE *ENGINE_by_id(const char *id);
engine.h: # define ENGINE_load_openssl() \
engine.h: OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_OPENSSL, NULL)
engine.h: # define ENGINE_load_dynamic() \
engine.h: OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_DYNAMIC, NULL)
engine.h: # define ENGINE_load_padlock() \
engine.h: OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_PADLOCK, NULL)
engine.h: # define ENGINE_load_capi() \
engine.h: OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_CAPI, NULL)
engine.h: # define ENGINE_load_afalg() \
engine.h: OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_AFALG, NULL)
engine.h: # define ENGINE_load_cryptodev() \
engine.h: OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_CRYPTODEV, NULL)
engine.h: # define ENGINE_load_rdrand() \
engine.h: OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_RDRAND, NULL)
engine.h: void ENGINE_load_builtin_engines(void);
engine.h: * Get and set global flags (ENGINE_TABLE_FLAG_***) for the implementation
engine.h: unsigned int ENGINE_get_table_flags(void);
engine.h: void ENGINE_set_table_flags(unsigned int flags);
engine.h: * ENGINE_register_***(e) - registers the implementation from 'e' (if it has one)
engine.h: * ENGINE_unregister_***(e) - unregister the implementation from 'e'
engine.h: * ENGINE_register_all_***() - call ENGINE_register_***() for each 'e' in the list
engine.h: int ENGINE_register_RSA(ENGINE *e);
engine.h: void ENGINE_unregister_RSA(ENGINE *e);
engine.h: void ENGINE_register_all_RSA(void);
engine.h: int ENGINE_register_DSA(ENGINE *e);
engine.h: void ENGINE_unregister_DSA(ENGINE *e);
engine.h: void ENGINE_register_all_DSA(void);
engine.h: int ENGINE_register_EC(ENGINE *e);
engine.h: void ENGINE_unregister_EC(ENGINE *e);
engine.h: void ENGINE_register_all_EC(void);
engine.h: int ENGINE_register_DH(ENGINE *e);
engine.h: void ENGINE_unregister_DH(ENGINE *e);
engine.h: void ENGINE_register_all_DH(void);
engine.h: int ENGINE_register_RAND(ENGINE *e);
engine.h: void ENGINE_unregister_RAND(ENGINE *e);
engine.h: void ENGINE_register_all_RAND(void);
engine.h: int ENGINE_register_ciphers(ENGINE *e);
engine.h: void ENGINE_unregister_ciphers(ENGINE *e);
engine.h: void ENGINE_register_all_ciphers(void);
engine.h: int ENGINE_register_digests(ENGINE *e);
engine.h: void ENGINE_unregister_digests(ENGINE *e);
engine.h: void ENGINE_register_all_digests(void);
engine.h: int ENGINE_register_pkey_meths(ENGINE *e);
engine.h: void ENGINE_unregister_pkey_meths(ENGINE *e);
engine.h: void ENGINE_register_all_pkey_meths(void);
engine.h: int ENGINE_register_pkey_asn1_meths(ENGINE *e);
engine.h: void ENGINE_unregister_pkey_asn1_meths(ENGINE *e);
engine.h: void ENGINE_register_all_pkey_asn1_meths(void);
engine.h: int ENGINE_register_complete(ENGINE *e);
engine.h: int ENGINE_register_all_complete(void);
engine.h: * (rather than functional) reference to an engine, but many control commands
engine.h: int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void));
engine.h: * ENGINE_ctrl_cmd_string(). If this returns zero, it is not available to
engine.h: * ENGINE_ctrl_cmd_string(), only ENGINE_ctrl().
engine.h: int ENGINE_cmd_is_executable(ENGINE *e, int cmd);
engine.h: * This function works like ENGINE_ctrl() with the exception of taking a
engine.h: * commands. See the comment on ENGINE_ctrl_cmd_string() for an explanation
engine.h: int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
engine.h: long i, void *p, void (*f) (void), int cmd_optional);
engine.h: * called using 'arg' as an argument (unless the ENGINE doesn't support such
engine.h: * (or config files) can supply engine-specific config data to the ENGINE at
engine.h: * be used for calling ENGINE_ctrl() functions that return data, deal with
engine.h: * ENGINE_ctrl() in application code. Any "return" data from an ENGINE_ctrl()
engine.h: int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
engine.h: ENGINE *ENGINE_new(void);
engine.h: int ENGINE_free(ENGINE *e);
engine.h: int ENGINE_up_ref(ENGINE *e);
engine.h: int ENGINE_set_id(ENGINE *e, const char *id);
engine.h: int ENGINE_set_name(ENGINE *e, const char *name);
engine.h: int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth);
engine.h: int ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth);
engine.h: int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ecdsa_meth);
engine.h: int ENGINE_set_DH(ENGINE *e, const DH_METHOD *dh_meth);
engine.h: int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth);
engine.h: int ENGINE_set_destroy_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR destroy_f);
engine.h: int ENGINE_set_init_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f);
engine.h: int ENGINE_set_finish_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f);
engine.h: int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f);
engine.h: int ENGINE_set_load_privkey_function(ENGINE *e,
engine.h: int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f);
engine.h: int ENGINE_set_load_ssl_client_cert_function(ENGINE *e,
engine.h: int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f);
engine.h: int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f);
engine.h: int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f);
engine.h: int ENGINE_set_pkey_asn1_meths(ENGINE *e, ENGINE_PKEY_ASN1_METHS_PTR f);
engine.h: int ENGINE_set_flags(ENGINE *e, int flags);
engine.h: int ENGINE_set_cmd_defns(ENGINE *e, const ENGINE_CMD_DEFN *defns);
engine.h: #define ENGINE_get_ex_new_index(l, p, newf, dupf, freef) \
engine.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_ENGINE, l, p, newf, dupf, freef)
engine.h: int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg);
engine.h: void *ENGINE_get_ex_data(const ENGINE *e, int idx);
engine.h: # define ENGINE_cleanup() while(0) continue
engine.h: const char *ENGINE_get_id(const ENGINE *e);
engine.h: const char *ENGINE_get_name(const ENGINE *e);
engine.h: const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e);
engine.h: const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e);
engine.h: const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e);
engine.h: const DH_METHOD *ENGINE_get_DH(const ENGINE *e);
engine.h: const RAND_METHOD *ENGINE_get_RAND(const ENGINE *e);
engine.h: ENGINE_GEN_INT_FUNC_PTR ENGINE_get_destroy_function(const ENGINE *e);
engine.h: ENGINE_GEN_INT_FUNC_PTR ENGINE_get_init_function(const ENGINE *e);
engine.h: ENGINE_GEN_INT_FUNC_PTR ENGINE_get_finish_function(const ENGINE *e);
engine.h: ENGINE_CTRL_FUNC_PTR ENGINE_get_ctrl_function(const ENGINE *e);
engine.h: ENGINE_LOAD_KEY_PTR ENGINE_get_load_privkey_function(const ENGINE *e);
engine.h: ENGINE_LOAD_KEY_PTR ENGINE_get_load_pubkey_function(const ENGINE *e);
engine.h: ENGINE_SSL_CLIENT_CERT_PTR ENGINE_get_ssl_client_cert_function(const ENGINE
engine.h: ENGINE_CIPHERS_PTR ENGINE_get_ciphers(const ENGINE *e);
engine.h: ENGINE_DIGESTS_PTR ENGINE_get_digests(const ENGINE *e);
engine.h: ENGINE_PKEY_METHS_PTR ENGINE_get_pkey_meths(const ENGINE *e);
engine.h: ENGINE_PKEY_ASN1_METHS_PTR ENGINE_get_pkey_asn1_meths(const ENGINE *e);
engine.h: const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid);
engine.h: const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid);
engine.h: const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid);
engine.h: const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid);
engine.h: const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth_str(ENGINE *e,
engine.h: const EVP_PKEY_ASN1_METHOD *ENGINE_pkey_asn1_find_str(ENGINE **pe,
engine.h: const ENGINE_CMD_DEFN *ENGINE_get_cmd_defns(const ENGINE *e);
engine.h: int ENGINE_get_flags(const ENGINE *e);
engine.h: * have (or will) be initialised for use. Broadly speaking, the structural
engine.h: * can fail (if applicable) when particular engines are unavailable - eg. if
engine.h: * Initialise a engine type for use (or up its reference count if it's
engine.h: int ENGINE_init(ENGINE *e);
engine.h: int ENGINE_finish(ENGINE *e);
engine.h: EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
engine.h: EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id,
engine.h: int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s,
engine.h: STACK_OF(X509_NAME) *ca_dn, X509 **pcert,
engine.h: EVP_PKEY **ppkey, STACK_OF(X509) **pother,
engine.h: * This returns a pointer for the current ENGINE structure that is (by
engine.h: * incremented reference, so it should be free'd (ENGINE_finish) before it is
engine.h: ENGINE *ENGINE_get_default_RSA(void);
engine.h: ENGINE *ENGINE_get_default_DSA(void);
engine.h: ENGINE *ENGINE_get_default_EC(void);
engine.h: ENGINE *ENGINE_get_default_DH(void);
engine.h: ENGINE *ENGINE_get_default_RAND(void);
engine.h: ENGINE *ENGINE_get_cipher_engine(int nid);
engine.h: ENGINE *ENGINE_get_digest_engine(int nid);
engine.h: ENGINE *ENGINE_get_pkey_meth_engine(int nid);
engine.h: ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid);
engine.h: * the result is non-zero (success) then the ENGINE structure will have had
engine.h: int ENGINE_set_default_RSA(ENGINE *e);
engine.h: int ENGINE_set_default_string(ENGINE *e, const char *def_list);
engine.h: int ENGINE_set_default_DSA(ENGINE *e);
engine.h: int ENGINE_set_default_EC(ENGINE *e);
engine.h: int ENGINE_set_default_DH(ENGINE *e);
engine.h: int ENGINE_set_default_RAND(ENGINE *e);
engine.h: int ENGINE_set_default_ciphers(ENGINE *e);
engine.h: int ENGINE_set_default_digests(ENGINE *e);
engine.h: int ENGINE_set_default_pkey_meths(ENGINE *e);
engine.h: int ENGINE_set_default_pkey_asn1_meths(ENGINE *e);
engine.h: * ENGINE_METHOD_*** defines above. As with the "ENGINE_register_complete()"
engine.h: int ENGINE_set_default(ENGINE *e, unsigned int flags);
engine.h: void ENGINE_add_conf_module(void);
engine.h: /* int ENGINE_clear_defaults(void); */
engine.h: # define OSSL_DYNAMIC_VERSION (unsigned long)0x00030000
engine.h: * Binary versions older than this are too old for us (whether we're a loader
engine.h: # define OSSL_DYNAMIC_OLDEST (unsigned long)0x00030000
engine.h: * structure type provides the calling application's (or library's) error
engine.h: * same static data as the calling application (or library), and thus whether
engine.h: typedef void *(*dyn_MEM_malloc_fn) (size_t, const char *, int);
engine.h: typedef void *(*dyn_MEM_realloc_fn) (void *, size_t, const char *, int);
engine.h: typedef void (*dyn_MEM_free_fn) (void *, const char *, int);
engine.h: typedef struct st_dynamic_MEM_fns {
engine.h: * FIXME: Perhaps the memory and locking code (crypto.h) should declare and
engine.h: * use these types so we (and any other dependent code) can simplify a bit??
engine.h: typedef struct st_dynamic_fns {
engine.h: * code. If this function returns zero, it indicates a (potential) version
engine.h: * Otherwise, the returned value is the (latest) version supported by the
engine.h: * IMPLEMENT_DYNAMIC_CHECK_FN().
engine.h: typedef unsigned long (*dynamic_v_check_fn) (unsigned long ossl_version);
engine.h: # define IMPLEMENT_DYNAMIC_CHECK_FN() \
engine.h: OPENSSL_EXPORT unsigned long v_check(unsigned long v); \
engine.h: OPENSSL_EXPORT unsigned long v_check(unsigned long v) { \
engine.h: if (v >= OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \
engine.h: * functional reference counts. If this function returns zero, (a) the load
engine.h: * will be aborted, (b) the previous ENGINE state will be memcpy'd back onto
engine.h: * the structure, and (c) the shared library will be unloaded. So
engine.h: * can be instantiated with IMPLEMENT_DYNAMIC_BIND_FN(fn) where the parameter
engine.h: * returns an int value (zero for failure). 'fn' should have prototype;
engine.h: * [static] int fn(ENGINE *e, const char *id);
engine.h: typedef int (*dynamic_bind_engine) (ENGINE *e, const char *id,
engine.h: # define IMPLEMENT_DYNAMIC_BIND_FN(fn) \
engine.h: int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns); \
engine.h: int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { \
engine.h: if (ENGINE_get_static_state() == fns->static_state) goto skip_cbs; \
engine.h: CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \
engine.h: if (!fn(e, id)) return 0; \
engine.h: * If the loading application (or library) and the loaded ENGINE library
engine.h: * share the same static data (eg. they're both dynamically linked to the
engine.h: * the loaded ENGINE has (or gets from through the loader) its own copy of
engine.h: void *ENGINE_get_static_state(void);
engine.h: # if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
engine.h: DEPRECATEDIN_1_1_0(void ENGINE_setup_bsd_cryptodev(void))
e_os2.h: * Licensed under the OpenSSL license (the "License"). You may not use
e_os2.h: # define HEADER_E_OS2_H
e_os2.h: # define OPENSSL_SYS_UNIX
e_os2.h: # if defined(OPENSSL_SYS_MSDOS)
e_os2.h: # if defined(OPENSSL_SYS_UEFI)
e_os2.h: # elif defined(OPENSSL_SYS_UWIN)
e_os2.h: # define OPENSSL_SYS_WIN32_UWIN
e_os2.h: # if defined(__CYGWIN__) || defined(OPENSSL_SYS_CYGWIN)
e_os2.h: # define OPENSSL_SYS_WIN32_CYGWIN
e_os2.h: # if defined(_WIN32) || defined(OPENSSL_SYS_WIN32)
e_os2.h: # if !defined(OPENSSL_SYS_WIN32)
e_os2.h: # define OPENSSL_SYS_WIN32
e_os2.h: # if defined(_WIN64) || defined(OPENSSL_SYS_WIN64)
e_os2.h: # if !defined(OPENSSL_SYS_WIN64)
e_os2.h: # define OPENSSL_SYS_WIN64
e_os2.h: # if defined(OPENSSL_SYS_WINNT)
e_os2.h: # if defined(OPENSSL_SYS_WINCE)
e_os2.h: # if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN64) || defined(OPENSSL_SYS_WINNT) || defined(OPENSSL_SYS_WINCE)
e_os2.h: # define OPENSSL_SYS_WINDOWS
e_os2.h: # define OPENSSL_SYS_MSDOS
e_os2.h: # if defined(_WINDLL) /* This is used when building OpenSSL to
e_os2.h: # define OPENSSL_OPT_WINDLL
e_os2.h: # if defined(__VMS) || defined(VMS) || defined(OPENSSL_SYS_VMS)
e_os2.h: # if !defined(OPENSSL_SYS_VMS)
e_os2.h: # define OPENSSL_SYS_VMS
e_os2.h: # if defined(__DECC)
e_os2.h: # define OPENSSL_SYS_VMS_DECC
e_os2.h: # elif defined(__DECCXX)
e_os2.h: # define OPENSSL_SYS_VMS_DECC
e_os2.h: # define OPENSSL_SYS_VMS_DECCXX
e_os2.h: # define OPENSSL_SYS_VMS_NODECC
e_os2.h: # if defined(linux) || defined(__linux__) && !defined(OPENSSL_SYS_LINUX)
e_os2.h: # define OPENSSL_SYS_LINUX
e_os2.h: # if defined(_AIX) && !defined(OPENSSL_SYS_AIX)
e_os2.h: # define OPENSSL_SYS_AIX
e_os2.h: # if defined(__VOS__) && !defined(OPENSSL_SYS_VOS)
e_os2.h: # define OPENSSL_SYS_VOS
e_os2.h: # define OPENSSL_SYS_VOS_HPPA
e_os2.h: # define OPENSSL_SYS_VOS_IA32
e_os2.h: # define OPENSSL_UNISTD_IO <io.h>
e_os2.h: # define OPENSSL_DECLARE_EXIT extern void exit(int);
e_os2.h: # define OPENSSL_UNISTD_IO OPENSSL_UNISTD
e_os2.h: # define OPENSSL_DECLARE_EXIT /* declared in unistd.h */
e_os2.h: * OPENSSL_EXPORT is used to define a symbol with extra possible attributes
e_os2.h: * define symbols. Basically, for any library that exports some global
e_os2.h: * # define OPENSSL_EXTERN OPENSSL_EXPORT
e_os2.h: # if defined(OPENSSL_SYS_WINDOWS) && defined(OPENSSL_OPT_WINDLL)
e_os2.h: # define OPENSSL_EXPORT extern __declspec(dllexport)
e_os2.h: # define OPENSSL_EXTERN extern __declspec(dllimport)
e_os2.h: # define OPENSSL_EXPORT extern
e_os2.h: # define OPENSSL_EXTERN extern
e_os2.h: * required (if a shared library version requires it, for example.
e_os2.h: * OPENSSL_IMPLEMENT_GLOBAL(int,foobar,0)
e_os2.h: * OPENSSL_DECLARE_GLOBAL(int,foobar);
e_os2.h: * #define foobar OPENSSL_GLOBAL_REF(foobar)
e_os2.h: # define OPENSSL_IMPLEMENT_GLOBAL(type,name,value) \
e_os2.h: type *_shadow_##name(void) \
e_os2.h: # define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)
e_os2.h: # define OPENSSL_GLOBAL_REF(name) (*(_shadow_##name()))
e_os2.h: # define OPENSSL_IMPLEMENT_GLOBAL(type,name,value) type _shadow_##name=value;
e_os2.h: # define OPENSSL_DECLARE_GLOBAL(type,name) OPENSSL_EXPORT type _shadow_##name
e_os2.h: # define OPENSSL_GLOBAL_REF(name) _shadow_##name
e_os2.h: # define ossl_ssize_t __int64
e_os2.h: # define OSSL_SSIZE_MAX _I64_MAX
e_os2.h: # define ossl_ssize_t int
e_os2.h: # define OSSL_SSIZE_MAX INT_MAX
e_os2.h: # if defined(OPENSSL_SYS_UEFI) && !defined(ossl_ssize_t)
e_os2.h: # define ossl_ssize_t INTN
e_os2.h: # define OSSL_SSIZE_MAX MAX_INTN
e_os2.h: # define ossl_ssize_t ssize_t
e_os2.h: # if defined(SSIZE_MAX)
e_os2.h: # define OSSL_SSIZE_MAX SSIZE_MAX
e_os2.h: # elif defined(_POSIX_SSIZE_MAX)
e_os2.h: # define OSSL_SSIZE_MAX _POSIX_SSIZE_MAX
e_os2.h: # define __owur __attribute__((__warn_unused_result__))
e_os2.h: # define __owur
e_os2.h: # if defined(OPENSSL_SYS_UEFI)
e_os2.h: # elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
e_os2.h: defined(__osf__) || defined(__sgi) || defined(__hpux) || \
e_os2.h: defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
e_os2.h: # elif defined(_MSC_VER) && _MSC_VER<=1500
e_os2.h: # if !defined(inline) && !defined(__cplusplus)
e_os2.h: # if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
e_os2.h: # define ossl_inline inline
e_os2.h: # elif defined(__GNUC__) && __GNUC__>=2
e_os2.h: # define ossl_inline __inline__
e_os2.h: # elif defined(_MSC_VER)
e_os2.h: # define ossl_inline __inline
e_os2.h: # define ossl_inline
e_os2.h: # define ossl_inline inline
e_os2.h: # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
e_os2.h: # define ossl_noreturn _Noreturn
e_os2.h: # elif defined(__GNUC__) && __GNUC__ >= 2
e_os2.h: # define ossl_noreturn __attribute__((noreturn))
e_os2.h: # define ossl_noreturn
err.h: * Licensed under the OpenSSL license (the "License"). You may not use
err.h: # define HEADER_ERR_H
err.h: # define ERR_PUT_error(a,b,c,d,e) ERR_put_error(a,b,c,d,e)
err.h: # define ERR_PUT_error(a,b,c,d,e) ERR_put_error(a,b,c,NULL,0)
err.h: # define ERR_TXT_MALLOCED 0x01
err.h: # define ERR_TXT_STRING 0x02
err.h: # define ERR_FLAG_MARK 0x01
err.h: # define ERR_NUM_ERRORS 16
err.h: typedef struct err_state_st {
err.h: # define ERR_LIB_NONE 1
err.h: # define ERR_LIB_SYS 2
err.h: # define ERR_LIB_BN 3
err.h: # define ERR_LIB_RSA 4
err.h: # define ERR_LIB_DH 5
err.h: # define ERR_LIB_EVP 6
err.h: # define ERR_LIB_BUF 7
err.h: # define ERR_LIB_OBJ 8
err.h: # define ERR_LIB_PEM 9
err.h: # define ERR_LIB_DSA 10
err.h: # define ERR_LIB_X509 11
err.h: # define ERR_LIB_ASN1 13
err.h: # define ERR_LIB_CONF 14
err.h: # define ERR_LIB_CRYPTO 15
err.h: # define ERR_LIB_EC 16
err.h: # define ERR_LIB_SSL 20
err.h: # define ERR_LIB_BIO 32
err.h: # define ERR_LIB_PKCS7 33
err.h: # define ERR_LIB_X509V3 34
err.h: # define ERR_LIB_PKCS12 35
err.h: # define ERR_LIB_RAND 36
err.h: # define ERR_LIB_DSO 37
err.h: # define ERR_LIB_ENGINE 38
err.h: # define ERR_LIB_OCSP 39
err.h: # define ERR_LIB_UI 40
err.h: # define ERR_LIB_COMP 41
err.h: # define ERR_LIB_ECDSA 42
err.h: # define ERR_LIB_ECDH 43
err.h: # define ERR_LIB_OSSL_STORE 44
err.h: # define ERR_LIB_FIPS 45
err.h: # define ERR_LIB_CMS 46
err.h: # define ERR_LIB_TS 47
err.h: # define ERR_LIB_HMAC 48
err.h: /* # define ERR_LIB_JPAKE 49 */
err.h: # define ERR_LIB_CT 50
err.h: # define ERR_LIB_ASYNC 51
err.h: # define ERR_LIB_KDF 52
err.h: # define ERR_LIB_USER 128
err.h: # define SYSerr(f,r) ERR_PUT_error(ERR_LIB_SYS,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define BNerr(f,r) ERR_PUT_error(ERR_LIB_BN,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define RSAerr(f,r) ERR_PUT_error(ERR_LIB_RSA,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define DHerr(f,r) ERR_PUT_error(ERR_LIB_DH,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define EVPerr(f,r) ERR_PUT_error(ERR_LIB_EVP,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define BUFerr(f,r) ERR_PUT_error(ERR_LIB_BUF,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define OBJerr(f,r) ERR_PUT_error(ERR_LIB_OBJ,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define PEMerr(f,r) ERR_PUT_error(ERR_LIB_PEM,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define DSAerr(f,r) ERR_PUT_error(ERR_LIB_DSA,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define X509err(f,r) ERR_PUT_error(ERR_LIB_X509,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define ASN1err(f,r) ERR_PUT_error(ERR_LIB_ASN1,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define CONFerr(f,r) ERR_PUT_error(ERR_LIB_CONF,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define CRYPTOerr(f,r) ERR_PUT_error(ERR_LIB_CRYPTO,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define ECerr(f,r) ERR_PUT_error(ERR_LIB_EC,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define SSLerr(f,r) ERR_PUT_error(ERR_LIB_SSL,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define BIOerr(f,r) ERR_PUT_error(ERR_LIB_BIO,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define PKCS7err(f,r) ERR_PUT_error(ERR_LIB_PKCS7,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define X509V3err(f,r) ERR_PUT_error(ERR_LIB_X509V3,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define PKCS12err(f,r) ERR_PUT_error(ERR_LIB_PKCS12,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define RANDerr(f,r) ERR_PUT_error(ERR_LIB_RAND,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define DSOerr(f,r) ERR_PUT_error(ERR_LIB_DSO,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define ENGINEerr(f,r) ERR_PUT_error(ERR_LIB_ENGINE,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define OCSPerr(f,r) ERR_PUT_error(ERR_LIB_OCSP,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define UIerr(f,r) ERR_PUT_error(ERR_LIB_UI,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define COMPerr(f,r) ERR_PUT_error(ERR_LIB_COMP,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define ECDSAerr(f,r) ERR_PUT_error(ERR_LIB_ECDSA,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define ECDHerr(f,r) ERR_PUT_error(ERR_LIB_ECDH,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define OSSL_STOREerr(f,r) ERR_PUT_error(ERR_LIB_OSSL_STORE,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define FIPSerr(f,r) ERR_PUT_error(ERR_LIB_FIPS,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define CMSerr(f,r) ERR_PUT_error(ERR_LIB_CMS,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define TSerr(f,r) ERR_PUT_error(ERR_LIB_TS,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define HMACerr(f,r) ERR_PUT_error(ERR_LIB_HMAC,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define CTerr(f,r) ERR_PUT_error(ERR_LIB_CT,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define ASYNCerr(f,r) ERR_PUT_error(ERR_LIB_ASYNC,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define KDFerr(f,r) ERR_PUT_error(ERR_LIB_KDF,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define OSSL_STOREerr(f,r) ERR_PUT_error(ERR_LIB_OSSL_STORE,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
err.h: # define ERR_PACK(l,f,r) ( \
err.h: (((unsigned int)(l) & 0x0FF) << 24L) | \
err.h: (((unsigned int)(f) & 0xFFF) << 12L) | \
err.h: (((unsigned int)(r) & 0xFFF) ) )
err.h: # define ERR_GET_LIB(l) (int)(((l) >> 24L) & 0x0FFL)
err.h: # define ERR_GET_FUNC(l) (int)(((l) >> 12L) & 0xFFFL)
err.h: # define ERR_GET_REASON(l) (int)( (l) & 0xFFFL)
err.h: # define ERR_FATAL_ERROR(l) (int)( (l) & ERR_R_FATAL)
err.h: # define SYS_F_FOPEN 1
err.h: # define SYS_F_CONNECT 2
err.h: # define SYS_F_GETSERVBYNAME 3
err.h: # define SYS_F_SOCKET 4
err.h: # define SYS_F_IOCTLSOCKET 5
err.h: # define SYS_F_BIND 6
err.h: # define SYS_F_LISTEN 7
err.h: # define SYS_F_ACCEPT 8
err.h: # define SYS_F_WSASTARTUP 9/* Winsock stuff */
err.h: # define SYS_F_OPENDIR 10
err.h: # define SYS_F_FREAD 11
err.h: # define SYS_F_GETADDRINFO 12
err.h: # define SYS_F_GETNAMEINFO 13
err.h: # define SYS_F_SETSOCKOPT 14
err.h: # define SYS_F_GETSOCKOPT 15
err.h: # define SYS_F_GETSOCKNAME 16
err.h: # define SYS_F_GETHOSTBYNAME 17
err.h: # define SYS_F_FFLUSH 18
err.h: # define SYS_F_OPEN 19
err.h: # define SYS_F_CLOSE 20
err.h: # define SYS_F_IOCTL 21
err.h: # define SYS_F_STAT 22
err.h: # define SYS_F_FCNTL 23
err.h: # define ERR_R_SYS_LIB ERR_LIB_SYS/* 2 */
err.h: # define ERR_R_BN_LIB ERR_LIB_BN/* 3 */
err.h: # define ERR_R_RSA_LIB ERR_LIB_RSA/* 4 */
err.h: # define ERR_R_DH_LIB ERR_LIB_DH/* 5 */
err.h: # define ERR_R_EVP_LIB ERR_LIB_EVP/* 6 */
err.h: # define ERR_R_BUF_LIB ERR_LIB_BUF/* 7 */
err.h: # define ERR_R_OBJ_LIB ERR_LIB_OBJ/* 8 */
err.h: # define ERR_R_PEM_LIB ERR_LIB_PEM/* 9 */
err.h: # define ERR_R_DSA_LIB ERR_LIB_DSA/* 10 */
err.h: # define ERR_R_X509_LIB ERR_LIB_X509/* 11 */
err.h: # define ERR_R_ASN1_LIB ERR_LIB_ASN1/* 13 */
err.h: # define ERR_R_EC_LIB ERR_LIB_EC/* 16 */
err.h: # define ERR_R_BIO_LIB ERR_LIB_BIO/* 32 */
err.h: # define ERR_R_PKCS7_LIB ERR_LIB_PKCS7/* 33 */
err.h: # define ERR_R_X509V3_LIB ERR_LIB_X509V3/* 34 */
err.h: # define ERR_R_ENGINE_LIB ERR_LIB_ENGINE/* 38 */
err.h: # define ERR_R_UI_LIB ERR_LIB_UI/* 40 */
err.h: # define ERR_R_ECDSA_LIB ERR_LIB_ECDSA/* 42 */
err.h: # define ERR_R_OSSL_STORE_LIB ERR_LIB_OSSL_STORE/* 44 */
err.h: # define ERR_R_NESTED_ASN1_ERROR 58
err.h: # define ERR_R_MISSING_ASN1_EOS 63
err.h: # define ERR_R_FATAL 64
err.h: # define ERR_R_MALLOC_FAILURE (1|ERR_R_FATAL)
err.h: # define ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED (2|ERR_R_FATAL)
err.h: # define ERR_R_PASSED_NULL_PARAMETER (3|ERR_R_FATAL)
err.h: # define ERR_R_INTERNAL_ERROR (4|ERR_R_FATAL)
err.h: # define ERR_R_DISABLED (5|ERR_R_FATAL)
err.h: # define ERR_R_INIT_FAIL (6|ERR_R_FATAL)
err.h: # define ERR_R_PASSED_INVALID_ARGUMENT (7)
err.h: # define ERR_R_OPERATION_FAIL (8|ERR_R_FATAL)
err.h: typedef struct ERR_string_data_st {
err.h: DEFINE_LHASH_OF(ERR_STRING_DATA);
err.h: void ERR_put_error(int lib, int func, int reason, const char *file, int line);
err.h: void ERR_set_error_data(char *data, int flags);
err.h: unsigned long ERR_get_error(void);
err.h: unsigned long ERR_get_error_line(const char **file, int *line);
err.h: unsigned long ERR_get_error_line_data(const char **file, int *line,
err.h: unsigned long ERR_peek_error(void);
err.h: unsigned long ERR_peek_error_line(const char **file, int *line);
err.h: unsigned long ERR_peek_error_line_data(const char **file, int *line,
err.h: unsigned long ERR_peek_last_error(void);
err.h: unsigned long ERR_peek_last_error_line(const char **file, int *line);
err.h: unsigned long ERR_peek_last_error_line_data(const char **file, int *line,
err.h: void ERR_clear_error(void);
err.h: char *ERR_error_string(unsigned long e, char *buf);
err.h: void ERR_error_string_n(unsigned long e, char *buf, size_t len);
err.h: const char *ERR_lib_error_string(unsigned long e);
err.h: const char *ERR_func_error_string(unsigned long e);
err.h: const char *ERR_reason_error_string(unsigned long e);
err.h: void ERR_print_errors_cb(int (*cb) (const char *str, size_t len, void *u),
err.h: void ERR_print_errors_fp(FILE *fp);
err.h: void ERR_print_errors(BIO *bp);
err.h: void ERR_add_error_data(int num, ...);
err.h: void ERR_add_error_vdata(int num, va_list args);
err.h: int ERR_load_strings(int lib, ERR_STRING_DATA *str);
err.h: int ERR_load_strings_const(const ERR_STRING_DATA *str);
err.h: int ERR_unload_strings(int lib, ERR_STRING_DATA *str);
err.h: int ERR_load_ERR_strings(void);
err.h: # define ERR_load_crypto_strings() \
err.h: OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
err.h: # define ERR_free_strings() while(0) continue
err.h: DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
err.h: DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
err.h: ERR_STATE *ERR_get_state(void);
err.h: int ERR_get_next_error_library(void);
err.h: int ERR_set_mark(void);
err.h: int ERR_pop_to_mark(void);
err.h: int ERR_clear_last_mark(void);
evperr.h: * Licensed under the OpenSSL license (the "License"). You may not use
evperr.h: # define HEADER_EVPERR_H
evperr.h: int ERR_load_EVP_strings(void);
evperr.h: # define EVP_F_AESNI_INIT_KEY 165
evperr.h: # define EVP_F_AES_INIT_KEY 133
evperr.h: # define EVP_F_AES_OCB_CIPHER 169
evperr.h: # define EVP_F_AES_T4_INIT_KEY 178
evperr.h: # define EVP_F_AES_WRAP_CIPHER 170
evperr.h: # define EVP_F_ALG_MODULE_INIT 177
evperr.h: # define EVP_F_ARIA_CCM_INIT_KEY 175
evperr.h: # define EVP_F_ARIA_GCM_INIT_KEY 176
evperr.h: # define EVP_F_ARIA_INIT_KEY 185
evperr.h: # define EVP_F_CAMELLIA_INIT_KEY 159
evperr.h: # define EVP_F_CHACHA20_POLY1305_CTRL 182
evperr.h: # define EVP_F_CMLL_T4_INIT_KEY 179
evperr.h: # define EVP_F_DES_EDE3_WRAP_CIPHER 171
evperr.h: # define EVP_F_DO_SIGVER_INIT 161
evperr.h: # define EVP_F_EVP_CIPHERINIT_EX 123
evperr.h: # define EVP_F_EVP_CIPHER_CTX_COPY 163
evperr.h: # define EVP_F_EVP_CIPHER_CTX_CTRL 124
evperr.h: # define EVP_F_EVP_CIPHER_CTX_SET_KEY_LENGTH 122
evperr.h: # define EVP_F_EVP_DECRYPTFINAL_EX 101
evperr.h: # define EVP_F_EVP_DECRYPTUPDATE 166
evperr.h: # define EVP_F_EVP_DIGESTFINALXOF 174
evperr.h: # define EVP_F_EVP_DIGESTINIT_EX 128
evperr.h: # define EVP_F_EVP_ENCRYPTFINAL_EX 127
evperr.h: # define EVP_F_EVP_ENCRYPTUPDATE 167
evperr.h: # define EVP_F_EVP_MD_CTX_COPY_EX 110
evperr.h: # define EVP_F_EVP_MD_SIZE 162
evperr.h: # define EVP_F_EVP_OPENINIT 102
evperr.h: # define EVP_F_EVP_PBE_ALG_ADD 115
evperr.h: # define EVP_F_EVP_PBE_ALG_ADD_TYPE 160
evperr.h: # define EVP_F_EVP_PBE_CIPHERINIT 116
evperr.h: # define EVP_F_EVP_PBE_SCRYPT 181
evperr.h: # define EVP_F_EVP_PKCS82PKEY 111
evperr.h: # define EVP_F_EVP_PKEY2PKCS8 113
evperr.h: # define EVP_F_EVP_PKEY_ASN1_ADD0 188
evperr.h: # define EVP_F_EVP_PKEY_CHECK 186
evperr.h: # define EVP_F_EVP_PKEY_COPY_PARAMETERS 103
evperr.h: # define EVP_F_EVP_PKEY_CTX_CTRL 137
evperr.h: # define EVP_F_EVP_PKEY_CTX_CTRL_STR 150
evperr.h: # define EVP_F_EVP_PKEY_CTX_DUP 156
evperr.h: # define EVP_F_EVP_PKEY_CTX_MD 168
evperr.h: # define EVP_F_EVP_PKEY_DECRYPT 104
evperr.h: # define EVP_F_EVP_PKEY_DECRYPT_INIT 138
evperr.h: # define EVP_F_EVP_PKEY_DECRYPT_OLD 151
evperr.h: # define EVP_F_EVP_PKEY_DERIVE 153
evperr.h: # define EVP_F_EVP_PKEY_DERIVE_INIT 154
evperr.h: # define EVP_F_EVP_PKEY_DERIVE_SET_PEER 155
evperr.h: # define EVP_F_EVP_PKEY_ENCRYPT 105
evperr.h: # define EVP_F_EVP_PKEY_ENCRYPT_INIT 139
evperr.h: # define EVP_F_EVP_PKEY_ENCRYPT_OLD 152
evperr.h: # define EVP_F_EVP_PKEY_GET0_DH 119
evperr.h: # define EVP_F_EVP_PKEY_GET0_DSA 120
evperr.h: # define EVP_F_EVP_PKEY_GET0_EC_KEY 131
evperr.h: # define EVP_F_EVP_PKEY_GET0_HMAC 183
evperr.h: # define EVP_F_EVP_PKEY_GET0_POLY1305 184
evperr.h: # define EVP_F_EVP_PKEY_GET0_RSA 121
evperr.h: # define EVP_F_EVP_PKEY_GET0_SIPHASH 172
evperr.h: # define EVP_F_EVP_PKEY_KEYGEN 146
evperr.h: # define EVP_F_EVP_PKEY_KEYGEN_INIT 147
evperr.h: # define EVP_F_EVP_PKEY_NEW 106
evperr.h: # define EVP_F_EVP_PKEY_PARAMGEN 148
evperr.h: # define EVP_F_EVP_PKEY_PARAMGEN_INIT 149
evperr.h: # define EVP_F_EVP_PKEY_PARAM_CHECK 189
evperr.h: # define EVP_F_EVP_PKEY_PUBLIC_CHECK 190
evperr.h: # define EVP_F_EVP_PKEY_SET1_ENGINE 187
evperr.h: # define EVP_F_EVP_PKEY_SIGN 140
evperr.h: # define EVP_F_EVP_PKEY_SIGN_INIT 141
evperr.h: # define EVP_F_EVP_PKEY_VERIFY 142
evperr.h: # define EVP_F_EVP_PKEY_VERIFY_INIT 143
evperr.h: # define EVP_F_EVP_PKEY_VERIFY_RECOVER 144
evperr.h: # define EVP_F_EVP_PKEY_VERIFY_RECOVER_INIT 145
evperr.h: # define EVP_F_EVP_SIGNFINAL 107
evperr.h: # define EVP_F_EVP_VERIFYFINAL 108
evperr.h: # define EVP_F_INT_CTX_NEW 157
evperr.h: # define EVP_F_PKCS5_PBE_KEYIVGEN 117
evperr.h: # define EVP_F_PKCS5_V2_PBE_KEYIVGEN 118
evperr.h: # define EVP_F_PKCS5_V2_PBKDF2_KEYIVGEN 164
evperr.h: # define EVP_F_PKCS5_V2_SCRYPT_KEYIVGEN 180
evperr.h: # define EVP_F_PKEY_SET_TYPE 158
evperr.h: # define EVP_F_RC2_MAGIC_TO_METH 109
evperr.h: # define EVP_F_RC5_CTRL 125
evperr.h: # define EVP_F_UPDATE 173
evperr.h: # define EVP_R_AES_KEY_SETUP_FAILED 143
evperr.h: # define EVP_R_ARIA_KEY_SETUP_FAILED 176
evperr.h: # define EVP_R_BAD_DECRYPT 100
evperr.h: # define EVP_R_BUFFER_TOO_SMALL 155
evperr.h: # define EVP_R_CAMELLIA_KEY_SETUP_FAILED 157
evperr.h: # define EVP_R_CIPHER_PARAMETER_ERROR 122
evperr.h: # define EVP_R_COMMAND_NOT_SUPPORTED 147
evperr.h: # define EVP_R_COPY_ERROR 173
evperr.h: # define EVP_R_CTRL_NOT_IMPLEMENTED 132
evperr.h: # define EVP_R_CTRL_OPERATION_NOT_IMPLEMENTED 133
evperr.h: # define EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH 138
evperr.h: # define EVP_R_DECODE_ERROR 114
evperr.h: # define EVP_R_DIFFERENT_KEY_TYPES 101
evperr.h: # define EVP_R_DIFFERENT_PARAMETERS 153
evperr.h: # define EVP_R_ERROR_LOADING_SECTION 165
evperr.h: # define EVP_R_ERROR_SETTING_FIPS_MODE 166
evperr.h: # define EVP_R_EXPECTING_AN_HMAC_KEY 174
evperr.h: # define EVP_R_EXPECTING_AN_RSA_KEY 127
evperr.h: # define EVP_R_EXPECTING_A_DH_KEY 128
evperr.h: # define EVP_R_EXPECTING_A_DSA_KEY 129
evperr.h: # define EVP_R_EXPECTING_A_EC_KEY 142
evperr.h: # define EVP_R_EXPECTING_A_POLY1305_KEY 164
evperr.h: # define EVP_R_EXPECTING_A_SIPHASH_KEY 175
evperr.h: # define EVP_R_FIPS_MODE_NOT_SUPPORTED 167
evperr.h: # define EVP_R_ILLEGAL_SCRYPT_PARAMETERS 171
evperr.h: # define EVP_R_INITIALIZATION_ERROR 134
evperr.h: # define EVP_R_INPUT_NOT_INITIALIZED 111
evperr.h: # define EVP_R_INVALID_DIGEST 152
evperr.h: # define EVP_R_INVALID_FIPS_MODE 168
evperr.h: # define EVP_R_INVALID_KEY 163
evperr.h: # define EVP_R_INVALID_KEY_LENGTH 130
evperr.h: # define EVP_R_INVALID_OPERATION 148
evperr.h: # define EVP_R_KEYGEN_FAILURE 120
evperr.h: # define EVP_R_MEMORY_LIMIT_EXCEEDED 172
evperr.h: # define EVP_R_MESSAGE_DIGEST_IS_NULL 159
evperr.h: # define EVP_R_METHOD_NOT_SUPPORTED 144
evperr.h: # define EVP_R_MISSING_PARAMETERS 103
evperr.h: # define EVP_R_NOT_XOF_OR_INVALID_LENGTH 178
evperr.h: # define EVP_R_NO_CIPHER_SET 131
evperr.h: # define EVP_R_NO_DEFAULT_DIGEST 158
evperr.h: # define EVP_R_NO_DIGEST_SET 139
evperr.h: # define EVP_R_NO_KEY_SET 154
evperr.h: # define EVP_R_NO_OPERATION_SET 149
evperr.h: # define EVP_R_ONLY_ONESHOT_SUPPORTED 177
evperr.h: # define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
evperr.h: # define EVP_R_OPERATON_NOT_INITIALIZED 151
evperr.h: # define EVP_R_PARTIALLY_OVERLAPPING 162
evperr.h: # define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
evperr.h: # define EVP_R_PRIVATE_KEY_DECODE_ERROR 145
evperr.h: # define EVP_R_PRIVATE_KEY_ENCODE_ERROR 146
evperr.h: # define EVP_R_PUBLIC_KEY_NOT_RSA 106
evperr.h: # define EVP_R_UNKNOWN_CIPHER 160
evperr.h: # define EVP_R_UNKNOWN_DIGEST 161
evperr.h: # define EVP_R_UNKNOWN_OPTION 169
evperr.h: # define EVP_R_UNKNOWN_PBE_ALGORITHM 121
evperr.h: # define EVP_R_UNSUPPORTED_ALGORITHM 156
evperr.h: # define EVP_R_UNSUPPORTED_CIPHER 107
evperr.h: # define EVP_R_UNSUPPORTED_KEYLENGTH 123
evperr.h: # define EVP_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION 124
evperr.h: # define EVP_R_UNSUPPORTED_KEY_SIZE 108
evperr.h: # define EVP_R_UNSUPPORTED_NUMBER_OF_ROUNDS 135
evperr.h: # define EVP_R_UNSUPPORTED_PRF 125
evperr.h: # define EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM 118
evperr.h: # define EVP_R_UNSUPPORTED_SALT_TYPE 126
evperr.h: # define EVP_R_WRAP_MODE_NOT_ALLOWED 170
evperr.h: # define EVP_R_WRONG_FINAL_BLOCK_LENGTH 109
evp.h: * Licensed under the OpenSSL license (the "License"). You may not use
evp.h: # define HEADER_ENVELOPE_H
evp.h: # define EVP_MAX_MD_SIZE 64/* longest known is SHA512 */
evp.h: # define EVP_MAX_KEY_LENGTH 64
evp.h: # define EVP_MAX_IV_LENGTH 16
evp.h: # define EVP_MAX_BLOCK_LENGTH 32
evp.h: # define PKCS5_SALT_LEN 8
evp.h: # define PKCS5_DEFAULT_ITER 2048
evp.h: # define EVP_PK_RSA 0x0001
evp.h: # define EVP_PK_DSA 0x0002
evp.h: # define EVP_PK_DH 0x0004
evp.h: # define EVP_PK_EC 0x0008
evp.h: # define EVP_PKT_SIGN 0x0010
evp.h: # define EVP_PKT_ENC 0x0020
evp.h: # define EVP_PKT_EXCH 0x0040
evp.h: # define EVP_PKS_RSA 0x0100
evp.h: # define EVP_PKS_DSA 0x0200
evp.h: # define EVP_PKS_EC 0x0400
evp.h: # define EVP_PKEY_NONE NID_undef
evp.h: # define EVP_PKEY_RSA NID_rsaEncryption
evp.h: # define EVP_PKEY_RSA2 NID_rsa
evp.h: # define EVP_PKEY_RSA_PSS NID_rsassaPss
evp.h: # define EVP_PKEY_DSA NID_dsa
evp.h: # define EVP_PKEY_DSA1 NID_dsa_2
evp.h: # define EVP_PKEY_DSA2 NID_dsaWithSHA
evp.h: # define EVP_PKEY_DSA3 NID_dsaWithSHA1
evp.h: # define EVP_PKEY_DSA4 NID_dsaWithSHA1_2
evp.h: # define EVP_PKEY_DH NID_dhKeyAgreement
evp.h: # define EVP_PKEY_DHX NID_dhpublicnumber
evp.h: # define EVP_PKEY_EC NID_X9_62_id_ecPublicKey
evp.h: # define EVP_PKEY_HMAC NID_hmac
evp.h: # define EVP_PKEY_CMAC NID_cmac
evp.h: # define EVP_PKEY_SCRYPT NID_id_scrypt
evp.h: # define EVP_PKEY_TLS1_PRF NID_tls1_prf
evp.h: # define EVP_PKEY_HKDF NID_hkdf
evp.h: # define EVP_PKEY_POLY1305 NID_poly1305
evp.h: # define EVP_PKEY_SIPHASH NID_siphash
evp.h: # define EVP_PKEY_X25519 NID_X25519
evp.h: # define EVP_PKEY_ED25519 NID_ED25519
evp.h: # define EVP_PKEY_MO_SIGN 0x0001
evp.h: # define EVP_PKEY_MO_VERIFY 0x0002
evp.h: # define EVP_PKEY_MO_ENCRYPT 0x0004
evp.h: # define EVP_PKEY_MO_DECRYPT 0x0008
evp.h: EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type);
evp.h: EVP_MD *EVP_MD_meth_dup(const EVP_MD *md);
evp.h: void EVP_MD_meth_free(EVP_MD *md);
evp.h: int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize);
evp.h: int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize);
evp.h: int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize);
evp.h: int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags);
evp.h: int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx));
evp.h: int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx,
evp.h: int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx,
evp.h: int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to,
evp.h: int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx));
evp.h: int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd,
evp.h: int EVP_MD_meth_get_input_blocksize(const EVP_MD *md);
evp.h: int EVP_MD_meth_get_result_size(const EVP_MD *md);
evp.h: int EVP_MD_meth_get_app_datasize(const EVP_MD *md);
evp.h: unsigned long EVP_MD_meth_get_flags(const EVP_MD *md);
evp.h: int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx);
evp.h: int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx,
evp.h: int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx,
evp.h: int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to,
evp.h: int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx);
evp.h: int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
evp.h: # define EVP_MD_FLAG_ONESHOT 0x0001
evp.h: # define EVP_MD_FLAG_XOF 0x0002
evp.h: # define EVP_MD_FLAG_DIGALGID_MASK 0x0018
evp.h: # define EVP_MD_FLAG_DIGALGID_NULL 0x0000
evp.h: # define EVP_MD_FLAG_DIGALGID_ABSENT 0x0008
evp.h: # define EVP_MD_FLAG_DIGALGID_CUSTOM 0x0018
evp.h: # define EVP_MD_FLAG_FIPS 0x0400
evp.h: # define EVP_MD_CTRL_DIGALGID 0x1
evp.h: # define EVP_MD_CTRL_MICALG 0x2
evp.h: # define EVP_MD_CTRL_XOF_LEN 0x3
evp.h: # define EVP_MD_CTRL_ALG_CTRL 0x1000
evp.h: # define EVP_MD_CTX_FLAG_ONESHOT 0x0001/* digest update will be
evp.h: # define EVP_MD_CTX_FLAG_CLEANED 0x0002/* context has already been
evp.h: # define EVP_MD_CTX_FLAG_REUSE 0x0004/* Don't free up ctx->md_data
evp.h: # define EVP_MD_CTX_FLAG_NON_FIPS_ALLOW 0x0008/* Allow use of non FIPS
evp.h: * parameters are handled through EVP_DigestSign*() and EVP_DigestVerify*()
evp.h: # define EVP_MD_CTX_FLAG_PAD_MASK 0xF0/* RSA mode to use */
evp.h: # define EVP_MD_CTX_FLAG_PAD_PKCS1 0x00/* PKCS#1 v1.5 mode */
evp.h: # define EVP_MD_CTX_FLAG_PAD_X931 0x10/* X9.31 mode */
evp.h: # define EVP_MD_CTX_FLAG_PAD_PSS 0x20/* PSS mode */
evp.h: # define EVP_MD_CTX_FLAG_NO_INIT 0x0100/* Don't initialize md_data */
evp.h: # define EVP_MD_CTX_FLAG_FINALISE 0x0200
evp.h: EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
evp.h: EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
evp.h: void EVP_CIPHER_meth_free(EVP_CIPHER *cipher);
evp.h: int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len);
evp.h: int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags);
evp.h: int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
evp.h: int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher,
evp.h: int (*init) (EVP_CIPHER_CTX *ctx,
evp.h: int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher,
evp.h: int (*do_cipher) (EVP_CIPHER_CTX *ctx,
evp.h: int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher,
evp.h: int (*cleanup) (EVP_CIPHER_CTX *));
evp.h: int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher,
evp.h: int (*set_asn1_parameters) (EVP_CIPHER_CTX *,
evp.h: int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher,
evp.h: int (*get_asn1_parameters) (EVP_CIPHER_CTX *,
evp.h: int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher,
evp.h: int (*ctrl) (EVP_CIPHER_CTX *, int type,
evp.h: int (*EVP_CIPHER_meth_get_init(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx,
evp.h: int (*EVP_CIPHER_meth_get_do_cipher(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx,
evp.h: int (*EVP_CIPHER_meth_get_cleanup(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *);
evp.h: int (*EVP_CIPHER_meth_get_set_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
evp.h: int (*EVP_CIPHER_meth_get_get_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
evp.h: int (*EVP_CIPHER_meth_get_ctrl(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
evp.h: # define EVP_CIPH_STREAM_CIPHER 0x0
evp.h: # define EVP_CIPH_ECB_MODE 0x1
evp.h: # define EVP_CIPH_CBC_MODE 0x2
evp.h: # define EVP_CIPH_CFB_MODE 0x3
evp.h: # define EVP_CIPH_OFB_MODE 0x4
evp.h: # define EVP_CIPH_CTR_MODE 0x5
evp.h: # define EVP_CIPH_GCM_MODE 0x6
evp.h: # define EVP_CIPH_CCM_MODE 0x7
evp.h: # define EVP_CIPH_XTS_MODE 0x10001
evp.h: # define EVP_CIPH_WRAP_MODE 0x10002
evp.h: # define EVP_CIPH_OCB_MODE 0x10003
evp.h: # define EVP_CIPH_MODE 0xF0007
evp.h: # define EVP_CIPH_VARIABLE_LENGTH 0x8
evp.h: # define EVP_CIPH_CUSTOM_IV 0x10
evp.h: /* Set if the cipher's init() function should be called if key is NULL */
evp.h: # define EVP_CIPH_ALWAYS_CALL_INIT 0x20
evp.h: /* Call ctrl() to init cipher parameters */
evp.h: # define EVP_CIPH_CTRL_INIT 0x40
evp.h: # define EVP_CIPH_CUSTOM_KEY_LENGTH 0x80
evp.h: # define EVP_CIPH_NO_PADDING 0x100
evp.h: # define EVP_CIPH_RAND_KEY 0x200
evp.h: # define EVP_CIPH_CUSTOM_COPY 0x400
evp.h: # define EVP_CIPH_FLAG_DEFAULT_ASN1 0x1000
evp.h: # define EVP_CIPH_FLAG_LENGTH_BITS 0x2000
evp.h: # define EVP_CIPH_FLAG_FIPS 0x4000
evp.h: # define EVP_CIPH_FLAG_NON_FIPS_ALLOW 0x8000
evp.h: # define EVP_CIPH_FLAG_CUSTOM_CIPHER 0x100000
evp.h: # define EVP_CIPH_FLAG_AEAD_CIPHER 0x200000
evp.h: # define EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK 0x400000
evp.h: # define EVP_CIPH_FLAG_PIPELINE 0X800000
evp.h: # define EVP_CIPHER_CTX_FLAG_WRAP_ALLOW 0x1
evp.h: /* ctrl() values */
evp.h: # define EVP_CTRL_INIT 0x0
evp.h: # define EVP_CTRL_SET_KEY_LENGTH 0x1
evp.h: # define EVP_CTRL_GET_RC2_KEY_BITS 0x2
evp.h: # define EVP_CTRL_SET_RC2_KEY_BITS 0x3
evp.h: # define EVP_CTRL_GET_RC5_ROUNDS 0x4
evp.h: # define EVP_CTRL_SET_RC5_ROUNDS 0x5
evp.h: # define EVP_CTRL_RAND_KEY 0x6
evp.h: # define EVP_CTRL_PBE_PRF_NID 0x7
evp.h: # define EVP_CTRL_COPY 0x8
evp.h: # define EVP_CTRL_AEAD_SET_IVLEN 0x9
evp.h: # define EVP_CTRL_AEAD_GET_TAG 0x10
evp.h: # define EVP_CTRL_AEAD_SET_TAG 0x11
evp.h: # define EVP_CTRL_AEAD_SET_IV_FIXED 0x12
evp.h: # define EVP_CTRL_GCM_SET_IVLEN EVP_CTRL_AEAD_SET_IVLEN
evp.h: # define EVP_CTRL_GCM_GET_TAG EVP_CTRL_AEAD_GET_TAG
evp.h: # define EVP_CTRL_GCM_SET_TAG EVP_CTRL_AEAD_SET_TAG
evp.h: # define EVP_CTRL_GCM_SET_IV_FIXED EVP_CTRL_AEAD_SET_IV_FIXED
evp.h: # define EVP_CTRL_GCM_IV_GEN 0x13
evp.h: # define EVP_CTRL_CCM_SET_IVLEN EVP_CTRL_AEAD_SET_IVLEN
evp.h: # define EVP_CTRL_CCM_GET_TAG EVP_CTRL_AEAD_GET_TAG
evp.h: # define EVP_CTRL_CCM_SET_TAG EVP_CTRL_AEAD_SET_TAG
evp.h: # define EVP_CTRL_CCM_SET_IV_FIXED EVP_CTRL_AEAD_SET_IV_FIXED
evp.h: # define EVP_CTRL_CCM_SET_L 0x14
evp.h: # define EVP_CTRL_CCM_SET_MSGLEN 0x15
evp.h: # define EVP_CTRL_AEAD_TLS1_AAD 0x16
evp.h: # define EVP_CTRL_AEAD_SET_MAC_KEY 0x17
evp.h: # define EVP_CTRL_GCM_SET_IV_INV 0x18
evp.h: # define EVP_CTRL_TLS1_1_MULTIBLOCK_AAD 0x19
evp.h: # define EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT 0x1a
evp.h: # define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b
evp.h: # define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c
evp.h: # define EVP_CTRL_SSL3_MASTER_SECRET 0x1d
evp.h: # define EVP_CTRL_SET_SBOX 0x1e
evp.h: # define EVP_CTRL_SBOX_USED 0x1f
evp.h: # define EVP_CTRL_KEY_MESH 0x20
evp.h: # define EVP_CTRL_BLOCK_PADDING_MODE 0x21
evp.h: # define EVP_CTRL_SET_PIPELINE_OUTPUT_BUFS 0x22
evp.h: # define EVP_CTRL_SET_PIPELINE_INPUT_BUFS 0x23
evp.h: # define EVP_CTRL_SET_PIPELINE_INPUT_LENS 0x24
evp.h: # define EVP_AEAD_TLS1_AAD_LEN 13
evp.h: typedef struct {
evp.h: # define EVP_GCM_TLS_FIXED_IV_LEN 4
evp.h: # define EVP_GCM_TLS_EXPLICIT_IV_LEN 8
evp.h: # define EVP_GCM_TLS_TAG_LEN 16
evp.h: # define EVP_CCM_TLS_FIXED_IV_LEN 4
evp.h: # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8
evp.h: # define EVP_CCM_TLS_IV_LEN 12
evp.h: # define EVP_CCM_TLS_TAG_LEN 16
evp.h: # define EVP_CCM8_TLS_TAG_LEN 8
evp.h: # define EVP_CHACHAPOLY_TLS_TAG_LEN 16
evp.h: typedef struct evp_cipher_info_st {
evp.h: typedef int (EVP_PBE_KEYGEN) (EVP_CIPHER_CTX *ctx, const char *pass,
evp.h: # define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
evp.h: (char *)(rsa))
evp.h: # define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
evp.h: (char *)(dsa))
evp.h: # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,\
evp.h: (char *)(dh))
evp.h: # define EVP_PKEY_assign_EC_KEY(pkey,eckey) EVP_PKEY_assign((pkey),EVP_PKEY_EC,\
evp.h: (char *)(eckey))
evp.h: # define EVP_PKEY_assign_SIPHASH(pkey,shkey) EVP_PKEY_assign((pkey),EVP_PKEY_SIPHASH,\
evp.h: (char *)(shkey))
evp.h: # define EVP_PKEY_assign_POLY1305(pkey,polykey) EVP_PKEY_assign((pkey),EVP_PKEY_POLY1305,\
evp.h: (char *)(polykey))
evp.h: # define EVP_get_digestbynid(a) EVP_get_digestbyname(OBJ_nid2sn(a))
evp.h: # define EVP_get_digestbyobj(a) EVP_get_digestbynid(OBJ_obj2nid(a))
evp.h: # define EVP_get_cipherbynid(a) EVP_get_cipherbyname(OBJ_nid2sn(a))
evp.h: # define EVP_get_cipherbyobj(a) EVP_get_cipherbynid(OBJ_obj2nid(a))
evp.h: int EVP_MD_type(const EVP_MD *md);
evp.h: # define EVP_MD_nid(e) EVP_MD_type(e)
evp.h: # define EVP_MD_name(e) OBJ_nid2sn(EVP_MD_nid(e))
evp.h: int EVP_MD_pkey_type(const EVP_MD *md);
evp.h: int EVP_MD_size(const EVP_MD *md);
evp.h: int EVP_MD_block_size(const EVP_MD *md);
evp.h: unsigned long EVP_MD_flags(const EVP_MD *md);
evp.h: const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
evp.h: int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx,
evp.h: void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx,
evp.h: int (*update) (EVP_MD_CTX *ctx,
evp.h: # define EVP_MD_CTX_size(e) EVP_MD_size(EVP_MD_CTX_md(e))
evp.h: # define EVP_MD_CTX_block_size(e) EVP_MD_block_size(EVP_MD_CTX_md(e))
evp.h: # define EVP_MD_CTX_type(e) EVP_MD_type(EVP_MD_CTX_md(e))
evp.h: EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx);
evp.h: void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
evp.h: int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
evp.h: # define EVP_CIPHER_name(e) OBJ_nid2sn(EVP_CIPHER_nid(e))
evp.h: int EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
evp.h: int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *cipher);
evp.h: int EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
evp.h: int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
evp.h: unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher);
evp.h: # define EVP_CIPHER_mode(e) (EVP_CIPHER_flags(e) & EVP_CIPH_MODE)
evp.h: const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
evp.h: int EVP_CIPHER_CTX_encrypting(const EVP_CIPHER_CTX *ctx);
evp.h: int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx);
evp.h: int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx);
evp.h: int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx);
evp.h: int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx);
evp.h: const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx);
evp.h: const unsigned char *EVP_CIPHER_CTX_original_iv(const EVP_CIPHER_CTX *ctx);
evp.h: unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx);
evp.h: unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx);
evp.h: int EVP_CIPHER_CTX_num(const EVP_CIPHER_CTX *ctx);
evp.h: void EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num);
evp.h: int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
evp.h: void *EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx);
evp.h: void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data);
evp.h: void *EVP_CIPHER_CTX_get_cipher_data(const EVP_CIPHER_CTX *ctx);
evp.h: void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
evp.h: # define EVP_CIPHER_CTX_type(c) EVP_CIPHER_type(EVP_CIPHER_CTX_cipher(c))
evp.h: # define EVP_CIPHER_CTX_flags(c) EVP_CIPHER_flags(EVP_CIPHER_CTX_cipher(c))
evp.h: # define EVP_CIPHER_CTX_mode(c) EVP_CIPHER_mode(EVP_CIPHER_CTX_cipher(c))
evp.h: # define EVP_ENCODE_LENGTH(l) ((((l)+2)/3*4)+((l)/48+1)*2+80)
evp.h: # define EVP_DECODE_LENGTH(l) (((l)+3)/4*3+80)
evp.h: # define EVP_SignInit_ex(a,b,c) EVP_DigestInit_ex(a,b,c)
evp.h: # define EVP_SignInit(a,b) EVP_DigestInit(a,b)
evp.h: # define EVP_SignUpdate(a,b,c) EVP_DigestUpdate(a,b,c)
evp.h: # define EVP_VerifyInit_ex(a,b,c) EVP_DigestInit_ex(a,b,c)
evp.h: # define EVP_VerifyInit(a,b) EVP_DigestInit(a,b)
evp.h: # define EVP_VerifyUpdate(a,b,c) EVP_DigestUpdate(a,b,c)
evp.h: # define EVP_OpenUpdate(a,b,c,d,e) EVP_DecryptUpdate(a,b,c,d,e)
evp.h: # define EVP_SealUpdate(a,b,c,d,e) EVP_EncryptUpdate(a,b,c,d,e)
evp.h: # define EVP_DigestSignUpdate(a,b,c) EVP_DigestUpdate(a,b,c)
evp.h: # define EVP_DigestVerifyUpdate(a,b,c) EVP_DigestUpdate(a,b,c)
evp.h: void BIO_set_md(BIO *, const EVP_MD *md);
evp.h: # define BIO_set_md(b,md) BIO_ctrl(b,BIO_C_SET_MD,0,(char *)(md))
evp.h: # define BIO_get_md(b,mdp) BIO_ctrl(b,BIO_C_GET_MD,0,(char *)(mdp))
evp.h: # define BIO_get_md_ctx(b,mdcp) BIO_ctrl(b,BIO_C_GET_MD_CTX,0, \
evp.h: (char *)(mdcp))
evp.h: # define BIO_set_md_ctx(b,mdcp) BIO_ctrl(b,BIO_C_SET_MD_CTX,0, \
evp.h: (char *)(mdcp))
evp.h: # define BIO_get_cipher_status(b) BIO_ctrl(b,BIO_C_GET_CIPHER_STATUS,0,NULL)
evp.h: # define BIO_get_cipher_ctx(b,c_pp) BIO_ctrl(b,BIO_C_GET_CIPHER_CTX,0, \
evp.h: (char *)(c_pp))
evp.h: /*__owur*/ int EVP_Cipher(EVP_CIPHER_CTX *c,
evp.h: # define EVP_add_cipher_alias(n,alias) \
evp.h: OBJ_NAME_add((alias),OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS,(n))
evp.h: # define EVP_add_digest_alias(n,alias) \
evp.h: OBJ_NAME_add((alias),OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS,(n))
evp.h: # define EVP_delete_cipher_alias(alias) \
evp.h: OBJ_NAME_remove(alias,OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS);
evp.h: # define EVP_delete_digest_alias(alias) \
evp.h: OBJ_NAME_remove(alias,OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS);
evp.h: int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2);
evp.h: EVP_MD_CTX *EVP_MD_CTX_new(void);
evp.h: int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);
evp.h: void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
evp.h: # define EVP_MD_CTX_create() EVP_MD_CTX_new()
evp.h: # define EVP_MD_CTX_init(ctx) EVP_MD_CTX_reset((ctx))
evp.h: # define EVP_MD_CTX_destroy(ctx) EVP_MD_CTX_free((ctx))
evp.h: __owur int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in);
evp.h: void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags);
evp.h: void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags);
evp.h: int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags);
evp.h: __owur int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type,
evp.h: __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d,
evp.h: __owur int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md,
evp.h: __owur int EVP_Digest(const void *data, size_t count,
evp.h: __owur int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in);
evp.h: __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);
evp.h: __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md,
evp.h: __owur int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md,
evp.h: int EVP_read_pw_string(char *buf, int length, const char *prompt, int verify);
evp.h: int EVP_read_pw_string_min(char *buf, int minlen, int maxlen,
evp.h: void EVP_set_pw_prompt(const char *prompt);
evp.h: char *EVP_get_pw_prompt(void);
evp.h: __owur int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
evp.h: void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags);
evp.h: void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags);
evp.h: int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx, int flags);
evp.h: __owur int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
evp.h: /*__owur*/ int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,
evp.h: /*__owur*/ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
evp.h: /*__owur*/ int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out,
evp.h: /*__owur*/ int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out,
evp.h: __owur int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
evp.h: /*__owur*/ int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,
evp.h: /*__owur*/ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
evp.h: __owur int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm,
evp.h: /*__owur*/ int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm,
evp.h: __owur int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
evp.h: /*__owur*/ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
evp.h: __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
evp.h: __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm,
evp.h: __owur int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm,
evp.h: __owur int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s,
evp.h: __owur int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret,
evp.h: __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
evp.h: __owur int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret,
evp.h: /*__owur*/ int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
evp.h: __owur int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
evp.h: __owur int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
evp.h: __owur int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig,
evp.h: __owur int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
evp.h: __owur int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
evp.h: __owur int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
evp.h: __owur int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
evp.h: EVP_ENCODE_CTX *EVP_ENCODE_CTX_new(void);
evp.h: void EVP_ENCODE_CTX_free(EVP_ENCODE_CTX *ctx);
evp.h: int EVP_ENCODE_CTX_copy(EVP_ENCODE_CTX *dctx, EVP_ENCODE_CTX *sctx);
evp.h: int EVP_ENCODE_CTX_num(EVP_ENCODE_CTX *ctx);
evp.h: void EVP_EncodeInit(EVP_ENCODE_CTX *ctx);
evp.h: int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
evp.h: void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl);
evp.h: int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
evp.h: void EVP_DecodeInit(EVP_ENCODE_CTX *ctx);
evp.h: int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
evp.h: int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned
evp.h: int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
evp.h: # define EVP_CIPHER_CTX_init(c) EVP_CIPHER_CTX_reset(c)
evp.h: # define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
evp.h: EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
evp.h: int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *c);
evp.h: void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *c);
evp.h: int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen);
evp.h: int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad);
evp.h: int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr);
evp.h: int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key);
evp.h: const BIO_METHOD *BIO_f_md(void);
evp.h: const BIO_METHOD *BIO_f_base64(void);
evp.h: const BIO_METHOD *BIO_f_cipher(void);
evp.h: const BIO_METHOD *BIO_f_reliable(void);
evp.h: __owur int BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k,
evp.h: const EVP_MD *EVP_md_null(void);
evp.h: const EVP_MD *EVP_md2(void);
evp.h: const EVP_MD *EVP_md4(void);
evp.h: const EVP_MD *EVP_md5(void);
evp.h: const EVP_MD *EVP_md5_sha1(void);
evp.h: const EVP_MD *EVP_blake2b512(void);
evp.h: const EVP_MD *EVP_blake2s256(void);
evp.h: const EVP_MD *EVP_sha1(void);
evp.h: const EVP_MD *EVP_sha224(void);
evp.h: const EVP_MD *EVP_sha256(void);
evp.h: const EVP_MD *EVP_sha384(void);
evp.h: const EVP_MD *EVP_sha512(void);
evp.h: const EVP_MD *EVP_sha512_224(void);
evp.h: const EVP_MD *EVP_sha512_256(void);
evp.h: const EVP_MD *EVP_sha3_224(void);
evp.h: const EVP_MD *EVP_sha3_256(void);
evp.h: const EVP_MD *EVP_sha3_384(void);
evp.h: const EVP_MD *EVP_sha3_512(void);
evp.h: const EVP_MD *EVP_shake128(void);
evp.h: const EVP_MD *EVP_shake256(void);
evp.h: const EVP_MD *EVP_mdc2(void);
evp.h: const EVP_MD *EVP_ripemd160(void);
evp.h: const EVP_MD *EVP_whirlpool(void);
evp.h: const EVP_MD *EVP_sm3(void);
evp.h: const EVP_CIPHER *EVP_enc_null(void); /* does nothing :-) */
evp.h: const EVP_CIPHER *EVP_des_ecb(void);
evp.h: const EVP_CIPHER *EVP_des_ede(void);
evp.h: const EVP_CIPHER *EVP_des_ede3(void);
evp.h: const EVP_CIPHER *EVP_des_ede_ecb(void);
evp.h: const EVP_CIPHER *EVP_des_ede3_ecb(void);
evp.h: const EVP_CIPHER *EVP_des_cfb64(void);
evp.h: # define EVP_des_cfb EVP_des_cfb64
evp.h: const EVP_CIPHER *EVP_des_cfb1(void);
evp.h: const EVP_CIPHER *EVP_des_cfb8(void);
evp.h: const EVP_CIPHER *EVP_des_ede_cfb64(void);
evp.h: # define EVP_des_ede_cfb EVP_des_ede_cfb64
evp.h: const EVP_CIPHER *EVP_des_ede3_cfb64(void);
evp.h: # define EVP_des_ede3_cfb EVP_des_ede3_cfb64
evp.h: const EVP_CIPHER *EVP_des_ede3_cfb1(void);
evp.h: const EVP_CIPHER *EVP_des_ede3_cfb8(void);
evp.h: const EVP_CIPHER *EVP_des_ofb(void);
evp.h: const EVP_CIPHER *EVP_des_ede_ofb(void);
evp.h: const EVP_CIPHER *EVP_des_ede3_ofb(void);
evp.h: const EVP_CIPHER *EVP_des_cbc(void);
evp.h: const EVP_CIPHER *EVP_des_ede_cbc(void);
evp.h: const EVP_CIPHER *EVP_des_ede3_cbc(void);
evp.h: const EVP_CIPHER *EVP_desx_cbc(void);
evp.h: const EVP_CIPHER *EVP_des_ede3_wrap(void);
evp.h: const EVP_CIPHER *EVP_rc4(void);
evp.h: const EVP_CIPHER *EVP_rc4_40(void);
evp.h: const EVP_CIPHER *EVP_rc4_hmac_md5(void);
evp.h: const EVP_CIPHER *EVP_idea_ecb(void);
evp.h: const EVP_CIPHER *EVP_idea_cfb64(void);
evp.h: # define EVP_idea_cfb EVP_idea_cfb64
evp.h: const EVP_CIPHER *EVP_idea_ofb(void);
evp.h: const EVP_CIPHER *EVP_idea_cbc(void);
evp.h: const EVP_CIPHER *EVP_rc2_ecb(void);
evp.h: const EVP_CIPHER *EVP_rc2_cbc(void);
evp.h: const EVP_CIPHER *EVP_rc2_40_cbc(void);
evp.h: const EVP_CIPHER *EVP_rc2_64_cbc(void);
evp.h: const EVP_CIPHER *EVP_rc2_cfb64(void);
evp.h: # define EVP_rc2_cfb EVP_rc2_cfb64
evp.h: const EVP_CIPHER *EVP_rc2_ofb(void);
evp.h: const EVP_CIPHER *EVP_bf_ecb(void);
evp.h: const EVP_CIPHER *EVP_bf_cbc(void);
evp.h: const EVP_CIPHER *EVP_bf_cfb64(void);
evp.h: # define EVP_bf_cfb EVP_bf_cfb64
evp.h: const EVP_CIPHER *EVP_bf_ofb(void);
evp.h: const EVP_CIPHER *EVP_cast5_ecb(void);
evp.h: const EVP_CIPHER *EVP_cast5_cbc(void);
evp.h: const EVP_CIPHER *EVP_cast5_cfb64(void);
evp.h: # define EVP_cast5_cfb EVP_cast5_cfb64
evp.h: const EVP_CIPHER *EVP_cast5_ofb(void);
evp.h: const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void);
evp.h: const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void);
evp.h: const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void);
evp.h: # define EVP_rc5_32_12_16_cfb EVP_rc5_32_12_16_cfb64
evp.h: const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void);
evp.h: const EVP_CIPHER *EVP_aes_128_ecb(void);
evp.h: const EVP_CIPHER *EVP_aes_128_cbc(void);
evp.h: const EVP_CIPHER *EVP_aes_128_cfb1(void);
evp.h: const EVP_CIPHER *EVP_aes_128_cfb8(void);
evp.h: const EVP_CIPHER *EVP_aes_128_cfb128(void);
evp.h: # define EVP_aes_128_cfb EVP_aes_128_cfb128
evp.h: const EVP_CIPHER *EVP_aes_128_ofb(void);
evp.h: const EVP_CIPHER *EVP_aes_128_ctr(void);
evp.h: const EVP_CIPHER *EVP_aes_128_ccm(void);
evp.h: const EVP_CIPHER *EVP_aes_128_gcm(void);
evp.h: const EVP_CIPHER *EVP_aes_128_xts(void);
evp.h: const EVP_CIPHER *EVP_aes_128_wrap(void);
evp.h: const EVP_CIPHER *EVP_aes_128_wrap_pad(void);
evp.h: const EVP_CIPHER *EVP_aes_128_ocb(void);
evp.h: const EVP_CIPHER *EVP_aes_192_ecb(void);
evp.h: const EVP_CIPHER *EVP_aes_192_cbc(void);
evp.h: const EVP_CIPHER *EVP_aes_192_cfb1(void);
evp.h: const EVP_CIPHER *EVP_aes_192_cfb8(void);
evp.h: const EVP_CIPHER *EVP_aes_192_cfb128(void);
evp.h: # define EVP_aes_192_cfb EVP_aes_192_cfb128
evp.h: const EVP_CIPHER *EVP_aes_192_ofb(void);
evp.h: const EVP_CIPHER *EVP_aes_192_ctr(void);
evp.h: const EVP_CIPHER *EVP_aes_192_ccm(void);
evp.h: const EVP_CIPHER *EVP_aes_192_gcm(void);
evp.h: const EVP_CIPHER *EVP_aes_192_wrap(void);
evp.h: const EVP_CIPHER *EVP_aes_192_wrap_pad(void);
evp.h: const EVP_CIPHER *EVP_aes_192_ocb(void);
evp.h: const EVP_CIPHER *EVP_aes_256_ecb(void);
evp.h: const EVP_CIPHER *EVP_aes_256_cbc(void);
evp.h: const EVP_CIPHER *EVP_aes_256_cfb1(void);
evp.h: const EVP_CIPHER *EVP_aes_256_cfb8(void);
evp.h: const EVP_CIPHER *EVP_aes_256_cfb128(void);
evp.h: # define EVP_aes_256_cfb EVP_aes_256_cfb128
evp.h: const EVP_CIPHER *EVP_aes_256_ofb(void);
evp.h: const EVP_CIPHER *EVP_aes_256_ctr(void);
evp.h: const EVP_CIPHER *EVP_aes_256_ccm(void);
evp.h: const EVP_CIPHER *EVP_aes_256_gcm(void);
evp.h: const EVP_CIPHER *EVP_aes_256_xts(void);
evp.h: const EVP_CIPHER *EVP_aes_256_wrap(void);
evp.h: const EVP_CIPHER *EVP_aes_256_wrap_pad(void);
evp.h: const EVP_CIPHER *EVP_aes_256_ocb(void);
evp.h: const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha1(void);
evp.h: const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha1(void);
evp.h: const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha256(void);
evp.h: const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha256(void);
evp.h: const EVP_CIPHER *EVP_aria_128_ecb(void);
evp.h: const EVP_CIPHER *EVP_aria_128_cbc(void);
evp.h: const EVP_CIPHER *EVP_aria_128_cfb1(void);
evp.h: const EVP_CIPHER *EVP_aria_128_cfb8(void);
evp.h: const EVP_CIPHER *EVP_aria_128_cfb128(void);
evp.h: # define EVP_aria_128_cfb EVP_aria_128_cfb128
evp.h: const EVP_CIPHER *EVP_aria_128_ctr(void);
evp.h: const EVP_CIPHER *EVP_aria_128_ofb(void);
evp.h: const EVP_CIPHER *EVP_aria_128_gcm(void);
evp.h: const EVP_CIPHER *EVP_aria_128_ccm(void);
evp.h: const EVP_CIPHER *EVP_aria_192_ecb(void);
evp.h: const EVP_CIPHER *EVP_aria_192_cbc(void);
evp.h: const EVP_CIPHER *EVP_aria_192_cfb1(void);
evp.h: const EVP_CIPHER *EVP_aria_192_cfb8(void);
evp.h: const EVP_CIPHER *EVP_aria_192_cfb128(void);
evp.h: # define EVP_aria_192_cfb EVP_aria_192_cfb128
evp.h: const EVP_CIPHER *EVP_aria_192_ctr(void);
evp.h: const EVP_CIPHER *EVP_aria_192_ofb(void);
evp.h: const EVP_CIPHER *EVP_aria_192_gcm(void);
evp.h: const EVP_CIPHER *EVP_aria_192_ccm(void);
evp.h: const EVP_CIPHER *EVP_aria_256_ecb(void);
evp.h: const EVP_CIPHER *EVP_aria_256_cbc(void);
evp.h: const EVP_CIPHER *EVP_aria_256_cfb1(void);
evp.h: const EVP_CIPHER *EVP_aria_256_cfb8(void);
evp.h: const EVP_CIPHER *EVP_aria_256_cfb128(void);
evp.h: # define EVP_aria_256_cfb EVP_aria_256_cfb128
evp.h: const EVP_CIPHER *EVP_aria_256_ctr(void);
evp.h: const EVP_CIPHER *EVP_aria_256_ofb(void);
evp.h: const EVP_CIPHER *EVP_aria_256_gcm(void);
evp.h: const EVP_CIPHER *EVP_aria_256_ccm(void);
evp.h: const EVP_CIPHER *EVP_camellia_128_ecb(void);
evp.h: const EVP_CIPHER *EVP_camellia_128_cbc(void);
evp.h: const EVP_CIPHER *EVP_camellia_128_cfb1(void);
evp.h: const EVP_CIPHER *EVP_camellia_128_cfb8(void);
evp.h: const EVP_CIPHER *EVP_camellia_128_cfb128(void);
evp.h: # define EVP_camellia_128_cfb EVP_camellia_128_cfb128
evp.h: const EVP_CIPHER *EVP_camellia_128_ofb(void);
evp.h: const EVP_CIPHER *EVP_camellia_128_ctr(void);
evp.h: const EVP_CIPHER *EVP_camellia_192_ecb(void);
evp.h: const EVP_CIPHER *EVP_camellia_192_cbc(void);
evp.h: const EVP_CIPHER *EVP_camellia_192_cfb1(void);
evp.h: const EVP_CIPHER *EVP_camellia_192_cfb8(void);
evp.h: const EVP_CIPHER *EVP_camellia_192_cfb128(void);
evp.h: # define EVP_camellia_192_cfb EVP_camellia_192_cfb128
evp.h: const EVP_CIPHER *EVP_camellia_192_ofb(void);
evp.h: const EVP_CIPHER *EVP_camellia_192_ctr(void);
evp.h: const EVP_CIPHER *EVP_camellia_256_ecb(void);
evp.h: const EVP_CIPHER *EVP_camellia_256_cbc(void);
evp.h: const EVP_CIPHER *EVP_camellia_256_cfb1(void);
evp.h: const EVP_CIPHER *EVP_camellia_256_cfb8(void);
evp.h: const EVP_CIPHER *EVP_camellia_256_cfb128(void);
evp.h: # define EVP_camellia_256_cfb EVP_camellia_256_cfb128
evp.h: const EVP_CIPHER *EVP_camellia_256_ofb(void);
evp.h: const EVP_CIPHER *EVP_camellia_256_ctr(void);
evp.h: const EVP_CIPHER *EVP_chacha20(void);
evp.h: const EVP_CIPHER *EVP_chacha20_poly1305(void);
evp.h: const EVP_CIPHER *EVP_seed_ecb(void);
evp.h: const EVP_CIPHER *EVP_seed_cbc(void);
evp.h: const EVP_CIPHER *EVP_seed_cfb128(void);
evp.h: # define EVP_seed_cfb EVP_seed_cfb128
evp.h: const EVP_CIPHER *EVP_seed_ofb(void);
evp.h: const EVP_CIPHER *EVP_sm4_ecb(void);
evp.h: const EVP_CIPHER *EVP_sm4_cbc(void);
evp.h: const EVP_CIPHER *EVP_sm4_cfb128(void);
evp.h: # define EVP_sm4_cfb EVP_sm4_cfb128
evp.h: const EVP_CIPHER *EVP_sm4_ofb(void);
evp.h: const EVP_CIPHER *EVP_sm4_ctr(void);
evp.h: # define OPENSSL_add_all_algorithms_conf() \
evp.h: OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
evp.h: # define OPENSSL_add_all_algorithms_noconf() \
evp.h: OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
evp.h: # define OpenSSL_add_all_algorithms() \
evp.h: OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
evp.h: # define OpenSSL_add_all_algorithms() \
evp.h: OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
evp.h: # define OpenSSL_add_all_ciphers() \
evp.h: OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS, NULL)
evp.h: # define OpenSSL_add_all_digests() \
evp.h: OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
evp.h: # define EVP_cleanup() while(0) continue
evp.h: int EVP_add_cipher(const EVP_CIPHER *cipher);
evp.h: int EVP_add_digest(const EVP_MD *digest);
evp.h: const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
evp.h: const EVP_MD *EVP_get_digestbyname(const char *name);
evp.h: void EVP_CIPHER_do_all(void (*fn) (const EVP_CIPHER *ciph,
evp.h: void EVP_CIPHER_do_all_sorted(void (*fn)
evp.h: (const EVP_CIPHER *ciph, const char *from,
evp.h: void EVP_MD_do_all(void (*fn) (const EVP_MD *ciph,
evp.h: void EVP_MD_do_all_sorted(void (*fn)
evp.h: (const EVP_MD *ciph, const char *from,
evp.h: int EVP_PKEY_decrypt_old(unsigned char *dec_key,
evp.h: int EVP_PKEY_encrypt_old(unsigned char *enc_key,
evp.h: int EVP_PKEY_type(int type);
evp.h: int EVP_PKEY_id(const EVP_PKEY *pkey);
evp.h: int EVP_PKEY_base_id(const EVP_PKEY *pkey);
evp.h: int EVP_PKEY_bits(const EVP_PKEY *pkey);
evp.h: int EVP_PKEY_security_bits(const EVP_PKEY *pkey);
evp.h: int EVP_PKEY_size(EVP_PKEY *pkey);
evp.h: int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
evp.h: int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
evp.h: int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e);
evp.h: int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
evp.h: void *EVP_PKEY_get0(const EVP_PKEY *pkey);
evp.h: const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);
evp.h: const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len);
evp.h: const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len);
evp.h: struct rsa_st;
evp.h: int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
evp.h: struct rsa_st *EVP_PKEY_get0_RSA(EVP_PKEY *pkey);
evp.h: struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
evp.h: struct dsa_st;
evp.h: int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
evp.h: struct dsa_st *EVP_PKEY_get0_DSA(EVP_PKEY *pkey);
evp.h: struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
evp.h: struct dh_st;
evp.h: int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key);
evp.h: struct dh_st *EVP_PKEY_get0_DH(EVP_PKEY *pkey);
evp.h: struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey);
evp.h: struct ec_key_st;
evp.h: int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
evp.h: struct ec_key_st *EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey);
evp.h: struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
evp.h: EVP_PKEY *EVP_PKEY_new(void);
evp.h: int EVP_PKEY_up_ref(EVP_PKEY *pkey);
evp.h: void EVP_PKEY_free(EVP_PKEY *pkey);
evp.h: EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
evp.h: int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp);
evp.h: EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp,
evp.h: EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp,
evp.h: int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp);
evp.h: int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
evp.h: int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey);
evp.h: int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode);
evp.h: int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b);
evp.h: int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
evp.h: int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey,
evp.h: int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey,
evp.h: int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey,
evp.h: int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid);
evp.h: int EVP_PKEY_set1_tls_encodedpoint(EVP_PKEY *pkey,
evp.h: size_t EVP_PKEY_get1_tls_encodedpoint(EVP_PKEY *pkey, unsigned char **ppt);
evp.h: int EVP_CIPHER_type(const EVP_CIPHER *ctx);
evp.h: int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
evp.h: int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
evp.h: int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
evp.h: int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
evp.h: int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
evp.h: int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
evp.h: int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
evp.h: int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
evp.h: int EVP_PBE_scrypt(const char *pass, size_t passlen,
evp.h: int PKCS5_v2_scrypt_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass,
evp.h: void PKCS5_PBE_add(void);
evp.h: int EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
evp.h: # define EVP_PBE_TYPE_OUTER 0x0
evp.h: # define EVP_PBE_TYPE_PRF 0x1
evp.h: # define EVP_PBE_TYPE_KDF 0x2
evp.h: int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid,
evp.h: int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md,
evp.h: int EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid,
evp.h: void EVP_PBE_cleanup(void);
evp.h: int EVP_PBE_get(int *ptype, int *ppbe_nid, size_t num);
evp.h: # define ASN1_PKEY_ALIAS 0x1
evp.h: # define ASN1_PKEY_DYNAMIC 0x2
evp.h: # define ASN1_PKEY_SIGPARAM_NULL 0x4
evp.h: # define ASN1_PKEY_CTRL_PKCS7_SIGN 0x1
evp.h: # define ASN1_PKEY_CTRL_PKCS7_ENCRYPT 0x2
evp.h: # define ASN1_PKEY_CTRL_DEFAULT_MD_NID 0x3
evp.h: # define ASN1_PKEY_CTRL_CMS_SIGN 0x5
evp.h: # define ASN1_PKEY_CTRL_CMS_ENVELOPE 0x7
evp.h: # define ASN1_PKEY_CTRL_CMS_RI_TYPE 0x8
evp.h: # define ASN1_PKEY_CTRL_SET1_TLS_ENCPT 0x9
evp.h: # define ASN1_PKEY_CTRL_GET1_TLS_ENCPT 0xa
evp.h: int EVP_PKEY_asn1_get_count(void);
evp.h: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_get0(int idx);
evp.h: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type);
evp.h: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(ENGINE **pe,
evp.h: int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth);
evp.h: int EVP_PKEY_asn1_add_alias(int to, int from);
evp.h: int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id,
evp.h: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey);
evp.h: EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_new(int id, int flags,
evp.h: void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst,
evp.h: void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth);
evp.h: void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*pub_decode) (EVP_PKEY *pk,
evp.h: int (*pub_encode) (X509_PUBKEY *pub,
evp.h: int (*pub_cmp) (const EVP_PKEY *a,
evp.h: int (*pub_print) (BIO *out,
evp.h: int (*pkey_size) (const EVP_PKEY *pk),
evp.h: int (*pkey_bits) (const EVP_PKEY *pk));
evp.h: void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*priv_decode) (EVP_PKEY *pk,
evp.h: int (*priv_encode) (PKCS8_PRIV_KEY_INFO *p8,
evp.h: int (*priv_print) (BIO *out,
evp.h: void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*param_decode) (EVP_PKEY *pkey,
evp.h: int (*param_encode) (const EVP_PKEY *pkey,
evp.h: int (*param_missing) (const EVP_PKEY *pk),
evp.h: int (*param_copy) (EVP_PKEY *to,
evp.h: int (*param_cmp) (const EVP_PKEY *a,
evp.h: int (*param_print) (BIO *out,
evp.h: void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: void (*pkey_free) (EVP_PKEY *pkey));
evp.h: void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*pkey_ctrl) (EVP_PKEY *pkey, int op,
evp.h: void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*item_verify) (EVP_MD_CTX *ctx,
evp.h: int (*item_sign) (EVP_MD_CTX *ctx,
evp.h: void EVP_PKEY_asn1_set_siginf(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*siginf_set) (X509_SIG_INFO *siginf,
evp.h: void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*pkey_check) (const EVP_PKEY *pk));
evp.h: void EVP_PKEY_asn1_set_public_check(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*pkey_pub_check) (const EVP_PKEY *pk));
evp.h: void EVP_PKEY_asn1_set_param_check(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*pkey_param_check) (const EVP_PKEY *pk));
evp.h: void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
evp.h: int (*pkey_security_bits) (const EVP_PKEY
evp.h: # define EVP_PKEY_OP_UNDEFINED 0
evp.h: # define EVP_PKEY_OP_PARAMGEN (1<<1)
evp.h: # define EVP_PKEY_OP_KEYGEN (1<<2)
evp.h: # define EVP_PKEY_OP_SIGN (1<<3)
evp.h: # define EVP_PKEY_OP_VERIFY (1<<4)
evp.h: # define EVP_PKEY_OP_VERIFYRECOVER (1<<5)
evp.h: # define EVP_PKEY_OP_SIGNCTX (1<<6)
evp.h: # define EVP_PKEY_OP_VERIFYCTX (1<<7)
evp.h: # define EVP_PKEY_OP_ENCRYPT (1<<8)
evp.h: # define EVP_PKEY_OP_DECRYPT (1<<9)
evp.h: # define EVP_PKEY_OP_DERIVE (1<<10)
evp.h: # define EVP_PKEY_OP_TYPE_SIG \
evp.h: (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY | EVP_PKEY_OP_VERIFYRECOVER \
evp.h: # define EVP_PKEY_OP_TYPE_CRYPT \
evp.h: (EVP_PKEY_OP_ENCRYPT | EVP_PKEY_OP_DECRYPT)
evp.h: # define EVP_PKEY_OP_TYPE_NOGEN \
evp.h: (EVP_PKEY_OP_TYPE_SIG | EVP_PKEY_OP_TYPE_CRYPT | EVP_PKEY_OP_DERIVE)
evp.h: # define EVP_PKEY_OP_TYPE_GEN \
evp.h: (EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN)
evp.h: # define EVP_PKEY_CTX_set_signature_md(ctx, md) \
evp.h: EVP_PKEY_CTX_ctrl(ctx, -1, EVP_PKEY_OP_TYPE_SIG, \
evp.h: EVP_PKEY_CTRL_MD, 0, (void *)(md))
evp.h: # define EVP_PKEY_CTX_get_signature_md(ctx, pmd) \
evp.h: EVP_PKEY_CTX_ctrl(ctx, -1, EVP_PKEY_OP_TYPE_SIG, \
evp.h: EVP_PKEY_CTRL_GET_MD, 0, (void *)(pmd))
evp.h: # define EVP_PKEY_CTX_set_mac_key(ctx, key, len) \
evp.h: EVP_PKEY_CTX_ctrl(ctx, -1, EVP_PKEY_OP_KEYGEN, \
evp.h: EVP_PKEY_CTRL_SET_MAC_KEY, len, (void *)(key))
evp.h: # define EVP_PKEY_CTRL_MD 1
evp.h: # define EVP_PKEY_CTRL_PEER_KEY 2
evp.h: # define EVP_PKEY_CTRL_PKCS7_ENCRYPT 3
evp.h: # define EVP_PKEY_CTRL_PKCS7_DECRYPT 4
evp.h: # define EVP_PKEY_CTRL_PKCS7_SIGN 5
evp.h: # define EVP_PKEY_CTRL_SET_MAC_KEY 6
evp.h: # define EVP_PKEY_CTRL_DIGESTINIT 7
evp.h: # define EVP_PKEY_CTRL_SET_IV 8
evp.h: # define EVP_PKEY_CTRL_CMS_ENCRYPT 9
evp.h: # define EVP_PKEY_CTRL_CMS_DECRYPT 10
evp.h: # define EVP_PKEY_CTRL_CMS_SIGN 11
evp.h: # define EVP_PKEY_CTRL_CIPHER 12
evp.h: # define EVP_PKEY_CTRL_GET_MD 13
evp.h: # define EVP_PKEY_CTRL_SET_DIGEST_SIZE 14
evp.h: # define EVP_PKEY_ALG_CTRL 0x1000
evp.h: # define EVP_PKEY_FLAG_AUTOARGLEN 2
evp.h: # define EVP_PKEY_FLAG_SIGCTX_CUSTOM 4
evp.h: const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type);
evp.h: EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags);
evp.h: void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
evp.h: void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, const EVP_PKEY_METHOD *src);
evp.h: void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
evp.h: int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
evp.h: int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth);
evp.h: size_t EVP_PKEY_meth_get_count(void);
evp.h: const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
evp.h: EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e);
evp.h: EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e);
evp.h: EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx);
evp.h: void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
evp.h: int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type,
evp.h: int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype,
evp.h: int EVP_PKEY_CTX_str2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *str);
evp.h: int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex);
evp.h: int EVP_PKEY_CTX_md(EVP_PKEY_CTX *ctx, int optype, int cmd, const char *md);
evp.h: int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx);
evp.h: void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen);
evp.h: EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e,
evp.h: void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data);
evp.h: void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx);
evp.h: EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx);
evp.h: EVP_PKEY *EVP_PKEY_CTX_get0_peerkey(EVP_PKEY_CTX *ctx);
evp.h: void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data);
evp.h: void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_sign(EVP_PKEY_CTX *ctx,
evp.h: int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_verify(EVP_PKEY_CTX *ctx,
evp.h: int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx,
evp.h: int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx,
evp.h: int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx,
evp.h: int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer);
evp.h: int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);
evp.h: typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
evp.h: int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
evp.h: int EVP_PKEY_check(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx);
evp.h: void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);
evp.h: EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx);
evp.h: int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx);
evp.h: void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth,
evp.h: int (*init) (EVP_PKEY_CTX *ctx));
evp.h: void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth,
evp.h: int (*copy) (EVP_PKEY_CTX *dst,
evp.h: void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth,
evp.h: void (*cleanup) (EVP_PKEY_CTX *ctx));
evp.h: void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth,
evp.h: int (*paramgen_init) (EVP_PKEY_CTX *ctx),
evp.h: int (*paramgen) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth,
evp.h: int (*keygen_init) (EVP_PKEY_CTX *ctx),
evp.h: int (*keygen) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth,
evp.h: int (*sign_init) (EVP_PKEY_CTX *ctx),
evp.h: int (*sign) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth,
evp.h: int (*verify_init) (EVP_PKEY_CTX *ctx),
evp.h: int (*verify) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_verify_recover(EVP_PKEY_METHOD *pmeth,
evp.h: int (*verify_recover_init) (EVP_PKEY_CTX
evp.h: int (*verify_recover) (EVP_PKEY_CTX
evp.h: void EVP_PKEY_meth_set_signctx(EVP_PKEY_METHOD *pmeth,
evp.h: int (*signctx_init) (EVP_PKEY_CTX *ctx,
evp.h: int (*signctx) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth,
evp.h: int (*verifyctx_init) (EVP_PKEY_CTX *ctx,
evp.h: int (*verifyctx) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth,
evp.h: int (*encrypt_init) (EVP_PKEY_CTX *ctx),
evp.h: int (*encryptfn) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth,
evp.h: int (*decrypt_init) (EVP_PKEY_CTX *ctx),
evp.h: int (*decrypt) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth,
evp.h: int (*derive_init) (EVP_PKEY_CTX *ctx),
evp.h: int (*derive) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
evp.h: int (*ctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
evp.h: int (*ctrl_str) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth,
evp.h: int (*check) (EVP_PKEY *pkey));
evp.h: void EVP_PKEY_meth_set_public_check(EVP_PKEY_METHOD *pmeth,
evp.h: int (*check) (EVP_PKEY *pkey));
evp.h: void EVP_PKEY_meth_set_param_check(EVP_PKEY_METHOD *pmeth,
evp.h: int (*check) (EVP_PKEY *pkey));
evp.h: void EVP_PKEY_meth_get_init(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pinit) (EVP_PKEY_CTX *ctx));
evp.h: void EVP_PKEY_meth_get_copy(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pcopy) (EVP_PKEY_CTX *dst,
evp.h: void EVP_PKEY_meth_get_cleanup(EVP_PKEY_METHOD *pmeth,
evp.h: void (**pcleanup) (EVP_PKEY_CTX *ctx));
evp.h: void EVP_PKEY_meth_get_paramgen(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pparamgen_init) (EVP_PKEY_CTX *ctx),
evp.h: int (**pparamgen) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_keygen(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pkeygen_init) (EVP_PKEY_CTX *ctx),
evp.h: int (**pkeygen) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_sign(EVP_PKEY_METHOD *pmeth,
evp.h: int (**psign_init) (EVP_PKEY_CTX *ctx),
evp.h: int (**psign) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_verify(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pverify_init) (EVP_PKEY_CTX *ctx),
evp.h: int (**pverify) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_verify_recover(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pverify_recover_init) (EVP_PKEY_CTX
evp.h: int (**pverify_recover) (EVP_PKEY_CTX
evp.h: void EVP_PKEY_meth_get_signctx(EVP_PKEY_METHOD *pmeth,
evp.h: int (**psignctx_init) (EVP_PKEY_CTX *ctx,
evp.h: int (**psignctx) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_verifyctx(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pverifyctx_init) (EVP_PKEY_CTX *ctx,
evp.h: int (**pverifyctx) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pencrypt_init) (EVP_PKEY_CTX *ctx),
evp.h: int (**pencryptfn) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pdecrypt_init) (EVP_PKEY_CTX *ctx),
evp.h: int (**pdecrypt) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_derive(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pderive_init) (EVP_PKEY_CTX *ctx),
evp.h: int (**pderive) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_ctrl(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
evp.h: int (**pctrl_str) (EVP_PKEY_CTX *ctx,
evp.h: void EVP_PKEY_meth_get_check(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pcheck) (EVP_PKEY *pkey));
evp.h: void EVP_PKEY_meth_get_public_check(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pcheck) (EVP_PKEY *pkey));
evp.h: void EVP_PKEY_meth_get_param_check(EVP_PKEY_METHOD *pmeth,
evp.h: int (**pcheck) (EVP_PKEY *pkey));
evp.h: void EVP_add_alg_module(void);
hmac.h: * Licensed under the OpenSSL license (the "License"). You may not use
hmac.h: # define HEADER_HMAC_H
hmac.h: # define HMAC_MAX_MD_CBLOCK 128/* largest known is SHA512 */
hmac.h: size_t HMAC_size(const HMAC_CTX *e);
hmac.h: HMAC_CTX *HMAC_CTX_new(void);
hmac.h: int HMAC_CTX_reset(HMAC_CTX *ctx);
hmac.h: void HMAC_CTX_free(HMAC_CTX *ctx);
hmac.h: DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
hmac.h: /*__owur*/ int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
hmac.h: /*__owur*/ int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
hmac.h: /*__owur*/ int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
hmac.h: unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
hmac.h: __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
hmac.h: void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
hmac.h: const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx);
idea.h: * Licensed under the OpenSSL license (the "License"). You may not use
idea.h: # define HEADER_IDEA_H
idea.h: # define IDEA_ENCRYPT 1
idea.h: # define IDEA_DECRYPT 0
idea.h: # define IDEA_BLOCK 8
idea.h: # define IDEA_KEY_LENGTH 16
idea.h: typedef struct idea_key_st {
idea.h: const char *IDEA_options(void);
idea.h: void IDEA_ecb_encrypt(const unsigned char *in, unsigned char *out,
idea.h: void IDEA_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks);
idea.h: void IDEA_set_decrypt_key(IDEA_KEY_SCHEDULE *ek, IDEA_KEY_SCHEDULE *dk);
idea.h: void IDEA_cbc_encrypt(const unsigned char *in, unsigned char *out,
idea.h: void IDEA_cfb64_encrypt(const unsigned char *in, unsigned char *out,
idea.h: void IDEA_ofb64_encrypt(const unsigned char *in, unsigned char *out,
idea.h: void IDEA_encrypt(unsigned long *in, IDEA_KEY_SCHEDULE *ks);
idea.h: # define idea_options IDEA_options
idea.h: # define idea_ecb_encrypt IDEA_ecb_encrypt
idea.h: # define idea_set_encrypt_key IDEA_set_encrypt_key
idea.h: # define idea_set_decrypt_key IDEA_set_decrypt_key
idea.h: # define idea_cbc_encrypt IDEA_cbc_encrypt
idea.h: # define idea_cfb64_encrypt IDEA_cfb64_encrypt
idea.h: # define idea_ofb64_encrypt IDEA_ofb64_encrypt
idea.h: # define idea_encrypt IDEA_encrypt
kdferr.h: * Licensed under the OpenSSL license (the "License"). You may not use
kdferr.h: # define HEADER_KDFERR_H
kdferr.h: int ERR_load_KDF_strings(void);
kdferr.h: # define KDF_F_PKEY_HKDF_CTRL_STR 103
kdferr.h: # define KDF_F_PKEY_HKDF_DERIVE 102
kdferr.h: # define KDF_F_PKEY_SCRYPT_CTRL_STR 104
kdferr.h: # define KDF_F_PKEY_SCRYPT_CTRL_UINT64 105
kdferr.h: # define KDF_F_PKEY_SCRYPT_DERIVE 109
kdferr.h: # define KDF_F_PKEY_TLS1_PRF_CTRL_STR 100
kdferr.h: # define KDF_F_PKEY_TLS1_PRF_DERIVE 101
kdferr.h: # define KDF_R_INVALID_DIGEST 100
kdferr.h: # define KDF_R_MISSING_ITERATION_COUNT 109
kdferr.h: # define KDF_R_MISSING_KEY 104
kdferr.h: # define KDF_R_MISSING_MESSAGE_DIGEST 105
kdferr.h: # define KDF_R_MISSING_PARAMETER 101
kdferr.h: # define KDF_R_MISSING_PASS 110
kdferr.h: # define KDF_R_MISSING_SALT 111
kdferr.h: # define KDF_R_MISSING_SECRET 107
kdferr.h: # define KDF_R_MISSING_SEED 106
kdferr.h: # define KDF_R_UNKNOWN_PARAMETER_TYPE 103
kdferr.h: # define KDF_R_VALUE_ERROR 108
kdferr.h: # define KDF_R_VALUE_MISSING 102
kdf.h: * Licensed under the OpenSSL license (the "License"). You may not use
kdf.h: # define HEADER_KDF_H
kdf.h: # define EVP_PKEY_CTRL_TLS_MD (EVP_PKEY_ALG_CTRL)
kdf.h: # define EVP_PKEY_CTRL_TLS_SECRET (EVP_PKEY_ALG_CTRL + 1)
kdf.h: # define EVP_PKEY_CTRL_TLS_SEED (EVP_PKEY_ALG_CTRL + 2)
kdf.h: # define EVP_PKEY_CTRL_HKDF_MD (EVP_PKEY_ALG_CTRL + 3)
kdf.h: # define EVP_PKEY_CTRL_HKDF_SALT (EVP_PKEY_ALG_CTRL + 4)
kdf.h: # define EVP_PKEY_CTRL_HKDF_KEY (EVP_PKEY_ALG_CTRL + 5)
kdf.h: # define EVP_PKEY_CTRL_HKDF_INFO (EVP_PKEY_ALG_CTRL + 6)
kdf.h: # define EVP_PKEY_CTRL_HKDF_MODE (EVP_PKEY_ALG_CTRL + 7)
kdf.h: # define EVP_PKEY_CTRL_PASS (EVP_PKEY_ALG_CTRL + 8)
kdf.h: # define EVP_PKEY_CTRL_SCRYPT_SALT (EVP_PKEY_ALG_CTRL + 9)
kdf.h: # define EVP_PKEY_CTRL_SCRYPT_N (EVP_PKEY_ALG_CTRL + 10)
kdf.h: # define EVP_PKEY_CTRL_SCRYPT_R (EVP_PKEY_ALG_CTRL + 11)
kdf.h: # define EVP_PKEY_CTRL_SCRYPT_P (EVP_PKEY_ALG_CTRL + 12)
kdf.h: # define EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES (EVP_PKEY_ALG_CTRL + 13)
kdf.h: # define EVP_PKEY_HKDEF_MODE_EXTRACT_AND_EXPAND 0
kdf.h: # define EVP_PKEY_HKDEF_MODE_EXTRACT_ONLY 1
kdf.h: # define EVP_PKEY_HKDEF_MODE_EXPAND_ONLY 2
kdf.h: # define EVP_PKEY_CTX_set_tls1_prf_md(pctx, md) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_TLS_MD, 0, (void *)(md))
kdf.h: # define EVP_PKEY_CTX_set1_tls1_prf_secret(pctx, sec, seclen) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_TLS_SECRET, seclen, (void *)(sec))
kdf.h: # define EVP_PKEY_CTX_add1_tls1_prf_seed(pctx, seed, seedlen) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_TLS_SEED, seedlen, (void *)(seed))
kdf.h: # define EVP_PKEY_CTX_set_hkdf_md(pctx, md) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_HKDF_MD, 0, (void *)(md))
kdf.h: # define EVP_PKEY_CTX_set1_hkdf_salt(pctx, salt, saltlen) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_HKDF_SALT, saltlen, (void *)(salt))
kdf.h: # define EVP_PKEY_CTX_set1_hkdf_key(pctx, key, keylen) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_HKDF_KEY, keylen, (void *)(key))
kdf.h: # define EVP_PKEY_CTX_add1_hkdf_info(pctx, info, infolen) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_HKDF_INFO, infolen, (void *)(info))
kdf.h: # define EVP_PKEY_CTX_hkdf_mode(pctx, mode) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: # define EVP_PKEY_CTX_set1_pbe_pass(pctx, pass, passlen) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_PASS, passlen, (void *)(pass))
kdf.h: # define EVP_PKEY_CTX_set1_scrypt_salt(pctx, salt, saltlen) \
kdf.h: EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: EVP_PKEY_CTRL_SCRYPT_SALT, saltlen, (void *)(salt))
kdf.h: # define EVP_PKEY_CTX_set_scrypt_N(pctx, n) \
kdf.h: EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: # define EVP_PKEY_CTX_set_scrypt_r(pctx, r) \
kdf.h: EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: # define EVP_PKEY_CTX_set_scrypt_p(pctx, p) \
kdf.h: EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
kdf.h: # define EVP_PKEY_CTX_set_scrypt_maxmem_bytes(pctx, maxmem_bytes) \
kdf.h: EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
lhash.h: * Licensed under the OpenSSL license (the "License"). You may not use
lhash.h: # define HEADER_LHASH_H
lhash.h: typedef struct lhash_node_st OPENSSL_LH_NODE;
lhash.h: typedef int (*OPENSSL_LH_COMPFUNC) (const void *, const void *);
lhash.h: typedef unsigned long (*OPENSSL_LH_HASHFUNC) (const void *);
lhash.h: typedef void (*OPENSSL_LH_DOALL_FUNC) (void *);
lhash.h: typedef void (*OPENSSL_LH_DOALL_FUNCARG) (void *, void *);
lhash.h: typedef struct lhash_st OPENSSL_LHASH;
lhash.h: # define DECLARE_LHASH_HASH_FN(name, o_type) \
lhash.h: unsigned long name##_LHASH_HASH(const void *);
lhash.h: # define IMPLEMENT_LHASH_HASH_FN(name, o_type) \
lhash.h: unsigned long name##_LHASH_HASH(const void *arg) { \
lhash.h: return name##_hash(a); }
lhash.h: # define LHASH_HASH_FN(name) name##_LHASH_HASH
lhash.h: # define DECLARE_LHASH_COMP_FN(name, o_type) \
lhash.h: int name##_LHASH_COMP(const void *, const void *);
lhash.h: # define IMPLEMENT_LHASH_COMP_FN(name, o_type) \
lhash.h: int name##_LHASH_COMP(const void *arg1, const void *arg2) { \
lhash.h: return name##_cmp(a,b); }
lhash.h: # define LHASH_COMP_FN(name) name##_LHASH_COMP
lhash.h: # define DECLARE_LHASH_DOALL_ARG_FN(name, o_type, a_type) \
lhash.h: void name##_LHASH_DOALL_ARG(void *, void *);
lhash.h: # define IMPLEMENT_LHASH_DOALL_ARG_FN(name, o_type, a_type) \
lhash.h: void name##_LHASH_DOALL_ARG(void *arg1, void *arg2) { \
lhash.h: name##_doall_arg(a, b); }
lhash.h: # define LHASH_DOALL_ARG_FN(name) name##_LHASH_DOALL_ARG
lhash.h: # define LH_LOAD_MULT 256
lhash.h: int OPENSSL_LH_error(OPENSSL_LHASH *lh);
lhash.h: OPENSSL_LHASH *OPENSSL_LH_new(OPENSSL_LH_HASHFUNC h, OPENSSL_LH_COMPFUNC c);
lhash.h: void OPENSSL_LH_free(OPENSSL_LHASH *lh);
lhash.h: void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data);
lhash.h: void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data);
lhash.h: void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data);
lhash.h: void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func);
lhash.h: void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg);
lhash.h: unsigned long OPENSSL_LH_strhash(const char *c);
lhash.h: unsigned long OPENSSL_LH_num_items(const OPENSSL_LHASH *lh);
lhash.h: unsigned long OPENSSL_LH_get_down_load(const OPENSSL_LHASH *lh);
lhash.h: void OPENSSL_LH_set_down_load(OPENSSL_LHASH *lh, unsigned long down_load);
lhash.h: void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp);
lhash.h: void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp);
lhash.h: void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp);
lhash.h: void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
lhash.h: void OPENSSL_LH_node_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
lhash.h: void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
lhash.h: # define _LHASH OPENSSL_LHASH
lhash.h: # define LHASH_NODE OPENSSL_LH_NODE
lhash.h: # define lh_error OPENSSL_LH_error
lhash.h: # define lh_new OPENSSL_LH_new
lhash.h: # define lh_free OPENSSL_LH_free
lhash.h: # define lh_insert OPENSSL_LH_insert
lhash.h: # define lh_delete OPENSSL_LH_delete
lhash.h: # define lh_retrieve OPENSSL_LH_retrieve
lhash.h: # define lh_doall OPENSSL_LH_doall
lhash.h: # define lh_doall_arg OPENSSL_LH_doall_arg
lhash.h: # define lh_strhash OPENSSL_LH_strhash
lhash.h: # define lh_num_items OPENSSL_LH_num_items
lhash.h: # define lh_stats OPENSSL_LH_stats
lhash.h: # define lh_node_stats OPENSSL_LH_node_stats
lhash.h: # define lh_node_usage_stats OPENSSL_LH_node_usage_stats
lhash.h: # define lh_stats_bio OPENSSL_LH_stats_bio
lhash.h: # define lh_node_stats_bio OPENSSL_LH_node_stats_bio
lhash.h: # define lh_node_usage_stats_bio OPENSSL_LH_node_usage_stats_bio
lhash.h: # define LHASH_OF(type) struct lhash_st_##type
lhash.h: # define DEFINE_LHASH_OF(type) \
lhash.h: LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
lhash.h: static ossl_inline LHASH_OF(type) * \
lhash.h: lh_##type##_new(unsigned long (*hfn)(const type *), \
lhash.h: int (*cfn)(const type *, const type *)) \
lhash.h: return (LHASH_OF(type) *) \
lhash.h: OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); \
lhash.h: static ossl_inline void lh_##type##_free(LHASH_OF(type) *lh) \
lhash.h: OPENSSL_LH_free((OPENSSL_LHASH *)lh); \
lhash.h: static ossl_inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \
lhash.h: return (type *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d); \
lhash.h: static ossl_inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \
lhash.h: return (type *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d); \
lhash.h: static ossl_inline type *lh_##type##_retrieve(LHASH_OF(type) *lh, const type *d) \
lhash.h: return (type *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d); \
lhash.h: static ossl_inline int lh_##type##_error(LHASH_OF(type) *lh) \
lhash.h: return OPENSSL_LH_error((OPENSSL_LHASH *)lh); \
lhash.h: static ossl_inline unsigned long lh_##type##_num_items(LHASH_OF(type) *lh) \
lhash.h: return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh); \
lhash.h: static ossl_inline void lh_##type##_node_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
lhash.h: OPENSSL_LH_node_stats_bio((const OPENSSL_LHASH *)lh, out); \
lhash.h: static ossl_inline void lh_##type##_node_usage_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
lhash.h: OPENSSL_LH_node_usage_stats_bio((const OPENSSL_LHASH *)lh, out); \
lhash.h: static ossl_inline void lh_##type##_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
lhash.h: OPENSSL_LH_stats_bio((const OPENSSL_LHASH *)lh, out); \
lhash.h: static ossl_inline unsigned long lh_##type##_get_down_load(LHASH_OF(type) *lh) \
lhash.h: return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); \
lhash.h: static ossl_inline void lh_##type##_set_down_load(LHASH_OF(type) *lh, unsigned long dl) \
lhash.h: OPENSSL_LH_set_down_load((OPENSSL_LHASH *)lh, dl); \
lhash.h: static ossl_inline void lh_##type##_doall(LHASH_OF(type) *lh, \
lhash.h: void (*doall)(type *)) \
lhash.h: OPENSSL_LH_doall((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNC)doall); \
lhash.h: LHASH_OF(type)
lhash.h: #define IMPLEMENT_LHASH_DOALL_ARG_CONST(type, argtype) \
lhash.h: int_implement_lhash_doall(type, argtype, const type)
lhash.h: #define IMPLEMENT_LHASH_DOALL_ARG(type, argtype) \
lhash.h: int_implement_lhash_doall(type, argtype, type)
lhash.h: #define int_implement_lhash_doall(type, argtype, cbargtype) \
lhash.h: lh_##type##_doall_##argtype(LHASH_OF(type) *lh, \
lhash.h: void (*fn)(cbargtype *, argtype *), \
lhash.h: OPENSSL_LH_doall_arg((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNCARG)fn, (void *)arg); \
lhash.h: LHASH_OF(type)
lhash.h: DEFINE_LHASH_OF(OPENSSL_STRING);
lhash.h: # pragma warning (push)
lhash.h: # pragma warning (disable: 4090)
lhash.h: DEFINE_LHASH_OF(OPENSSL_CSTRING);
lhash.h: # pragma warning (pop)
md2.h: * Licensed under the OpenSSL license (the "License"). You may not use
md2.h: # define HEADER_MD2_H
md2.h: # define MD2_DIGEST_LENGTH 16
md2.h: # define MD2_BLOCK 16
md2.h: typedef struct MD2state_st {
md2.h: const char *MD2_options(void);
md2.h: int MD2_Init(MD2_CTX *c);
md2.h: int MD2_Update(MD2_CTX *c, const unsigned char *data, size_t len);
md2.h: int MD2_Final(unsigned char *md, MD2_CTX *c);
md2.h: unsigned char *MD2(const unsigned char *d, size_t n, unsigned char *md);
md4.h: * Licensed under the OpenSSL license (the "License"). You may not use
md4.h: # define HEADER_MD4_H
md4.h: # define MD4_LONG unsigned int
md4.h: # define MD4_CBLOCK 64
md4.h: # define MD4_LBLOCK (MD4_CBLOCK/4)
md4.h: # define MD4_DIGEST_LENGTH 16
md4.h: typedef struct MD4state_st {
md4.h: int MD4_Init(MD4_CTX *c);
md4.h: int MD4_Update(MD4_CTX *c, const void *data, size_t len);
md4.h: int MD4_Final(unsigned char *md, MD4_CTX *c);
md4.h: unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md);
md4.h: void MD4_Transform(MD4_CTX *c, const unsigned char *b);
md5.h: * Licensed under the OpenSSL license (the "License"). You may not use
md5.h: # define HEADER_MD5_H
md5.h: # define MD5_LONG unsigned int
md5.h: # define MD5_CBLOCK 64
md5.h: # define MD5_LBLOCK (MD5_CBLOCK/4)
md5.h: # define MD5_DIGEST_LENGTH 16
md5.h: typedef struct MD5state_st {
md5.h: int MD5_Init(MD5_CTX *c);
md5.h: int MD5_Update(MD5_CTX *c, const void *data, size_t len);
md5.h: int MD5_Final(unsigned char *md, MD5_CTX *c);
md5.h: unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
md5.h: void MD5_Transform(MD5_CTX *c, const unsigned char *b);
mdc2.h: * Licensed under the OpenSSL license (the "License"). You may not use
mdc2.h: # define HEADER_MDC2_H
mdc2.h: # define MDC2_BLOCK 8
mdc2.h: # define MDC2_DIGEST_LENGTH 16
mdc2.h: typedef struct mdc2_ctx_st {
mdc2.h: int MDC2_Init(MDC2_CTX *c);
mdc2.h: int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len);
mdc2.h: int MDC2_Final(unsigned char *md, MDC2_CTX *c);
mdc2.h: unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md);
modes.h: * Licensed under the OpenSSL license (the "License"). You may not use
modes.h: # define HEADER_MODES_H
modes.h: typedef void (*block128_f) (const unsigned char in[16],
modes.h: typedef void (*cbc128_f) (const unsigned char *in, unsigned char *out,
modes.h: typedef void (*ctr128_f) (const unsigned char *in, unsigned char *out,
modes.h: typedef void (*ccm128_f) (const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_cfb128_8_encrypt(const unsigned char *in, unsigned char *out,
modes.h: void CRYPTO_cfb128_1_encrypt(const unsigned char *in, unsigned char *out,
modes.h: size_t CRYPTO_cts128_encrypt_block(const unsigned char *in,
modes.h: size_t CRYPTO_cts128_encrypt(const unsigned char *in, unsigned char *out,
modes.h: size_t CRYPTO_cts128_decrypt_block(const unsigned char *in,
modes.h: size_t CRYPTO_cts128_decrypt(const unsigned char *in, unsigned char *out,
modes.h: size_t CRYPTO_nistcts128_encrypt_block(const unsigned char *in,
modes.h: size_t CRYPTO_nistcts128_encrypt(const unsigned char *in, unsigned char *out,
modes.h: size_t CRYPTO_nistcts128_decrypt_block(const unsigned char *in,
modes.h: size_t CRYPTO_nistcts128_decrypt(const unsigned char *in, unsigned char *out,
modes.h: typedef struct gcm128_context GCM128_CONTEXT;
modes.h: GCM128_CONTEXT *CRYPTO_gcm128_new(void *key, block128_f block);
modes.h: void CRYPTO_gcm128_init(GCM128_CONTEXT *ctx, void *key, block128_f block);
modes.h: void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx, const unsigned char *iv,
modes.h: int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad,
modes.h: int CRYPTO_gcm128_encrypt(GCM128_CONTEXT *ctx,
modes.h: int CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx,
modes.h: int CRYPTO_gcm128_encrypt_ctr32(GCM128_CONTEXT *ctx,
modes.h: int CRYPTO_gcm128_decrypt_ctr32(GCM128_CONTEXT *ctx,
modes.h: int CRYPTO_gcm128_finish(GCM128_CONTEXT *ctx, const unsigned char *tag,
modes.h: void CRYPTO_gcm128_tag(GCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
modes.h: void CRYPTO_gcm128_release(GCM128_CONTEXT *ctx);
modes.h: typedef struct ccm128_context CCM128_CONTEXT;
modes.h: void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx,
modes.h: int CRYPTO_ccm128_setiv(CCM128_CONTEXT *ctx, const unsigned char *nonce,
modes.h: void CRYPTO_ccm128_aad(CCM128_CONTEXT *ctx, const unsigned char *aad,
modes.h: int CRYPTO_ccm128_encrypt(CCM128_CONTEXT *ctx, const unsigned char *inp,
modes.h: int CRYPTO_ccm128_decrypt(CCM128_CONTEXT *ctx, const unsigned char *inp,
modes.h: int CRYPTO_ccm128_encrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp,
modes.h: int CRYPTO_ccm128_decrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp,
modes.h: size_t CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
modes.h: typedef struct xts128_context XTS128_CONTEXT;
modes.h: int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx,
modes.h: size_t CRYPTO_128_wrap(void *key, const unsigned char *iv,
modes.h: size_t CRYPTO_128_unwrap(void *key, const unsigned char *iv,
modes.h: size_t CRYPTO_128_wrap_pad(void *key, const unsigned char *icv,
modes.h: size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv,
modes.h: typedef struct ocb128_context OCB128_CONTEXT;
modes.h: typedef void (*ocb128_f) (const unsigned char *in, unsigned char *out,
modes.h: OCB128_CONTEXT *CRYPTO_ocb128_new(void *keyenc, void *keydec,
modes.h: int CRYPTO_ocb128_init(OCB128_CONTEXT *ctx, void *keyenc, void *keydec,
modes.h: int CRYPTO_ocb128_copy_ctx(OCB128_CONTEXT *dest, OCB128_CONTEXT *src,
modes.h: int CRYPTO_ocb128_setiv(OCB128_CONTEXT *ctx, const unsigned char *iv,
modes.h: int CRYPTO_ocb128_aad(OCB128_CONTEXT *ctx, const unsigned char *aad,
modes.h: int CRYPTO_ocb128_encrypt(OCB128_CONTEXT *ctx, const unsigned char *in,
modes.h: int CRYPTO_ocb128_decrypt(OCB128_CONTEXT *ctx, const unsigned char *in,
modes.h: int CRYPTO_ocb128_finish(OCB128_CONTEXT *ctx, const unsigned char *tag,
modes.h: int CRYPTO_ocb128_tag(OCB128_CONTEXT *ctx, unsigned char *tag, size_t len);
modes.h: void CRYPTO_ocb128_cleanup(OCB128_CONTEXT *ctx);
objectserr.h: * Licensed under the OpenSSL license (the "License"). You may not use
objectserr.h: # define HEADER_OBJERR_H
objectserr.h: int ERR_load_OBJ_strings(void);
objectserr.h: # define OBJ_F_OBJ_ADD_OBJECT 105
objectserr.h: # define OBJ_F_OBJ_CREATE 100
objectserr.h: # define OBJ_F_OBJ_DUP 101
objectserr.h: # define OBJ_F_OBJ_NAME_NEW_INDEX 106
objectserr.h: # define OBJ_F_OBJ_NID2LN 102
objectserr.h: # define OBJ_F_OBJ_NID2OBJ 103
objectserr.h: # define OBJ_F_OBJ_NID2SN 104
objectserr.h: # define OBJ_R_OID_EXISTS 102
objectserr.h: # define OBJ_R_UNKNOWN_NID 101
objects.h: * Licensed under the OpenSSL license (the "License"). You may not use
objects.h: # define HEADER_OBJECTS_H
objects.h: # define OBJ_NAME_TYPE_UNDEF 0x00
objects.h: # define OBJ_NAME_TYPE_MD_METH 0x01
objects.h: # define OBJ_NAME_TYPE_CIPHER_METH 0x02
objects.h: # define OBJ_NAME_TYPE_PKEY_METH 0x03
objects.h: # define OBJ_NAME_TYPE_COMP_METH 0x04
objects.h: # define OBJ_NAME_TYPE_NUM 0x05
objects.h: # define OBJ_NAME_ALIAS 0x8000
objects.h: # define OBJ_BSEARCH_VALUE_ON_NOMATCH 0x01
objects.h: # define OBJ_BSEARCH_FIRST_VALUE_ON_MATCH 0x02
objects.h: typedef struct obj_name_st {
objects.h: # define OBJ_create_and_add_object(a,b,c) OBJ_create(a,b,c)
objects.h: int OBJ_NAME_init(void);
objects.h: int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *),
objects.h: int (*cmp_func) (const char *, const char *),
objects.h: void (*free_func) (const char *, int, const char *));
objects.h: const char *OBJ_NAME_get(const char *name, int type);
objects.h: int OBJ_NAME_add(const char *name, int type, const char *data);
objects.h: int OBJ_NAME_remove(const char *name, int type);
objects.h: void OBJ_NAME_cleanup(int type); /* -1 for everything */
objects.h: void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg),
objects.h: void OBJ_NAME_do_all_sorted(int type,
objects.h: void (*fn) (const OBJ_NAME *, void *arg),
objects.h: ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o);
objects.h: ASN1_OBJECT *OBJ_nid2obj(int n);
objects.h: const char *OBJ_nid2ln(int n);
objects.h: const char *OBJ_nid2sn(int n);
objects.h: int OBJ_obj2nid(const ASN1_OBJECT *o);
objects.h: ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
objects.h: int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
objects.h: int OBJ_txt2nid(const char *s);
objects.h: int OBJ_ln2nid(const char *s);
objects.h: int OBJ_sn2nid(const char *s);
objects.h: int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
objects.h: const void *OBJ_bsearch_(const void *key, const void *base, int num, int size,
objects.h: int (*cmp) (const void *, const void *));
objects.h: const void *OBJ_bsearch_ex_(const void *key, const void *base, int num,
objects.h: int (*cmp) (const void *, const void *),
objects.h: # define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \
objects.h: static int nm##_cmp_BSEARCH_CMP_FN(const void *, const void *); \
objects.h: static int nm##_cmp(type1 const *, type2 const *); \
objects.h: scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
objects.h: # define DECLARE_OBJ_BSEARCH_CMP_FN(type1, type2, cmp) \
objects.h: _DECLARE_OBJ_BSEARCH_CMP_FN(static, type1, type2, cmp)
objects.h: # define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
objects.h: type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
objects.h: # define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \
objects.h: static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
objects.h: return nm##_cmp(a,b); \
objects.h: static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
objects.h: return (type2 *)OBJ_bsearch_(key, base, num, sizeof(type2), \
objects.h: extern void dummy_prototype(void)
objects.h: # define IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
objects.h: static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
objects.h: return nm##_cmp(a,b); \
objects.h: type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
objects.h: return (type2 *)OBJ_bsearch_(key, base, num, sizeof(type2), \
objects.h: extern void dummy_prototype(void)
objects.h: # define OBJ_bsearch(type1,key,type2,base,num,cmp) \
objects.h: ((type2 *)OBJ_bsearch_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \
objects.h: num,sizeof(type2), \
objects.h: ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \
objects.h: (void)CHECKED_PTR_OF(type2,cmp##_type_2), \
objects.h: # define OBJ_bsearch_ex(type1,key,type2,base,num,cmp,flags) \
objects.h: ((type2 *)OBJ_bsearch_ex_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \
objects.h: num,sizeof(type2), \
objects.h: ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \
objects.h: (void)type_2=CHECKED_PTR_OF(type2,cmp##_type_2), \
objects.h: int OBJ_new_nid(int num);
objects.h: int OBJ_add_object(const ASN1_OBJECT *obj);
objects.h: int OBJ_create(const char *oid, const char *sn, const char *ln);
objects.h: # define OBJ_cleanup() while(0) continue
objects.h: int OBJ_create_objects(BIO *in);
objects.h: size_t OBJ_length(const ASN1_OBJECT *obj);
objects.h: const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
objects.h: int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid);
objects.h: int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid);
objects.h: int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
objects.h: void OBJ_sigid_free(void);
obj_mac.h: * Licensed under the OpenSSL license (the "License"). You may not use
obj_mac.h: #define LN_X500 "directory services (X.500)"
obj_mac.h: #define LN_id_tc26_signwithdigest_gost3410_2012_256 "GOST R 34.10-2012 with GOST R 34.11-2012 (256 bit)"
obj_mac.h: #define LN_id_tc26_signwithdigest_gost3410_2012_512 "GOST R 34.10-2012 with GOST R 34.11-2012 (512 bit)"
obj_mac.h: #define LN_id_tc26_gost_3410_2012_512_paramSetTest "GOST R 34.10-2012 (512 bit) testing parameter set"
obj_mac.h: #define LN_id_tc26_gost_3410_2012_512_paramSetA "GOST R 34.10-2012 (512 bit) ParamSet A"
obj_mac.h: #define LN_id_tc26_gost_3410_2012_512_paramSetB "GOST R 34.10-2012 (512 bit) ParamSet B"
ocsperr.h: * Licensed under the OpenSSL license (the "License"). You may not use
ocsperr.h: # define HEADER_OCSPERR_H
ocsperr.h: int ERR_load_OCSP_strings(void);
ocsperr.h: # define OCSP_F_D2I_OCSP_NONCE 102
ocsperr.h: # define OCSP_F_OCSP_BASIC_ADD1_STATUS 103
ocsperr.h: # define OCSP_F_OCSP_BASIC_SIGN 104
ocsperr.h: # define OCSP_F_OCSP_BASIC_SIGN_CTX 119
ocsperr.h: # define OCSP_F_OCSP_BASIC_VERIFY 105
ocsperr.h: # define OCSP_F_OCSP_CERT_ID_NEW 101
ocsperr.h: # define OCSP_F_OCSP_CHECK_DELEGATED 106
ocsperr.h: # define OCSP_F_OCSP_CHECK_IDS 107
ocsperr.h: # define OCSP_F_OCSP_CHECK_ISSUER 108
ocsperr.h: # define OCSP_F_OCSP_CHECK_VALIDITY 115
ocsperr.h: # define OCSP_F_OCSP_MATCH_ISSUERID 109
ocsperr.h: # define OCSP_F_OCSP_PARSE_URL 114
ocsperr.h: # define OCSP_F_OCSP_REQUEST_SIGN 110
ocsperr.h: # define OCSP_F_OCSP_REQUEST_VERIFY 116
ocsperr.h: # define OCSP_F_OCSP_RESPONSE_GET1_BASIC 111
ocsperr.h: # define OCSP_F_PARSE_HTTP_LINE1 118
ocsperr.h: # define OCSP_R_CERTIFICATE_VERIFY_ERROR 101
ocsperr.h: # define OCSP_R_DIGEST_ERR 102
ocsperr.h: # define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122
ocsperr.h: # define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123
ocsperr.h: # define OCSP_R_ERROR_PARSING_URL 121
ocsperr.h: # define OCSP_R_MISSING_OCSPSIGNING_USAGE 103
ocsperr.h: # define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124
ocsperr.h: # define OCSP_R_NOT_BASIC_RESPONSE 104
ocsperr.h: # define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105
ocsperr.h: # define OCSP_R_NO_RESPONSE_DATA 108
ocsperr.h: # define OCSP_R_NO_REVOKED_TIME 109
ocsperr.h: # define OCSP_R_NO_SIGNER_KEY 130
ocsperr.h: # define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
ocsperr.h: # define OCSP_R_REQUEST_NOT_SIGNED 128
ocsperr.h: # define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111
ocsperr.h: # define OCSP_R_ROOT_CA_NOT_TRUSTED 112
ocsperr.h: # define OCSP_R_SERVER_RESPONSE_ERROR 114
ocsperr.h: # define OCSP_R_SERVER_RESPONSE_PARSE_ERROR 115
ocsperr.h: # define OCSP_R_SIGNATURE_FAILURE 117
ocsperr.h: # define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118
ocsperr.h: # define OCSP_R_STATUS_EXPIRED 125
ocsperr.h: # define OCSP_R_STATUS_NOT_YET_VALID 126
ocsperr.h: # define OCSP_R_STATUS_TOO_OLD 127
ocsperr.h: # define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119
ocsperr.h: # define OCSP_R_UNKNOWN_NID 120
ocsperr.h: # define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129
ocsp.h: * Licensed under the OpenSSL license (the "License"). You may not use
ocsp.h: # define HEADER_OCSP_H
ocsp.h: * unspecified (0),
ocsp.h: * keyCompromise (1),
ocsp.h: * cACompromise (2),
ocsp.h: * affiliationChanged (3),
ocsp.h: * superseded (4),
ocsp.h: * cessationOfOperation (5),
ocsp.h: * certificateHold (6),
ocsp.h: * removeFromCRL (8) }
ocsp.h: # define OCSP_REVOKED_STATUS_NOSTATUS -1
ocsp.h: # define OCSP_REVOKED_STATUS_UNSPECIFIED 0
ocsp.h: # define OCSP_REVOKED_STATUS_KEYCOMPROMISE 1
ocsp.h: # define OCSP_REVOKED_STATUS_CACOMPROMISE 2
ocsp.h: # define OCSP_REVOKED_STATUS_AFFILIATIONCHANGED 3
ocsp.h: # define OCSP_REVOKED_STATUS_SUPERSEDED 4
ocsp.h: # define OCSP_REVOKED_STATUS_CESSATIONOFOPERATION 5
ocsp.h: # define OCSP_REVOKED_STATUS_CERTIFICATEHOLD 6
ocsp.h: # define OCSP_REVOKED_STATUS_REMOVEFROMCRL 8
ocsp.h: # define OCSP_DEFAULT_NONCE_LENGTH 16
ocsp.h: # define OCSP_NOCERTS 0x1
ocsp.h: # define OCSP_NOINTERN 0x2
ocsp.h: # define OCSP_NOSIGS 0x4
ocsp.h: # define OCSP_NOCHAIN 0x8
ocsp.h: # define OCSP_NOVERIFY 0x10
ocsp.h: # define OCSP_NOEXPLICIT 0x20
ocsp.h: # define OCSP_NOCASIGN 0x40
ocsp.h: # define OCSP_NODELEGATED 0x80
ocsp.h: # define OCSP_NOCHECKS 0x100
ocsp.h: # define OCSP_TRUSTOTHER 0x200
ocsp.h: # define OCSP_RESPID_KEY 0x400
ocsp.h: # define OCSP_NOTIME 0x800
ocsp.h: typedef struct ocsp_cert_id_st OCSP_CERTID;
ocsp.h: DEFINE_STACK_OF(OCSP_CERTID)
ocsp.h: typedef struct ocsp_one_request_st OCSP_ONEREQ;
ocsp.h: DEFINE_STACK_OF(OCSP_ONEREQ)
ocsp.h: typedef struct ocsp_req_info_st OCSP_REQINFO;
ocsp.h: typedef struct ocsp_signature_st OCSP_SIGNATURE;
ocsp.h: typedef struct ocsp_request_st OCSP_REQUEST;
ocsp.h: # define OCSP_RESPONSE_STATUS_SUCCESSFUL 0
ocsp.h: # define OCSP_RESPONSE_STATUS_MALFORMEDREQUEST 1
ocsp.h: # define OCSP_RESPONSE_STATUS_INTERNALERROR 2
ocsp.h: # define OCSP_RESPONSE_STATUS_TRYLATER 3
ocsp.h: # define OCSP_RESPONSE_STATUS_SIGREQUIRED 5
ocsp.h: # define OCSP_RESPONSE_STATUS_UNAUTHORIZED 6
ocsp.h: typedef struct ocsp_resp_bytes_st OCSP_RESPBYTES;
ocsp.h: # define V_OCSP_RESPID_NAME 0
ocsp.h: # define V_OCSP_RESPID_KEY 1
ocsp.h: DEFINE_STACK_OF(OCSP_RESPID)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_RESPID)
ocsp.h: typedef struct ocsp_revoked_info_st OCSP_REVOKEDINFO;
ocsp.h: # define V_OCSP_CERTSTATUS_GOOD 0
ocsp.h: # define V_OCSP_CERTSTATUS_REVOKED 1
ocsp.h: # define V_OCSP_CERTSTATUS_UNKNOWN 2
ocsp.h: typedef struct ocsp_cert_status_st OCSP_CERTSTATUS;
ocsp.h: typedef struct ocsp_single_response_st OCSP_SINGLERESP;
ocsp.h: DEFINE_STACK_OF(OCSP_SINGLERESP)
ocsp.h: typedef struct ocsp_response_data_st OCSP_RESPDATA;
ocsp.h: typedef struct ocsp_basic_response_st OCSP_BASICRESP;
ocsp.h: typedef struct ocsp_crl_id_st OCSP_CRLID;
ocsp.h: typedef struct ocsp_service_locator_st OCSP_SERVICELOC;
ocsp.h: # define PEM_STRING_OCSP_REQUEST "OCSP REQUEST"
ocsp.h: # define PEM_STRING_OCSP_RESPONSE "OCSP RESPONSE"
ocsp.h: # define d2i_OCSP_REQUEST_bio(bp,p) ASN1_d2i_bio_of(OCSP_REQUEST,OCSP_REQUEST_new,d2i_OCSP_REQUEST,bp,p)
ocsp.h: # define d2i_OCSP_RESPONSE_bio(bp,p) ASN1_d2i_bio_of(OCSP_RESPONSE,OCSP_RESPONSE_new,d2i_OCSP_RESPONSE,bp,p)
ocsp.h: # define PEM_read_bio_OCSP_REQUEST(bp,x,cb) (OCSP_REQUEST *)PEM_ASN1_read_bio( \
ocsp.h: (char *(*)())d2i_OCSP_REQUEST,PEM_STRING_OCSP_REQUEST, \
ocsp.h: bp,(char **)(x),cb,NULL)
ocsp.h: # define PEM_read_bio_OCSP_RESPONSE(bp,x,cb)(OCSP_RESPONSE *)PEM_ASN1_read_bio(\
ocsp.h: (char *(*)())d2i_OCSP_RESPONSE,PEM_STRING_OCSP_RESPONSE, \
ocsp.h: bp,(char **)(x),cb,NULL)
ocsp.h: # define PEM_write_bio_OCSP_REQUEST(bp,o) \
ocsp.h: PEM_ASN1_write_bio((int (*)())i2d_OCSP_REQUEST,PEM_STRING_OCSP_REQUEST,\
ocsp.h: bp,(char *)(o), NULL,NULL,0,NULL,NULL)
ocsp.h: # define PEM_write_bio_OCSP_RESPONSE(bp,o) \
ocsp.h: PEM_ASN1_write_bio((int (*)())i2d_OCSP_RESPONSE,PEM_STRING_OCSP_RESPONSE,\
ocsp.h: bp,(char *)(o), NULL,NULL,0,NULL,NULL)
ocsp.h: # define i2d_OCSP_RESPONSE_bio(bp,o) ASN1_i2d_bio_of(OCSP_RESPONSE,i2d_OCSP_RESPONSE,bp,o)
ocsp.h: # define i2d_OCSP_REQUEST_bio(bp,o) ASN1_i2d_bio_of(OCSP_REQUEST,i2d_OCSP_REQUEST,bp,o)
ocsp.h: # define ASN1_BIT_STRING_digest(data,type,md,len) \
ocsp.h: ASN1_item_digest(ASN1_ITEM_rptr(ASN1_BIT_STRING),type,data,md,len)
ocsp.h: # define OCSP_CERTSTATUS_dup(cs)\
ocsp.h: (OCSP_CERTSTATUS*)ASN1_dup((int(*)())i2d_OCSP_CERTSTATUS,\
ocsp.h: (char *(*)())d2i_OCSP_CERTSTATUS,(char *)(cs))
ocsp.h: OCSP_CERTID *OCSP_CERTID_dup(OCSP_CERTID *id);
ocsp.h: OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req);
ocsp.h: OCSP_REQ_CTX *OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req,
ocsp.h: int OCSP_REQ_CTX_nbio(OCSP_REQ_CTX *rctx);
ocsp.h: int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx);
ocsp.h: OCSP_REQ_CTX *OCSP_REQ_CTX_new(BIO *io, int maxline);
ocsp.h: void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx);
ocsp.h: void OCSP_set_max_response_length(OCSP_REQ_CTX *rctx, unsigned long len);
ocsp.h: int OCSP_REQ_CTX_i2d(OCSP_REQ_CTX *rctx, const ASN1_ITEM *it,
ocsp.h: int OCSP_REQ_CTX_nbio_d2i(OCSP_REQ_CTX *rctx, ASN1_VALUE **pval,
ocsp.h: BIO *OCSP_REQ_CTX_get0_mem_bio(OCSP_REQ_CTX *rctx);
ocsp.h: int OCSP_REQ_CTX_i2d(OCSP_REQ_CTX *rctx, const ASN1_ITEM *it,
ocsp.h: int OCSP_REQ_CTX_http(OCSP_REQ_CTX *rctx, const char *op, const char *path);
ocsp.h: int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req);
ocsp.h: int OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx,
ocsp.h: OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, const X509 *subject,
ocsp.h: OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst,
ocsp.h: OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
ocsp.h: int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len);
ocsp.h: int OCSP_basic_add1_nonce(OCSP_BASICRESP *resp, unsigned char *val, int len);
ocsp.h: int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
ocsp.h: int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
ocsp.h: int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
ocsp.h: int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert);
ocsp.h: int OCSP_request_sign(OCSP_REQUEST *req,
ocsp.h: STACK_OF(X509) *certs, unsigned long flags);
ocsp.h: int OCSP_response_status(OCSP_RESPONSE *resp);
ocsp.h: OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp);
ocsp.h: const ASN1_OCTET_STRING *OCSP_resp_get0_signature(const OCSP_BASICRESP *bs);
ocsp.h: int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer,
ocsp.h: STACK_OF(X509) *extra_certs);
ocsp.h: int OCSP_resp_count(OCSP_BASICRESP *bs);
ocsp.h: OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx);
ocsp.h: const ASN1_GENERALIZEDTIME *OCSP_resp_get0_produced_at(const OCSP_BASICRESP* bs);
ocsp.h: const STACK_OF(X509) *OCSP_resp_get0_certs(const OCSP_BASICRESP *bs);
ocsp.h: int OCSP_resp_get0_id(const OCSP_BASICRESP *bs,
ocsp.h: int OCSP_resp_get1_id(const OCSP_BASICRESP *bs,
ocsp.h: int OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last);
ocsp.h: int OCSP_single_get0_status(OCSP_SINGLERESP *single, int *reason,
ocsp.h: int OCSP_resp_find_status(OCSP_BASICRESP *bs, OCSP_CERTID *id, int *status,
ocsp.h: int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
ocsp.h: int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs,
ocsp.h: int OCSP_parse_url(const char *url, char **phost, char **pport, char **ppath,
ocsp.h: int OCSP_id_issuer_cmp(OCSP_CERTID *a, OCSP_CERTID *b);
ocsp.h: int OCSP_id_cmp(OCSP_CERTID *a, OCSP_CERTID *b);
ocsp.h: int OCSP_request_onereq_count(OCSP_REQUEST *req);
ocsp.h: OCSP_ONEREQ *OCSP_request_onereq_get0(OCSP_REQUEST *req, int i);
ocsp.h: OCSP_CERTID *OCSP_onereq_get0_id(OCSP_ONEREQ *one);
ocsp.h: int OCSP_id_get0_info(ASN1_OCTET_STRING **piNameHash, ASN1_OBJECT **pmd,
ocsp.h: int OCSP_request_is_signed(OCSP_REQUEST *req);
ocsp.h: OCSP_RESPONSE *OCSP_response_create(int status, OCSP_BASICRESP *bs);
ocsp.h: OCSP_SINGLERESP *OCSP_basic_add1_status(OCSP_BASICRESP *rsp,
ocsp.h: int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert);
ocsp.h: int OCSP_basic_sign(OCSP_BASICRESP *brsp,
ocsp.h: STACK_OF(X509) *certs, unsigned long flags);
ocsp.h: int OCSP_basic_sign_ctx(OCSP_BASICRESP *brsp,
ocsp.h: STACK_OF(X509) *certs, unsigned long flags);
ocsp.h: int OCSP_RESPID_set_by_name(OCSP_RESPID *respid, X509 *cert);
ocsp.h: int OCSP_RESPID_set_by_key(OCSP_RESPID *respid, X509 *cert);
ocsp.h: int OCSP_RESPID_match(OCSP_RESPID *respid, X509 *cert);
ocsp.h: X509_EXTENSION *OCSP_crlID_new(const char *url, long *n, char *tim);
ocsp.h: X509_EXTENSION *OCSP_accept_responses_new(char **oids);
ocsp.h: X509_EXTENSION *OCSP_archive_cutoff_new(char *tim);
ocsp.h: X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME *issuer, const char **urls);
ocsp.h: int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x);
ocsp.h: int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
ocsp.h: int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, const ASN1_OBJECT *obj,
ocsp.h: int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
ocsp.h: X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc);
ocsp.h: X509_EXTENSION *OCSP_REQUEST_delete_ext(OCSP_REQUEST *x, int loc);
ocsp.h: void *OCSP_REQUEST_get1_ext_d2i(OCSP_REQUEST *x, int nid, int *crit,
ocsp.h: int OCSP_REQUEST_add1_ext_i2d(OCSP_REQUEST *x, int nid, void *value, int crit,
ocsp.h: int OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc);
ocsp.h: int OCSP_ONEREQ_get_ext_count(OCSP_ONEREQ *x);
ocsp.h: int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
ocsp.h: int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, const ASN1_OBJECT *obj, int lastpos);
ocsp.h: int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
ocsp.h: X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *x, int loc);
ocsp.h: X509_EXTENSION *OCSP_ONEREQ_delete_ext(OCSP_ONEREQ *x, int loc);
ocsp.h: void *OCSP_ONEREQ_get1_ext_d2i(OCSP_ONEREQ *x, int nid, int *crit, int *idx);
ocsp.h: int OCSP_ONEREQ_add1_ext_i2d(OCSP_ONEREQ *x, int nid, void *value, int crit,
ocsp.h: int OCSP_ONEREQ_add_ext(OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc);
ocsp.h: int OCSP_BASICRESP_get_ext_count(OCSP_BASICRESP *x);
ocsp.h: int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
ocsp.h: int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, const ASN1_OBJECT *obj,
ocsp.h: int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit,
ocsp.h: X509_EXTENSION *OCSP_BASICRESP_get_ext(OCSP_BASICRESP *x, int loc);
ocsp.h: X509_EXTENSION *OCSP_BASICRESP_delete_ext(OCSP_BASICRESP *x, int loc);
ocsp.h: void *OCSP_BASICRESP_get1_ext_d2i(OCSP_BASICRESP *x, int nid, int *crit,
ocsp.h: int OCSP_BASICRESP_add1_ext_i2d(OCSP_BASICRESP *x, int nid, void *value,
ocsp.h: int OCSP_BASICRESP_add_ext(OCSP_BASICRESP *x, X509_EXTENSION *ex, int loc);
ocsp.h: int OCSP_SINGLERESP_get_ext_count(OCSP_SINGLERESP *x);
ocsp.h: int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
ocsp.h: int OCSP_SINGLERESP_get_ext_by_OBJ(OCSP_SINGLERESP *x, const ASN1_OBJECT *obj,
ocsp.h: int OCSP_SINGLERESP_get_ext_by_critical(OCSP_SINGLERESP *x, int crit,
ocsp.h: X509_EXTENSION *OCSP_SINGLERESP_get_ext(OCSP_SINGLERESP *x, int loc);
ocsp.h: X509_EXTENSION *OCSP_SINGLERESP_delete_ext(OCSP_SINGLERESP *x, int loc);
ocsp.h: void *OCSP_SINGLERESP_get1_ext_d2i(OCSP_SINGLERESP *x, int nid, int *crit,
ocsp.h: int OCSP_SINGLERESP_add1_ext_i2d(OCSP_SINGLERESP *x, int nid, void *value,
ocsp.h: int OCSP_SINGLERESP_add_ext(OCSP_SINGLERESP *x, X509_EXTENSION *ex, int loc);
ocsp.h: const OCSP_CERTID *OCSP_SINGLERESP_get0_id(const OCSP_SINGLERESP *x);
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_SINGLERESP)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_CERTSTATUS)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_REVOKEDINFO)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_BASICRESP)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_RESPDATA)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_RESPID)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_RESPONSE)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_RESPBYTES)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_ONEREQ)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_CERTID)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_REQUEST)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_SIGNATURE)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_REQINFO)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_CRLID)
ocsp.h: DECLARE_ASN1_FUNCTIONS(OCSP_SERVICELOC)
ocsp.h: const char *OCSP_response_status_str(long s);
ocsp.h: const char *OCSP_cert_status_str(long s);
ocsp.h: const char *OCSP_crl_reason_str(long s);
ocsp.h: int OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST *a, unsigned long flags);
ocsp.h: int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE *o, unsigned long flags);
ocsp.h: int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
opensslconf.h: * Licensed under the OpenSSL license (the "License"). You may not use
opensslconf.h: # define OPENSSL_NO_MD2
opensslconf.h: # define OPENSSL_NO_RC5
opensslconf.h: # define OPENSSL_THREADS
opensslconf.h: # define OPENSSL_RAND_SEED_OS
opensslconf.h: # define OPENSSL_NO_ASAN
opensslconf.h: # define OPENSSL_NO_CRYPTO_MDEBUG
opensslconf.h: # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
opensslconf.h: # define OPENSSL_NO_DEVCRYPTOENG
opensslconf.h: # define OPENSSL_NO_EC_NISTP_64_GCC_128
opensslconf.h: # define OPENSSL_NO_EGD
opensslconf.h: # define OPENSSL_NO_EXTERNAL_TESTS
opensslconf.h: # define OPENSSL_NO_FUZZ_AFL
opensslconf.h: # define OPENSSL_NO_FUZZ_LIBFUZZER
opensslconf.h: # define OPENSSL_NO_HEARTBEATS
opensslconf.h: # define OPENSSL_NO_MSAN
opensslconf.h: # define OPENSSL_NO_SCTP
opensslconf.h: # define OPENSSL_NO_SSL_TRACE
opensslconf.h: # define OPENSSL_NO_SSL3
opensslconf.h: # define OPENSSL_NO_SSL3_METHOD
opensslconf.h: # define OPENSSL_NO_TLS13DOWNGRADE
opensslconf.h: # define OPENSSL_NO_UBSAN
opensslconf.h: # define OPENSSL_NO_UNIT_TEST
opensslconf.h: # define OPENSSL_NO_WEAK_SSL_CIPHERS
opensslconf.h: #if defined(OPENSSL_NO_DEPRECATED)
opensslconf.h: # define DECLARE_DEPRECATED(f)
opensslconf.h: #elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
opensslconf.h: # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
opensslconf.h: # define DECLARE_DEPRECATED(f) f;
opensslconf.h: # define OPENSSL_FILE ""
opensslconf.h: # define OPENSSL_LINE 0
opensslconf.h: # define OPENSSL_FILE __FILE__
opensslconf.h: # define OPENSSL_LINE __LINE__
opensslconf.h: # define OPENSSL_MIN_API 0
opensslconf.h: #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
opensslconf.h: # define OPENSSL_API_COMPAT OPENSSL_MIN_API
opensslconf.h: # define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
opensslconf.h: # define DEPRECATEDIN_1_2_0(f)
opensslconf.h: # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
opensslconf.h: # define DEPRECATEDIN_1_1_0(f)
opensslconf.h: # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
opensslconf.h: # define DEPRECATEDIN_1_0_0(f)
opensslconf.h: # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
opensslconf.h: # define DEPRECATEDIN_0_9_8(f)
opensslconf.h: #if !defined(OPENSSL_SYS_UEFI)
opensslconf.h: # define SIXTY_FOUR_BIT_LONG
opensslv.h: * Licensed under the OpenSSL license (the "License"). You may not use
opensslv.h: # define HEADER_OPENSSLV_H
opensslv.h: * 0.9.3-beta2 0x00903002 (same as ...beta2-dev)
opensslv.h: * For continuity reasons (because 0.9.5 is already out, and is coded
opensslv.h: * (Prior to 0.9.3-dev a different scheme was used: 0.9.2b is 0x0922.)
opensslv.h: * (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
opensslv.h: # define OPENSSL_VERSION_NUMBER 0x10101002L
opensslv.h: # define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1-pre2 (alpha) 27 Feb 2018"
opensslv.h: #define OPENSSL_MAKE_VERSION(maj,min,fix,patch) ((0x10000000L)+((maj&0xff)<<20)+((min&0xff)<<12)+((fix&0xff)<<4)+patch)
opensslv.h: #define OPENSSL_VERSION_AT_LEAST(maj,min) (OPENSSL_MAKE_VERSION(maj,min, 0, 0) >= OPENSSL_VERSION_NUMBER)
opensslv.h: * The macros below are to be used for shared library (.so, .dll, ...)
opensslv.h: * which is just a piece of text in the format "M.m.e" (Major, minor, edit).
opensslv.h: # define SHLIB_VERSION_HISTORY ""
opensslv.h: # define SHLIB_VERSION_NUMBER "1.1"
ossl_typ.h: * Licensed under the OpenSSL license (the "License"). You may not use
ossl_typ.h: # define HEADER_OPENSSL_TYPES_H
ossl_typ.h: # define ASN1_INTEGER ASN1_STRING
ossl_typ.h: # define ASN1_ENUMERATED ASN1_STRING
ossl_typ.h: # define ASN1_BIT_STRING ASN1_STRING
ossl_typ.h: # define ASN1_OCTET_STRING ASN1_STRING
ossl_typ.h: # define ASN1_PRINTABLESTRING ASN1_STRING
ossl_typ.h: # define ASN1_T61STRING ASN1_STRING
ossl_typ.h: # define ASN1_IA5STRING ASN1_STRING
ossl_typ.h: # define ASN1_UTCTIME ASN1_STRING
ossl_typ.h: # define ASN1_GENERALIZEDTIME ASN1_STRING
ossl_typ.h: # define ASN1_TIME ASN1_STRING
ossl_typ.h: # define ASN1_GENERALSTRING ASN1_STRING
ossl_typ.h: # define ASN1_UNIVERSALSTRING ASN1_STRING
ossl_typ.h: # define ASN1_BMPSTRING ASN1_STRING
ossl_typ.h: # define ASN1_VISIBLESTRING ASN1_STRING
ossl_typ.h: # define ASN1_UTF8STRING ASN1_STRING
ossl_typ.h: # define ASN1_BOOLEAN int
ossl_typ.h: # define ASN1_NULL int
ossl_typ.h: typedef struct asn1_string_st ASN1_INTEGER;
ossl_typ.h: typedef struct asn1_string_st ASN1_ENUMERATED;
ossl_typ.h: typedef struct asn1_string_st ASN1_BIT_STRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_OCTET_STRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_PRINTABLESTRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_T61STRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_IA5STRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_GENERALSTRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_BMPSTRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_UTCTIME;
ossl_typ.h: typedef struct asn1_string_st ASN1_TIME;
ossl_typ.h: typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
ossl_typ.h: typedef struct asn1_string_st ASN1_VISIBLESTRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_UTF8STRING;
ossl_typ.h: typedef struct asn1_string_st ASN1_STRING;
ossl_typ.h: typedef struct asn1_object_st ASN1_OBJECT;
ossl_typ.h: typedef struct ASN1_ITEM_st ASN1_ITEM;
ossl_typ.h: typedef struct asn1_pctx_st ASN1_PCTX;
ossl_typ.h: typedef struct asn1_sctx_st ASN1_SCTX;
ossl_typ.h: struct dane_st;
ossl_typ.h: typedef struct bio_st BIO;
ossl_typ.h: typedef struct bignum_st BIGNUM;
ossl_typ.h: typedef struct bignum_ctx BN_CTX;
ossl_typ.h: typedef struct bn_blinding_st BN_BLINDING;
ossl_typ.h: typedef struct bn_mont_ctx_st BN_MONT_CTX;
ossl_typ.h: typedef struct bn_recp_ctx_st BN_RECP_CTX;
ossl_typ.h: typedef struct bn_gencb_st BN_GENCB;
ossl_typ.h: typedef struct buf_mem_st BUF_MEM;
ossl_typ.h: typedef struct evp_cipher_st EVP_CIPHER;
ossl_typ.h: typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
ossl_typ.h: typedef struct evp_md_st EVP_MD;
ossl_typ.h: typedef struct evp_md_ctx_st EVP_MD_CTX;
ossl_typ.h: typedef struct evp_pkey_st EVP_PKEY;
ossl_typ.h: typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;
ossl_typ.h: typedef struct evp_pkey_method_st EVP_PKEY_METHOD;
ossl_typ.h: typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
ossl_typ.h: typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;
ossl_typ.h: typedef struct hmac_ctx_st HMAC_CTX;
ossl_typ.h: typedef struct dh_st DH;
ossl_typ.h: typedef struct dh_method DH_METHOD;
ossl_typ.h: typedef struct dsa_st DSA;
ossl_typ.h: typedef struct dsa_method DSA_METHOD;
ossl_typ.h: typedef struct rsa_st RSA;
ossl_typ.h: typedef struct rsa_meth_st RSA_METHOD;
ossl_typ.h: typedef struct ec_key_st EC_KEY;
ossl_typ.h: typedef struct ec_key_method_st EC_KEY_METHOD;
ossl_typ.h: typedef struct rand_meth_st RAND_METHOD;
ossl_typ.h: typedef struct rand_drbg_st RAND_DRBG;
ossl_typ.h: typedef struct rand_pool_st RAND_POOL;
ossl_typ.h: typedef struct ssl_dane_st SSL_DANE;
ossl_typ.h: typedef struct x509_st X509;
ossl_typ.h: typedef struct X509_algor_st X509_ALGOR;
ossl_typ.h: typedef struct X509_crl_st X509_CRL;
ossl_typ.h: typedef struct x509_crl_method_st X509_CRL_METHOD;
ossl_typ.h: typedef struct x509_revoked_st X509_REVOKED;
ossl_typ.h: typedef struct X509_name_st X509_NAME;
ossl_typ.h: typedef struct X509_pubkey_st X509_PUBKEY;
ossl_typ.h: typedef struct x509_store_st X509_STORE;
ossl_typ.h: typedef struct x509_store_ctx_st X509_STORE_CTX;
ossl_typ.h: typedef struct x509_object_st X509_OBJECT;
ossl_typ.h: typedef struct x509_lookup_st X509_LOOKUP;
ossl_typ.h: typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
ossl_typ.h: typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
ossl_typ.h: typedef struct x509_sig_info_st X509_SIG_INFO;
ossl_typ.h: typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
ossl_typ.h: typedef struct v3_ext_ctx X509V3_CTX;
ossl_typ.h: typedef struct conf_st CONF;
ossl_typ.h: typedef struct ossl_init_settings_st OPENSSL_INIT_SETTINGS;
ossl_typ.h: typedef struct ui_st UI;
ossl_typ.h: typedef struct ui_method_st UI_METHOD;
ossl_typ.h: typedef struct engine_st ENGINE;
ossl_typ.h: typedef struct ssl_st SSL;
ossl_typ.h: typedef struct ssl_ctx_st SSL_CTX;
ossl_typ.h: typedef struct comp_ctx_st COMP_CTX;
ossl_typ.h: typedef struct comp_method_st COMP_METHOD;
ossl_typ.h: typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
ossl_typ.h: typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
ossl_typ.h: typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
ossl_typ.h: typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
ossl_typ.h: typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
ossl_typ.h: typedef struct DIST_POINT_st DIST_POINT;
ossl_typ.h: typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
ossl_typ.h: typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
ossl_typ.h: typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
ossl_typ.h: typedef struct ocsp_req_ctx_st OCSP_REQ_CTX;
ossl_typ.h: typedef struct ocsp_response_st OCSP_RESPONSE;
ossl_typ.h: typedef struct ocsp_responder_id_st OCSP_RESPID;
ossl_typ.h: typedef struct sct_st SCT;
ossl_typ.h: typedef struct sct_ctx_st SCT_CTX;
ossl_typ.h: typedef struct ctlog_st CTLOG;
ossl_typ.h: typedef struct ctlog_store_st CTLOG_STORE;
ossl_typ.h: typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX;
ossl_typ.h: typedef struct ossl_store_info_st OSSL_STORE_INFO;
ossl_typ.h: typedef struct ossl_store_search_st OSSL_STORE_SEARCH;
ossl_typ.h: #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
ossl_typ.h: defined(INTMAX_MAX) && defined(UINTMAX_MAX)
ossl_typ.h: * strtoll(), strtoull() at the same time as intmax_t and strtoimax(),
ossl_typ.h: * strtoumax(). Since we use these for parsing arguments, we need the
pem2.h: * Licensed under the OpenSSL license (the "License"). You may not use
pem2.h: # define HEADER_PEM2_H
pemerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
pemerr.h: # define HEADER_PEMERR_H
pemerr.h: int ERR_load_PEM_strings(void);
pemerr.h: # define PEM_F_B2I_DSS 127
pemerr.h: # define PEM_F_B2I_PVK_BIO 128
pemerr.h: # define PEM_F_B2I_RSA 129
pemerr.h: # define PEM_F_CHECK_BITLEN_DSA 130
pemerr.h: # define PEM_F_CHECK_BITLEN_RSA 131
pemerr.h: # define PEM_F_D2I_PKCS8PRIVATEKEY_BIO 120
pemerr.h: # define PEM_F_D2I_PKCS8PRIVATEKEY_FP 121
pemerr.h: # define PEM_F_DO_B2I 132
pemerr.h: # define PEM_F_DO_B2I_BIO 133
pemerr.h: # define PEM_F_DO_BLOB_HEADER 134
pemerr.h: # define PEM_F_DO_PK8PKEY 126
pemerr.h: # define PEM_F_DO_PK8PKEY_FP 125
pemerr.h: # define PEM_F_DO_PVK_BODY 135
pemerr.h: # define PEM_F_DO_PVK_HEADER 136
pemerr.h: # define PEM_F_GET_HEADER_AND_DATA 143
pemerr.h: # define PEM_F_GET_NAME 144
pemerr.h: # define PEM_F_I2B_PVK 137
pemerr.h: # define PEM_F_I2B_PVK_BIO 138
pemerr.h: # define PEM_F_LOAD_IV 101
pemerr.h: # define PEM_F_PEM_ASN1_READ 102
pemerr.h: # define PEM_F_PEM_ASN1_READ_BIO 103
pemerr.h: # define PEM_F_PEM_ASN1_WRITE 104
pemerr.h: # define PEM_F_PEM_ASN1_WRITE_BIO 105
pemerr.h: # define PEM_F_PEM_DEF_CALLBACK 100
pemerr.h: # define PEM_F_PEM_DO_HEADER 106
pemerr.h: # define PEM_F_PEM_GET_EVP_CIPHER_INFO 107
pemerr.h: # define PEM_F_PEM_READ 108
pemerr.h: # define PEM_F_PEM_READ_BIO 109
pemerr.h: # define PEM_F_PEM_READ_BIO_DHPARAMS 141
pemerr.h: # define PEM_F_PEM_READ_BIO_EX 145
pemerr.h: # define PEM_F_PEM_READ_BIO_PARAMETERS 140
pemerr.h: # define PEM_F_PEM_READ_BIO_PRIVATEKEY 123
pemerr.h: # define PEM_F_PEM_READ_DHPARAMS 142
pemerr.h: # define PEM_F_PEM_READ_PRIVATEKEY 124
pemerr.h: # define PEM_F_PEM_SIGNFINAL 112
pemerr.h: # define PEM_F_PEM_WRITE 113
pemerr.h: # define PEM_F_PEM_WRITE_BIO 114
pemerr.h: # define PEM_F_PEM_WRITE_PRIVATEKEY 139
pemerr.h: # define PEM_F_PEM_X509_INFO_READ 115
pemerr.h: # define PEM_F_PEM_X509_INFO_READ_BIO 116
pemerr.h: # define PEM_F_PEM_X509_INFO_WRITE_BIO 117
pemerr.h: # define PEM_R_BAD_BASE64_DECODE 100
pemerr.h: # define PEM_R_BAD_DECRYPT 101
pemerr.h: # define PEM_R_BAD_END_LINE 102
pemerr.h: # define PEM_R_BAD_IV_CHARS 103
pemerr.h: # define PEM_R_BAD_MAGIC_NUMBER 116
pemerr.h: # define PEM_R_BAD_PASSWORD_READ 104
pemerr.h: # define PEM_R_BAD_VERSION_NUMBER 117
pemerr.h: # define PEM_R_BIO_WRITE_FAILURE 118
pemerr.h: # define PEM_R_CIPHER_IS_NULL 127
pemerr.h: # define PEM_R_ERROR_CONVERTING_PRIVATE_KEY 115
pemerr.h: # define PEM_R_EXPECTING_PRIVATE_KEY_BLOB 119
pemerr.h: # define PEM_R_EXPECTING_PUBLIC_KEY_BLOB 120
pemerr.h: # define PEM_R_HEADER_TOO_LONG 128
pemerr.h: # define PEM_R_INCONSISTENT_HEADER 121
pemerr.h: # define PEM_R_KEYBLOB_HEADER_PARSE_ERROR 122
pemerr.h: # define PEM_R_KEYBLOB_TOO_SHORT 123
pemerr.h: # define PEM_R_MISSING_DEK_IV 129
pemerr.h: # define PEM_R_NOT_DEK_INFO 105
pemerr.h: # define PEM_R_NOT_ENCRYPTED 106
pemerr.h: # define PEM_R_NOT_PROC_TYPE 107
pemerr.h: # define PEM_R_NO_START_LINE 108
pemerr.h: # define PEM_R_PROBLEMS_GETTING_PASSWORD 109
pemerr.h: # define PEM_R_PVK_DATA_TOO_SHORT 124
pemerr.h: # define PEM_R_PVK_TOO_SHORT 125
pemerr.h: # define PEM_R_READ_KEY 111
pemerr.h: # define PEM_R_SHORT_HEADER 112
pemerr.h: # define PEM_R_UNEXPECTED_DEK_IV 130
pemerr.h: # define PEM_R_UNSUPPORTED_CIPHER 113
pemerr.h: # define PEM_R_UNSUPPORTED_ENCRYPTION 114
pemerr.h: # define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
pem.h: * Licensed under the OpenSSL license (the "License"). You may not use
pem.h: # define HEADER_PEM_H
pem.h: # define PEM_BUFSIZE 1024
pem.h: # define PEM_STRING_X509_OLD "X509 CERTIFICATE"
pem.h: # define PEM_STRING_X509 "CERTIFICATE"
pem.h: # define PEM_STRING_X509_TRUSTED "TRUSTED CERTIFICATE"
pem.h: # define PEM_STRING_X509_REQ_OLD "NEW CERTIFICATE REQUEST"
pem.h: # define PEM_STRING_X509_REQ "CERTIFICATE REQUEST"
pem.h: # define PEM_STRING_X509_CRL "X509 CRL"
pem.h: # define PEM_STRING_EVP_PKEY "ANY PRIVATE KEY"
pem.h: # define PEM_STRING_PUBLIC "PUBLIC KEY"
pem.h: # define PEM_STRING_RSA "RSA PRIVATE KEY"
pem.h: # define PEM_STRING_RSA_PUBLIC "RSA PUBLIC KEY"
pem.h: # define PEM_STRING_DSA "DSA PRIVATE KEY"
pem.h: # define PEM_STRING_DSA_PUBLIC "DSA PUBLIC KEY"
pem.h: # define PEM_STRING_PKCS7 "PKCS7"
pem.h: # define PEM_STRING_PKCS7_SIGNED "PKCS #7 SIGNED DATA"
pem.h: # define PEM_STRING_PKCS8 "ENCRYPTED PRIVATE KEY"
pem.h: # define PEM_STRING_PKCS8INF "PRIVATE KEY"
pem.h: # define PEM_STRING_DHPARAMS "DH PARAMETERS"
pem.h: # define PEM_STRING_DHXPARAMS "X9.42 DH PARAMETERS"
pem.h: # define PEM_STRING_SSL_SESSION "SSL SESSION PARAMETERS"
pem.h: # define PEM_STRING_DSAPARAMS "DSA PARAMETERS"
pem.h: # define PEM_STRING_ECDSA_PUBLIC "ECDSA PUBLIC KEY"
pem.h: # define PEM_STRING_ECPARAMETERS "EC PARAMETERS"
pem.h: # define PEM_STRING_ECPRIVATEKEY "EC PRIVATE KEY"
pem.h: # define PEM_STRING_PARAMETERS "PARAMETERS"
pem.h: # define PEM_STRING_CMS "CMS"
pem.h: # define PEM_TYPE_ENCRYPTED 10
pem.h: # define PEM_TYPE_MIC_ONLY 20
pem.h: # define PEM_TYPE_MIC_CLEAR 30
pem.h: # define PEM_TYPE_CLEAR 40
pem.h: * write. Now they are all implemented with either: IMPLEMENT_PEM_rw(...) or
pem.h: * IMPLEMENT_PEM_rw_cb(...)
pem.h: # define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/
pem.h: # define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/
pem.h: # define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/
pem.h: # define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/
pem.h: # define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/
pem.h: # define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
pem.h: type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\
pem.h: return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
pem.h: # define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
pem.h: int PEM_write_##name(FILE *fp, type *x) \
pem.h: return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
pem.h: # define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
pem.h: int PEM_write_##name(FILE *fp, const type *x) \
pem.h: return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \
pem.h: # define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \
pem.h: int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
pem.h: return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
pem.h: # define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) \
pem.h: int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
pem.h: return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
pem.h: # define IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
pem.h: type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\
pem.h: return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
pem.h: # define IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
pem.h: int PEM_write_bio_##name(BIO *bp, type *x) \
pem.h: return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL); \
pem.h: # define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
pem.h: int PEM_write_bio_##name(BIO *bp, const type *x) \
pem.h: return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,NULL,NULL,0,NULL,NULL); \
pem.h: # define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
pem.h: int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
pem.h: return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
pem.h: # define IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
pem.h: int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
pem.h: return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
pem.h: # define IMPLEMENT_PEM_write(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_fp(name, type, str, asn1)
pem.h: # define IMPLEMENT_PEM_write_const(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
pem.h: # define IMPLEMENT_PEM_write_cb(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1)
pem.h: # define IMPLEMENT_PEM_write_cb_const(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1)
pem.h: # define IMPLEMENT_PEM_read(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_read_fp(name, type, str, asn1)
pem.h: # define IMPLEMENT_PEM_rw(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_read(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write(name, type, str, asn1)
pem.h: # define IMPLEMENT_PEM_rw_const(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_read(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_const(name, type, str, asn1)
pem.h: # define IMPLEMENT_PEM_rw_cb(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_read(name, type, str, asn1) \
pem.h: IMPLEMENT_PEM_write_cb(name, type, str, asn1)
pem.h: # if defined(OPENSSL_NO_STDIO)
pem.h: # define DECLARE_PEM_read_fp(name, type) /**/
pem.h: # define DECLARE_PEM_write_fp(name, type) /**/
pem.h: # define DECLARE_PEM_write_fp_const(name, type) /**/
pem.h: # define DECLARE_PEM_write_cb_fp(name, type) /**/
pem.h: # define DECLARE_PEM_read_fp(name, type) \
pem.h: type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u);
pem.h: # define DECLARE_PEM_write_fp(name, type) \
pem.h: int PEM_write_##name(FILE *fp, type *x);
pem.h: # define DECLARE_PEM_write_fp_const(name, type) \
pem.h: int PEM_write_##name(FILE *fp, const type *x);
pem.h: # define DECLARE_PEM_write_cb_fp(name, type) \
pem.h: int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
pem.h: # define DECLARE_PEM_read_bio(name, type) \
pem.h: type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u);
pem.h: # define DECLARE_PEM_write_bio(name, type) \
pem.h: int PEM_write_bio_##name(BIO *bp, type *x);
pem.h: # define DECLARE_PEM_write_bio_const(name, type) \
pem.h: int PEM_write_bio_##name(BIO *bp, const type *x);
pem.h: # define DECLARE_PEM_write_cb_bio(name, type) \
pem.h: int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
pem.h: # define DECLARE_PEM_write(name, type) \
pem.h: DECLARE_PEM_write_bio(name, type) \
pem.h: DECLARE_PEM_write_fp(name, type)
pem.h: # define DECLARE_PEM_write_const(name, type) \
pem.h: DECLARE_PEM_write_bio_const(name, type) \
pem.h: DECLARE_PEM_write_fp_const(name, type)
pem.h: # define DECLARE_PEM_write_cb(name, type) \
pem.h: DECLARE_PEM_write_cb_bio(name, type) \
pem.h: DECLARE_PEM_write_cb_fp(name, type)
pem.h: # define DECLARE_PEM_read(name, type) \
pem.h: DECLARE_PEM_read_bio(name, type) \
pem.h: DECLARE_PEM_read_fp(name, type)
pem.h: # define DECLARE_PEM_rw(name, type) \
pem.h: DECLARE_PEM_read(name, type) \
pem.h: DECLARE_PEM_write(name, type)
pem.h: # define DECLARE_PEM_rw_const(name, type) \
pem.h: DECLARE_PEM_read(name, type) \
pem.h: DECLARE_PEM_write_const(name, type)
pem.h: # define DECLARE_PEM_rw_cb(name, type) \
pem.h: DECLARE_PEM_read(name, type) \
pem.h: DECLARE_PEM_write_cb(name, type)
pem.h: typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
pem.h: int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher);
pem.h: int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *len,
pem.h: int PEM_read_bio(BIO *bp, char **name, char **header,
pem.h: # define PEM_FLAG_SECURE 0x1
pem.h: # define PEM_FLAG_EAY_COMPATIBLE 0x2
pem.h: # define PEM_FLAG_ONLY_B64 0x4
pem.h: int PEM_read_bio_ex(BIO *bp, char **name, char **header,
pem.h: int PEM_bytes_read_bio_secmem(unsigned char **pdata, long *plen, char **pnm,
pem.h: int PEM_write_bio(BIO *bp, const char *name, const char *hdr,
pem.h: int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm,
pem.h: void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x,
pem.h: int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, void *x,
pem.h: STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) *sk,
pem.h: int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc,
pem.h: int PEM_read(FILE *fp, char **name, char **header,
pem.h: int PEM_write(FILE *fp, const char *name, const char *hdr,
pem.h: void *PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x,
pem.h: int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp,
pem.h: STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk,
pem.h: int PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type);
pem.h: int PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *d, unsigned int cnt);
pem.h: int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
pem.h: int PEM_def_callback(char *buf, int num, int w, void *key);
pem.h: void PEM_proc_type(char *buf, int type);
pem.h: void PEM_dek_info(char *buf, const char *type, int len, char *str);
pem.h: DECLARE_PEM_rw(X509, X509)
pem.h: DECLARE_PEM_rw(X509_AUX, X509)
pem.h: DECLARE_PEM_rw(X509_REQ, X509_REQ)
pem.h: DECLARE_PEM_write(X509_REQ_NEW, X509_REQ)
pem.h: DECLARE_PEM_rw(X509_CRL, X509_CRL)
pem.h: DECLARE_PEM_rw(PKCS7, PKCS7)
pem.h: DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE, NETSCAPE_CERT_SEQUENCE)
pem.h: DECLARE_PEM_rw(PKCS8, X509_SIG)
pem.h: DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO)
pem.h: DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
pem.h: DECLARE_PEM_rw_const(RSAPublicKey, RSA)
pem.h: DECLARE_PEM_rw(RSA_PUBKEY, RSA)
pem.h: DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
pem.h: DECLARE_PEM_rw(DSA_PUBKEY, DSA)
pem.h: DECLARE_PEM_rw_const(DSAparams, DSA)
pem.h: DECLARE_PEM_rw_const(ECPKParameters, EC_GROUP)
pem.h: DECLARE_PEM_rw_cb(ECPrivateKey, EC_KEY)
pem.h: DECLARE_PEM_rw(EC_PUBKEY, EC_KEY)
pem.h: DECLARE_PEM_rw_const(DHparams, DH)
pem.h: DECLARE_PEM_write_const(DHxparams, DH)
pem.h: DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
pem.h: DECLARE_PEM_rw(PUBKEY, EVP_PKEY)
pem.h: int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x,
pem.h: int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid,
pem.h: int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *,
pem.h: int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
pem.h: int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid,
pem.h: EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
pem.h: int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
pem.h: int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid,
pem.h: int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid,
pem.h: EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb,
pem.h: int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
pem.h: EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x);
pem.h: int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x);
pem.h: EVP_PKEY *b2i_PrivateKey(const unsigned char **in, long length);
pem.h: EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length);
pem.h: EVP_PKEY *b2i_PrivateKey_bio(BIO *in);
pem.h: EVP_PKEY *b2i_PublicKey_bio(BIO *in);
pem.h: int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk);
pem.h: int i2b_PublicKey_bio(BIO *out, EVP_PKEY *pk);
pem.h: EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
pem.h: int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel,
pkcs12err.h: * Licensed under the OpenSSL license (the "License"). You may not use
pkcs12err.h: # define HEADER_PKCS12ERR_H
pkcs12err.h: int ERR_load_PKCS12_strings(void);
pkcs12err.h: # define PKCS12_F_PKCS12_CREATE 105
pkcs12err.h: # define PKCS12_F_PKCS12_GEN_MAC 107
pkcs12err.h: # define PKCS12_F_PKCS12_INIT 109
pkcs12err.h: # define PKCS12_F_PKCS12_ITEM_DECRYPT_D2I 106
pkcs12err.h: # define PKCS12_F_PKCS12_ITEM_I2D_ENCRYPT 108
pkcs12err.h: # define PKCS12_F_PKCS12_ITEM_PACK_SAFEBAG 117
pkcs12err.h: # define PKCS12_F_PKCS12_KEY_GEN_ASC 110
pkcs12err.h: # define PKCS12_F_PKCS12_KEY_GEN_UNI 111
pkcs12err.h: # define PKCS12_F_PKCS12_KEY_GEN_UTF8 116
pkcs12err.h: # define PKCS12_F_PKCS12_NEWPASS 128
pkcs12err.h: # define PKCS12_F_PKCS12_PACK_P7DATA 114
pkcs12err.h: # define PKCS12_F_PKCS12_PACK_P7ENCDATA 115
pkcs12err.h: # define PKCS12_F_PKCS12_PARSE 118
pkcs12err.h: # define PKCS12_F_PKCS12_PBE_CRYPT 119
pkcs12err.h: # define PKCS12_F_PKCS12_PBE_KEYIVGEN 120
pkcs12err.h: # define PKCS12_F_PKCS12_SAFEBAG_CREATE0_P8INF 112
pkcs12err.h: # define PKCS12_F_PKCS12_SAFEBAG_CREATE0_PKCS8 113
pkcs12err.h: # define PKCS12_F_PKCS12_SAFEBAG_CREATE_PKCS8_ENCRYPT 133
pkcs12err.h: # define PKCS12_F_PKCS12_SETUP_MAC 122
pkcs12err.h: # define PKCS12_F_PKCS12_SET_MAC 123
pkcs12err.h: # define PKCS12_F_PKCS12_UNPACK_AUTHSAFES 130
pkcs12err.h: # define PKCS12_F_PKCS12_UNPACK_P7DATA 131
pkcs12err.h: # define PKCS12_F_PKCS12_VERIFY_MAC 126
pkcs12err.h: # define PKCS12_F_PKCS8_ENCRYPT 125
pkcs12err.h: # define PKCS12_F_PKCS8_SET0_PBE 132
pkcs12err.h: # define PKCS12_R_CANT_PACK_STRUCTURE 100
pkcs12err.h: # define PKCS12_R_CONTENT_TYPE_NOT_DATA 121
pkcs12err.h: # define PKCS12_R_DECODE_ERROR 101
pkcs12err.h: # define PKCS12_R_ENCODE_ERROR 102
pkcs12err.h: # define PKCS12_R_ENCRYPT_ERROR 103
pkcs12err.h: # define PKCS12_R_ERROR_SETTING_ENCRYPTED_DATA_TYPE 120
pkcs12err.h: # define PKCS12_R_INVALID_NULL_ARGUMENT 104
pkcs12err.h: # define PKCS12_R_INVALID_NULL_PKCS12_POINTER 105
pkcs12err.h: # define PKCS12_R_IV_GEN_ERROR 106
pkcs12err.h: # define PKCS12_R_KEY_GEN_ERROR 107
pkcs12err.h: # define PKCS12_R_MAC_ABSENT 108
pkcs12err.h: # define PKCS12_R_MAC_GENERATION_ERROR 109
pkcs12err.h: # define PKCS12_R_MAC_SETUP_ERROR 110
pkcs12err.h: # define PKCS12_R_MAC_STRING_SET_ERROR 111
pkcs12err.h: # define PKCS12_R_MAC_VERIFY_FAILURE 113
pkcs12err.h: # define PKCS12_R_PARSE_ERROR 114
pkcs12err.h: # define PKCS12_R_PKCS12_ALGOR_CIPHERINIT_ERROR 115
pkcs12err.h: # define PKCS12_R_PKCS12_CIPHERFINAL_ERROR 116
pkcs12err.h: # define PKCS12_R_PKCS12_PBE_CRYPT_ERROR 117
pkcs12err.h: # define PKCS12_R_UNKNOWN_DIGEST_ALGORITHM 118
pkcs12err.h: # define PKCS12_R_UNSUPPORTED_PKCS12_MODE 119
pkcs12.h: * Licensed under the OpenSSL license (the "License"). You may not use
pkcs12.h: # define HEADER_PKCS12_H
pkcs12.h: # define PKCS12_KEY_ID 1
pkcs12.h: # define PKCS12_IV_ID 2
pkcs12.h: # define PKCS12_MAC_ID 3
pkcs12.h: # define PKCS12_DEFAULT_ITER PKCS5_DEFAULT_ITER
pkcs12.h: # define PKCS12_MAC_KEY_LENGTH 20
pkcs12.h: # define PKCS12_SALT_LEN 8
pkcs12.h: # define PKCS12_key_gen PKCS12_key_gen_utf8
pkcs12.h: # define PKCS12_add_friendlyname PKCS12_add_friendlyname_utf8
pkcs12.h: # define KEY_EX 0x10
pkcs12.h: # define KEY_SIG 0x80
pkcs12.h: typedef struct PKCS12_MAC_DATA_st PKCS12_MAC_DATA;
pkcs12.h: typedef struct PKCS12_st PKCS12;
pkcs12.h: typedef struct PKCS12_SAFEBAG_st PKCS12_SAFEBAG;
pkcs12.h: DEFINE_STACK_OF(PKCS12_SAFEBAG)
pkcs12.h: typedef struct pkcs12_bag_st PKCS12_BAGS;
pkcs12.h: # define PKCS12_ERROR 0
pkcs12.h: # define PKCS12_OK 1
pkcs12.h: # define M_PKCS12_bag_type PKCS12_bag_type
pkcs12.h: # define M_PKCS12_cert_bag_type PKCS12_cert_bag_type
pkcs12.h: # define M_PKCS12_crl_bag_type PKCS12_cert_bag_type
pkcs12.h: # define PKCS12_certbag2x509 PKCS12_SAFEBAG_get1_cert
pkcs12.h: # define PKCS12_certbag2scrl PKCS12_SAFEBAG_get1_crl
pkcs12.h: # define PKCS12_bag_type PKCS12_SAFEBAG_get_nid
pkcs12.h: # define PKCS12_cert_bag_type PKCS12_SAFEBAG_get_bag_nid
pkcs12.h: # define PKCS12_x5092certbag PKCS12_SAFEBAG_create_cert
pkcs12.h: # define PKCS12_x509crl2certbag PKCS12_SAFEBAG_create_crl
pkcs12.h: # define PKCS12_MAKE_KEYBAG PKCS12_SAFEBAG_create0_p8inf
pkcs12.h: # define PKCS12_MAKE_SHKEYBAG PKCS12_SAFEBAG_create_pkcs8_encrypt
pkcs12.h: DEPRECATEDIN_1_1_0(ASN1_TYPE *PKCS12_get_attr(const PKCS12_SAFEBAG *bag, int attr_nid))
pkcs12.h: ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid);
pkcs12.h: int PKCS12_mac_present(const PKCS12 *p12);
pkcs12.h: void PKCS12_get0_mac(const ASN1_OCTET_STRING **pmac,
pkcs12.h: const ASN1_TYPE *PKCS12_SAFEBAG_get0_attr(const PKCS12_SAFEBAG *bag,
pkcs12.h: const ASN1_OBJECT *PKCS12_SAFEBAG_get0_type(const PKCS12_SAFEBAG *bag);
pkcs12.h: int PKCS12_SAFEBAG_get_nid(const PKCS12_SAFEBAG *bag);
pkcs12.h: int PKCS12_SAFEBAG_get_bag_nid(const PKCS12_SAFEBAG *bag);
pkcs12.h: X509 *PKCS12_SAFEBAG_get1_cert(const PKCS12_SAFEBAG *bag);
pkcs12.h: X509_CRL *PKCS12_SAFEBAG_get1_crl(const PKCS12_SAFEBAG *bag);
pkcs12.h: const STACK_OF(PKCS12_SAFEBAG) *
pkcs12.h: PKCS12_SAFEBAG_get0_safes(const PKCS12_SAFEBAG *bag);
pkcs12.h: const PKCS8_PRIV_KEY_INFO *PKCS12_SAFEBAG_get0_p8inf(const PKCS12_SAFEBAG *bag);
pkcs12.h: const X509_SIG *PKCS12_SAFEBAG_get0_pkcs8(const PKCS12_SAFEBAG *bag);
pkcs12.h: PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_cert(X509 *x509);
pkcs12.h: PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_crl(X509_CRL *crl);
pkcs12.h: PKCS12_SAFEBAG *PKCS12_SAFEBAG_create0_p8inf(PKCS8_PRIV_KEY_INFO *p8);
pkcs12.h: PKCS12_SAFEBAG *PKCS12_SAFEBAG_create0_pkcs8(X509_SIG *p8);
pkcs12.h: PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
pkcs12.h: PKCS12_SAFEBAG *PKCS12_item_pack_safebag(void *obj, const ASN1_ITEM *it,
pkcs12.h: PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(const X509_SIG *p8, const char *pass,
pkcs12.h: PKCS8_PRIV_KEY_INFO *PKCS12_decrypt_skey(const PKCS12_SAFEBAG *bag,
pkcs12.h: X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
pkcs12.h: X509_SIG *PKCS8_set0_pbe(const char *pass, int passlen,
pkcs12.h: PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk);
pkcs12.h: STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7);
pkcs12.h: PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
pkcs12.h: STACK_OF(PKCS12_SAFEBAG) *bags);
pkcs12.h: STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass,
pkcs12.h: int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes);
pkcs12.h: STACK_OF(PKCS7) *PKCS12_unpack_authsafes(const PKCS12 *p12);
pkcs12.h: int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, unsigned char *name,
pkcs12.h: int PKCS12_add_friendlyname_asc(PKCS12_SAFEBAG *bag, const char *name,
pkcs12.h: int PKCS12_add_friendlyname_utf8(PKCS12_SAFEBAG *bag, const char *name,
pkcs12.h: int PKCS12_add_CSPName_asc(PKCS12_SAFEBAG *bag, const char *name,
pkcs12.h: int PKCS12_add_friendlyname_uni(PKCS12_SAFEBAG *bag,
pkcs12.h: int PKCS8_add_keyusage(PKCS8_PRIV_KEY_INFO *p8, int usage);
pkcs12.h: ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs,
pkcs12.h: char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag);
pkcs12.h: const STACK_OF(X509_ATTRIBUTE) *
pkcs12.h: PKCS12_SAFEBAG_get0_attrs(const PKCS12_SAFEBAG *bag);
pkcs12.h: unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor,
pkcs12.h: void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
pkcs12.h: ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor,
pkcs12.h: PKCS12 *PKCS12_init(int mode);
pkcs12.h: int PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt,
pkcs12.h: int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt,
pkcs12.h: int PKCS12_key_gen_utf8(const char *pass, int passlen, unsigned char *salt,
pkcs12.h: int PKCS12_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
pkcs12.h: int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen,
pkcs12.h: int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen);
pkcs12.h: int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen,
pkcs12.h: int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt,
pkcs12.h: unsigned char *OPENSSL_asc2uni(const char *asc, int asclen,
pkcs12.h: char *OPENSSL_uni2asc(const unsigned char *uni, int unilen);
pkcs12.h: unsigned char *OPENSSL_utf82uni(const char *asc, int asclen,
pkcs12.h: char *OPENSSL_uni2utf8(const unsigned char *uni, int unilen);
pkcs12.h: DECLARE_ASN1_FUNCTIONS(PKCS12)
pkcs12.h: DECLARE_ASN1_FUNCTIONS(PKCS12_MAC_DATA)
pkcs12.h: DECLARE_ASN1_FUNCTIONS(PKCS12_SAFEBAG)
pkcs12.h: DECLARE_ASN1_FUNCTIONS(PKCS12_BAGS)
pkcs12.h: DECLARE_ASN1_ITEM(PKCS12_SAFEBAGS)
pkcs12.h: DECLARE_ASN1_ITEM(PKCS12_AUTHSAFES)
pkcs12.h: void PKCS12_PBE_add(void);
pkcs12.h: int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
pkcs12.h: STACK_OF(X509) **ca);
pkcs12.h: PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey,
pkcs12.h: X509 *cert, STACK_OF(X509) *ca, int nid_key, int nid_cert,
pkcs12.h: PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert);
pkcs12.h: PKCS12_SAFEBAG *PKCS12_add_key(STACK_OF(PKCS12_SAFEBAG) **pbags,
pkcs12.h: int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
pkcs12.h: PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int p7_nid);
pkcs12.h: int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12);
pkcs12.h: int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12);
pkcs12.h: PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12);
pkcs12.h: PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12);
pkcs12.h: int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);
pkcs7err.h: * Licensed under the OpenSSL license (the "License"). You may not use
pkcs7err.h: # define HEADER_PKCS7ERR_H
pkcs7err.h: int ERR_load_PKCS7_strings(void);
pkcs7err.h: # define PKCS7_F_DO_PKCS7_SIGNED_ATTRIB 136
pkcs7err.h: # define PKCS7_F_PKCS7_ADD0_ATTRIB_SIGNING_TIME 135
pkcs7err.h: # define PKCS7_F_PKCS7_ADD_ATTRIB_SMIMECAP 118
pkcs7err.h: # define PKCS7_F_PKCS7_ADD_CERTIFICATE 100
pkcs7err.h: # define PKCS7_F_PKCS7_ADD_CRL 101
pkcs7err.h: # define PKCS7_F_PKCS7_ADD_RECIPIENT_INFO 102
pkcs7err.h: # define PKCS7_F_PKCS7_ADD_SIGNATURE 131
pkcs7err.h: # define PKCS7_F_PKCS7_ADD_SIGNER 103
pkcs7err.h: # define PKCS7_F_PKCS7_BIO_ADD_DIGEST 125
pkcs7err.h: # define PKCS7_F_PKCS7_COPY_EXISTING_DIGEST 138
pkcs7err.h: # define PKCS7_F_PKCS7_CTRL 104
pkcs7err.h: # define PKCS7_F_PKCS7_DATADECODE 112
pkcs7err.h: # define PKCS7_F_PKCS7_DATAFINAL 128
pkcs7err.h: # define PKCS7_F_PKCS7_DATAINIT 105
pkcs7err.h: # define PKCS7_F_PKCS7_DATAVERIFY 107
pkcs7err.h: # define PKCS7_F_PKCS7_DECRYPT 114
pkcs7err.h: # define PKCS7_F_PKCS7_DECRYPT_RINFO 133
pkcs7err.h: # define PKCS7_F_PKCS7_ENCODE_RINFO 132
pkcs7err.h: # define PKCS7_F_PKCS7_ENCRYPT 115
pkcs7err.h: # define PKCS7_F_PKCS7_FINAL 134
pkcs7err.h: # define PKCS7_F_PKCS7_FIND_DIGEST 127
pkcs7err.h: # define PKCS7_F_PKCS7_GET0_SIGNERS 124
pkcs7err.h: # define PKCS7_F_PKCS7_RECIP_INFO_SET 130
pkcs7err.h: # define PKCS7_F_PKCS7_SET_CIPHER 108
pkcs7err.h: # define PKCS7_F_PKCS7_SET_CONTENT 109
pkcs7err.h: # define PKCS7_F_PKCS7_SET_DIGEST 126
pkcs7err.h: # define PKCS7_F_PKCS7_SET_TYPE 110
pkcs7err.h: # define PKCS7_F_PKCS7_SIGN 116
pkcs7err.h: # define PKCS7_F_PKCS7_SIGNATUREVERIFY 113
pkcs7err.h: # define PKCS7_F_PKCS7_SIGNER_INFO_SET 129
pkcs7err.h: # define PKCS7_F_PKCS7_SIGNER_INFO_SIGN 139
pkcs7err.h: # define PKCS7_F_PKCS7_SIGN_ADD_SIGNER 137
pkcs7err.h: # define PKCS7_F_PKCS7_SIMPLE_SMIMECAP 119
pkcs7err.h: # define PKCS7_F_PKCS7_VERIFY 117
pkcs7err.h: # define PKCS7_R_CERTIFICATE_VERIFY_ERROR 117
pkcs7err.h: # define PKCS7_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 144
pkcs7err.h: # define PKCS7_R_CIPHER_NOT_INITIALIZED 116
pkcs7err.h: # define PKCS7_R_CONTENT_AND_DATA_PRESENT 118
pkcs7err.h: # define PKCS7_R_CTRL_ERROR 152
pkcs7err.h: # define PKCS7_R_DECRYPT_ERROR 119
pkcs7err.h: # define PKCS7_R_DIGEST_FAILURE 101
pkcs7err.h: # define PKCS7_R_ENCRYPTION_CTRL_FAILURE 149
pkcs7err.h: # define PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 150
pkcs7err.h: # define PKCS7_R_ERROR_ADDING_RECIPIENT 120
pkcs7err.h: # define PKCS7_R_ERROR_SETTING_CIPHER 121
pkcs7err.h: # define PKCS7_R_INVALID_NULL_POINTER 143
pkcs7err.h: # define PKCS7_R_INVALID_SIGNED_DATA_TYPE 155
pkcs7err.h: # define PKCS7_R_NO_CONTENT 122
pkcs7err.h: # define PKCS7_R_NO_DEFAULT_DIGEST 151
pkcs7err.h: # define PKCS7_R_NO_MATCHING_DIGEST_TYPE_FOUND 154
pkcs7err.h: # define PKCS7_R_NO_RECIPIENT_MATCHES_CERTIFICATE 115
pkcs7err.h: # define PKCS7_R_NO_SIGNATURES_ON_DATA 123
pkcs7err.h: # define PKCS7_R_NO_SIGNERS 142
pkcs7err.h: # define PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE 104
pkcs7err.h: # define PKCS7_R_PKCS7_ADD_SIGNATURE_ERROR 124
pkcs7err.h: # define PKCS7_R_PKCS7_ADD_SIGNER_ERROR 153
pkcs7err.h: # define PKCS7_R_PKCS7_DATASIGN 145
pkcs7err.h: # define PKCS7_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 127
pkcs7err.h: # define PKCS7_R_SIGNATURE_FAILURE 105
pkcs7err.h: # define PKCS7_R_SIGNER_CERTIFICATE_NOT_FOUND 128
pkcs7err.h: # define PKCS7_R_SIGNING_CTRL_FAILURE 147
pkcs7err.h: # define PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 148
pkcs7err.h: # define PKCS7_R_SMIME_TEXT_ERROR 129
pkcs7err.h: # define PKCS7_R_UNABLE_TO_FIND_CERTIFICATE 106
pkcs7err.h: # define PKCS7_R_UNABLE_TO_FIND_MEM_BIO 107
pkcs7err.h: # define PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST 108
pkcs7err.h: # define PKCS7_R_UNKNOWN_DIGEST_TYPE 109
pkcs7err.h: # define PKCS7_R_UNKNOWN_OPERATION 110
pkcs7err.h: # define PKCS7_R_UNSUPPORTED_CIPHER_TYPE 111
pkcs7err.h: # define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 112
pkcs7err.h: # define PKCS7_R_WRONG_CONTENT_TYPE 113
pkcs7err.h: # define PKCS7_R_WRONG_PKCS7_TYPE 114
pkcs7.h: * Licensed under the OpenSSL license (the "License"). You may not use
pkcs7.h: # define HEADER_PKCS7_H
pkcs7.h: typedef struct pkcs7_issuer_and_serial_st {
pkcs7.h: typedef struct pkcs7_signer_info_st {
pkcs7.h: STACK_OF(X509_ATTRIBUTE) *auth_attr; /* [ 0 ] */
pkcs7.h: STACK_OF(X509_ATTRIBUTE) *unauth_attr; /* [ 1 ] */
pkcs7.h: DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
pkcs7.h: typedef struct pkcs7_recip_info_st {
pkcs7.h: DEFINE_STACK_OF(PKCS7_RECIP_INFO)
pkcs7.h: typedef struct pkcs7_signed_st {
pkcs7.h: STACK_OF(X509_ALGOR) *md_algs; /* md used */
pkcs7.h: STACK_OF(X509) *cert; /* [ 0 ] */
pkcs7.h: STACK_OF(X509_CRL) *crl; /* [ 1 ] */
pkcs7.h: STACK_OF(PKCS7_SIGNER_INFO) *signer_info;
pkcs7.h: struct pkcs7_st *contents;
pkcs7.h: typedef struct pkcs7_enc_content_st {
pkcs7.h: typedef struct pkcs7_enveloped_st {
pkcs7.h: STACK_OF(PKCS7_RECIP_INFO) *recipientinfo;
pkcs7.h: typedef struct pkcs7_signedandenveloped_st {
pkcs7.h: STACK_OF(X509_ALGOR) *md_algs; /* md used */
pkcs7.h: STACK_OF(X509) *cert; /* [ 0 ] */
pkcs7.h: STACK_OF(X509_CRL) *crl; /* [ 1 ] */
pkcs7.h: STACK_OF(PKCS7_SIGNER_INFO) *signer_info;
pkcs7.h: STACK_OF(PKCS7_RECIP_INFO) *recipientinfo;
pkcs7.h: typedef struct pkcs7_digest_st {
pkcs7.h: struct pkcs7_st *contents;
pkcs7.h: typedef struct pkcs7_encrypted_st {
pkcs7.h: typedef struct pkcs7_st {
pkcs7.h: # define PKCS7_S_HEADER 0
pkcs7.h: # define PKCS7_S_BODY 1
pkcs7.h: # define PKCS7_S_TAIL 2
pkcs7.h: DEFINE_STACK_OF(PKCS7)
pkcs7.h: # define PKCS7_OP_SET_DETACHED_SIGNATURE 1
pkcs7.h: # define PKCS7_OP_GET_DETACHED_SIGNATURE 2
pkcs7.h: # define PKCS7_get_signed_attributes(si) ((si)->auth_attr)
pkcs7.h: # define PKCS7_get_attributes(si) ((si)->unauth_attr)
pkcs7.h: # define PKCS7_type_is_signed(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_signed)
pkcs7.h: # define PKCS7_type_is_encrypted(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)
pkcs7.h: # define PKCS7_type_is_enveloped(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_enveloped)
pkcs7.h: # define PKCS7_type_is_signedAndEnveloped(a) \
pkcs7.h: (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped)
pkcs7.h: # define PKCS7_type_is_data(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_data)
pkcs7.h: # define PKCS7_type_is_digest(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_digest)
pkcs7.h: # define PKCS7_set_detached(p,v) \
pkcs7.h: PKCS7_ctrl(p,PKCS7_OP_SET_DETACHED_SIGNATURE,v,NULL)
pkcs7.h: # define PKCS7_get_detached(p) \
pkcs7.h: PKCS7_ctrl(p,PKCS7_OP_GET_DETACHED_SIGNATURE,0,NULL)
pkcs7.h: # define PKCS7_is_detached(p7) (PKCS7_type_is_signed(p7) && PKCS7_get_detached(p7))
pkcs7.h: # define PKCS7_TEXT 0x1
pkcs7.h: # define PKCS7_NOCERTS 0x2
pkcs7.h: # define PKCS7_NOSIGS 0x4
pkcs7.h: # define PKCS7_NOCHAIN 0x8
pkcs7.h: # define PKCS7_NOINTERN 0x10
pkcs7.h: # define PKCS7_NOVERIFY 0x20
pkcs7.h: # define PKCS7_DETACHED 0x40
pkcs7.h: # define PKCS7_BINARY 0x80
pkcs7.h: # define PKCS7_NOATTR 0x100
pkcs7.h: # define PKCS7_NOSMIMECAP 0x200
pkcs7.h: # define PKCS7_NOOLDMIMETYPE 0x400
pkcs7.h: # define PKCS7_CRLFEOL 0x800
pkcs7.h: # define PKCS7_STREAM 0x1000
pkcs7.h: # define PKCS7_NOCRL 0x2000
pkcs7.h: # define PKCS7_PARTIAL 0x4000
pkcs7.h: # define PKCS7_REUSE_DIGEST 0x8000
pkcs7.h: # define PKCS7_NO_DUAL_CONTENT 0x10000
pkcs7.h: # define SMIME_TEXT PKCS7_TEXT
pkcs7.h: # define SMIME_NOCERTS PKCS7_NOCERTS
pkcs7.h: # define SMIME_NOSIGS PKCS7_NOSIGS
pkcs7.h: # define SMIME_NOCHAIN PKCS7_NOCHAIN
pkcs7.h: # define SMIME_NOINTERN PKCS7_NOINTERN
pkcs7.h: # define SMIME_NOVERIFY PKCS7_NOVERIFY
pkcs7.h: # define SMIME_DETACHED PKCS7_DETACHED
pkcs7.h: # define SMIME_BINARY PKCS7_BINARY
pkcs7.h: # define SMIME_NOATTR PKCS7_NOATTR
pkcs7.h: # define SMIME_ASCIICRLF 0x80000
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_ISSUER_AND_SERIAL)
pkcs7.h: int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data,
pkcs7.h: PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7);
pkcs7.h: int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7);
pkcs7.h: PKCS7 *PKCS7_dup(PKCS7 *p7);
pkcs7.h: PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7);
pkcs7.h: int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7);
pkcs7.h: int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags);
pkcs7.h: int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags);
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNER_INFO)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_RECIP_INFO)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_SIGNED)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_ENC_CONTENT)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_ENVELOPE)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_SIGN_ENVELOPE)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_DIGEST)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7_ENCRYPT)
pkcs7.h: DECLARE_ASN1_FUNCTIONS(PKCS7)
pkcs7.h: DECLARE_ASN1_ITEM(PKCS7_ATTR_SIGN)
pkcs7.h: DECLARE_ASN1_ITEM(PKCS7_ATTR_VERIFY)
pkcs7.h: DECLARE_ASN1_NDEF_FUNCTION(PKCS7)
pkcs7.h: DECLARE_ASN1_PRINT_FUNCTION(PKCS7)
pkcs7.h: long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg);
pkcs7.h: int PKCS7_set_type(PKCS7 *p7, int type);
pkcs7.h: int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other);
pkcs7.h: int PKCS7_set_content(PKCS7 *p7, PKCS7 *p7_data);
pkcs7.h: int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
pkcs7.h: int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si);
pkcs7.h: int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i);
pkcs7.h: int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
pkcs7.h: int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509);
pkcs7.h: int PKCS7_content_new(PKCS7 *p7, int nid);
pkcs7.h: int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx,
pkcs7.h: int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si,
pkcs7.h: BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio);
pkcs7.h: int PKCS7_dataFinal(PKCS7 *p7, BIO *bio);
pkcs7.h: BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert);
pkcs7.h: PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509,
pkcs7.h: X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
pkcs7.h: int PKCS7_set_digest(PKCS7 *p7, const EVP_MD *md);
pkcs7.h: STACK_OF(PKCS7_SIGNER_INFO) *PKCS7_get_signer_info(PKCS7 *p7);
pkcs7.h: PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509);
pkcs7.h: void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk,
pkcs7.h: void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc);
pkcs7.h: int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri);
pkcs7.h: int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509);
pkcs7.h: int PKCS7_set_cipher(PKCS7 *p7, const EVP_CIPHER *cipher);
pkcs7.h: int PKCS7_stream(unsigned char ***boundary, PKCS7 *p7);
pkcs7.h: PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx);
pkcs7.h: ASN1_OCTET_STRING *PKCS7_digest_from_attributes(STACK_OF(X509_ATTRIBUTE) *sk);
pkcs7.h: int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int type,
pkcs7.h: int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype,
pkcs7.h: ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid);
pkcs7.h: ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid);
pkcs7.h: int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si,
pkcs7.h: STACK_OF(X509_ATTRIBUTE) *sk);
pkcs7.h: int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si,
pkcs7.h: STACK_OF(X509_ATTRIBUTE) *sk);
pkcs7.h: PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
pkcs7.h: PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7,
pkcs7.h: int PKCS7_final(PKCS7 *p7, BIO *data, int flags);
pkcs7.h: int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store,
pkcs7.h: STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs,
pkcs7.h: PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher,
pkcs7.h: int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data,
pkcs7.h: int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si,
pkcs7.h: STACK_OF(X509_ALGOR) *cap);
pkcs7.h: STACK_OF(X509_ALGOR) *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si);
pkcs7.h: int PKCS7_simple_smimecap(STACK_OF(X509_ALGOR) *sk, int nid, int arg);
pkcs7.h: int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid);
pkcs7.h: int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t);
pkcs7.h: int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si,
pkcs7.h: int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags);
pkcs7.h: PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont);
pkcs7.h: BIO *BIO_new_PKCS7(BIO *out, PKCS7 *p7);
randerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
randerr.h: # define HEADER_RANDERR_H
randerr.h: int ERR_load_RAND_strings(void);
randerr.h: # define RAND_F_DRBG_BYTES 101
randerr.h: # define RAND_F_DRBG_GET_ENTROPY 105
randerr.h: # define RAND_F_DRBG_SETUP 117
randerr.h: # define RAND_F_GET_ENTROPY 106
randerr.h: # define RAND_F_RAND_BYTES 100
randerr.h: # define RAND_F_RAND_DRBG_ENABLE_LOCKING 119
randerr.h: # define RAND_F_RAND_DRBG_GENERATE 107
randerr.h: # define RAND_F_RAND_DRBG_INSTANTIATE 108
randerr.h: # define RAND_F_RAND_DRBG_NEW 109
randerr.h: # define RAND_F_RAND_DRBG_RESEED 110
randerr.h: # define RAND_F_RAND_DRBG_RESTART 102
randerr.h: # define RAND_F_RAND_DRBG_SET 104
randerr.h: # define RAND_F_RAND_DRBG_UNINSTANTIATE 118
randerr.h: # define RAND_F_RAND_LOAD_FILE 111
randerr.h: # define RAND_F_RAND_POOL_ADD 103
randerr.h: # define RAND_F_RAND_POOL_ADD_BEGIN 113
randerr.h: # define RAND_F_RAND_POOL_ADD_END 114
randerr.h: # define RAND_F_RAND_POOL_BYTES_NEEDED 115
randerr.h: # define RAND_F_RAND_POOL_NEW 116
randerr.h: # define RAND_F_RAND_WRITE_FILE 112
randerr.h: # define RAND_R_ADDITIONAL_INPUT_TOO_LONG 102
randerr.h: # define RAND_R_ALREADY_INSTANTIATED 103
randerr.h: # define RAND_R_ARGUMENT_OUT_OF_RANGE 105
randerr.h: # define RAND_R_CANNOT_OPEN_FILE 121
randerr.h: # define RAND_R_DRBG_ALREADY_INITIALIZED 129
randerr.h: # define RAND_R_DRBG_NOT_INITIALISED 104
randerr.h: # define RAND_R_ENTROPY_INPUT_TOO_LONG 106
randerr.h: # define RAND_R_ENTROPY_OUT_OF_RANGE 124
randerr.h: # define RAND_R_ERROR_ENTROPY_POOL_WAS_IGNORED 127
randerr.h: # define RAND_R_ERROR_INITIALISING_DRBG 107
randerr.h: # define RAND_R_ERROR_INSTANTIATING_DRBG 108
randerr.h: # define RAND_R_ERROR_RETRIEVING_ADDITIONAL_INPUT 109
randerr.h: # define RAND_R_ERROR_RETRIEVING_ENTROPY 110
randerr.h: # define RAND_R_ERROR_RETRIEVING_NONCE 111
randerr.h: # define RAND_R_FAILED_TO_CREATE_LOCK 126
randerr.h: # define RAND_R_FUNC_NOT_IMPLEMENTED 101
randerr.h: # define RAND_R_FWRITE_ERROR 123
randerr.h: # define RAND_R_GENERATE_ERROR 112
randerr.h: # define RAND_R_INTERNAL_ERROR 113
randerr.h: # define RAND_R_IN_ERROR_STATE 114
randerr.h: # define RAND_R_NOT_A_REGULAR_FILE 122
randerr.h: # define RAND_R_NOT_INSTANTIATED 115
randerr.h: # define RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED 128
randerr.h: # define RAND_R_PARENT_LOCKING_NOT_ENABLED 130
randerr.h: # define RAND_R_PERSONALISATION_STRING_TOO_LONG 116
randerr.h: # define RAND_R_PRNG_NOT_SEEDED 100
randerr.h: # define RAND_R_RANDOM_POOL_OVERFLOW 125
randerr.h: # define RAND_R_REQUEST_TOO_LARGE_FOR_DRBG 117
randerr.h: # define RAND_R_RESEED_ERROR 118
randerr.h: # define RAND_R_SELFTEST_FAILURE 119
randerr.h: # define RAND_R_UNSUPPORTED_DRBG_TYPE 120
rand.h: * Licensed under the OpenSSL license (the "License"). You may not use
rand.h: # define HEADER_RAND_H
rand.h: struct rand_meth_st {
rand.h: int (*seed) (const void *buf, int num);
rand.h: int (*bytes) (unsigned char *buf, int num);
rand.h: void (*cleanup) (void);
rand.h: int (*add) (const void *buf, int num, double randomness);
rand.h: int (*pseudorand) (unsigned char *buf, int num);
rand.h: int (*status) (void);
rand.h: int RAND_set_rand_method(const RAND_METHOD *meth);
rand.h: const RAND_METHOD *RAND_get_rand_method(void);
rand.h: int RAND_set_rand_engine(ENGINE *engine);
rand.h: RAND_METHOD *RAND_OpenSSL(void);
rand.h: # define RAND_cleanup() while(0) continue
rand.h: int RAND_bytes(unsigned char *buf, int num);
rand.h: int RAND_priv_bytes(unsigned char *buf, int num);
rand.h: DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
rand.h: void RAND_seed(const void *buf, int num);
rand.h: # if defined(__ANDROID__) && defined(__NDK_FPABI__)
rand.h: __NDK_FPABI__ /* __attribute__((pcs("aapcs"))) on ARM */
rand.h: void RAND_add(const void *buf, int num, double randomness);
rand.h: int RAND_load_file(const char *file, long max_bytes);
rand.h: int RAND_write_file(const char *file);
rand.h: const char *RAND_file_name(char *file, size_t num);
rand.h: int RAND_status(void);
rand.h: int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
rand.h: int RAND_egd(const char *path);
rand.h: int RAND_egd_bytes(const char *path, int bytes);
rand.h: typedef void (*RAND_poll_cb)(void *arg,
rand.h: int RAND_poll(void);
rand.h: # if defined(_WIN32) && (defined(BASETYPES) || defined(_WINDEF_H))
rand.h: DEPRECATEDIN_1_1_0(void RAND_screen(void))
rand.h: DEPRECATEDIN_1_1_0(int RAND_event(UINT, WPARAM, LPARAM))
rc2.h: * Licensed under the OpenSSL license (the "License"). You may not use
rc2.h: # define HEADER_RC2_H
rc2.h: # define RC2_ENCRYPT 1
rc2.h: # define RC2_DECRYPT 0
rc2.h: # define RC2_BLOCK 8
rc2.h: # define RC2_KEY_LENGTH 16
rc2.h: typedef struct rc2_key_st {
rc2.h: void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits);
rc2.h: void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out,
rc2.h: void RC2_encrypt(unsigned long *data, RC2_KEY *key);
rc2.h: void RC2_decrypt(unsigned long *data, RC2_KEY *key);
rc2.h: void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
rc2.h: void RC2_cfb64_encrypt(const unsigned char *in, unsigned char *out,
rc2.h: void RC2_ofb64_encrypt(const unsigned char *in, unsigned char *out,
rc4.h: * Licensed under the OpenSSL license (the "License"). You may not use
rc4.h: # define HEADER_RC4_H
rc4.h: typedef struct rc4_key_st {
rc4.h: const char *RC4_options(void);
rc4.h: void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
rc4.h: void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
rc5.h: * Licensed under the OpenSSL license (the "License"). You may not use
rc5.h: # define HEADER_RC5_H
rc5.h: # define RC5_ENCRYPT 1
rc5.h: # define RC5_DECRYPT 0
rc5.h: # define RC5_32_INT unsigned int
rc5.h: # define RC5_32_BLOCK 8
rc5.h: # define RC5_32_KEY_LENGTH 16/* This is a default, max is 255 */
rc5.h: # define RC5_8_ROUNDS 8
rc5.h: # define RC5_12_ROUNDS 12
rc5.h: # define RC5_16_ROUNDS 16
rc5.h: typedef struct rc5_key_st {
rc5.h: RC5_32_INT data[2 * (RC5_16_ROUNDS + 1)];
rc5.h: void RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data,
rc5.h: void RC5_32_ecb_encrypt(const unsigned char *in, unsigned char *out,
rc5.h: void RC5_32_encrypt(unsigned long *data, RC5_32_KEY *key);
rc5.h: void RC5_32_decrypt(unsigned long *data, RC5_32_KEY *key);
rc5.h: void RC5_32_cbc_encrypt(const unsigned char *in, unsigned char *out,
rc5.h: void RC5_32_cfb64_encrypt(const unsigned char *in, unsigned char *out,
rc5.h: void RC5_32_ofb64_encrypt(const unsigned char *in, unsigned char *out,
ripemd.h: * Licensed under the OpenSSL license (the "License"). You may not use
ripemd.h: # define HEADER_RIPEMD_H
ripemd.h: # define RIPEMD160_LONG unsigned int
ripemd.h: # define RIPEMD160_CBLOCK 64
ripemd.h: # define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4)
ripemd.h: # define RIPEMD160_DIGEST_LENGTH 20
ripemd.h: typedef struct RIPEMD160state_st {
ripemd.h: int RIPEMD160_Init(RIPEMD160_CTX *c);
ripemd.h: int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len);
ripemd.h: int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
ripemd.h: unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md);
ripemd.h: void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
rsaerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
rsaerr.h: # define HEADER_RSAERR_H
rsaerr.h: int ERR_load_RSA_strings(void);
rsaerr.h: # define RSA_F_CHECK_PADDING_MD 140
rsaerr.h: # define RSA_F_ENCODE_PKCS1 146
rsaerr.h: # define RSA_F_INT_RSA_VERIFY 145
rsaerr.h: # define RSA_F_OLD_RSA_PRIV_DECODE 147
rsaerr.h: # define RSA_F_PKEY_PSS_INIT 165
rsaerr.h: # define RSA_F_PKEY_RSA_CTRL 143
rsaerr.h: # define RSA_F_PKEY_RSA_CTRL_STR 144
rsaerr.h: # define RSA_F_PKEY_RSA_SIGN 142
rsaerr.h: # define RSA_F_PKEY_RSA_VERIFY 149
rsaerr.h: # define RSA_F_PKEY_RSA_VERIFYRECOVER 141
rsaerr.h: # define RSA_F_RSA_ALGOR_TO_MD 156
rsaerr.h: # define RSA_F_RSA_BUILTIN_KEYGEN 129
rsaerr.h: # define RSA_F_RSA_CHECK_KEY 123
rsaerr.h: # define RSA_F_RSA_CHECK_KEY_EX 160
rsaerr.h: # define RSA_F_RSA_CMS_DECRYPT 159
rsaerr.h: # define RSA_F_RSA_CMS_VERIFY 158
rsaerr.h: # define RSA_F_RSA_ITEM_VERIFY 148
rsaerr.h: # define RSA_F_RSA_METH_DUP 161
rsaerr.h: # define RSA_F_RSA_METH_NEW 162
rsaerr.h: # define RSA_F_RSA_METH_SET1_NAME 163
rsaerr.h: # define RSA_F_RSA_MGF1_TO_MD 157
rsaerr.h: # define RSA_F_RSA_NEW_METHOD 106
rsaerr.h: # define RSA_F_RSA_NULL 124
rsaerr.h: # define RSA_F_RSA_NULL_PRIVATE_DECRYPT 132
rsaerr.h: # define RSA_F_RSA_NULL_PRIVATE_ENCRYPT 133
rsaerr.h: # define RSA_F_RSA_NULL_PUBLIC_DECRYPT 134
rsaerr.h: # define RSA_F_RSA_NULL_PUBLIC_ENCRYPT 135
rsaerr.h: # define RSA_F_RSA_OSSL_PRIVATE_DECRYPT 101
rsaerr.h: # define RSA_F_RSA_OSSL_PRIVATE_ENCRYPT 102
rsaerr.h: # define RSA_F_RSA_OSSL_PUBLIC_DECRYPT 103
rsaerr.h: # define RSA_F_RSA_OSSL_PUBLIC_ENCRYPT 104
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_NONE 107
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_PKCS1_OAEP 121
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_PKCS1_OAEP_MGF1 154
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_PKCS1_PSS 125
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_PKCS1_PSS_MGF1 152
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1 108
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_2 109
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_SSLV23 110
rsaerr.h: # define RSA_F_RSA_PADDING_ADD_X931 127
rsaerr.h: # define RSA_F_RSA_PADDING_CHECK_NONE 111
rsaerr.h: # define RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP 122
rsaerr.h: # define RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP_MGF1 153
rsaerr.h: # define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1 112
rsaerr.h: # define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2 113
rsaerr.h: # define RSA_F_RSA_PADDING_CHECK_SSLV23 114
rsaerr.h: # define RSA_F_RSA_PADDING_CHECK_X931 128
rsaerr.h: # define RSA_F_RSA_PARAM_DECODE 164
rsaerr.h: # define RSA_F_RSA_PRINT 115
rsaerr.h: # define RSA_F_RSA_PRINT_FP 116
rsaerr.h: # define RSA_F_RSA_PRIV_DECODE 150
rsaerr.h: # define RSA_F_RSA_PRIV_ENCODE 138
rsaerr.h: # define RSA_F_RSA_PSS_GET_PARAM 151
rsaerr.h: # define RSA_F_RSA_PSS_TO_CTX 155
rsaerr.h: # define RSA_F_RSA_PUB_DECODE 139
rsaerr.h: # define RSA_F_RSA_SETUP_BLINDING 136
rsaerr.h: # define RSA_F_RSA_SIGN 117
rsaerr.h: # define RSA_F_RSA_SIGN_ASN1_OCTET_STRING 118
rsaerr.h: # define RSA_F_RSA_VERIFY 119
rsaerr.h: # define RSA_F_RSA_VERIFY_ASN1_OCTET_STRING 120
rsaerr.h: # define RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1 126
rsaerr.h: # define RSA_R_ALGORITHM_MISMATCH 100
rsaerr.h: # define RSA_R_BAD_E_VALUE 101
rsaerr.h: # define RSA_R_BAD_FIXED_HEADER_DECRYPT 102
rsaerr.h: # define RSA_R_BAD_PAD_BYTE_COUNT 103
rsaerr.h: # define RSA_R_BAD_SIGNATURE 104
rsaerr.h: # define RSA_R_BLOCK_TYPE_IS_NOT_01 106
rsaerr.h: # define RSA_R_BLOCK_TYPE_IS_NOT_02 107
rsaerr.h: # define RSA_R_DATA_GREATER_THAN_MOD_LEN 108
rsaerr.h: # define RSA_R_DATA_TOO_LARGE 109
rsaerr.h: # define RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 110
rsaerr.h: # define RSA_R_DATA_TOO_LARGE_FOR_MODULUS 132
rsaerr.h: # define RSA_R_DATA_TOO_SMALL 111
rsaerr.h: # define RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE 122
rsaerr.h: # define RSA_R_DIGEST_DOES_NOT_MATCH 158
rsaerr.h: # define RSA_R_DIGEST_NOT_ALLOWED 145
rsaerr.h: # define RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY 112
rsaerr.h: # define RSA_R_DMP1_NOT_CONGRUENT_TO_D 124
rsaerr.h: # define RSA_R_DMQ1_NOT_CONGRUENT_TO_D 125
rsaerr.h: # define RSA_R_D_E_NOT_CONGRUENT_TO_1 123
rsaerr.h: # define RSA_R_FIRST_OCTET_INVALID 133
rsaerr.h: # define RSA_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 144
rsaerr.h: # define RSA_R_INVALID_DIGEST 157
rsaerr.h: # define RSA_R_INVALID_DIGEST_LENGTH 143
rsaerr.h: # define RSA_R_INVALID_HEADER 137
rsaerr.h: # define RSA_R_INVALID_LABEL 160
rsaerr.h: # define RSA_R_INVALID_MESSAGE_LENGTH 131
rsaerr.h: # define RSA_R_INVALID_MGF1_MD 156
rsaerr.h: # define RSA_R_INVALID_MULTI_PRIME_KEY 167
rsaerr.h: # define RSA_R_INVALID_OAEP_PARAMETERS 161
rsaerr.h: # define RSA_R_INVALID_PADDING 138
rsaerr.h: # define RSA_R_INVALID_PADDING_MODE 141
rsaerr.h: # define RSA_R_INVALID_PSS_PARAMETERS 149
rsaerr.h: # define RSA_R_INVALID_PSS_SALTLEN 146
rsaerr.h: # define RSA_R_INVALID_SALT_LENGTH 150
rsaerr.h: # define RSA_R_INVALID_TRAILER 139
rsaerr.h: # define RSA_R_INVALID_X931_DIGEST 142
rsaerr.h: # define RSA_R_IQMP_NOT_INVERSE_OF_Q 126
rsaerr.h: # define RSA_R_KEY_PRIME_NUM_INVALID 165
rsaerr.h: # define RSA_R_KEY_SIZE_TOO_SMALL 120
rsaerr.h: # define RSA_R_LAST_OCTET_INVALID 134
rsaerr.h: # define RSA_R_MGF1_DIGEST_NOT_ALLOWED 152
rsaerr.h: # define RSA_R_MODULUS_TOO_LARGE 105
rsaerr.h: # define RSA_R_MP_COEFFICIENT_NOT_INVERSE_OF_R 168
rsaerr.h: # define RSA_R_MP_EXPONENT_NOT_CONGRUENT_TO_D 169
rsaerr.h: # define RSA_R_MP_R_NOT_PRIME 170
rsaerr.h: # define RSA_R_NO_PUBLIC_EXPONENT 140
rsaerr.h: # define RSA_R_NULL_BEFORE_BLOCK_MISSING 113
rsaerr.h: # define RSA_R_N_DOES_NOT_EQUAL_PRODUCT_OF_PRIMES 172
rsaerr.h: # define RSA_R_N_DOES_NOT_EQUAL_P_Q 127
rsaerr.h: # define RSA_R_OAEP_DECODING_ERROR 121
rsaerr.h: # define RSA_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 148
rsaerr.h: # define RSA_R_PADDING_CHECK_FAILED 114
rsaerr.h: # define RSA_R_PKCS_DECODING_ERROR 159
rsaerr.h: # define RSA_R_PSS_SALTLEN_TOO_SMALL 164
rsaerr.h: # define RSA_R_P_NOT_PRIME 128
rsaerr.h: # define RSA_R_Q_NOT_PRIME 129
rsaerr.h: # define RSA_R_RSA_OPERATIONS_NOT_SUPPORTED 130
rsaerr.h: # define RSA_R_SLEN_CHECK_FAILED 136
rsaerr.h: # define RSA_R_SLEN_RECOVERY_FAILED 135
rsaerr.h: # define RSA_R_SSLV3_ROLLBACK_ATTACK 115
rsaerr.h: # define RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 116
rsaerr.h: # define RSA_R_UNKNOWN_ALGORITHM_TYPE 117
rsaerr.h: # define RSA_R_UNKNOWN_DIGEST 166
rsaerr.h: # define RSA_R_UNKNOWN_MASK_DIGEST 151
rsaerr.h: # define RSA_R_UNKNOWN_PADDING_TYPE 118
rsaerr.h: # define RSA_R_UNSUPPORTED_ENCRYPTION_TYPE 162
rsaerr.h: # define RSA_R_UNSUPPORTED_LABEL_SOURCE 163
rsaerr.h: # define RSA_R_UNSUPPORTED_MASK_ALGORITHM 153
rsaerr.h: # define RSA_R_UNSUPPORTED_MASK_PARAMETER 154
rsaerr.h: # define RSA_R_UNSUPPORTED_SIGNATURE_TYPE 155
rsaerr.h: # define RSA_R_VALUE_MISSING 147
rsaerr.h: # define RSA_R_WRONG_SIGNATURE_LENGTH 119
rsa.h: * Licensed under the OpenSSL license (the "License"). You may not use
rsa.h: # define HEADER_RSA_H
rsa.h: # define OPENSSL_RSA_MAX_MODULUS_BITS 16384
rsa.h: # define OPENSSL_RSA_FIPS_MIN_MODULUS_BITS 1024
rsa.h: # define OPENSSL_RSA_SMALL_MODULUS_BITS 3072
rsa.h: # define OPENSSL_RSA_MAX_PUBEXP_BITS 64
rsa.h: # define RSA_3 0x3L
rsa.h: # define RSA_F4 0x10001L
rsa.h: # define RSA_ASN1_VERSION_DEFAULT 0
rsa.h: # define RSA_ASN1_VERSION_MULTI 1
rsa.h: # define RSA_DEFAULT_PRIME_NUM 2
rsa.h: # define RSA_METHOD_FLAG_NO_CHECK 0x0001/* don't check pub/private
rsa.h: # define RSA_FLAG_CACHE_PUBLIC 0x0002
rsa.h: # define RSA_FLAG_CACHE_PRIVATE 0x0004
rsa.h: # define RSA_FLAG_BLINDING 0x0008
rsa.h: # define RSA_FLAG_THREAD_SAFE 0x0010
rsa.h: # define RSA_FLAG_EXT_PKEY 0x0020
rsa.h: * default (ignoring RSA_FLAG_BLINDING),
rsa.h: # define RSA_FLAG_NO_BLINDING 0x0080
rsa.h: # define RSA_FLAG_NO_CONSTTIME 0x0000
rsa.h: # define RSA_FLAG_NO_EXP_CONSTTIME RSA_FLAG_NO_CONSTTIME
rsa.h: # define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, -1, EVP_PKEY_CTRL_RSA_PADDING, pad, NULL)
rsa.h: # define EVP_PKEY_CTX_get_rsa_padding(ctx, ppad) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, -1, EVP_PKEY_CTRL_GET_RSA_PADDING, 0, ppad)
rsa.h: # define EVP_PKEY_CTX_set_rsa_pss_saltlen(ctx, len) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIGN|EVP_PKEY_OP_VERIFY), \
rsa.h: # define RSA_PSS_SALTLEN_DIGEST -1
rsa.h: # define RSA_PSS_SALTLEN_AUTO -2
rsa.h: # define RSA_PSS_SALTLEN_MAX -3
rsa.h: # define RSA_PSS_SALTLEN_MAX_SIGN -2
rsa.h: # define EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(ctx, len) \
rsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, \
rsa.h: # define EVP_PKEY_CTX_get_rsa_pss_saltlen(ctx, plen) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIGN|EVP_PKEY_OP_VERIFY), \
rsa.h: # define EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, bits) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, EVP_PKEY_OP_KEYGEN, \
rsa.h: # define EVP_PKEY_CTX_set_rsa_keygen_pubexp(ctx, pubexp) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, EVP_PKEY_OP_KEYGEN, \
rsa.h: # define EVP_PKEY_CTX_set_rsa_keygen_primes(ctx, primes) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, EVP_PKEY_OP_KEYGEN, \
rsa.h: # define EVP_PKEY_CTX_set_rsa_mgf1_md(ctx, md) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, EVP_PKEY_OP_TYPE_SIG | EVP_PKEY_OP_TYPE_CRYPT, \
rsa.h: EVP_PKEY_CTRL_RSA_MGF1_MD, 0, (void *)(md))
rsa.h: # define EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md(ctx, md) \
rsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, \
rsa.h: EVP_PKEY_CTRL_RSA_MGF1_MD, 0, (void *)(md))
rsa.h: # define EVP_PKEY_CTX_set_rsa_oaep_md(ctx, md) \
rsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
rsa.h: EVP_PKEY_CTRL_RSA_OAEP_MD, 0, (void *)(md))
rsa.h: # define EVP_PKEY_CTX_get_rsa_mgf1_md(ctx, pmd) \
rsa.h: RSA_pkey_ctx_ctrl(ctx, EVP_PKEY_OP_TYPE_SIG | EVP_PKEY_OP_TYPE_CRYPT, \
rsa.h: EVP_PKEY_CTRL_GET_RSA_MGF1_MD, 0, (void *)(pmd))
rsa.h: # define EVP_PKEY_CTX_get_rsa_oaep_md(ctx, pmd) \
rsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
rsa.h: EVP_PKEY_CTRL_GET_RSA_OAEP_MD, 0, (void *)(pmd))
rsa.h: # define EVP_PKEY_CTX_set0_rsa_oaep_label(ctx, l, llen) \
rsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
rsa.h: EVP_PKEY_CTRL_RSA_OAEP_LABEL, llen, (void *)(l))
rsa.h: # define EVP_PKEY_CTX_get0_rsa_oaep_label(ctx, l) \
rsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
rsa.h: EVP_PKEY_CTRL_GET_RSA_OAEP_LABEL, 0, (void *)(l))
rsa.h: # define EVP_PKEY_CTX_set_rsa_pss_keygen_md(ctx, md) \
rsa.h: EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, \
rsa.h: 0, (void *)(md))
rsa.h: # define EVP_PKEY_CTRL_RSA_PADDING (EVP_PKEY_ALG_CTRL + 1)
rsa.h: # define EVP_PKEY_CTRL_RSA_PSS_SALTLEN (EVP_PKEY_ALG_CTRL + 2)
rsa.h: # define EVP_PKEY_CTRL_RSA_KEYGEN_BITS (EVP_PKEY_ALG_CTRL + 3)
rsa.h: # define EVP_PKEY_CTRL_RSA_KEYGEN_PUBEXP (EVP_PKEY_ALG_CTRL + 4)
rsa.h: # define EVP_PKEY_CTRL_RSA_MGF1_MD (EVP_PKEY_ALG_CTRL + 5)
rsa.h: # define EVP_PKEY_CTRL_GET_RSA_PADDING (EVP_PKEY_ALG_CTRL + 6)
rsa.h: # define EVP_PKEY_CTRL_GET_RSA_PSS_SALTLEN (EVP_PKEY_ALG_CTRL + 7)
rsa.h: # define EVP_PKEY_CTRL_GET_RSA_MGF1_MD (EVP_PKEY_ALG_CTRL + 8)
rsa.h: # define EVP_PKEY_CTRL_RSA_OAEP_MD (EVP_PKEY_ALG_CTRL + 9)
rsa.h: # define EVP_PKEY_CTRL_RSA_OAEP_LABEL (EVP_PKEY_ALG_CTRL + 10)
rsa.h: # define EVP_PKEY_CTRL_GET_RSA_OAEP_MD (EVP_PKEY_ALG_CTRL + 11)
rsa.h: # define EVP_PKEY_CTRL_GET_RSA_OAEP_LABEL (EVP_PKEY_ALG_CTRL + 12)
rsa.h: # define EVP_PKEY_CTRL_RSA_KEYGEN_PRIMES (EVP_PKEY_ALG_CTRL + 13)
rsa.h: # define RSA_PKCS1_PADDING 1
rsa.h: # define RSA_SSLV23_PADDING 2
rsa.h: # define RSA_NO_PADDING 3
rsa.h: # define RSA_PKCS1_OAEP_PADDING 4
rsa.h: # define RSA_X931_PADDING 5
rsa.h: # define RSA_PKCS1_PSS_PADDING 6
rsa.h: # define RSA_PKCS1_PADDING_SIZE 11
rsa.h: # define RSA_set_app_data(s,arg) RSA_set_ex_data(s,0,arg)
rsa.h: # define RSA_get_app_data(s) RSA_get_ex_data(s,0)
rsa.h: RSA *RSA_new(void);
rsa.h: RSA *RSA_new_method(ENGINE *engine);
rsa.h: int RSA_bits(const RSA *rsa);
rsa.h: int RSA_size(const RSA *rsa);
rsa.h: int RSA_security_bits(const RSA *rsa);
rsa.h: int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
rsa.h: int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
rsa.h: int RSA_set0_crt_params(RSA *r,BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
rsa.h: int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[],
rsa.h: void RSA_get0_key(const RSA *r,
rsa.h: void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
rsa.h: int RSA_get_multi_prime_extra_count(const RSA *r);
rsa.h: int RSA_get0_multi_prime_factors(const RSA *r, const BIGNUM *primes[]);
rsa.h: void RSA_get0_crt_params(const RSA *r,
rsa.h: int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
rsa.h: void RSA_clear_flags(RSA *r, int flags);
rsa.h: int RSA_test_flags(const RSA *r, int flags);
rsa.h: void RSA_set_flags(RSA *r, int flags);
rsa.h: int RSA_get_version(RSA *r);
rsa.h: ENGINE *RSA_get0_engine(const RSA *r);
rsa.h: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
rsa.h: (*callback) (int, int, void *),
rsa.h: int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
rsa.h: int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes,
rsa.h: int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1,
rsa.h: int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e,
rsa.h: int RSA_check_key(const RSA *);
rsa.h: int RSA_check_key_ex(const RSA *, BN_GENCB *cb);
rsa.h: int RSA_public_encrypt(int flen, const unsigned char *from,
rsa.h: int RSA_private_encrypt(int flen, const unsigned char *from,
rsa.h: int RSA_public_decrypt(int flen, const unsigned char *from,
rsa.h: int RSA_private_decrypt(int flen, const unsigned char *from,
rsa.h: void RSA_free(RSA *r);
rsa.h: int RSA_up_ref(RSA *r);
rsa.h: int RSA_flags(const RSA *r);
rsa.h: void RSA_set_default_method(const RSA_METHOD *meth);
rsa.h: const RSA_METHOD *RSA_get_default_method(void);
rsa.h: const RSA_METHOD *RSA_null_method(void);
rsa.h: const RSA_METHOD *RSA_get_method(const RSA *rsa);
rsa.h: int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
rsa.h: const RSA_METHOD *RSA_PKCS1_OpenSSL(void);
rsa.h: int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
rsa.h: DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
rsa.h: DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
rsa.h: typedef struct rsa_pss_params_st {
rsa.h: DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
rsa.h: typedef struct rsa_oaep_params_st {
rsa.h: DECLARE_ASN1_FUNCTIONS(RSA_OAEP_PARAMS)
rsa.h: int RSA_print_fp(FILE *fp, const RSA *r, int offset);
rsa.h: int RSA_print(BIO *bp, const RSA *r, int offset);
rsa.h: int RSA_sign(int type, const unsigned char *m, unsigned int m_length,
rsa.h: int RSA_verify(int type, const unsigned char *m, unsigned int m_length,
rsa.h: int RSA_sign_ASN1_OCTET_STRING(int type,
rsa.h: int RSA_verify_ASN1_OCTET_STRING(int type, const unsigned char *m,
rsa.h: int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
rsa.h: void RSA_blinding_off(RSA *rsa);
rsa.h: BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx);
rsa.h: int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen,
rsa.h: int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
rsa.h: int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen,
rsa.h: int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen,
rsa.h: int PKCS1_MGF1(unsigned char *mask, long len, const unsigned char *seed,
rsa.h: int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen,
rsa.h: int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
rsa.h: int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
rsa.h: int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
rsa.h: int RSA_padding_add_SSLv23(unsigned char *to, int tlen,
rsa.h: int RSA_padding_check_SSLv23(unsigned char *to, int tlen,
rsa.h: int RSA_padding_add_none(unsigned char *to, int tlen, const unsigned char *f,
rsa.h: int RSA_padding_check_none(unsigned char *to, int tlen,
rsa.h: int RSA_padding_add_X931(unsigned char *to, int tlen, const unsigned char *f,
rsa.h: int RSA_padding_check_X931(unsigned char *to, int tlen,
rsa.h: int RSA_X931_hash_id(int nid);
rsa.h: int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
rsa.h: int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
rsa.h: int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash,
rsa.h: int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
rsa.h: #define RSA_get_ex_new_index(l, p, newf, dupf, freef) \
rsa.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_RSA, l, p, newf, dupf, freef)
rsa.h: int RSA_set_ex_data(RSA *r, int idx, void *arg);
rsa.h: void *RSA_get_ex_data(const RSA *r, int idx);
rsa.h: RSA *RSAPublicKey_dup(RSA *rsa);
rsa.h: RSA *RSAPrivateKey_dup(RSA *rsa);
rsa.h: # define RSA_FLAG_FIPS_METHOD 0x0400
rsa.h: # define RSA_FLAG_NON_FIPS_ALLOW 0x0400
rsa.h: # define RSA_FLAG_CHECKED 0x0800
rsa.h: RSA_METHOD *RSA_meth_new(const char *name, int flags);
rsa.h: void RSA_meth_free(RSA_METHOD *meth);
rsa.h: RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
rsa.h: const char *RSA_meth_get0_name(const RSA_METHOD *meth);
rsa.h: int RSA_meth_set1_name(RSA_METHOD *meth, const char *name);
rsa.h: int RSA_meth_get_flags(RSA_METHOD *meth);
rsa.h: int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
rsa.h: void *RSA_meth_get0_app_data(const RSA_METHOD *meth);
rsa.h: int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data);
rsa.h: int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth))
rsa.h: (int flen, const unsigned char *from,
rsa.h: int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
rsa.h: int (*pub_enc) (int flen, const unsigned char *from,
rsa.h: int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth))
rsa.h: (int flen, const unsigned char *from,
rsa.h: int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
rsa.h: int (*pub_dec) (int flen, const unsigned char *from,
rsa.h: int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth))
rsa.h: (int flen, const unsigned char *from,
rsa.h: int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
rsa.h: int (*priv_enc) (int flen, const unsigned char *from,
rsa.h: int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth))
rsa.h: (int flen, const unsigned char *from,
rsa.h: int RSA_meth_set_priv_dec(RSA_METHOD *rsa,
rsa.h: int (*priv_dec) (int flen, const unsigned char *from,
rsa.h: int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth))
rsa.h: (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
rsa.h: int RSA_meth_set_mod_exp(RSA_METHOD *rsa,
rsa.h: int (*mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa,
rsa.h: int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))
rsa.h: (BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
rsa.h: int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
rsa.h: int (*bn_mod_exp) (BIGNUM *r,
rsa.h: int (*RSA_meth_get_init(const RSA_METHOD *meth)) (RSA *rsa);
rsa.h: int RSA_meth_set_init(RSA_METHOD *rsa, int (*init) (RSA *rsa));
rsa.h: int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa);
rsa.h: int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa));
rsa.h: int (*RSA_meth_get_sign(const RSA_METHOD *meth))
rsa.h: (int type,
rsa.h: int RSA_meth_set_sign(RSA_METHOD *rsa,
rsa.h: int (*sign) (int type, const unsigned char *m,
rsa.h: int (*RSA_meth_get_verify(const RSA_METHOD *meth))
rsa.h: (int dtype, const unsigned char *m,
rsa.h: int RSA_meth_set_verify(RSA_METHOD *rsa,
rsa.h: int (*verify) (int dtype, const unsigned char *m,
rsa.h: int (*RSA_meth_get_keygen(const RSA_METHOD *meth))
rsa.h: (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
rsa.h: int RSA_meth_set_keygen(RSA_METHOD *rsa,
rsa.h: int (*keygen) (RSA *rsa, int bits, BIGNUM *e,
rsa.h: int (*RSA_meth_get_multi_prime_keygen(const RSA_METHOD *meth))
rsa.h: (RSA *rsa, int bits, int primes, BIGNUM *e, BN_GENCB *cb);
rsa.h: int RSA_meth_set_multi_prime_keygen(RSA_METHOD *meth,
rsa.h: int (*keygen) (RSA *rsa, int bits,
safestack.h: * Licensed under the OpenSSL license (the "License"). You may not use
safestack.h: # define HEADER_SAFESTACK_H
safestack.h: # define STACK_OF(type) struct stack_st_##type
safestack.h: # define SKM_DEFINE_STACK_OF(t1, t2, t3) \
safestack.h: STACK_OF(t1); \
safestack.h: typedef int (*sk_##t1##_compfunc)(const t3 * const *a, const t3 *const *b); \
safestack.h: typedef void (*sk_##t1##_freefunc)(t3 *a); \
safestack.h: typedef t3 * (*sk_##t1##_copyfunc)(const t3 *a); \
safestack.h: static ossl_inline int sk_##t1##_num(const STACK_OF(t1) *sk) \
safestack.h: return OPENSSL_sk_num((const OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline t2 *sk_##t1##_value(const STACK_OF(t1) *sk, int idx) \
safestack.h: return (t2 *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); \
safestack.h: static ossl_inline STACK_OF(t1) *sk_##t1##_new(sk_##t1##_compfunc compare) \
safestack.h: return (STACK_OF(t1) *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); \
safestack.h: static ossl_inline STACK_OF(t1) *sk_##t1##_new_null(void) \
safestack.h: return (STACK_OF(t1) *)OPENSSL_sk_new_null(); \
safestack.h: static ossl_inline STACK_OF(t1) *sk_##t1##_new_reserve(sk_##t1##_compfunc compare, int n) \
safestack.h: return (STACK_OF(t1) *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); \
safestack.h: static ossl_inline int sk_##t1##_reserve(STACK_OF(t1) *sk, int n) \
safestack.h: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); \
safestack.h: static ossl_inline void sk_##t1##_free(STACK_OF(t1) *sk) \
safestack.h: OPENSSL_sk_free((OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline void sk_##t1##_zero(STACK_OF(t1) *sk) \
safestack.h: OPENSSL_sk_zero((OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline t2 *sk_##t1##_delete(STACK_OF(t1) *sk, int i) \
safestack.h: return (t2 *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); \
safestack.h: static ossl_inline t2 *sk_##t1##_delete_ptr(STACK_OF(t1) *sk, t2 *ptr) \
safestack.h: return (t2 *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, \
safestack.h: (const void *)ptr); \
safestack.h: static ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \
safestack.h: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); \
safestack.h: static ossl_inline int sk_##t1##_unshift(STACK_OF(t1) *sk, t2 *ptr) \
safestack.h: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); \
safestack.h: static ossl_inline t2 *sk_##t1##_pop(STACK_OF(t1) *sk) \
safestack.h: return (t2 *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline t2 *sk_##t1##_shift(STACK_OF(t1) *sk) \
safestack.h: return (t2 *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline void sk_##t1##_pop_free(STACK_OF(t1) *sk, sk_##t1##_freefunc freefunc) \
safestack.h: OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); \
safestack.h: static ossl_inline int sk_##t1##_insert(STACK_OF(t1) *sk, t2 *ptr, int idx) \
safestack.h: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); \
safestack.h: static ossl_inline t2 *sk_##t1##_set(STACK_OF(t1) *sk, int idx, t2 *ptr) \
safestack.h: return (t2 *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); \
safestack.h: static ossl_inline int sk_##t1##_find(STACK_OF(t1) *sk, t2 *ptr) \
safestack.h: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); \
safestack.h: static ossl_inline int sk_##t1##_find_ex(STACK_OF(t1) *sk, t2 *ptr) \
safestack.h: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); \
safestack.h: static ossl_inline void sk_##t1##_sort(STACK_OF(t1) *sk) \
safestack.h: OPENSSL_sk_sort((OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline int sk_##t1##_is_sorted(const STACK_OF(t1) *sk) \
safestack.h: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline STACK_OF(t1) * sk_##t1##_dup(const STACK_OF(t1) *sk) \
safestack.h: return (STACK_OF(t1) *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); \
safestack.h: static ossl_inline STACK_OF(t1) *sk_##t1##_deep_copy(const STACK_OF(t1) *sk, \
safestack.h: return (STACK_OF(t1) *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, \
safestack.h: (OPENSSL_sk_copyfunc)copyfunc, \
safestack.h: (OPENSSL_sk_freefunc)freefunc); \
safestack.h: static ossl_inline sk_##t1##_compfunc sk_##t1##_set_cmp_func(STACK_OF(t1) *sk, sk_##t1##_compfunc compare) \
safestack.h: return (sk_##t1##_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); \
safestack.h: # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
safestack.h: # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
safestack.h: # define DEFINE_SPECIAL_STACK_OF_CONST(t1, t2) \
safestack.h: SKM_DEFINE_STACK_OF(t1, const t2, t2)
safestack.h: # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
safestack.h: * (somewhat) mutable object. In the case of strings:
safestack.h: * Confusingly, LHASH_OF(STRING) deals with char ** throughout, but
safestack.h: * STACK_OF(STRING) is really more like STACK_OF(char), only, as mentioned
safestack.h: DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
safestack.h: DEFINE_SPECIAL_STACK_OF_CONST(OPENSSL_CSTRING, char)
safestack.h: DEFINE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
seed.h: * Licensed under the OpenSSL license (the "License"). You may not use
seed.h: * Copyright (c) 2007 KISA(Korea Information Security Agency). All rights reserved.
seed.h: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
seed.h: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
seed.h: # define HEADER_SEED_H
seed.h: # define SEED_LONG 1
seed.h: # define SEED_BLOCK_SIZE 16
seed.h: # define SEED_KEY_LENGTH 16
seed.h: typedef struct seed_key_st {
seed.h: void SEED_set_key(const unsigned char rawkey[SEED_KEY_LENGTH],
seed.h: void SEED_encrypt(const unsigned char s[SEED_BLOCK_SIZE],
seed.h: void SEED_decrypt(const unsigned char s[SEED_BLOCK_SIZE],
seed.h: void SEED_ecb_encrypt(const unsigned char *in, unsigned char *out,
seed.h: void SEED_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t len,
seed.h: void SEED_cfb128_encrypt(const unsigned char *in, unsigned char *out,
seed.h: void SEED_ofb128_encrypt(const unsigned char *in, unsigned char *out,
sha.h: * Licensed under the OpenSSL license (the "License"). You may not use
sha.h: # define HEADER_SHA_H
sha.h: # define SHA_LONG unsigned int
sha.h: # define SHA_LBLOCK 16
sha.h: # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a
sha.h: # define SHA_LAST_BLOCK (SHA_CBLOCK-8)
sha.h: # define SHA_DIGEST_LENGTH 20
sha.h: typedef struct SHAstate_st {
sha.h: int SHA1_Init(SHA_CTX *c);
sha.h: int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
sha.h: int SHA1_Final(unsigned char *md, SHA_CTX *c);
sha.h: unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
sha.h: void SHA1_Transform(SHA_CTX *c, const unsigned char *data);
sha.h: # define SHA256_CBLOCK (SHA_LBLOCK*4)/* SHA-256 treats input data as a
sha.h: typedef struct SHA256state_st {
sha.h: int SHA224_Init(SHA256_CTX *c);
sha.h: int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
sha.h: int SHA224_Final(unsigned char *md, SHA256_CTX *c);
sha.h: unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md);
sha.h: int SHA256_Init(SHA256_CTX *c);
sha.h: int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
sha.h: int SHA256_Final(unsigned char *md, SHA256_CTX *c);
sha.h: unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md);
sha.h: void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
sha.h: # define SHA224_DIGEST_LENGTH 28
sha.h: # define SHA256_DIGEST_LENGTH 32
sha.h: # define SHA384_DIGEST_LENGTH 48
sha.h: # define SHA512_DIGEST_LENGTH 64
sha.h: # define SHA512_CBLOCK (SHA_LBLOCK*8)
sha.h: # if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__)
sha.h: # define SHA_LONG64 unsigned __int64
sha.h: # define U64(C) C##UI64
sha.h: # elif defined(__arch64__)
sha.h: # define SHA_LONG64 unsigned long
sha.h: # define U64(C) C##UL
sha.h: # define SHA_LONG64 unsigned long long
sha.h: # define U64(C) C##ULL
sha.h: typedef struct SHA512state_st {
sha.h: int SHA384_Init(SHA512_CTX *c);
sha.h: int SHA384_Update(SHA512_CTX *c, const void *data, size_t len);
sha.h: int SHA384_Final(unsigned char *md, SHA512_CTX *c);
sha.h: unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md);
sha.h: int SHA512_Init(SHA512_CTX *c);
sha.h: int SHA512_Update(SHA512_CTX *c, const void *data, size_t len);
sha.h: int SHA512_Final(unsigned char *md, SHA512_CTX *c);
sha.h: unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md);
sha.h: void SHA512_Transform(SHA512_CTX *c, const unsigned char *data);
srp.h: * Licensed under the OpenSSL license (the "License"). You may not use
srp.h: # define HEADER_SRP_H
srp.h: typedef struct SRP_gN_cache_st {
srp.h: DEFINE_STACK_OF(SRP_gN_cache)
srp.h: typedef struct SRP_user_pwd_st {
srp.h: void SRP_user_pwd_free(SRP_user_pwd *user_pwd);
srp.h: DEFINE_STACK_OF(SRP_user_pwd)
srp.h: typedef struct SRP_VBASE_st {
srp.h: STACK_OF(SRP_user_pwd) *users_pwd;
srp.h: STACK_OF(SRP_gN_cache) *gN_cache;
srp.h: typedef struct SRP_gN_st {
srp.h: DEFINE_STACK_OF(SRP_gN)
srp.h: SRP_VBASE *SRP_VBASE_new(char *seed_key);
srp.h: void SRP_VBASE_free(SRP_VBASE *vb);
srp.h: int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file);
srp.h: DEPRECATEDIN_1_1_0(SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username))
srp.h: SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username);
srp.h: char *SRP_create_verifier(const char *user, const char *pass, char **salt,
srp.h: int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt,
srp.h: # define SRP_NO_ERROR 0
srp.h: # define SRP_ERR_VBASE_INCOMPLETE_FILE 1
srp.h: # define SRP_ERR_VBASE_BN_LIB 2
srp.h: # define SRP_ERR_OPEN_FILE 3
srp.h: # define SRP_ERR_MEMORY 4
srp.h: # define DB_srptype 0
srp.h: # define DB_srpverifier 1
srp.h: # define DB_srpsalt 2
srp.h: # define DB_srpid 3
srp.h: # define DB_srpgN 4
srp.h: # define DB_srpinfo 5
srp.h: # define DB_NUMBER 6
srp.h: # define DB_SRP_INDEX 'I'
srp.h: # define DB_SRP_VALID 'V'
srp.h: # define DB_SRP_REVOKED 'R'
srp.h: # define DB_SRP_MODIF 'v'
srp.h: char *SRP_check_known_gN_param(const BIGNUM *g, const BIGNUM *N);
srp.h: SRP_gN *SRP_get_default_gN(const char *id);
srp.h: BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u,
srp.h: BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g,
srp.h: int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N);
srp.h: BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N);
srp.h: BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass);
srp.h: BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g);
srp.h: BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g,
srp.h: int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N);
srp.h: # define SRP_MINIMAL_N 1024
srtp.h: * Licensed under the OpenSSL license (the "License"). You may not use
srtp.h: * Copyright (C) 2006, Network Resonance, Inc. Copyright (C) 2011, RTFM, Inc.
srtp.h: # define HEADER_D1_SRTP_H
srtp.h: # define SRTP_AES128_CM_SHA1_80 0x0001
srtp.h: # define SRTP_AES128_CM_SHA1_32 0x0002
srtp.h: # define SRTP_AES128_F8_SHA1_80 0x0003
srtp.h: # define SRTP_AES128_F8_SHA1_32 0x0004
srtp.h: # define SRTP_NULL_SHA1_80 0x0005
srtp.h: # define SRTP_NULL_SHA1_32 0x0006
srtp.h: # define SRTP_AEAD_AES_128_GCM 0x0007
srtp.h: # define SRTP_AEAD_AES_256_GCM 0x0008
srtp.h: __owur int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles);
srtp.h: __owur int SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles);
srtp.h: __owur STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl);
srtp.h: __owur SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
ssl2.h: * Licensed under the OpenSSL license (the "License"). You may not use
ssl2.h: # define HEADER_SSL2_H
ssl2.h: # define SSL2_VERSION 0x0002
ssl2.h: # define SSL2_MT_CLIENT_HELLO 1
ssl3.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
ssl3.h: * Licensed under the OpenSSL license (the "License"). You may not use
ssl3.h: # define HEADER_SSL3_H
ssl3.h: * (TLS_EMPTY_RENEGOTIATION_INFO_SCSV)
ssl3.h: # define SSL3_CK_SCSV 0x030000FF
ssl3.h: * (TLS_FALLBACK_SCSV)
ssl3.h: # define SSL3_CK_FALLBACK_SCSV 0x03005600
ssl3.h: # define SSL3_CK_RSA_NULL_MD5 0x03000001
ssl3.h: # define SSL3_CK_RSA_NULL_SHA 0x03000002
ssl3.h: # define SSL3_CK_RSA_RC4_40_MD5 0x03000003
ssl3.h: # define SSL3_CK_RSA_RC4_128_MD5 0x03000004
ssl3.h: # define SSL3_CK_RSA_RC4_128_SHA 0x03000005
ssl3.h: # define SSL3_CK_RSA_RC2_40_MD5 0x03000006
ssl3.h: # define SSL3_CK_RSA_IDEA_128_SHA 0x03000007
ssl3.h: # define SSL3_CK_RSA_DES_40_CBC_SHA 0x03000008
ssl3.h: # define SSL3_CK_RSA_DES_64_CBC_SHA 0x03000009
ssl3.h: # define SSL3_CK_RSA_DES_192_CBC3_SHA 0x0300000A
ssl3.h: # define SSL3_CK_DH_DSS_DES_40_CBC_SHA 0x0300000B
ssl3.h: # define SSL3_CK_DH_DSS_DES_64_CBC_SHA 0x0300000C
ssl3.h: # define SSL3_CK_DH_DSS_DES_192_CBC3_SHA 0x0300000D
ssl3.h: # define SSL3_CK_DH_RSA_DES_40_CBC_SHA 0x0300000E
ssl3.h: # define SSL3_CK_DH_RSA_DES_64_CBC_SHA 0x0300000F
ssl3.h: # define SSL3_CK_DH_RSA_DES_192_CBC3_SHA 0x03000010
ssl3.h: # define SSL3_CK_DHE_DSS_DES_40_CBC_SHA 0x03000011
ssl3.h: # define SSL3_CK_EDH_DSS_DES_40_CBC_SHA SSL3_CK_DHE_DSS_DES_40_CBC_SHA
ssl3.h: # define SSL3_CK_DHE_DSS_DES_64_CBC_SHA 0x03000012
ssl3.h: # define SSL3_CK_EDH_DSS_DES_64_CBC_SHA SSL3_CK_DHE_DSS_DES_64_CBC_SHA
ssl3.h: # define SSL3_CK_DHE_DSS_DES_192_CBC3_SHA 0x03000013
ssl3.h: # define SSL3_CK_EDH_DSS_DES_192_CBC3_SHA SSL3_CK_DHE_DSS_DES_192_CBC3_SHA
ssl3.h: # define SSL3_CK_DHE_RSA_DES_40_CBC_SHA 0x03000014
ssl3.h: # define SSL3_CK_EDH_RSA_DES_40_CBC_SHA SSL3_CK_DHE_RSA_DES_40_CBC_SHA
ssl3.h: # define SSL3_CK_DHE_RSA_DES_64_CBC_SHA 0x03000015
ssl3.h: # define SSL3_CK_EDH_RSA_DES_64_CBC_SHA SSL3_CK_DHE_RSA_DES_64_CBC_SHA
ssl3.h: # define SSL3_CK_DHE_RSA_DES_192_CBC3_SHA 0x03000016
ssl3.h: # define SSL3_CK_EDH_RSA_DES_192_CBC3_SHA SSL3_CK_DHE_RSA_DES_192_CBC3_SHA
ssl3.h: # define SSL3_CK_ADH_RC4_40_MD5 0x03000017
ssl3.h: # define SSL3_CK_ADH_RC4_128_MD5 0x03000018
ssl3.h: # define SSL3_CK_ADH_DES_40_CBC_SHA 0x03000019
ssl3.h: # define SSL3_CK_ADH_DES_64_CBC_SHA 0x0300001A
ssl3.h: # define SSL3_CK_ADH_DES_192_CBC_SHA 0x0300001B
ssl3.h: # define SSL3_RFC_RSA_NULL_MD5 "TLS_RSA_WITH_NULL_MD5"
ssl3.h: # define SSL3_RFC_RSA_NULL_SHA "TLS_RSA_WITH_NULL_SHA"
ssl3.h: # define SSL3_RFC_RSA_DES_192_CBC3_SHA "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
ssl3.h: # define SSL3_RFC_DHE_DSS_DES_192_CBC3_SHA "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
ssl3.h: # define SSL3_RFC_DHE_RSA_DES_192_CBC3_SHA "TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA"
ssl3.h: # define SSL3_RFC_ADH_DES_192_CBC_SHA "TLS_DH_anon_WITH_3DES_EDE_CBC_SHA"
ssl3.h: # define SSL3_RFC_RSA_IDEA_128_SHA "TLS_RSA_WITH_IDEA_CBC_SHA"
ssl3.h: # define SSL3_RFC_RSA_RC4_128_MD5 "TLS_RSA_WITH_RC4_128_MD5"
ssl3.h: # define SSL3_RFC_RSA_RC4_128_SHA "TLS_RSA_WITH_RC4_128_SHA"
ssl3.h: # define SSL3_RFC_ADH_RC4_128_MD5 "TLS_DH_anon_WITH_RC4_128_MD5"
ssl3.h: # define SSL3_TXT_RSA_NULL_MD5 "NULL-MD5"
ssl3.h: # define SSL3_TXT_RSA_NULL_SHA "NULL-SHA"
ssl3.h: # define SSL3_TXT_RSA_RC4_40_MD5 "EXP-RC4-MD5"
ssl3.h: # define SSL3_TXT_RSA_RC4_128_MD5 "RC4-MD5"
ssl3.h: # define SSL3_TXT_RSA_RC4_128_SHA "RC4-SHA"
ssl3.h: # define SSL3_TXT_RSA_RC2_40_MD5 "EXP-RC2-CBC-MD5"
ssl3.h: # define SSL3_TXT_RSA_IDEA_128_SHA "IDEA-CBC-SHA"
ssl3.h: # define SSL3_TXT_RSA_DES_40_CBC_SHA "EXP-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_RSA_DES_64_CBC_SHA "DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_RSA_DES_192_CBC3_SHA "DES-CBC3-SHA"
ssl3.h: # define SSL3_TXT_DH_DSS_DES_40_CBC_SHA "EXP-DH-DSS-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DH_DSS_DES_64_CBC_SHA "DH-DSS-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DH_DSS_DES_192_CBC3_SHA "DH-DSS-DES-CBC3-SHA"
ssl3.h: # define SSL3_TXT_DH_RSA_DES_40_CBC_SHA "EXP-DH-RSA-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DH_RSA_DES_64_CBC_SHA "DH-RSA-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DH_RSA_DES_192_CBC3_SHA "DH-RSA-DES-CBC3-SHA"
ssl3.h: # define SSL3_TXT_DHE_DSS_DES_40_CBC_SHA "EXP-DHE-DSS-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DHE_DSS_DES_64_CBC_SHA "DHE-DSS-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DHE_DSS_DES_192_CBC3_SHA "DHE-DSS-DES-CBC3-SHA"
ssl3.h: # define SSL3_TXT_DHE_RSA_DES_40_CBC_SHA "EXP-DHE-RSA-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DHE_RSA_DES_64_CBC_SHA "DHE-RSA-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_DHE_RSA_DES_192_CBC3_SHA "DHE-RSA-DES-CBC3-SHA"
ssl3.h: # define SSL3_TXT_EDH_DSS_DES_40_CBC_SHA "EXP-EDH-DSS-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_EDH_DSS_DES_64_CBC_SHA "EDH-DSS-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_EDH_DSS_DES_192_CBC3_SHA "EDH-DSS-DES-CBC3-SHA"
ssl3.h: # define SSL3_TXT_EDH_RSA_DES_40_CBC_SHA "EXP-EDH-RSA-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_EDH_RSA_DES_64_CBC_SHA "EDH-RSA-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_EDH_RSA_DES_192_CBC3_SHA "EDH-RSA-DES-CBC3-SHA"
ssl3.h: # define SSL3_TXT_ADH_RC4_40_MD5 "EXP-ADH-RC4-MD5"
ssl3.h: # define SSL3_TXT_ADH_RC4_128_MD5 "ADH-RC4-MD5"
ssl3.h: # define SSL3_TXT_ADH_DES_40_CBC_SHA "EXP-ADH-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_ADH_DES_64_CBC_SHA "ADH-DES-CBC-SHA"
ssl3.h: # define SSL3_TXT_ADH_DES_192_CBC_SHA "ADH-DES-CBC3-SHA"
ssl3.h: # define SSL3_SSL_SESSION_ID_LENGTH 32
ssl3.h: # define SSL3_MAX_SSL_SESSION_ID_LENGTH 32
ssl3.h: # define SSL3_MASTER_SECRET_SIZE 48
ssl3.h: # define SSL3_RANDOM_SIZE 32
ssl3.h: # define SSL3_SESSION_ID_SIZE 32
ssl3.h: # define SSL3_RT_HEADER_LENGTH 5
ssl3.h: # define SSL3_HM_HEADER_LENGTH 4
ssl3.h: # define SSL3_ALIGN_PAYLOAD 8
ssl3.h: # if (SSL3_ALIGN_PAYLOAD&(SSL3_ALIGN_PAYLOAD-1))!=0
ssl3.h: * This is the maximum MAC (digest) size used by the SSL library. Currently
ssl3.h: # define SSL3_RT_MAX_MD_SIZE 64
ssl3.h: # define SSL_RT_MAX_CIPHER_BLOCK_SIZE 16
ssl3.h: # define SSL3_RT_MAX_EXTRA (16384)
ssl3.h: # define SSL3_RT_MAX_PLAIN_LENGTH 16384
ssl3.h: # define SSL3_RT_MAX_COMPRESSED_OVERHEAD 1024
ssl3.h: * of padding bytes (256) plus the mac size.
ssl3.h: # define SSL3_RT_MAX_ENCRYPTED_OVERHEAD (256 + SSL3_RT_MAX_MD_SIZE)
ssl3.h: # define SSL3_RT_MAX_TLS13_ENCRYPTED_OVERHEAD 256
ssl3.h: # define SSL3_RT_SEND_MAX_ENCRYPTED_OVERHEAD \
ssl3.h: (SSL_RT_MAX_CIPHER_BLOCK_SIZE + SSL3_RT_MAX_MD_SIZE)
ssl3.h: # define SSL3_RT_MAX_COMPRESSED_LENGTH SSL3_RT_MAX_PLAIN_LENGTH
ssl3.h: # define SSL3_RT_MAX_COMPRESSED_LENGTH \
ssl3.h: (SSL3_RT_MAX_PLAIN_LENGTH+SSL3_RT_MAX_COMPRESSED_OVERHEAD)
ssl3.h: # define SSL3_RT_MAX_ENCRYPTED_LENGTH \
ssl3.h: (SSL3_RT_MAX_ENCRYPTED_OVERHEAD+SSL3_RT_MAX_COMPRESSED_LENGTH)
ssl3.h: # define SSL3_RT_MAX_TLS13_ENCRYPTED_LENGTH \
ssl3.h: (SSL3_RT_MAX_PLAIN_LENGTH + SSL3_RT_MAX_TLS13_ENCRYPTED_OVERHEAD)
ssl3.h: # define SSL3_RT_MAX_PACKET_SIZE \
ssl3.h: (SSL3_RT_MAX_ENCRYPTED_LENGTH+SSL3_RT_HEADER_LENGTH)
ssl3.h: # define SSL3_MD_CLIENT_FINISHED_CONST "\x43\x4C\x4E\x54"
ssl3.h: # define SSL3_MD_SERVER_FINISHED_CONST "\x53\x52\x56\x52"
ssl3.h: # define SSL3_VERSION 0x0300
ssl3.h: # define SSL3_VERSION_MAJOR 0x03
ssl3.h: # define SSL3_VERSION_MINOR 0x00
ssl3.h: # define SSL3_RT_CHANGE_CIPHER_SPEC 20
ssl3.h: # define SSL3_RT_ALERT 21
ssl3.h: # define SSL3_RT_HANDSHAKE 22
ssl3.h: # define SSL3_RT_APPLICATION_DATA 23
ssl3.h: # define DTLS1_RT_HEARTBEAT 24
ssl3.h: # define TLS1_RT_CRYPTO 0x1000
ssl3.h: # define TLS1_RT_CRYPTO_PREMASTER (TLS1_RT_CRYPTO | 0x1)
ssl3.h: # define TLS1_RT_CRYPTO_CLIENT_RANDOM (TLS1_RT_CRYPTO | 0x2)
ssl3.h: # define TLS1_RT_CRYPTO_SERVER_RANDOM (TLS1_RT_CRYPTO | 0x3)
ssl3.h: # define TLS1_RT_CRYPTO_MASTER (TLS1_RT_CRYPTO | 0x4)
ssl3.h: # define TLS1_RT_CRYPTO_READ 0x0000
ssl3.h: # define TLS1_RT_CRYPTO_WRITE 0x0100
ssl3.h: # define TLS1_RT_CRYPTO_MAC (TLS1_RT_CRYPTO | 0x5)
ssl3.h: # define TLS1_RT_CRYPTO_KEY (TLS1_RT_CRYPTO | 0x6)
ssl3.h: # define TLS1_RT_CRYPTO_IV (TLS1_RT_CRYPTO | 0x7)
ssl3.h: # define TLS1_RT_CRYPTO_FIXED_IV (TLS1_RT_CRYPTO | 0x8)
ssl3.h: # define SSL3_RT_HEADER 0x100
ssl3.h: # define SSL3_RT_INNER_CONTENT_TYPE 0x101
ssl3.h: # define SSL3_AL_WARNING 1
ssl3.h: # define SSL3_AL_FATAL 2
ssl3.h: # define SSL3_AD_CLOSE_NOTIFY 0
ssl3.h: # define SSL3_AD_UNEXPECTED_MESSAGE 10/* fatal */
ssl3.h: # define SSL3_AD_BAD_RECORD_MAC 20/* fatal */
ssl3.h: # define SSL3_AD_DECOMPRESSION_FAILURE 30/* fatal */
ssl3.h: # define SSL3_AD_HANDSHAKE_FAILURE 40/* fatal */
ssl3.h: # define SSL3_AD_NO_CERTIFICATE 41
ssl3.h: # define SSL3_AD_BAD_CERTIFICATE 42
ssl3.h: # define SSL3_AD_UNSUPPORTED_CERTIFICATE 43
ssl3.h: # define SSL3_AD_CERTIFICATE_REVOKED 44
ssl3.h: # define SSL3_AD_CERTIFICATE_EXPIRED 45
ssl3.h: # define SSL3_AD_CERTIFICATE_UNKNOWN 46
ssl3.h: # define SSL3_AD_ILLEGAL_PARAMETER 47/* fatal */
ssl3.h: # define TLS1_HB_REQUEST 1
ssl3.h: # define TLS1_HB_RESPONSE 2
ssl3.h: # define SSL3_CT_RSA_SIGN 1
ssl3.h: # define SSL3_CT_DSS_SIGN 2
ssl3.h: # define SSL3_CT_RSA_FIXED_DH 3
ssl3.h: # define SSL3_CT_DSS_FIXED_DH 4
ssl3.h: # define SSL3_CT_RSA_EPHEMERAL_DH 5
ssl3.h: # define SSL3_CT_DSS_EPHEMERAL_DH 6
ssl3.h: # define SSL3_CT_FORTEZZA_DMS 20
ssl3.h: # define SSL3_CT_NUMBER 9
ssl3.h: # define SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS 0x0001
ssl3.h: # define TLS1_FLAGS_TLS_PADDING_BUG 0x0
ssl3.h: # define TLS1_FLAGS_SKIP_CERT_VERIFY 0x0010
ssl3.h: # define TLS1_FLAGS_ENCRYPT_THEN_MAC_READ 0x0100
ssl3.h: # define TLS1_FLAGS_ENCRYPT_THEN_MAC TLS1_FLAGS_ENCRYPT_THEN_MAC_READ
ssl3.h: # define TLS1_FLAGS_RECEIVED_EXTMS 0x0200
ssl3.h: # define TLS1_FLAGS_ENCRYPT_THEN_MAC_WRITE 0x0400
ssl3.h: # define TLS1_FLAGS_STATELESS 0x0800
ssl3.h: # define SSL3_MT_HELLO_REQUEST 0
ssl3.h: # define SSL3_MT_CLIENT_HELLO 1
ssl3.h: # define SSL3_MT_SERVER_HELLO 2
ssl3.h: # define SSL3_MT_NEWSESSION_TICKET 4
ssl3.h: # define SSL3_MT_END_OF_EARLY_DATA 5
ssl3.h: # define SSL3_MT_ENCRYPTED_EXTENSIONS 8
ssl3.h: # define SSL3_MT_CERTIFICATE 11
ssl3.h: # define SSL3_MT_SERVER_KEY_EXCHANGE 12
ssl3.h: # define SSL3_MT_CERTIFICATE_REQUEST 13
ssl3.h: # define SSL3_MT_SERVER_DONE 14
ssl3.h: # define SSL3_MT_CERTIFICATE_VERIFY 15
ssl3.h: # define SSL3_MT_CLIENT_KEY_EXCHANGE 16
ssl3.h: # define SSL3_MT_FINISHED 20
ssl3.h: # define SSL3_MT_CERTIFICATE_STATUS 22
ssl3.h: # define SSL3_MT_KEY_UPDATE 24
ssl3.h: # define SSL3_MT_NEXT_PROTO 67
ssl3.h: # define SSL3_MT_MESSAGE_HASH 254
ssl3.h: # define DTLS1_MT_HELLO_VERIFY_REQUEST 3
ssl3.h: # define SSL3_MT_CHANGE_CIPHER_SPEC 0x0101
ssl3.h: # define SSL3_MT_CCS 1
ssl3.h: # define SSL3_CC_READ 0x001
ssl3.h: # define SSL3_CC_WRITE 0x002
ssl3.h: # define SSL3_CC_CLIENT 0x010
ssl3.h: # define SSL3_CC_SERVER 0x020
ssl3.h: # define SSL3_CC_EARLY 0x040
ssl3.h: # define SSL3_CC_HANDSHAKE 0x080
ssl3.h: # define SSL3_CC_APPLICATION 0x100
ssl3.h: # define SSL3_CHANGE_CIPHER_CLIENT_WRITE (SSL3_CC_CLIENT|SSL3_CC_WRITE)
ssl3.h: # define SSL3_CHANGE_CIPHER_SERVER_READ (SSL3_CC_SERVER|SSL3_CC_READ)
ssl3.h: # define SSL3_CHANGE_CIPHER_CLIENT_READ (SSL3_CC_CLIENT|SSL3_CC_READ)
ssl3.h: # define SSL3_CHANGE_CIPHER_SERVER_WRITE (SSL3_CC_SERVER|SSL3_CC_WRITE)
sslerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
sslerr.h: # define HEADER_SSLERR_H
sslerr.h: int ERR_load_SSL_strings(void);
sslerr.h: # define SSL_F_ADD_CLIENT_KEY_SHARE_EXT 438
sslerr.h: # define SSL_F_ADD_KEY_SHARE 512
sslerr.h: # define SSL_F_BYTES_TO_CIPHER_LIST 519
sslerr.h: # define SSL_F_CHECK_SUITEB_CIPHER_LIST 331
sslerr.h: # define SSL_F_CONSTRUCT_CA_NAMES 552
sslerr.h: # define SSL_F_CONSTRUCT_KEY_EXCHANGE_TBS 553
sslerr.h: # define SSL_F_CREATE_SYNTHETIC_MESSAGE_HASH 539
sslerr.h: # define SSL_F_CT_MOVE_SCTS 345
sslerr.h: # define SSL_F_CT_STRICT 349
sslerr.h: # define SSL_F_CUSTOM_EXT_ADD 554
sslerr.h: # define SSL_F_CUSTOM_EXT_PARSE 555
sslerr.h: # define SSL_F_D2I_SSL_SESSION 103
sslerr.h: # define SSL_F_DANE_CTX_ENABLE 347
sslerr.h: # define SSL_F_DANE_MTYPE_SET 393
sslerr.h: # define SSL_F_DANE_TLSA_ADD 394
sslerr.h: # define SSL_F_DERIVE_SECRET_KEY_AND_IV 514
sslerr.h: # define SSL_F_DO_DTLS1_WRITE 245
sslerr.h: # define SSL_F_DO_SSL3_WRITE 104
sslerr.h: # define SSL_F_DTLS1_BUFFER_RECORD 247
sslerr.h: # define SSL_F_DTLS1_CHECK_TIMEOUT_NUM 318
sslerr.h: # define SSL_F_DTLS1_HEARTBEAT 305
sslerr.h: # define SSL_F_DTLS1_PREPROCESS_FRAGMENT 288
sslerr.h: # define SSL_F_DTLS1_PROCESS_BUFFERED_RECORDS 424
sslerr.h: # define SSL_F_DTLS1_PROCESS_RECORD 257
sslerr.h: # define SSL_F_DTLS1_READ_BYTES 258
sslerr.h: # define SSL_F_DTLS1_READ_FAILED 339
sslerr.h: # define SSL_F_DTLS1_RETRANSMIT_MESSAGE 390
sslerr.h: # define SSL_F_DTLS1_WRITE_APP_DATA_BYTES 268
sslerr.h: # define SSL_F_DTLS1_WRITE_BYTES 545
sslerr.h: # define SSL_F_DTLSV1_LISTEN 350
sslerr.h: # define SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC 371
sslerr.h: # define SSL_F_DTLS_CONSTRUCT_HELLO_VERIFY_REQUEST 385
sslerr.h: # define SSL_F_DTLS_GET_REASSEMBLED_MESSAGE 370
sslerr.h: # define SSL_F_DTLS_PROCESS_HELLO_VERIFY 386
sslerr.h: # define SSL_F_DTLS_WAIT_FOR_DRY 592
sslerr.h: # define SSL_F_EARLY_DATA_COUNT_OK 532
sslerr.h: # define SSL_F_FINAL_EARLY_DATA 556
sslerr.h: # define SSL_F_FINAL_EC_PT_FORMATS 485
sslerr.h: # define SSL_F_FINAL_EMS 486
sslerr.h: # define SSL_F_FINAL_KEY_SHARE 503
sslerr.h: # define SSL_F_FINAL_MAXFRAGMENTLEN 557
sslerr.h: # define SSL_F_FINAL_RENEGOTIATE 483
sslerr.h: # define SSL_F_FINAL_SERVER_NAME 558
sslerr.h: # define SSL_F_FINAL_SIG_ALGS 497
sslerr.h: # define SSL_F_GET_CERT_VERIFY_TBS_DATA 588
sslerr.h: # define SSL_F_NSS_KEYLOG_INT 500
sslerr.h: # define SSL_F_OPENSSL_INIT_SSL 342
sslerr.h: # define SSL_F_OSSL_STATEM_CLIENT13_READ_TRANSITION 436
sslerr.h: # define SSL_F_OSSL_STATEM_CLIENT13_WRITE_TRANSITION 598
sslerr.h: # define SSL_F_OSSL_STATEM_CLIENT_CONSTRUCT_MESSAGE 430
sslerr.h: # define SSL_F_OSSL_STATEM_CLIENT_POST_PROCESS_MESSAGE 593
sslerr.h: # define SSL_F_OSSL_STATEM_CLIENT_PROCESS_MESSAGE 594
sslerr.h: # define SSL_F_OSSL_STATEM_CLIENT_READ_TRANSITION 417
sslerr.h: # define SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION 599
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER13_READ_TRANSITION 437
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER13_WRITE_TRANSITION 600
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
sslerr.h: # define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
sslerr.h: # define SSL_F_PARSE_CA_NAMES 541
sslerr.h: # define SSL_F_PROCESS_KEY_SHARE_EXT 439
sslerr.h: # define SSL_F_READ_STATE_MACHINE 352
sslerr.h: # define SSL_F_SET_CLIENT_CIPHERSUITE 540
sslerr.h: # define SSL_F_SRP_GENERATE_CLIENT_MASTER_SECRET 595
sslerr.h: # define SSL_F_SRP_GENERATE_SERVER_MASTER_SECRET 589
sslerr.h: # define SSL_F_SRP_VERIFY_SERVER_PARAM 596
sslerr.h: # define SSL_F_SSL3_CHANGE_CIPHER_STATE 129
sslerr.h: # define SSL_F_SSL3_CHECK_CERT_AND_ALGORITHM 130
sslerr.h: # define SSL_F_SSL3_CTRL 213
sslerr.h: # define SSL_F_SSL3_CTX_CTRL 133
sslerr.h: # define SSL_F_SSL3_DIGEST_CACHED_RECORDS 293
sslerr.h: # define SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC 292
sslerr.h: # define SSL_F_SSL3_ENC 608
sslerr.h: # define SSL_F_SSL3_FINAL_FINISH_MAC 285
sslerr.h: # define SSL_F_SSL3_FINISH_MAC 587
sslerr.h: # define SSL_F_SSL3_GENERATE_KEY_BLOCK 238
sslerr.h: # define SSL_F_SSL3_GENERATE_MASTER_SECRET 388
sslerr.h: # define SSL_F_SSL3_GET_RECORD 143
sslerr.h: # define SSL_F_SSL3_INIT_FINISHED_MAC 397
sslerr.h: # define SSL_F_SSL3_OUTPUT_CERT_CHAIN 147
sslerr.h: # define SSL_F_SSL3_READ_BYTES 148
sslerr.h: # define SSL_F_SSL3_READ_N 149
sslerr.h: # define SSL_F_SSL3_SETUP_KEY_BLOCK 157
sslerr.h: # define SSL_F_SSL3_SETUP_READ_BUFFER 156
sslerr.h: # define SSL_F_SSL3_SETUP_WRITE_BUFFER 291
sslerr.h: # define SSL_F_SSL3_WRITE_BYTES 158
sslerr.h: # define SSL_F_SSL3_WRITE_PENDING 159
sslerr.h: # define SSL_F_SSL_ADD_CERT_CHAIN 316
sslerr.h: # define SSL_F_SSL_ADD_CERT_TO_BUF 319
sslerr.h: # define SSL_F_SSL_ADD_CERT_TO_WPACKET 493
sslerr.h: # define SSL_F_SSL_ADD_CLIENTHELLO_RENEGOTIATE_EXT 298
sslerr.h: # define SSL_F_SSL_ADD_CLIENTHELLO_TLSEXT 277
sslerr.h: # define SSL_F_SSL_ADD_CLIENTHELLO_USE_SRTP_EXT 307
sslerr.h: # define SSL_F_SSL_ADD_DIR_CERT_SUBJECTS_TO_STACK 215
sslerr.h: # define SSL_F_SSL_ADD_FILE_CERT_SUBJECTS_TO_STACK 216
sslerr.h: # define SSL_F_SSL_ADD_SERVERHELLO_RENEGOTIATE_EXT 299
sslerr.h: # define SSL_F_SSL_ADD_SERVERHELLO_TLSEXT 278
sslerr.h: # define SSL_F_SSL_ADD_SERVERHELLO_USE_SRTP_EXT 308
sslerr.h: # define SSL_F_SSL_BAD_METHOD 160
sslerr.h: # define SSL_F_SSL_BUILD_CERT_CHAIN 332
sslerr.h: # define SSL_F_SSL_BYTES_TO_CIPHER_LIST 161
sslerr.h: # define SSL_F_SSL_CACHE_CIPHERLIST 520
sslerr.h: # define SSL_F_SSL_CERT_ADD0_CHAIN_CERT 346
sslerr.h: # define SSL_F_SSL_CERT_DUP 221
sslerr.h: # define SSL_F_SSL_CERT_NEW 162
sslerr.h: # define SSL_F_SSL_CERT_SET0_CHAIN 340
sslerr.h: # define SSL_F_SSL_CHECK_PRIVATE_KEY 163
sslerr.h: # define SSL_F_SSL_CHECK_SERVERHELLO_TLSEXT 280
sslerr.h: # define SSL_F_SSL_CHECK_SRP_EXT_CLIENTHELLO 606
sslerr.h: # define SSL_F_SSL_CHECK_SRVR_ECC_CERT_AND_ALG 279
sslerr.h: # define SSL_F_SSL_CHOOSE_CLIENT_VERSION 607
sslerr.h: # define SSL_F_SSL_CIPHER_LIST_TO_BYTES 425
sslerr.h: # define SSL_F_SSL_CIPHER_PROCESS_RULESTR 230
sslerr.h: # define SSL_F_SSL_CIPHER_STRENGTH_SORT 231
sslerr.h: # define SSL_F_SSL_CLEAR 164
sslerr.h: # define SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD 165
sslerr.h: # define SSL_F_SSL_CONF_CMD 334
sslerr.h: # define SSL_F_SSL_CREATE_CIPHER_LIST 166
sslerr.h: # define SSL_F_SSL_CTRL 232
sslerr.h: # define SSL_F_SSL_CTX_CHECK_PRIVATE_KEY 168
sslerr.h: # define SSL_F_SSL_CTX_ENABLE_CT 398
sslerr.h: # define SSL_F_SSL_CTX_MAKE_PROFILES 309
sslerr.h: # define SSL_F_SSL_CTX_NEW 169
sslerr.h: # define SSL_F_SSL_CTX_SET_ALPN_PROTOS 343
sslerr.h: # define SSL_F_SSL_CTX_SET_CIPHER_LIST 269
sslerr.h: # define SSL_F_SSL_CTX_SET_CLIENT_CERT_ENGINE 290
sslerr.h: # define SSL_F_SSL_CTX_SET_CT_VALIDATION_CALLBACK 396
sslerr.h: # define SSL_F_SSL_CTX_SET_SESSION_ID_CONTEXT 219
sslerr.h: # define SSL_F_SSL_CTX_SET_SSL_VERSION 170
sslerr.h: # define SSL_F_SSL_CTX_SET_TLSEXT_MAX_FRAGMENT_LENGTH 551
sslerr.h: # define SSL_F_SSL_CTX_USE_CERTIFICATE 171
sslerr.h: # define SSL_F_SSL_CTX_USE_CERTIFICATE_ASN1 172
sslerr.h: # define SSL_F_SSL_CTX_USE_CERTIFICATE_FILE 173
sslerr.h: # define SSL_F_SSL_CTX_USE_PRIVATEKEY 174
sslerr.h: # define SSL_F_SSL_CTX_USE_PRIVATEKEY_ASN1 175
sslerr.h: # define SSL_F_SSL_CTX_USE_PRIVATEKEY_FILE 176
sslerr.h: # define SSL_F_SSL_CTX_USE_PSK_IDENTITY_HINT 272
sslerr.h: # define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY 177
sslerr.h: # define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_ASN1 178
sslerr.h: # define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE 179
sslerr.h: # define SSL_F_SSL_CTX_USE_SERVERINFO 336
sslerr.h: # define SSL_F_SSL_CTX_USE_SERVERINFO_EX 543
sslerr.h: # define SSL_F_SSL_CTX_USE_SERVERINFO_FILE 337
sslerr.h: # define SSL_F_SSL_DANE_DUP 403
sslerr.h: # define SSL_F_SSL_DANE_ENABLE 395
sslerr.h: # define SSL_F_SSL_DERIVE 590
sslerr.h: # define SSL_F_SSL_DO_CONFIG 391
sslerr.h: # define SSL_F_SSL_DO_HANDSHAKE 180
sslerr.h: # define SSL_F_SSL_DUP_CA_LIST 408
sslerr.h: # define SSL_F_SSL_ENABLE_CT 402
sslerr.h: # define SSL_F_SSL_GENERATE_PKEY_GROUP 559
sslerr.h: # define SSL_F_SSL_GENERATE_SESSION_ID 547
sslerr.h: # define SSL_F_SSL_GET_NEW_SESSION 181
sslerr.h: # define SSL_F_SSL_GET_PREV_SESSION 217
sslerr.h: # define SSL_F_SSL_GET_SERVER_CERT_INDEX 322
sslerr.h: # define SSL_F_SSL_GET_SIGN_PKEY 183
sslerr.h: # define SSL_F_SSL_HANDSHAKE_HASH 560
sslerr.h: # define SSL_F_SSL_INIT_WBIO_BUFFER 184
sslerr.h: # define SSL_F_SSL_KEY_UPDATE 515
sslerr.h: # define SSL_F_SSL_LOAD_CLIENT_CA_FILE 185
sslerr.h: # define SSL_F_SSL_LOG_MASTER_SECRET 498
sslerr.h: # define SSL_F_SSL_LOG_RSA_CLIENT_KEY_EXCHANGE 499
sslerr.h: # define SSL_F_SSL_MODULE_INIT 392
sslerr.h: # define SSL_F_SSL_NEW 186
sslerr.h: # define SSL_F_SSL_NEXT_PROTO_VALIDATE 565
sslerr.h: # define SSL_F_SSL_PARSE_CLIENTHELLO_RENEGOTIATE_EXT 300
sslerr.h: # define SSL_F_SSL_PARSE_CLIENTHELLO_TLSEXT 302
sslerr.h: # define SSL_F_SSL_PARSE_CLIENTHELLO_USE_SRTP_EXT 310
sslerr.h: # define SSL_F_SSL_PARSE_SERVERHELLO_RENEGOTIATE_EXT 301
sslerr.h: # define SSL_F_SSL_PARSE_SERVERHELLO_TLSEXT 303
sslerr.h: # define SSL_F_SSL_PARSE_SERVERHELLO_USE_SRTP_EXT 311
sslerr.h: # define SSL_F_SSL_PEEK 270
sslerr.h: # define SSL_F_SSL_PEEK_EX 432
sslerr.h: # define SSL_F_SSL_PEEK_INTERNAL 522
sslerr.h: # define SSL_F_SSL_READ 223
sslerr.h: # define SSL_F_SSL_READ_EARLY_DATA 529
sslerr.h: # define SSL_F_SSL_READ_EX 434
sslerr.h: # define SSL_F_SSL_READ_INTERNAL 523
sslerr.h: # define SSL_F_SSL_RENEGOTIATE 516
sslerr.h: # define SSL_F_SSL_RENEGOTIATE_ABBREVIATED 546
sslerr.h: # define SSL_F_SSL_SCAN_CLIENTHELLO_TLSEXT 320
sslerr.h: # define SSL_F_SSL_SCAN_SERVERHELLO_TLSEXT 321
sslerr.h: # define SSL_F_SSL_SESSION_DUP 348
sslerr.h: # define SSL_F_SSL_SESSION_NEW 189
sslerr.h: # define SSL_F_SSL_SESSION_PRINT_FP 190
sslerr.h: # define SSL_F_SSL_SESSION_SET1_ID 423
sslerr.h: # define SSL_F_SSL_SESSION_SET1_ID_CONTEXT 312
sslerr.h: # define SSL_F_SSL_SET_ALPN_PROTOS 344
sslerr.h: # define SSL_F_SSL_SET_CERT 191
sslerr.h: # define SSL_F_SSL_SET_CIPHER_LIST 271
sslerr.h: # define SSL_F_SSL_SET_CT_VALIDATION_CALLBACK 399
sslerr.h: # define SSL_F_SSL_SET_FD 192
sslerr.h: # define SSL_F_SSL_SET_PKEY 193
sslerr.h: # define SSL_F_SSL_SET_RFD 194
sslerr.h: # define SSL_F_SSL_SET_SESSION 195
sslerr.h: # define SSL_F_SSL_SET_SESSION_ID_CONTEXT 218
sslerr.h: # define SSL_F_SSL_SET_SESSION_TICKET_EXT 294
sslerr.h: # define SSL_F_SSL_SET_TLSEXT_MAX_FRAGMENT_LENGTH 550
sslerr.h: # define SSL_F_SSL_SET_WFD 196
sslerr.h: # define SSL_F_SSL_SHUTDOWN 224
sslerr.h: # define SSL_F_SSL_SRP_CTX_INIT 313
sslerr.h: # define SSL_F_SSL_START_ASYNC_JOB 389
sslerr.h: # define SSL_F_SSL_UNDEFINED_FUNCTION 197
sslerr.h: # define SSL_F_SSL_UNDEFINED_VOID_FUNCTION 244
sslerr.h: # define SSL_F_SSL_USE_CERTIFICATE 198
sslerr.h: # define SSL_F_SSL_USE_CERTIFICATE_ASN1 199
sslerr.h: # define SSL_F_SSL_USE_CERTIFICATE_FILE 200
sslerr.h: # define SSL_F_SSL_USE_PRIVATEKEY 201
sslerr.h: # define SSL_F_SSL_USE_PRIVATEKEY_ASN1 202
sslerr.h: # define SSL_F_SSL_USE_PRIVATEKEY_FILE 203
sslerr.h: # define SSL_F_SSL_USE_PSK_IDENTITY_HINT 273
sslerr.h: # define SSL_F_SSL_USE_RSAPRIVATEKEY 204
sslerr.h: # define SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1 205
sslerr.h: # define SSL_F_SSL_USE_RSAPRIVATEKEY_FILE 206
sslerr.h: # define SSL_F_SSL_VALIDATE_CT 400
sslerr.h: # define SSL_F_SSL_VERIFY_CERT_CHAIN 207
sslerr.h: # define SSL_F_SSL_VERIFY_CLIENT_POST_HANDSHAKE 616
sslerr.h: # define SSL_F_SSL_WRITE 208
sslerr.h: # define SSL_F_SSL_WRITE_EARLY_DATA 526
sslerr.h: # define SSL_F_SSL_WRITE_EARLY_FINISH 527
sslerr.h: # define SSL_F_SSL_WRITE_EX 433
sslerr.h: # define SSL_F_SSL_WRITE_INTERNAL 524
sslerr.h: # define SSL_F_STATE_MACHINE 353
sslerr.h: # define SSL_F_TLS12_CHECK_PEER_SIGALG 333
sslerr.h: # define SSL_F_TLS12_COPY_SIGALGS 533
sslerr.h: # define SSL_F_TLS13_CHANGE_CIPHER_STATE 440
sslerr.h: # define SSL_F_TLS13_ENC 609
sslerr.h: # define SSL_F_TLS13_FINAL_FINISH_MAC 605
sslerr.h: # define SSL_F_TLS13_GENERATE_SECRET 591
sslerr.h: # define SSL_F_TLS13_HKDF_EXPAND 561
sslerr.h: # define SSL_F_TLS13_RESTORE_HANDSHAKE_DIGEST_FOR_PHA 617
sslerr.h: # define SSL_F_TLS13_SAVE_HANDSHAKE_DIGEST_FOR_PHA 618
sslerr.h: # define SSL_F_TLS13_SETUP_KEY_BLOCK 441
sslerr.h: # define SSL_F_TLS1_CHANGE_CIPHER_STATE 209
sslerr.h: # define SSL_F_TLS1_CHECK_DUPLICATE_EXTENSIONS 341
sslerr.h: # define SSL_F_TLS1_ENC 401
sslerr.h: # define SSL_F_TLS1_EXPORT_KEYING_MATERIAL 314
sslerr.h: # define SSL_F_TLS1_GET_CURVELIST 338
sslerr.h: # define SSL_F_TLS1_PRF 284
sslerr.h: # define SSL_F_TLS1_SETUP_KEY_BLOCK 211
sslerr.h: # define SSL_F_TLS1_SET_SERVER_SIGALGS 335
sslerr.h: # define SSL_F_TLS_CHOOSE_SIGALG 513
sslerr.h: # define SSL_F_TLS_CLIENT_KEY_EXCHANGE_POST_WORK 354
sslerr.h: # define SSL_F_TLS_COLLECT_EXTENSIONS 435
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CERTIFICATE_AUTHORITIES 542
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CERTIFICATE_REQUEST 372
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CERT_STATUS 429
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CERT_STATUS_BODY 494
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CERT_VERIFY 496
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CHANGE_CIPHER_SPEC 427
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CKE_DHE 404
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CKE_ECDHE 405
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CKE_GOST 406
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CKE_PSK_PREAMBLE 407
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CKE_RSA 409
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CKE_SRP 410
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CLIENT_CERTIFICATE 484
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CLIENT_HELLO 487
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CLIENT_KEY_EXCHANGE 488
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CLIENT_VERIFY 489
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_ALPN 466
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_CERTIFICATE 355
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_COOKIE 535
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA 530
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS 467
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_EMS 468
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_ETM 469
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_HELLO 356
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_KEY_EXCHANGE 357
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_KEY_SHARE 470
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_MAXFRAGMENTLEN 549
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_NPN 471
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_PADDING 472
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_POST_HANDSHAKE_AUTH 619
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_PSK 501
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES 509
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_RENEGOTIATE 473
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_SCT 474
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_SERVER_NAME 475
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_SESSION_TICKET 476
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_SIG_ALGS 477
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_SRP 478
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST 479
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_SUPPORTED_GROUPS 480
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_SUPPORTED_VERSIONS 481
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_USE_SRTP 482
sslerr.h: # define SSL_F_TLS_CONSTRUCT_CTOS_VERIFY 358
sslerr.h: # define SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS 443
sslerr.h: # define SSL_F_TLS_CONSTRUCT_END_OF_EARLY_DATA 536
sslerr.h: # define SSL_F_TLS_CONSTRUCT_EXTENSIONS 447
sslerr.h: # define SSL_F_TLS_CONSTRUCT_FINISHED 359
sslerr.h: # define SSL_F_TLS_CONSTRUCT_HELLO_REQUEST 373
sslerr.h: # define SSL_F_TLS_CONSTRUCT_HELLO_RETRY_REQUEST 510
sslerr.h: # define SSL_F_TLS_CONSTRUCT_KEY_UPDATE 517
sslerr.h: # define SSL_F_TLS_CONSTRUCT_NEW_SESSION_TICKET 428
sslerr.h: # define SSL_F_TLS_CONSTRUCT_NEXT_PROTO 426
sslerr.h: # define SSL_F_TLS_CONSTRUCT_SERVER_CERTIFICATE 490
sslerr.h: # define SSL_F_TLS_CONSTRUCT_SERVER_HELLO 491
sslerr.h: # define SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE 492
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_ALPN 451
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_CERTIFICATE 374
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_COOKIE 613
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_CRYPTOPRO_BUG 452
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_DONE 375
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_EARLY_DATA 531
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_EARLY_DATA_INFO 525
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_EC_PT_FORMATS 453
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_EMS 454
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_ETM 455
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_HELLO 376
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_KEY_EXCHANGE 377
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_KEY_SHARE 456
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_MAXFRAGMENTLEN 548
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG 457
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_PSK 504
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_RENEGOTIATE 458
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_SERVER_NAME 459
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET 460
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_STATUS_REQUEST 461
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS 544
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_VERSIONS 611
sslerr.h: # define SSL_F_TLS_CONSTRUCT_STOC_USE_SRTP 462
sslerr.h: # define SSL_F_TLS_EARLY_POST_PROCESS_CLIENT_HELLO 521
sslerr.h: # define SSL_F_TLS_FINISH_HANDSHAKE 597
sslerr.h: # define SSL_F_TLS_GET_MESSAGE_BODY 351
sslerr.h: # define SSL_F_TLS_GET_MESSAGE_HEADER 387
sslerr.h: # define SSL_F_TLS_HANDLE_ALPN 562
sslerr.h: # define SSL_F_TLS_HANDLE_STATUS_REQUEST 563
sslerr.h: # define SSL_F_TLS_PARSE_CERTIFICATE_AUTHORITIES 566
sslerr.h: # define SSL_F_TLS_PARSE_CLIENTHELLO_TLSEXT 449
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_ALPN 567
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_COOKIE 614
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_EARLY_DATA 568
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_EC_PT_FORMATS 569
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_EMS 570
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_KEY_SHARE 463
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_MAXFRAGMENTLEN 571
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_POST_HANDSHAKE_AUTH 620
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_PSK 505
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES 572
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_RENEGOTIATE 464
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_SERVER_NAME 573
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_SESSION_TICKET 574
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_SIG_ALGS 575
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_SIG_ALGS_CERT 615
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_SRP 576
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_STATUS_REQUEST 577
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS 578
sslerr.h: # define SSL_F_TLS_PARSE_CTOS_USE_SRTP 465
sslerr.h: # define SSL_F_TLS_PARSE_STOC_ALPN 579
sslerr.h: # define SSL_F_TLS_PARSE_STOC_COOKIE 534
sslerr.h: # define SSL_F_TLS_PARSE_STOC_EARLY_DATA 538
sslerr.h: # define SSL_F_TLS_PARSE_STOC_EARLY_DATA_INFO 528
sslerr.h: # define SSL_F_TLS_PARSE_STOC_EC_PT_FORMATS 580
sslerr.h: # define SSL_F_TLS_PARSE_STOC_KEY_SHARE 445
sslerr.h: # define SSL_F_TLS_PARSE_STOC_MAXFRAGMENTLEN 581
sslerr.h: # define SSL_F_TLS_PARSE_STOC_NPN 582
sslerr.h: # define SSL_F_TLS_PARSE_STOC_PSK 502
sslerr.h: # define SSL_F_TLS_PARSE_STOC_RENEGOTIATE 448
sslerr.h: # define SSL_F_TLS_PARSE_STOC_SCT 564
sslerr.h: # define SSL_F_TLS_PARSE_STOC_SERVER_NAME 583
sslerr.h: # define SSL_F_TLS_PARSE_STOC_SESSION_TICKET 584
sslerr.h: # define SSL_F_TLS_PARSE_STOC_STATUS_REQUEST 585
sslerr.h: # define SSL_F_TLS_PARSE_STOC_SUPPORTED_VERSIONS 612
sslerr.h: # define SSL_F_TLS_PARSE_STOC_USE_SRTP 446
sslerr.h: # define SSL_F_TLS_POST_PROCESS_CLIENT_HELLO 378
sslerr.h: # define SSL_F_TLS_POST_PROCESS_CLIENT_KEY_EXCHANGE 384
sslerr.h: # define SSL_F_TLS_PREPARE_CLIENT_CERTIFICATE 360
sslerr.h: # define SSL_F_TLS_PROCESS_AS_HELLO_RETRY_REQUEST 610
sslerr.h: # define SSL_F_TLS_PROCESS_CERTIFICATE_REQUEST 361
sslerr.h: # define SSL_F_TLS_PROCESS_CERT_STATUS 362
sslerr.h: # define SSL_F_TLS_PROCESS_CERT_STATUS_BODY 495
sslerr.h: # define SSL_F_TLS_PROCESS_CERT_VERIFY 379
sslerr.h: # define SSL_F_TLS_PROCESS_CHANGE_CIPHER_SPEC 363
sslerr.h: # define SSL_F_TLS_PROCESS_CKE_DHE 411
sslerr.h: # define SSL_F_TLS_PROCESS_CKE_ECDHE 412
sslerr.h: # define SSL_F_TLS_PROCESS_CKE_GOST 413
sslerr.h: # define SSL_F_TLS_PROCESS_CKE_PSK_PREAMBLE 414
sslerr.h: # define SSL_F_TLS_PROCESS_CKE_RSA 415
sslerr.h: # define SSL_F_TLS_PROCESS_CKE_SRP 416
sslerr.h: # define SSL_F_TLS_PROCESS_CLIENT_CERTIFICATE 380
sslerr.h: # define SSL_F_TLS_PROCESS_CLIENT_HELLO 381
sslerr.h: # define SSL_F_TLS_PROCESS_CLIENT_KEY_EXCHANGE 382
sslerr.h: # define SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS 444
sslerr.h: # define SSL_F_TLS_PROCESS_END_OF_EARLY_DATA 537
sslerr.h: # define SSL_F_TLS_PROCESS_FINISHED 364
sslerr.h: # define SSL_F_TLS_PROCESS_HELLO_REQ 507
sslerr.h: # define SSL_F_TLS_PROCESS_HELLO_RETRY_REQUEST 511
sslerr.h: # define SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT 442
sslerr.h: # define SSL_F_TLS_PROCESS_KEY_EXCHANGE 365
sslerr.h: # define SSL_F_TLS_PROCESS_KEY_UPDATE 518
sslerr.h: # define SSL_F_TLS_PROCESS_NEW_SESSION_TICKET 366
sslerr.h: # define SSL_F_TLS_PROCESS_NEXT_PROTO 383
sslerr.h: # define SSL_F_TLS_PROCESS_SERVER_CERTIFICATE 367
sslerr.h: # define SSL_F_TLS_PROCESS_SERVER_DONE 368
sslerr.h: # define SSL_F_TLS_PROCESS_SERVER_HELLO 369
sslerr.h: # define SSL_F_TLS_PROCESS_SKE_DHE 419
sslerr.h: # define SSL_F_TLS_PROCESS_SKE_ECDHE 420
sslerr.h: # define SSL_F_TLS_PROCESS_SKE_PSK_PREAMBLE 421
sslerr.h: # define SSL_F_TLS_PROCESS_SKE_SRP 422
sslerr.h: # define SSL_F_TLS_PSK_DO_BINDER 506
sslerr.h: # define SSL_F_TLS_SCAN_CLIENTHELLO_TLSEXT 450
sslerr.h: # define SSL_F_TLS_SETUP_HANDSHAKE 508
sslerr.h: # define SSL_F_USE_CERTIFICATE_CHAIN_FILE 220
sslerr.h: # define SSL_F_WRITE_STATE_MACHINE 586
sslerr.h: # define SSL_R_APP_DATA_IN_HANDSHAKE 100
sslerr.h: # define SSL_R_ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT 272
sslerr.h: # define SSL_R_AT_LEAST_TLS_1_0_NEEDED_IN_FIPS_MODE 143
sslerr.h: # define SSL_R_AT_LEAST_TLS_1_2_NEEDED_IN_SUITEB_MODE 158
sslerr.h: # define SSL_R_BAD_CHANGE_CIPHER_SPEC 103
sslerr.h: # define SSL_R_BAD_CIPHER 186
sslerr.h: # define SSL_R_BAD_DATA 390
sslerr.h: # define SSL_R_BAD_DATA_RETURNED_BY_CALLBACK 106
sslerr.h: # define SSL_R_BAD_DECOMPRESSION 107
sslerr.h: # define SSL_R_BAD_DH_VALUE 102
sslerr.h: # define SSL_R_BAD_DIGEST_LENGTH 111
sslerr.h: # define SSL_R_BAD_EARLY_DATA 233
sslerr.h: # define SSL_R_BAD_ECC_CERT 304
sslerr.h: # define SSL_R_BAD_ECPOINT 306
sslerr.h: # define SSL_R_BAD_EXTENSION 110
sslerr.h: # define SSL_R_BAD_HANDSHAKE_LENGTH 332
sslerr.h: # define SSL_R_BAD_HANDSHAKE_STATE 236
sslerr.h: # define SSL_R_BAD_HELLO_REQUEST 105
sslerr.h: # define SSL_R_BAD_HRR_VERSION 263
sslerr.h: # define SSL_R_BAD_KEY_SHARE 108
sslerr.h: # define SSL_R_BAD_KEY_UPDATE 122
sslerr.h: # define SSL_R_BAD_LENGTH 271
sslerr.h: # define SSL_R_BAD_PACKET 240
sslerr.h: # define SSL_R_BAD_PACKET_LENGTH 115
sslerr.h: # define SSL_R_BAD_PROTOCOL_VERSION_NUMBER 116
sslerr.h: # define SSL_R_BAD_PSK 219
sslerr.h: # define SSL_R_BAD_PSK_IDENTITY 114
sslerr.h: # define SSL_R_BAD_RECORD_TYPE 443
sslerr.h: # define SSL_R_BAD_RSA_ENCRYPT 119
sslerr.h: # define SSL_R_BAD_SIGNATURE 123
sslerr.h: # define SSL_R_BAD_SRP_A_LENGTH 347
sslerr.h: # define SSL_R_BAD_SRP_PARAMETERS 371
sslerr.h: # define SSL_R_BAD_SRTP_MKI_VALUE 352
sslerr.h: # define SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST 353
sslerr.h: # define SSL_R_BAD_SSL_FILETYPE 124
sslerr.h: # define SSL_R_BAD_VALUE 384
sslerr.h: # define SSL_R_BAD_WRITE_RETRY 127
sslerr.h: # define SSL_R_BINDER_DOES_NOT_VERIFY 253
sslerr.h: # define SSL_R_BIO_NOT_SET 128
sslerr.h: # define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG 129
sslerr.h: # define SSL_R_BN_LIB 130
sslerr.h: # define SSL_R_CALLBACK_FAILED 234
sslerr.h: # define SSL_R_CANNOT_CHANGE_CIPHER 109
sslerr.h: # define SSL_R_CA_DN_LENGTH_MISMATCH 131
sslerr.h: # define SSL_R_CA_KEY_TOO_SMALL 397
sslerr.h: # define SSL_R_CA_MD_TOO_WEAK 398
sslerr.h: # define SSL_R_CCS_RECEIVED_EARLY 133
sslerr.h: # define SSL_R_CERTIFICATE_VERIFY_FAILED 134
sslerr.h: # define SSL_R_CERT_CB_ERROR 377
sslerr.h: # define SSL_R_CERT_LENGTH_MISMATCH 135
sslerr.h: # define SSL_R_CIPHERSUITE_DIGEST_HAS_CHANGED 218
sslerr.h: # define SSL_R_CIPHER_CODE_WRONG_LENGTH 137
sslerr.h: # define SSL_R_CIPHER_OR_HASH_UNAVAILABLE 138
sslerr.h: # define SSL_R_CLIENTHELLO_TLSEXT 226
sslerr.h: # define SSL_R_COMPRESSED_LENGTH_TOO_LONG 140
sslerr.h: # define SSL_R_COMPRESSION_DISABLED 343
sslerr.h: # define SSL_R_COMPRESSION_FAILURE 141
sslerr.h: # define SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE 307
sslerr.h: # define SSL_R_COMPRESSION_LIBRARY_ERROR 142
sslerr.h: # define SSL_R_CONNECTION_TYPE_NOT_SET 144
sslerr.h: # define SSL_R_CONTEXT_NOT_DANE_ENABLED 167
sslerr.h: # define SSL_R_COOKIE_GEN_CALLBACK_FAILURE 400
sslerr.h: # define SSL_R_COOKIE_MISMATCH 308
sslerr.h: # define SSL_R_CUSTOM_EXT_HANDLER_ALREADY_INSTALLED 206
sslerr.h: # define SSL_R_DANE_ALREADY_ENABLED 172
sslerr.h: # define SSL_R_DANE_CANNOT_OVERRIDE_MTYPE_FULL 173
sslerr.h: # define SSL_R_DANE_NOT_ENABLED 175
sslerr.h: # define SSL_R_DANE_TLSA_BAD_CERTIFICATE 180
sslerr.h: # define SSL_R_DANE_TLSA_BAD_CERTIFICATE_USAGE 184
sslerr.h: # define SSL_R_DANE_TLSA_BAD_DATA_LENGTH 189
sslerr.h: # define SSL_R_DANE_TLSA_BAD_DIGEST_LENGTH 192
sslerr.h: # define SSL_R_DANE_TLSA_BAD_MATCHING_TYPE 200
sslerr.h: # define SSL_R_DANE_TLSA_BAD_PUBLIC_KEY 201
sslerr.h: # define SSL_R_DANE_TLSA_BAD_SELECTOR 202
sslerr.h: # define SSL_R_DANE_TLSA_NULL_DATA 203
sslerr.h: # define SSL_R_DATA_BETWEEN_CCS_AND_FINISHED 145
sslerr.h: # define SSL_R_DATA_LENGTH_TOO_LONG 146
sslerr.h: # define SSL_R_DECRYPTION_FAILED 147
sslerr.h: # define SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC 281
sslerr.h: # define SSL_R_DH_KEY_TOO_SMALL 394
sslerr.h: # define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG 148
sslerr.h: # define SSL_R_DIGEST_CHECK_FAILED 149
sslerr.h: # define SSL_R_DTLS_MESSAGE_TOO_BIG 334
sslerr.h: # define SSL_R_DUPLICATE_COMPRESSION_ID 309
sslerr.h: # define SSL_R_ECC_CERT_NOT_FOR_SIGNING 318
sslerr.h: # define SSL_R_ECDH_REQUIRED_FOR_SUITEB_MODE 374
sslerr.h: # define SSL_R_EE_KEY_TOO_SMALL 399
sslerr.h: # define SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST 354
sslerr.h: # define SSL_R_ENCRYPTED_LENGTH_TOO_LONG 150
sslerr.h: # define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST 151
sslerr.h: # define SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN 204
sslerr.h: # define SSL_R_EXCEEDS_MAX_FRAGMENT_SIZE 194
sslerr.h: # define SSL_R_EXCESSIVE_MESSAGE_SIZE 152
sslerr.h: # define SSL_R_EXTENSION_NOT_RECEIVED 279
sslerr.h: # define SSL_R_EXTRA_DATA_IN_MESSAGE 153
sslerr.h: # define SSL_R_EXT_LENGTH_MISMATCH 163
sslerr.h: # define SSL_R_FAILED_TO_INIT_ASYNC 405
sslerr.h: # define SSL_R_FRAGMENTED_CLIENT_HELLO 401
sslerr.h: # define SSL_R_GOT_A_FIN_BEFORE_A_CCS 154
sslerr.h: # define SSL_R_HTTPS_PROXY_REQUEST 155
sslerr.h: # define SSL_R_HTTP_REQUEST 156
sslerr.h: # define SSL_R_ILLEGAL_POINT_COMPRESSION 162
sslerr.h: # define SSL_R_ILLEGAL_SUITEB_DIGEST 380
sslerr.h: # define SSL_R_INAPPROPRIATE_FALLBACK 373
sslerr.h: # define SSL_R_INCONSISTENT_COMPRESSION 340
sslerr.h: # define SSL_R_INCONSISTENT_EARLY_DATA_ALPN 222
sslerr.h: # define SSL_R_INCONSISTENT_EARLY_DATA_SNI 231
sslerr.h: # define SSL_R_INCONSISTENT_EXTMS 104
sslerr.h: # define SSL_R_INSUFFICIENT_SECURITY 241
sslerr.h: # define SSL_R_INVALID_ALERT 205
sslerr.h: # define SSL_R_INVALID_CCS_MESSAGE 260
sslerr.h: # define SSL_R_INVALID_CERTIFICATE_OR_ALG 238
sslerr.h: # define SSL_R_INVALID_COMMAND 280
sslerr.h: # define SSL_R_INVALID_COMPRESSION_ALGORITHM 341
sslerr.h: # define SSL_R_INVALID_CONFIG 283
sslerr.h: # define SSL_R_INVALID_CONFIGURATION_NAME 113
sslerr.h: # define SSL_R_INVALID_CONTEXT 282
sslerr.h: # define SSL_R_INVALID_CT_VALIDATION_TYPE 212
sslerr.h: # define SSL_R_INVALID_KEY_UPDATE_TYPE 120
sslerr.h: # define SSL_R_INVALID_MAX_EARLY_DATA 174
sslerr.h: # define SSL_R_INVALID_NULL_CMD_NAME 385
sslerr.h: # define SSL_R_INVALID_SEQUENCE_NUMBER 402
sslerr.h: # define SSL_R_INVALID_SERVERINFO_DATA 388
sslerr.h: # define SSL_R_INVALID_SESSION_ID 999
sslerr.h: # define SSL_R_INVALID_SRP_USERNAME 357
sslerr.h: # define SSL_R_INVALID_STATUS_RESPONSE 328
sslerr.h: # define SSL_R_INVALID_TICKET_KEYS_LENGTH 325
sslerr.h: # define SSL_R_LENGTH_MISMATCH 159
sslerr.h: # define SSL_R_LENGTH_TOO_LONG 404
sslerr.h: # define SSL_R_LENGTH_TOO_SHORT 160
sslerr.h: # define SSL_R_LIBRARY_BUG 274
sslerr.h: # define SSL_R_LIBRARY_HAS_NO_CIPHERS 161
sslerr.h: # define SSL_R_MISSING_DSA_SIGNING_CERT 165
sslerr.h: # define SSL_R_MISSING_ECDSA_SIGNING_CERT 381
sslerr.h: # define SSL_R_MISSING_FATAL 256
sslerr.h: # define SSL_R_MISSING_RSA_CERTIFICATE 168
sslerr.h: # define SSL_R_MISSING_RSA_ENCRYPTING_CERT 169
sslerr.h: # define SSL_R_MISSING_RSA_SIGNING_CERT 170
sslerr.h: # define SSL_R_MISSING_SIGALGS_EXTENSION 112
sslerr.h: # define SSL_R_MISSING_SIGNING_CERT 221
sslerr.h: # define SSL_R_MISSING_SRP_PARAM 358
sslerr.h: # define SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION 209
sslerr.h: # define SSL_R_MISSING_TMP_DH_KEY 171
sslerr.h: # define SSL_R_MISSING_TMP_ECDH_KEY 311
sslerr.h: # define SSL_R_NOT_ON_RECORD_BOUNDARY 182
sslerr.h: # define SSL_R_NOT_SERVER 284
sslerr.h: # define SSL_R_NO_APPLICATION_PROTOCOL 235
sslerr.h: # define SSL_R_NO_CERTIFICATES_RETURNED 176
sslerr.h: # define SSL_R_NO_CERTIFICATE_ASSIGNED 177
sslerr.h: # define SSL_R_NO_CERTIFICATE_SET 179
sslerr.h: # define SSL_R_NO_CHANGE_FOLLOWING_HRR 214
sslerr.h: # define SSL_R_NO_CIPHERS_AVAILABLE 181
sslerr.h: # define SSL_R_NO_CIPHERS_SPECIFIED 183
sslerr.h: # define SSL_R_NO_CIPHER_MATCH 185
sslerr.h: # define SSL_R_NO_CLIENT_CERT_METHOD 331
sslerr.h: # define SSL_R_NO_COMPRESSION_SPECIFIED 187
sslerr.h: # define SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER 330
sslerr.h: # define SSL_R_NO_METHOD_SPECIFIED 188
sslerr.h: # define SSL_R_NO_PEM_EXTENSIONS 389
sslerr.h: # define SSL_R_NO_PRIVATE_KEY_ASSIGNED 190
sslerr.h: # define SSL_R_NO_PROTOCOLS_AVAILABLE 191
sslerr.h: # define SSL_R_NO_RENEGOTIATION 339
sslerr.h: # define SSL_R_NO_REQUIRED_DIGEST 324
sslerr.h: # define SSL_R_NO_SHARED_CIPHER 193
sslerr.h: # define SSL_R_NO_SHARED_GROUPS 410
sslerr.h: # define SSL_R_NO_SHARED_SIGNATURE_ALGORITHMS 376
sslerr.h: # define SSL_R_NO_SRTP_PROFILES 359
sslerr.h: # define SSL_R_NO_SUITABLE_KEY_SHARE 101
sslerr.h: # define SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM 118
sslerr.h: # define SSL_R_NO_VALID_SCTS 216
sslerr.h: # define SSL_R_NO_VERIFY_COOKIE_CALLBACK 403
sslerr.h: # define SSL_R_NULL_SSL_CTX 195
sslerr.h: # define SSL_R_NULL_SSL_METHOD_PASSED 196
sslerr.h: # define SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED 197
sslerr.h: # define SSL_R_OLD_SESSION_COMPRESSION_ALGORITHM_NOT_RETURNED 344
sslerr.h: # define SSL_R_OVERFLOW_ERROR 237
sslerr.h: # define SSL_R_PACKET_LENGTH_TOO_LONG 198
sslerr.h: # define SSL_R_PARSE_TLSEXT 227
sslerr.h: # define SSL_R_PATH_TOO_LONG 270
sslerr.h: # define SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE 199
sslerr.h: # define SSL_R_PEM_NAME_BAD_PREFIX 391
sslerr.h: # define SSL_R_PEM_NAME_TOO_SHORT 392
sslerr.h: # define SSL_R_PIPELINE_FAILURE 406
sslerr.h: # define SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR 278
sslerr.h: # define SSL_R_PROTOCOL_IS_SHUTDOWN 207
sslerr.h: # define SSL_R_PSK_IDENTITY_NOT_FOUND 223
sslerr.h: # define SSL_R_PSK_NO_CLIENT_CB 224
sslerr.h: # define SSL_R_PSK_NO_SERVER_CB 225
sslerr.h: # define SSL_R_READ_BIO_NOT_SET 211
sslerr.h: # define SSL_R_READ_TIMEOUT_EXPIRED 312
sslerr.h: # define SSL_R_RECORD_LENGTH_MISMATCH 213
sslerr.h: # define SSL_R_RECORD_TOO_SMALL 298
sslerr.h: # define SSL_R_RENEGOTIATE_EXT_TOO_LONG 335
sslerr.h: # define SSL_R_RENEGOTIATION_ENCODING_ERR 336
sslerr.h: # define SSL_R_RENEGOTIATION_MISMATCH 337
sslerr.h: # define SSL_R_REQUEST_PENDING 285
sslerr.h: # define SSL_R_REQUEST_SENT 286
sslerr.h: # define SSL_R_REQUIRED_CIPHER_MISSING 215
sslerr.h: # define SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING 342
sslerr.h: # define SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING 345
sslerr.h: # define SSL_R_SCT_VERIFICATION_FAILED 208
sslerr.h: # define SSL_R_SERVERHELLO_TLSEXT 275
sslerr.h: # define SSL_R_SESSION_ID_CONTEXT_UNINITIALIZED 277
sslerr.h: # define SSL_R_SHUTDOWN_WHILE_IN_INIT 407
sslerr.h: # define SSL_R_SIGNATURE_ALGORITHMS_ERROR 360
sslerr.h: # define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220
sslerr.h: # define SSL_R_SRP_A_CALC 361
sslerr.h: # define SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES 362
sslerr.h: # define SSL_R_SRTP_PROTECTION_PROFILE_LIST_TOO_LONG 363
sslerr.h: # define SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE 364
sslerr.h: # define SSL_R_SSL3_EXT_INVALID_MAX_FRAGMENT_LENGTH 232
sslerr.h: # define SSL_R_SSL3_EXT_INVALID_SERVERNAME 319
sslerr.h: # define SSL_R_SSL3_EXT_INVALID_SERVERNAME_TYPE 320
sslerr.h: # define SSL_R_SSL3_SESSION_ID_TOO_LONG 300
sslerr.h: # define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042
sslerr.h: # define SSL_R_SSLV3_ALERT_BAD_RECORD_MAC 1020
sslerr.h: # define SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED 1045
sslerr.h: # define SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED 1044
sslerr.h: # define SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN 1046
sslerr.h: # define SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE 1030
sslerr.h: # define SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE 1040
sslerr.h: # define SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER 1047
sslerr.h: # define SSL_R_SSLV3_ALERT_NO_CERTIFICATE 1041
sslerr.h: # define SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE 1010
sslerr.h: # define SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE 1043
sslerr.h: # define SSL_R_SSL_COMMAND_SECTION_EMPTY 117
sslerr.h: # define SSL_R_SSL_COMMAND_SECTION_NOT_FOUND 125
sslerr.h: # define SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION 228
sslerr.h: # define SSL_R_SSL_HANDSHAKE_FAILURE 229
sslerr.h: # define SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS 230
sslerr.h: # define SSL_R_SSL_NEGATIVE_LENGTH 372
sslerr.h: # define SSL_R_SSL_SECTION_EMPTY 126
sslerr.h: # define SSL_R_SSL_SECTION_NOT_FOUND 136
sslerr.h: # define SSL_R_SSL_SESSION_ID_CALLBACK_FAILED 301
sslerr.h: # define SSL_R_SSL_SESSION_ID_CONFLICT 302
sslerr.h: # define SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG 273
sslerr.h: # define SSL_R_SSL_SESSION_ID_HAS_BAD_LENGTH 303
sslerr.h: # define SSL_R_SSL_SESSION_ID_TOO_LONG 408
sslerr.h: # define SSL_R_SSL_SESSION_VERSION_MISMATCH 210
sslerr.h: # define SSL_R_STILL_IN_INIT 121
sslerr.h: # define SSL_R_TLSV1_ALERT_ACCESS_DENIED 1049
sslerr.h: # define SSL_R_TLSV1_ALERT_DECODE_ERROR 1050
sslerr.h: # define SSL_R_TLSV1_ALERT_DECRYPTION_FAILED 1021
sslerr.h: # define SSL_R_TLSV1_ALERT_DECRYPT_ERROR 1051
sslerr.h: # define SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION 1060
sslerr.h: # define SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK 1086
sslerr.h: # define SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY 1071
sslerr.h: # define SSL_R_TLSV1_ALERT_INTERNAL_ERROR 1080
sslerr.h: # define SSL_R_TLSV1_ALERT_NO_RENEGOTIATION 1100
sslerr.h: # define SSL_R_TLSV1_ALERT_PROTOCOL_VERSION 1070
sslerr.h: # define SSL_R_TLSV1_ALERT_RECORD_OVERFLOW 1022
sslerr.h: # define SSL_R_TLSV1_ALERT_UNKNOWN_CA 1048
sslerr.h: # define SSL_R_TLSV1_ALERT_USER_CANCELLED 1090
sslerr.h: # define SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE 1114
sslerr.h: # define SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE 1113
sslerr.h: # define SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE 1111
sslerr.h: # define SSL_R_TLSV1_UNRECOGNIZED_NAME 1112
sslerr.h: # define SSL_R_TLSV1_UNSUPPORTED_EXTENSION 1110
sslerr.h: # define SSL_R_TLS_HEARTBEAT_PEER_DOESNT_ACCEPT 365
sslerr.h: # define SSL_R_TLS_HEARTBEAT_PENDING 366
sslerr.h: # define SSL_R_TLS_ILLEGAL_EXPORTER_LABEL 367
sslerr.h: # define SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST 157
sslerr.h: # define SSL_R_TOO_MANY_KEY_UPDATES 132
sslerr.h: # define SSL_R_TOO_MANY_WARN_ALERTS 409
sslerr.h: # define SSL_R_TOO_MUCH_EARLY_DATA 164
sslerr.h: # define SSL_R_UNABLE_TO_FIND_ECDH_PARAMETERS 314
sslerr.h: # define SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS 239
sslerr.h: # define SSL_R_UNABLE_TO_LOAD_SSL3_MD5_ROUTINES 242
sslerr.h: # define SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES 243
sslerr.h: # define SSL_R_UNEXPECTED_CCS_MESSAGE 262
sslerr.h: # define SSL_R_UNEXPECTED_END_OF_EARLY_DATA 178
sslerr.h: # define SSL_R_UNEXPECTED_MESSAGE 244
sslerr.h: # define SSL_R_UNEXPECTED_RECORD 245
sslerr.h: # define SSL_R_UNINITIALIZED 276
sslerr.h: # define SSL_R_UNKNOWN_ALERT_TYPE 246
sslerr.h: # define SSL_R_UNKNOWN_CERTIFICATE_TYPE 247
sslerr.h: # define SSL_R_UNKNOWN_CIPHER_RETURNED 248
sslerr.h: # define SSL_R_UNKNOWN_CIPHER_TYPE 249
sslerr.h: # define SSL_R_UNKNOWN_CMD_NAME 386
sslerr.h: # define SSL_R_UNKNOWN_COMMAND 139
sslerr.h: # define SSL_R_UNKNOWN_DIGEST 368
sslerr.h: # define SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE 250
sslerr.h: # define SSL_R_UNKNOWN_PKEY_TYPE 251
sslerr.h: # define SSL_R_UNKNOWN_PROTOCOL 252
sslerr.h: # define SSL_R_UNKNOWN_SSL_VERSION 254
sslerr.h: # define SSL_R_UNKNOWN_STATE 255
sslerr.h: # define SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED 338
sslerr.h: # define SSL_R_UNSOLICITED_EXTENSION 217
sslerr.h: # define SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM 257
sslerr.h: # define SSL_R_UNSUPPORTED_ELLIPTIC_CURVE 315
sslerr.h: # define SSL_R_UNSUPPORTED_PROTOCOL 258
sslerr.h: # define SSL_R_UNSUPPORTED_SSL_VERSION 259
sslerr.h: # define SSL_R_UNSUPPORTED_STATUS_TYPE 329
sslerr.h: # define SSL_R_USE_SRTP_NOT_NEGOTIATED 369
sslerr.h: # define SSL_R_VERSION_TOO_HIGH 166
sslerr.h: # define SSL_R_VERSION_TOO_LOW 396
sslerr.h: # define SSL_R_WRONG_CERTIFICATE_TYPE 383
sslerr.h: # define SSL_R_WRONG_CIPHER_RETURNED 261
sslerr.h: # define SSL_R_WRONG_CURVE 378
sslerr.h: # define SSL_R_WRONG_SIGNATURE_LENGTH 264
sslerr.h: # define SSL_R_WRONG_SIGNATURE_SIZE 265
sslerr.h: # define SSL_R_WRONG_SIGNATURE_TYPE 370
sslerr.h: # define SSL_R_WRONG_SSL_VERSION 266
sslerr.h: # define SSL_R_WRONG_VERSION_NUMBER 267
sslerr.h: # define SSL_R_X509_LIB 268
sslerr.h: # define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269
ssl.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
ssl.h: * Licensed under the OpenSSL license (the "License"). You may not use
ssl.h: # define HEADER_SSL_H
ssl.h: # define SSL_SESSION_ASN1_VERSION 0x0001
ssl.h: # define SSL_MAX_SSL_SESSION_ID_LENGTH 32
ssl.h: # define SSL_MAX_SID_CTX_LENGTH 32
ssl.h: # define SSL_MIN_RSA_MODULUS_LENGTH_IN_BYTES (512/8)
ssl.h: # define SSL_MAX_KEY_ARG_LENGTH 8
ssl.h: # define SSL_MAX_MASTER_KEY_LENGTH 48
ssl.h: # define TLS13_MAX_RESUMPTION_MASTER_LENGTH 64
ssl.h: # define SSL_MAX_PIPELINES 32
ssl.h: # define SSL_TXT_LOW "LOW"
ssl.h: # define SSL_TXT_MEDIUM "MEDIUM"
ssl.h: # define SSL_TXT_HIGH "HIGH"
ssl.h: # define SSL_TXT_FIPS "FIPS"
ssl.h: # define SSL_TXT_aNULL "aNULL"
ssl.h: # define SSL_TXT_eNULL "eNULL"
ssl.h: # define SSL_TXT_NULL "NULL"
ssl.h: # define SSL_TXT_kRSA "kRSA"
ssl.h: # define SSL_TXT_kDHr "kDHr"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_kDHd "kDHd"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_kDH "kDH"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_kEDH "kEDH"/* alias for kDHE */
ssl.h: # define SSL_TXT_kDHE "kDHE"
ssl.h: # define SSL_TXT_kECDHr "kECDHr"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_kECDHe "kECDHe"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_kECDH "kECDH"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_kEECDH "kEECDH"/* alias for kECDHE */
ssl.h: # define SSL_TXT_kECDHE "kECDHE"
ssl.h: # define SSL_TXT_kPSK "kPSK"
ssl.h: # define SSL_TXT_kRSAPSK "kRSAPSK"
ssl.h: # define SSL_TXT_kECDHEPSK "kECDHEPSK"
ssl.h: # define SSL_TXT_kDHEPSK "kDHEPSK"
ssl.h: # define SSL_TXT_kGOST "kGOST"
ssl.h: # define SSL_TXT_kSRP "kSRP"
ssl.h: # define SSL_TXT_aRSA "aRSA"
ssl.h: # define SSL_TXT_aDSS "aDSS"
ssl.h: # define SSL_TXT_aDH "aDH"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_aECDH "aECDH"/* this cipher class has been removed */
ssl.h: # define SSL_TXT_aECDSA "aECDSA"
ssl.h: # define SSL_TXT_aPSK "aPSK"
ssl.h: # define SSL_TXT_aGOST94 "aGOST94"
ssl.h: # define SSL_TXT_aGOST01 "aGOST01"
ssl.h: # define SSL_TXT_aGOST12 "aGOST12"
ssl.h: # define SSL_TXT_aGOST "aGOST"
ssl.h: # define SSL_TXT_aSRP "aSRP"
ssl.h: # define SSL_TXT_DSS "DSS"
ssl.h: # define SSL_TXT_DH "DH"
ssl.h: # define SSL_TXT_DHE "DHE"/* same as "kDHE:-ADH" */
ssl.h: # define SSL_TXT_EDH "EDH"/* alias for DHE */
ssl.h: # define SSL_TXT_ADH "ADH"
ssl.h: # define SSL_TXT_RSA "RSA"
ssl.h: # define SSL_TXT_ECDH "ECDH"
ssl.h: # define SSL_TXT_EECDH "EECDH"/* alias for ECDHE" */
ssl.h: # define SSL_TXT_ECDHE "ECDHE"/* same as "kECDHE:-AECDH" */
ssl.h: # define SSL_TXT_AECDH "AECDH"
ssl.h: # define SSL_TXT_ECDSA "ECDSA"
ssl.h: # define SSL_TXT_PSK "PSK"
ssl.h: # define SSL_TXT_SRP "SRP"
ssl.h: # define SSL_TXT_DES "DES"
ssl.h: # define SSL_TXT_3DES "3DES"
ssl.h: # define SSL_TXT_RC4 "RC4"
ssl.h: # define SSL_TXT_RC2 "RC2"
ssl.h: # define SSL_TXT_IDEA "IDEA"
ssl.h: # define SSL_TXT_SEED "SEED"
ssl.h: # define SSL_TXT_AES128 "AES128"
ssl.h: # define SSL_TXT_AES256 "AES256"
ssl.h: # define SSL_TXT_AES "AES"
ssl.h: # define SSL_TXT_AES_GCM "AESGCM"
ssl.h: # define SSL_TXT_AES_CCM "AESCCM"
ssl.h: # define SSL_TXT_AES_CCM_8 "AESCCM8"
ssl.h: # define SSL_TXT_CAMELLIA128 "CAMELLIA128"
ssl.h: # define SSL_TXT_CAMELLIA256 "CAMELLIA256"
ssl.h: # define SSL_TXT_CAMELLIA "CAMELLIA"
ssl.h: # define SSL_TXT_CHACHA20 "CHACHA20"
ssl.h: # define SSL_TXT_GOST "GOST89"
ssl.h: # define SSL_TXT_ARIA "ARIA"
ssl.h: # define SSL_TXT_ARIA_GCM "ARIAGCM"
ssl.h: # define SSL_TXT_ARIA128 "ARIA128"
ssl.h: # define SSL_TXT_ARIA256 "ARIA256"
ssl.h: # define SSL_TXT_MD5 "MD5"
ssl.h: # define SSL_TXT_SHA1 "SHA1"
ssl.h: # define SSL_TXT_SHA "SHA"/* same as "SHA1" */
ssl.h: # define SSL_TXT_GOST94 "GOST94"
ssl.h: # define SSL_TXT_GOST89MAC "GOST89MAC"
ssl.h: # define SSL_TXT_GOST12 "GOST12"
ssl.h: # define SSL_TXT_GOST89MAC12 "GOST89MAC12"
ssl.h: # define SSL_TXT_SHA256 "SHA256"
ssl.h: # define SSL_TXT_SHA384 "SHA384"
ssl.h: # define SSL_TXT_SSLV3 "SSLv3"
ssl.h: # define SSL_TXT_TLSV1 "TLSv1"
ssl.h: # define SSL_TXT_TLSV1_1 "TLSv1.1"
ssl.h: # define SSL_TXT_TLSV1_2 "TLSv1.2"
ssl.h: # define SSL_TXT_ALL "ALL"
ssl.h: * COMPLEMENTOF* definitions. These identifiers are used to (de-select)
ssl.h: * without authentication, which would normally disabled by DEFAULT (due
ssl.h: # define SSL_TXT_CMPALL "COMPLEMENTOFALL"
ssl.h: # define SSL_TXT_CMPDEF "COMPLEMENTOFDEFAULT"
ssl.h: # define SSL_DEFAULT_CIPHER_LIST "ALL:!COMPLEMENTOFDEFAULT:!eNULL"
ssl.h: * As of OpenSSL 1.0.0, ssl_create_cipher_list() in ssl/ssl_ciph.c always
ssl.h: * throwing out anonymous and unencrypted ciphersuites! (The latter are not
ssl.h: /* Used in SSL_set_shutdown()/SSL_get_shutdown(); */
ssl.h: # define SSL_SENT_SHUTDOWN 1
ssl.h: # define SSL_RECEIVED_SHUTDOWN 2
ssl.h: # define SSL_FILETYPE_ASN1 X509_FILETYPE_ASN1
ssl.h: # define SSL_FILETYPE_PEM X509_FILETYPE_PEM
ssl.h: * This is needed to stop compilers complaining about the 'struct ssl_st *'
ssl.h: typedef struct ssl_st *ssl_crock_st;
ssl.h: typedef struct tls_session_ticket_ext_st TLS_SESSION_TICKET_EXT;
ssl.h: typedef struct ssl_method_st SSL_METHOD;
ssl.h: typedef struct ssl_cipher_st SSL_CIPHER;
ssl.h: typedef struct ssl_session_st SSL_SESSION;
ssl.h: typedef struct tls_sigalgs_st TLS_SIGALGS;
ssl.h: typedef struct ssl_conf_ctx_st SSL_CONF_CTX;
ssl.h: typedef struct ssl_comp_st SSL_COMP;
ssl.h: STACK_OF(SSL_CIPHER);
ssl.h: STACK_OF(SSL_COMP);
ssl.h: /* SRTP protection profiles for use with the use_srtp extension (RFC 5764)*/
ssl.h: typedef struct srtp_protection_profile_st {
ssl.h: DEFINE_STACK_OF(SRTP_PROTECTION_PROFILE)
ssl.h: typedef int (*tls_session_ticket_ext_cb_fn) (SSL *s,
ssl.h: typedef int (*tls_session_secret_cb_fn) (SSL *s, void *secret,
ssl.h: STACK_OF(SSL_CIPHER) *peer_ciphers,
ssl.h: typedef int (*custom_ext_add_cb) (SSL *s, unsigned int ext_type,
ssl.h: typedef void (*custom_ext_free_cb) (SSL *s, unsigned int ext_type,
ssl.h: typedef int (*custom_ext_parse_cb) (SSL *s, unsigned int ext_type,
ssl.h: typedef int (*SSL_custom_ext_add_cb_ex) (SSL *s, unsigned int ext_type,
ssl.h: typedef void (*SSL_custom_ext_free_cb_ex) (SSL *s, unsigned int ext_type,
ssl.h: typedef int (*SSL_custom_ext_parse_cb_ex) (SSL *s, unsigned int ext_type,
ssl.h: typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
ssl.h: * Reserved value (until OpenSSL 1.2.0) 0x00000001U
ssl.h: * Reserved value (until OpenSSL 1.2.0) 0x00000002U
ssl.h: # define SSL_OP_LEGACY_SERVER_CONNECT 0x00000004U
ssl.h: /* Reserved value (until OpenSSL 1.2.0) 0x00000008U */
ssl.h: # define SSL_OP_TLSEXT_PADDING 0x00000010U
ssl.h: /* Reserved value (until OpenSSL 1.2.0) 0x00000020U */
ssl.h: # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG 0x00000040U
ssl.h: * Reserved value (until OpenSSL 1.2.0) 0x00000080U
ssl.h: * Reserved value (until OpenSSL 1.2.0) 0x00000100U
ssl.h: * Reserved value (until OpenSSL 1.2.0) 0x00000200U
ssl.h: /* In TLSv1.3 allow a non-(ec)dhe based kex_mode */
ssl.h: # define SSL_OP_ALLOW_NO_DHE_KEX 0x00000400U
ssl.h: * OpenSSL 0.9.6d. Usually (depending on the application protocol) the
ssl.h: # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS 0x00000800U
ssl.h: # define SSL_OP_NO_QUERY_MTU 0x00001000U
ssl.h: /* Turn on Cookie Exchange (on relevant for servers) */
ssl.h: # define SSL_OP_COOKIE_EXCHANGE 0x00002000U
ssl.h: # define SSL_OP_NO_TICKET 0x00004000U
ssl.h: * (only with deprecated DTLSv1_client_method()) */
ssl.h: # define SSL_OP_CISCO_ANYCONNECT 0x00008000U
ssl.h: # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION 0x00010000U
ssl.h: # define SSL_OP_NO_COMPRESSION 0x00020000U
ssl.h: # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION 0x00040000U
ssl.h: # define SSL_OP_NO_ENCRYPT_THEN_MAC 0x00080000U
ssl.h: # define SSL_OP_ENABLE_MIDDLEBOX_COMPAT 0x00100000U
ssl.h: # define SSL_OP_PRIORITIZE_CHACHA 0x00200000U
ssl.h: # define SSL_OP_CIPHER_SERVER_PREFERENCE 0x00400000U
ssl.h: * (version 3.1) was announced in the client hello. Normally this is
ssl.h: # define SSL_OP_TLS_ROLLBACK_BUG 0x00800000U
ssl.h: # define SSL_OP_NO_SSLv3 0x02000000U
ssl.h: # define SSL_OP_NO_TLSv1 0x04000000U
ssl.h: # define SSL_OP_NO_TLSv1_2 0x08000000U
ssl.h: # define SSL_OP_NO_TLSv1_1 0x10000000U
ssl.h: # define SSL_OP_NO_TLSv1_3 0x20000000U
ssl.h: # define SSL_OP_NO_DTLSv1 0x04000000U
ssl.h: # define SSL_OP_NO_DTLSv1_2 0x08000000U
ssl.h: # define SSL_OP_NO_SSL_MASK (SSL_OP_NO_SSLv3|\
ssl.h: # define SSL_OP_NO_DTLS_MASK (SSL_OP_NO_DTLSv1|SSL_OP_NO_DTLSv1_2)
ssl.h: # define SSL_OP_NO_RENEGOTIATION 0x40000000U
ssl.h: # define SSL_OP_CRYPTOPRO_TLSEXT_BUG 0x80000000U
ssl.h: # define SSL_OP_ALL (SSL_OP_CRYPTOPRO_TLSEXT_BUG|\
ssl.h: # define SSL_OP_MICROSOFT_SESS_ID_BUG 0x0
ssl.h: # define SSL_OP_NETSCAPE_CHALLENGE_BUG 0x0
ssl.h: # define SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG 0x0
ssl.h: # define SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG 0x0
ssl.h: # define SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER 0x0
ssl.h: # define SSL_OP_MSIE_SSLV2_RSA_PADDING 0x0
ssl.h: # define SSL_OP_SSLEAY_080_CLIENT_DH_BUG 0x0
ssl.h: # define SSL_OP_TLS_D5_BUG 0x0
ssl.h: # define SSL_OP_TLS_BLOCK_PADDING_BUG 0x0
ssl.h: # define SSL_OP_SINGLE_ECDH_USE 0x0
ssl.h: # define SSL_OP_SINGLE_DH_USE 0x0
ssl.h: # define SSL_OP_EPHEMERAL_RSA 0x0
ssl.h: # define SSL_OP_NO_SSLv2 0x0
ssl.h: # define SSL_OP_PKCS1_CHECK_1 0x0
ssl.h: # define SSL_OP_PKCS1_CHECK_2 0x0
ssl.h: # define SSL_OP_NETSCAPE_CA_DN_BUG 0x0
ssl.h: # define SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG 0x0
ssl.h: * Allow SSL_write(..., n) to return r with 0 < r < n (i.e. report success
ssl.h: # define SSL_MODE_ENABLE_PARTIAL_WRITE 0x00000001U
ssl.h: * Make it possible to retry SSL_write() with changed buffer location (buffer
ssl.h: * misconception that non-blocking SSL_write() behaves like non-blocking
ssl.h: * write():
ssl.h: # define SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER 0x00000002U
ssl.h: # define SSL_MODE_AUTO_RETRY 0x00000004U
ssl.h: # define SSL_MODE_NO_AUTO_CHAIN 0x00000008U
ssl.h: * Save RAM by releasing read and write buffers when they're empty. (SSL3 and
ssl.h: # define SSL_MODE_RELEASE_BUFFERS 0x00000010U
ssl.h: # define SSL_MODE_SEND_CLIENTHELLO_TIME 0x00000020U
ssl.h: # define SSL_MODE_SEND_SERVERHELLO_TIME 0x00000040U
ssl.h: # define SSL_MODE_SEND_FALLBACK_SCSV 0x00000080U
ssl.h: # define SSL_MODE_ASYNC 0x00000100U
ssl.h: # define SSL_CERT_FLAG_TLS_STRICT 0x00000001U
ssl.h: # define SSL_CERT_FLAG_SUITEB_128_LOS_ONLY 0x10000
ssl.h: # define SSL_CERT_FLAG_SUITEB_192_LOS 0x20000
ssl.h: # define SSL_CERT_FLAG_SUITEB_128_LOS 0x30000
ssl.h: # define SSL_CERT_FLAG_BROKEN_PROTOCOL 0x10000000
ssl.h: # define SSL_BUILD_CHAIN_FLAG_UNTRUSTED 0x1
ssl.h: # define SSL_BUILD_CHAIN_FLAG_NO_ROOT 0x2
ssl.h: # define SSL_BUILD_CHAIN_FLAG_CHECK 0x4
ssl.h: # define SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR 0x8
ssl.h: # define SSL_BUILD_CHAIN_FLAG_CLEAR_ERROR 0x10
ssl.h: # define CERT_PKEY_VALID 0x1
ssl.h: # define CERT_PKEY_SIGN 0x2
ssl.h: # define CERT_PKEY_EE_SIGNATURE 0x10
ssl.h: # define CERT_PKEY_CA_SIGNATURE 0x20
ssl.h: # define CERT_PKEY_EE_PARAM 0x40
ssl.h: # define CERT_PKEY_CA_PARAM 0x80
ssl.h: # define CERT_PKEY_EXPLICIT_SIGN 0x100
ssl.h: /* Client CA issuer names match (always set for server cert) */
ssl.h: # define CERT_PKEY_ISSUER_NAME 0x200
ssl.h: /* Cert type matches client types (always set for server cert) */
ssl.h: # define CERT_PKEY_CERT_TYPE 0x400
ssl.h: # define CERT_PKEY_SUITEB 0x800
ssl.h: # define SSL_CONF_FLAG_CMDLINE 0x1
ssl.h: # define SSL_CONF_FLAG_FILE 0x2
ssl.h: # define SSL_CONF_FLAG_CLIENT 0x4
ssl.h: # define SSL_CONF_FLAG_SERVER 0x8
ssl.h: # define SSL_CONF_FLAG_SHOW_ERRORS 0x10
ssl.h: # define SSL_CONF_FLAG_CERTIFICATE 0x20
ssl.h: # define SSL_CONF_FLAG_REQUIRE_PRIVATE 0x40
ssl.h: # define SSL_CONF_TYPE_UNKNOWN 0x0
ssl.h: # define SSL_CONF_TYPE_STRING 0x1
ssl.h: # define SSL_CONF_TYPE_FILE 0x2
ssl.h: # define SSL_CONF_TYPE_DIR 0x3
ssl.h: # define SSL_CONF_TYPE_NONE 0x4
ssl.h: # define SSL_COOKIE_LENGTH 255
ssl.h: unsigned long SSL_CTX_get_options(const SSL_CTX *ctx);
ssl.h: unsigned long SSL_get_options(const SSL* s);
ssl.h: unsigned long SSL_CTX_clear_options(SSL_CTX *ctx, unsigned long op);
ssl.h: unsigned long SSL_clear_options(SSL *s, unsigned long op);
ssl.h: unsigned long SSL_CTX_set_options(SSL_CTX *ctx, unsigned long op);
ssl.h: unsigned long SSL_set_options(SSL *s, unsigned long op);
ssl.h: # define SSL_CTX_set_mode(ctx,op) \
ssl.h: SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
ssl.h: # define SSL_CTX_clear_mode(ctx,op) \
ssl.h: SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_MODE,(op),NULL)
ssl.h: # define SSL_CTX_get_mode(ctx) \
ssl.h: SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,0,NULL)
ssl.h: # define SSL_clear_mode(ssl,op) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_CLEAR_MODE,(op),NULL)
ssl.h: # define SSL_set_mode(ssl,op) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
ssl.h: # define SSL_get_mode(ssl) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL)
ssl.h: # define SSL_set_mtu(ssl, mtu) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_SET_MTU,(mtu),NULL)
ssl.h: # define DTLS_set_link_mtu(ssl, mtu) \
ssl.h: SSL_ctrl((ssl),DTLS_CTRL_SET_LINK_MTU,(mtu),NULL)
ssl.h: # define DTLS_get_link_min_mtu(ssl) \
ssl.h: SSL_ctrl((ssl),DTLS_CTRL_GET_LINK_MIN_MTU,0,NULL)
ssl.h: # define SSL_get_secure_renegotiation_support(ssl) \
ssl.h: SSL_ctrl((ssl), SSL_CTRL_GET_RI_SUPPORT, 0, NULL)
ssl.h: # define SSL_heartbeat(ssl) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_DTLS_EXT_SEND_HEARTBEAT,0,NULL)
ssl.h: # define SSL_CTX_set_cert_flags(ctx,op) \
ssl.h: SSL_CTX_ctrl((ctx),SSL_CTRL_CERT_FLAGS,(op),NULL)
ssl.h: # define SSL_set_cert_flags(s,op) \
ssl.h: SSL_ctrl((s),SSL_CTRL_CERT_FLAGS,(op),NULL)
ssl.h: # define SSL_CTX_clear_cert_flags(ctx,op) \
ssl.h: SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_CERT_FLAGS,(op),NULL)
ssl.h: # define SSL_clear_cert_flags(s,op) \
ssl.h: SSL_ctrl((s),SSL_CTRL_CLEAR_CERT_FLAGS,(op),NULL)
ssl.h: void SSL_CTX_set_msg_callback(SSL_CTX *ctx,
ssl.h: void (*cb) (int write_p, int version,
ssl.h: void SSL_set_msg_callback(SSL *ssl,
ssl.h: void (*cb) (int write_p, int version,
ssl.h: # define SSL_CTX_set_msg_callback_arg(ctx, arg) SSL_CTX_ctrl((ctx), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg))
ssl.h: # define SSL_set_msg_callback_arg(ssl, arg) SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg))
ssl.h: # define SSL_get_extms_support(s) \
ssl.h: SSL_ctrl((s),SSL_CTRL_GET_EXTMS_SUPPORT,0,NULL)
ssl.h: __owur int SSL_SRP_CTX_init(SSL *s);
ssl.h: __owur int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx);
ssl.h: int SSL_SRP_CTX_free(SSL *ctx);
ssl.h: int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx);
ssl.h: __owur int SSL_srp_server_param_with_username(SSL *s, int *ad);
ssl.h: __owur int SRP_Calc_A_param(SSL *s);
ssl.h: # define SSL_MAX_CERT_LIST_DEFAULT 1024*100
ssl.h: # define SSL_SESSION_CACHE_MAX_SIZE_DEFAULT (1024*20)
ssl.h: * SSL_has_matching_session_id(ssl, id, *id_len) The length value passed in
ssl.h: typedef int (*GEN_SESSION_CB) (SSL *ssl, unsigned char *id,
ssl.h: # define SSL_SESS_CACHE_OFF 0x0000
ssl.h: # define SSL_SESS_CACHE_CLIENT 0x0001
ssl.h: # define SSL_SESS_CACHE_SERVER 0x0002
ssl.h: # define SSL_SESS_CACHE_BOTH (SSL_SESS_CACHE_CLIENT|SSL_SESS_CACHE_SERVER)
ssl.h: # define SSL_SESS_CACHE_NO_AUTO_CLEAR 0x0080
ssl.h: /* enough comments already ... see SSL_CTX_set_session_cache_mode(3) */
ssl.h: # define SSL_SESS_CACHE_NO_INTERNAL_LOOKUP 0x0100
ssl.h: # define SSL_SESS_CACHE_NO_INTERNAL_STORE 0x0200
ssl.h: # define SSL_SESS_CACHE_NO_INTERNAL \
ssl.h: (SSL_SESS_CACHE_NO_INTERNAL_LOOKUP|SSL_SESS_CACHE_NO_INTERNAL_STORE)
ssl.h: LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
ssl.h: # define SSL_CTX_sess_number(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_NUMBER,0,NULL)
ssl.h: # define SSL_CTX_sess_connect(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT,0,NULL)
ssl.h: # define SSL_CTX_sess_connect_good(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT_GOOD,0,NULL)
ssl.h: # define SSL_CTX_sess_connect_renegotiate(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT_RENEGOTIATE,0,NULL)
ssl.h: # define SSL_CTX_sess_accept(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT,0,NULL)
ssl.h: # define SSL_CTX_sess_accept_renegotiate(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT_RENEGOTIATE,0,NULL)
ssl.h: # define SSL_CTX_sess_accept_good(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT_GOOD,0,NULL)
ssl.h: # define SSL_CTX_sess_hits(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_HIT,0,NULL)
ssl.h: # define SSL_CTX_sess_cb_hits(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CB_HIT,0,NULL)
ssl.h: # define SSL_CTX_sess_misses(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_MISSES,0,NULL)
ssl.h: # define SSL_CTX_sess_timeouts(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_TIMEOUTS,0,NULL)
ssl.h: # define SSL_CTX_sess_cache_full(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CACHE_FULL,0,NULL)
ssl.h: void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx,
ssl.h: int (*new_session_cb) (struct ssl_st *ssl,
ssl.h: int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx)) (struct ssl_st *ssl,
ssl.h: void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx,
ssl.h: void (*remove_session_cb) (struct ssl_ctx_st
ssl.h: void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx)) (struct ssl_ctx_st *ctx,
ssl.h: void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,
ssl.h: SSL_SESSION *(*get_session_cb) (struct ssl_st
ssl.h: SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)) (struct ssl_st *ssl,
ssl.h: void SSL_CTX_set_info_callback(SSL_CTX *ctx,
ssl.h: void (*cb) (const SSL *ssl, int type,
ssl.h: void (*SSL_CTX_get_info_callback(SSL_CTX *ctx)) (const SSL *ssl, int type,
ssl.h: void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx,
ssl.h: int (*client_cert_cb) (SSL *ssl, X509 **x509,
ssl.h: int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx)) (SSL *ssl, X509 **x509,
ssl.h: __owur int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e);
ssl.h: void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx,
ssl.h: int (*app_gen_cookie_cb) (SSL *ssl,
ssl.h: void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx,
ssl.h: int (*app_verify_cookie_cb) (SSL *ssl,
ssl.h: typedef int (*SSL_CTX_npn_advertised_cb_func)(SSL *ssl,
ssl.h: void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s,
ssl.h: # define SSL_CTX_set_npn_advertised_cb SSL_CTX_set_next_protos_advertised_cb
ssl.h: typedef int (*SSL_CTX_npn_select_cb_func)(SSL *s,
ssl.h: void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s,
ssl.h: # define SSL_CTX_set_npn_select_cb SSL_CTX_set_next_proto_select_cb
ssl.h: void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data,
ssl.h: # define SSL_get0_npn_negotiated SSL_get0_next_proto_negotiated
ssl.h: __owur int SSL_select_next_proto(unsigned char **out, unsigned char *outlen,
ssl.h: # define OPENSSL_NPN_UNSUPPORTED 0
ssl.h: # define OPENSSL_NPN_NEGOTIATED 1
ssl.h: # define OPENSSL_NPN_NO_OVERLAP 2
ssl.h: __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos,
ssl.h: __owur int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos,
ssl.h: typedef int (*SSL_CTX_alpn_select_cb_func)(SSL *ssl,
ssl.h: void SSL_CTX_set_alpn_select_cb(SSL_CTX *ctx,
ssl.h: void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data,
ssl.h: # define PSK_MAX_IDENTITY_LEN 128
ssl.h: # define PSK_MAX_PSK_LEN 256
ssl.h: typedef unsigned int (*SSL_psk_client_cb_func)(SSL *ssl,
ssl.h: void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx, SSL_psk_client_cb_func cb);
ssl.h: void SSL_set_psk_client_callback(SSL *ssl, SSL_psk_client_cb_func cb);
ssl.h: typedef unsigned int (*SSL_psk_server_cb_func)(SSL *ssl,
ssl.h: void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx, SSL_psk_server_cb_func cb);
ssl.h: void SSL_set_psk_server_callback(SSL *ssl, SSL_psk_server_cb_func cb);
ssl.h: __owur int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint);
ssl.h: __owur int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint);
ssl.h: const char *SSL_get_psk_identity_hint(const SSL *s);
ssl.h: const char *SSL_get_psk_identity(const SSL *s);
ssl.h: typedef int (*SSL_psk_find_session_cb_func)(SSL *ssl,
ssl.h: typedef int (*SSL_psk_use_session_cb_func)(SSL *ssl, const EVP_MD *md,
ssl.h: void SSL_set_psk_find_session_callback(SSL *s, SSL_psk_find_session_cb_func cb);
ssl.h: void SSL_CTX_set_psk_find_session_callback(SSL_CTX *ctx,
ssl.h: void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb);
ssl.h: void SSL_CTX_set_psk_use_session_callback(SSL_CTX *ctx,
ssl.h: __owur int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx,
ssl.h: __owur int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
ssl.h: __owur int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
ssl.h: __owur int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
ssl.h: __owur int SSL_extension_supported(unsigned int ext_type);
ssl.h: # define SSL_NOTHING 1
ssl.h: # define SSL_WRITING 2
ssl.h: # define SSL_READING 3
ssl.h: # define SSL_X509_LOOKUP 4
ssl.h: # define SSL_ASYNC_PAUSED 5
ssl.h: # define SSL_ASYNC_NO_JOBS 6
ssl.h: # define SSL_CLIENT_HELLO_CB 7
ssl.h: # define SSL_want_nothing(s) (SSL_want(s) == SSL_NOTHING)
ssl.h: # define SSL_want_read(s) (SSL_want(s) == SSL_READING)
ssl.h: # define SSL_want_write(s) (SSL_want(s) == SSL_WRITING)
ssl.h: # define SSL_want_x509_lookup(s) (SSL_want(s) == SSL_X509_LOOKUP)
ssl.h: # define SSL_want_async(s) (SSL_want(s) == SSL_ASYNC_PAUSED)
ssl.h: # define SSL_want_async_job(s) (SSL_want(s) == SSL_ASYNC_NO_JOBS)
ssl.h: # define SSL_want_client_hello_cb(s) (SSL_want(s) == SSL_CLIENT_HELLO_CB)
ssl.h: # define SSL_MAC_FLAG_READ_MAC_STREAM 1
ssl.h: # define SSL_MAC_FLAG_WRITE_MAC_STREAM 2
ssl.h: typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line);
ssl.h: void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb);
ssl.h: SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback(const SSL_CTX *ctx);
ssl.h: int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data);
ssl.h: uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx);
ssl.h: int SSL_set_max_early_data(SSL *s, uint32_t max_early_data);
ssl.h: uint32_t SSL_get_max_early_data(const SSL *s);
ssl.h: DEFINE_STACK_OF_CONST(SSL_CIPHER)
ssl.h: DEFINE_STACK_OF(SSL_COMP)
ssl.h: # define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)(arg)))
ssl.h: # define SSL_get_app_data(s) (SSL_get_ex_data(s,0))
ssl.h: # define SSL_SESSION_set_app_data(s,a) (SSL_SESSION_set_ex_data(s,0, \
ssl.h: (char *)(a)))
ssl.h: # define SSL_SESSION_get_app_data(s) (SSL_SESSION_get_ex_data(s,0))
ssl.h: # define SSL_CTX_get_app_data(ctx) (SSL_CTX_get_ex_data(ctx,0))
ssl.h: # define SSL_CTX_set_app_data(ctx,arg) (SSL_CTX_set_ex_data(ctx,0, \
ssl.h: (char *)(arg)))
ssl.h: DEPRECATEDIN_1_1_0(void SSL_set_debug(SSL *s, int debug))
ssl.h: * The valid handshake states (one for each type message sent and one for each
ssl.h: * defines have an equivalent and are set to a dummy value (-1). SSL_ST_CONNECT
ssl.h: # define SSL_ST_CONNECT 0x1000
ssl.h: # define SSL_ST_ACCEPT 0x2000
ssl.h: # define SSL_ST_MASK 0x0FFF
ssl.h: # define SSL_CB_LOOP 0x01
ssl.h: # define SSL_CB_EXIT 0x02
ssl.h: # define SSL_CB_READ 0x04
ssl.h: # define SSL_CB_WRITE 0x08
ssl.h: # define SSL_CB_ALERT 0x4000/* used in callback */
ssl.h: # define SSL_CB_READ_ALERT (SSL_CB_ALERT|SSL_CB_READ)
ssl.h: # define SSL_CB_WRITE_ALERT (SSL_CB_ALERT|SSL_CB_WRITE)
ssl.h: # define SSL_CB_ACCEPT_LOOP (SSL_ST_ACCEPT|SSL_CB_LOOP)
ssl.h: # define SSL_CB_ACCEPT_EXIT (SSL_ST_ACCEPT|SSL_CB_EXIT)
ssl.h: # define SSL_CB_CONNECT_LOOP (SSL_ST_CONNECT|SSL_CB_LOOP)
ssl.h: # define SSL_CB_CONNECT_EXIT (SSL_ST_CONNECT|SSL_CB_EXIT)
ssl.h: # define SSL_CB_HANDSHAKE_START 0x10
ssl.h: # define SSL_CB_HANDSHAKE_DONE 0x20
ssl.h: # define SSL_in_connect_init(a) (SSL_in_init(a) && !SSL_is_server(a))
ssl.h: # define SSL_in_accept_init(a) (SSL_in_init(a) && SSL_is_server(a))
ssl.h: int SSL_in_init(SSL *s);
ssl.h: int SSL_in_before(SSL *s);
ssl.h: int SSL_is_init_finished(SSL *s);
ssl.h: # define SSL_ST_READ_HEADER 0xF0
ssl.h: # define SSL_ST_READ_BODY 0xF1
ssl.h: # define SSL_ST_READ_DONE 0xF2
ssl.h: * -- that we sent (SSL_get_finished)
ssl.h: * -- that we expected from peer (SSL_get_peer_finished).
ssl.h: * Returns length (0 == no Finished so far), copies up to 'count' bytes.
ssl.h: size_t SSL_get_finished(const SSL *s, void *buf, size_t count);
ssl.h: size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count);
ssl.h: # define SSL_VERIFY_NONE 0x00
ssl.h: # define SSL_VERIFY_PEER 0x01
ssl.h: # define SSL_VERIFY_FAIL_IF_NO_PEER_CERT 0x02
ssl.h: # define SSL_VERIFY_CLIENT_ONCE 0x04
ssl.h: # define SSL_VERIFY_POST_HANDSHAKE 0x08
ssl.h: # define OpenSSL_add_ssl_algorithms() SSL_library_init()
ssl.h: # define SSLeay_add_ssl_algorithms() SSL_library_init()
ssl.h: # define SSL_get_cipher(s) \
ssl.h: SSL_CIPHER_get_name(SSL_get_current_cipher(s))
ssl.h: # define SSL_get_cipher_bits(s,np) \
ssl.h: SSL_CIPHER_get_bits(SSL_get_current_cipher(s),np)
ssl.h: # define SSL_get_cipher_version(s) \
ssl.h: SSL_CIPHER_get_version(SSL_get_current_cipher(s))
ssl.h: # define SSL_get_cipher_name(s) \
ssl.h: SSL_CIPHER_get_name(SSL_get_current_cipher(s))
ssl.h: # define SSL_get_time(a) SSL_SESSION_get_time(a)
ssl.h: # define SSL_set_time(a,b) SSL_SESSION_set_time((a),(b))
ssl.h: # define SSL_get_timeout(a) SSL_SESSION_get_timeout(a)
ssl.h: # define SSL_set_timeout(a,b) SSL_SESSION_set_timeout((a),(b))
ssl.h: # define d2i_SSL_SESSION_bio(bp,s_id) ASN1_d2i_bio_of(SSL_SESSION,SSL_SESSION_new,d2i_SSL_SESSION,bp,s_id)
ssl.h: # define i2d_SSL_SESSION_bio(bp,s_id) ASN1_i2d_bio_of(SSL_SESSION,i2d_SSL_SESSION,bp,s_id)
ssl.h: DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
ssl.h: # define SSL_AD_REASON_OFFSET 1000/* offset to get SSL_R_... value
ssl.h: # define SSL_AD_CLOSE_NOTIFY SSL3_AD_CLOSE_NOTIFY
ssl.h: # define SSL_AD_UNEXPECTED_MESSAGE SSL3_AD_UNEXPECTED_MESSAGE
ssl.h: # define SSL_AD_BAD_RECORD_MAC SSL3_AD_BAD_RECORD_MAC
ssl.h: # define SSL_AD_DECRYPTION_FAILED TLS1_AD_DECRYPTION_FAILED
ssl.h: # define SSL_AD_RECORD_OVERFLOW TLS1_AD_RECORD_OVERFLOW
ssl.h: # define SSL_AD_DECOMPRESSION_FAILURE SSL3_AD_DECOMPRESSION_FAILURE
ssl.h: # define SSL_AD_HANDSHAKE_FAILURE SSL3_AD_HANDSHAKE_FAILURE
ssl.h: # define SSL_AD_NO_CERTIFICATE SSL3_AD_NO_CERTIFICATE
ssl.h: # define SSL_AD_BAD_CERTIFICATE SSL3_AD_BAD_CERTIFICATE
ssl.h: # define SSL_AD_UNSUPPORTED_CERTIFICATE SSL3_AD_UNSUPPORTED_CERTIFICATE
ssl.h: # define SSL_AD_CERTIFICATE_REVOKED SSL3_AD_CERTIFICATE_REVOKED
ssl.h: # define SSL_AD_CERTIFICATE_EXPIRED SSL3_AD_CERTIFICATE_EXPIRED
ssl.h: # define SSL_AD_CERTIFICATE_UNKNOWN SSL3_AD_CERTIFICATE_UNKNOWN
ssl.h: # define SSL_AD_ILLEGAL_PARAMETER SSL3_AD_ILLEGAL_PARAMETER
ssl.h: # define SSL_AD_UNKNOWN_CA TLS1_AD_UNKNOWN_CA
ssl.h: # define SSL_AD_ACCESS_DENIED TLS1_AD_ACCESS_DENIED
ssl.h: # define SSL_AD_DECODE_ERROR TLS1_AD_DECODE_ERROR
ssl.h: # define SSL_AD_DECRYPT_ERROR TLS1_AD_DECRYPT_ERROR
ssl.h: # define SSL_AD_EXPORT_RESTRICTION TLS1_AD_EXPORT_RESTRICTION
ssl.h: # define SSL_AD_PROTOCOL_VERSION TLS1_AD_PROTOCOL_VERSION
ssl.h: # define SSL_AD_INSUFFICIENT_SECURITY TLS1_AD_INSUFFICIENT_SECURITY
ssl.h: # define SSL_AD_INTERNAL_ERROR TLS1_AD_INTERNAL_ERROR
ssl.h: # define SSL_AD_USER_CANCELLED TLS1_AD_USER_CANCELLED
ssl.h: # define SSL_AD_NO_RENEGOTIATION TLS1_AD_NO_RENEGOTIATION
ssl.h: # define SSL_AD_MISSING_EXTENSION TLS13_AD_MISSING_EXTENSION
ssl.h: # define SSL_AD_CERTIFICATE_REQUIRED TLS13_AD_CERTIFICATE_REQUIRED
ssl.h: # define SSL_AD_UNSUPPORTED_EXTENSION TLS1_AD_UNSUPPORTED_EXTENSION
ssl.h: # define SSL_AD_CERTIFICATE_UNOBTAINABLE TLS1_AD_CERTIFICATE_UNOBTAINABLE
ssl.h: # define SSL_AD_UNRECOGNIZED_NAME TLS1_AD_UNRECOGNIZED_NAME
ssl.h: # define SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE
ssl.h: # define SSL_AD_BAD_CERTIFICATE_HASH_VALUE TLS1_AD_BAD_CERTIFICATE_HASH_VALUE
ssl.h: # define SSL_AD_UNKNOWN_PSK_IDENTITY TLS1_AD_UNKNOWN_PSK_IDENTITY
ssl.h: # define SSL_AD_INAPPROPRIATE_FALLBACK TLS1_AD_INAPPROPRIATE_FALLBACK
ssl.h: # define SSL_AD_NO_APPLICATION_PROTOCOL TLS1_AD_NO_APPLICATION_PROTOCOL
ssl.h: # define SSL_ERROR_NONE 0
ssl.h: # define SSL_ERROR_SSL 1
ssl.h: # define SSL_ERROR_WANT_READ 2
ssl.h: # define SSL_ERROR_WANT_WRITE 3
ssl.h: # define SSL_ERROR_WANT_X509_LOOKUP 4
ssl.h: # define SSL_ERROR_SYSCALL 5/* look at error stack/return
ssl.h: # define SSL_ERROR_ZERO_RETURN 6
ssl.h: # define SSL_ERROR_WANT_CONNECT 7
ssl.h: # define SSL_ERROR_WANT_ACCEPT 8
ssl.h: # define SSL_ERROR_WANT_ASYNC 9
ssl.h: # define SSL_ERROR_WANT_ASYNC_JOB 10
ssl.h: # define SSL_ERROR_WANT_CLIENT_HELLO_CB 11
ssl.h: # define SSL_CTRL_SET_TMP_DH 3
ssl.h: # define SSL_CTRL_SET_TMP_ECDH 4
ssl.h: # define SSL_CTRL_SET_TMP_DH_CB 6
ssl.h: # define SSL_CTRL_GET_CLIENT_CERT_REQUEST 9
ssl.h: # define SSL_CTRL_GET_NUM_RENEGOTIATIONS 10
ssl.h: # define SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS 11
ssl.h: # define SSL_CTRL_GET_TOTAL_RENEGOTIATIONS 12
ssl.h: # define SSL_CTRL_GET_FLAGS 13
ssl.h: # define SSL_CTRL_EXTRA_CHAIN_CERT 14
ssl.h: # define SSL_CTRL_SET_MSG_CALLBACK 15
ssl.h: # define SSL_CTRL_SET_MSG_CALLBACK_ARG 16
ssl.h: # define SSL_CTRL_SET_MTU 17
ssl.h: # define SSL_CTRL_SESS_NUMBER 20
ssl.h: # define SSL_CTRL_SESS_CONNECT 21
ssl.h: # define SSL_CTRL_SESS_CONNECT_GOOD 22
ssl.h: # define SSL_CTRL_SESS_CONNECT_RENEGOTIATE 23
ssl.h: # define SSL_CTRL_SESS_ACCEPT 24
ssl.h: # define SSL_CTRL_SESS_ACCEPT_GOOD 25
ssl.h: # define SSL_CTRL_SESS_ACCEPT_RENEGOTIATE 26
ssl.h: # define SSL_CTRL_SESS_HIT 27
ssl.h: # define SSL_CTRL_SESS_CB_HIT 28
ssl.h: # define SSL_CTRL_SESS_MISSES 29
ssl.h: # define SSL_CTRL_SESS_TIMEOUTS 30
ssl.h: # define SSL_CTRL_SESS_CACHE_FULL 31
ssl.h: # define SSL_CTRL_MODE 33
ssl.h: # define SSL_CTRL_GET_READ_AHEAD 40
ssl.h: # define SSL_CTRL_SET_READ_AHEAD 41
ssl.h: # define SSL_CTRL_SET_SESS_CACHE_SIZE 42
ssl.h: # define SSL_CTRL_GET_SESS_CACHE_SIZE 43
ssl.h: # define SSL_CTRL_SET_SESS_CACHE_MODE 44
ssl.h: # define SSL_CTRL_GET_SESS_CACHE_MODE 45
ssl.h: # define SSL_CTRL_GET_MAX_CERT_LIST 50
ssl.h: # define SSL_CTRL_SET_MAX_CERT_LIST 51
ssl.h: # define SSL_CTRL_SET_MAX_SEND_FRAGMENT 52
ssl.h: # define SSL_CTRL_SET_TLSEXT_SERVERNAME_CB 53
ssl.h: # define SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG 54
ssl.h: # define SSL_CTRL_SET_TLSEXT_HOSTNAME 55
ssl.h: # define SSL_CTRL_SET_TLSEXT_DEBUG_CB 56
ssl.h: # define SSL_CTRL_SET_TLSEXT_DEBUG_ARG 57
ssl.h: # define SSL_CTRL_GET_TLSEXT_TICKET_KEYS 58
ssl.h: # define SSL_CTRL_SET_TLSEXT_TICKET_KEYS 59
ssl.h: /*# define SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT 60 */
ssl.h: /*# define SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB 61 */
ssl.h: /*# define SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB_ARG 62 */
ssl.h: # define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB 63
ssl.h: # define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG 64
ssl.h: # define SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE 65
ssl.h: # define SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS 66
ssl.h: # define SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS 67
ssl.h: # define SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS 68
ssl.h: # define SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS 69
ssl.h: # define SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP 70
ssl.h: # define SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP 71
ssl.h: # define SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB 72
ssl.h: # define SSL_CTRL_SET_TLS_EXT_SRP_USERNAME_CB 75
ssl.h: # define SSL_CTRL_SET_SRP_VERIFY_PARAM_CB 76
ssl.h: # define SSL_CTRL_SET_SRP_GIVE_CLIENT_PWD_CB 77
ssl.h: # define SSL_CTRL_SET_SRP_ARG 78
ssl.h: # define SSL_CTRL_SET_TLS_EXT_SRP_USERNAME 79
ssl.h: # define SSL_CTRL_SET_TLS_EXT_SRP_STRENGTH 80
ssl.h: # define SSL_CTRL_SET_TLS_EXT_SRP_PASSWORD 81
ssl.h: # define SSL_CTRL_DTLS_EXT_SEND_HEARTBEAT 85
ssl.h: # define SSL_CTRL_GET_DTLS_EXT_HEARTBEAT_PENDING 86
ssl.h: # define SSL_CTRL_SET_DTLS_EXT_HEARTBEAT_NO_REQUESTS 87
ssl.h: # define DTLS_CTRL_GET_TIMEOUT 73
ssl.h: # define DTLS_CTRL_HANDLE_TIMEOUT 74
ssl.h: # define SSL_CTRL_GET_RI_SUPPORT 76
ssl.h: # define SSL_CTRL_CLEAR_MODE 78
ssl.h: # define SSL_CTRL_SET_NOT_RESUMABLE_SESS_CB 79
ssl.h: # define SSL_CTRL_GET_EXTRA_CHAIN_CERTS 82
ssl.h: # define SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS 83
ssl.h: # define SSL_CTRL_CHAIN 88
ssl.h: # define SSL_CTRL_CHAIN_CERT 89
ssl.h: # define SSL_CTRL_GET_GROUPS 90
ssl.h: # define SSL_CTRL_SET_GROUPS 91
ssl.h: # define SSL_CTRL_SET_GROUPS_LIST 92
ssl.h: # define SSL_CTRL_GET_SHARED_GROUP 93
ssl.h: # define SSL_CTRL_SET_SIGALGS 97
ssl.h: # define SSL_CTRL_SET_SIGALGS_LIST 98
ssl.h: # define SSL_CTRL_CERT_FLAGS 99
ssl.h: # define SSL_CTRL_CLEAR_CERT_FLAGS 100
ssl.h: # define SSL_CTRL_SET_CLIENT_SIGALGS 101
ssl.h: # define SSL_CTRL_SET_CLIENT_SIGALGS_LIST 102
ssl.h: # define SSL_CTRL_GET_CLIENT_CERT_TYPES 103
ssl.h: # define SSL_CTRL_SET_CLIENT_CERT_TYPES 104
ssl.h: # define SSL_CTRL_BUILD_CERT_CHAIN 105
ssl.h: # define SSL_CTRL_SET_VERIFY_CERT_STORE 106
ssl.h: # define SSL_CTRL_SET_CHAIN_CERT_STORE 107
ssl.h: # define SSL_CTRL_GET_PEER_SIGNATURE_NID 108
ssl.h: # define SSL_CTRL_GET_SERVER_TMP_KEY 109
ssl.h: # define SSL_CTRL_GET_RAW_CIPHERLIST 110
ssl.h: # define SSL_CTRL_GET_EC_POINT_FORMATS 111
ssl.h: # define SSL_CTRL_GET_CHAIN_CERTS 115
ssl.h: # define SSL_CTRL_SELECT_CURRENT_CERT 116
ssl.h: # define SSL_CTRL_SET_CURRENT_CERT 117
ssl.h: # define SSL_CTRL_SET_DH_AUTO 118
ssl.h: # define DTLS_CTRL_SET_LINK_MTU 120
ssl.h: # define DTLS_CTRL_GET_LINK_MIN_MTU 121
ssl.h: # define SSL_CTRL_GET_EXTMS_SUPPORT 122
ssl.h: # define SSL_CTRL_SET_MIN_PROTO_VERSION 123
ssl.h: # define SSL_CTRL_SET_MAX_PROTO_VERSION 124
ssl.h: # define SSL_CTRL_SET_SPLIT_SEND_FRAGMENT 125
ssl.h: # define SSL_CTRL_SET_MAX_PIPELINES 126
ssl.h: # define SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE 127
ssl.h: # define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB 128
ssl.h: # define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG 129
ssl.h: # define SSL_CTRL_GET_MIN_PROTO_VERSION 130
ssl.h: # define SSL_CTRL_GET_MAX_PROTO_VERSION 131
ssl.h: # define SSL_CERT_SET_FIRST 1
ssl.h: # define SSL_CERT_SET_NEXT 2
ssl.h: # define SSL_CERT_SET_SERVER 3
ssl.h: # define DTLSv1_get_timeout(ssl, arg) \
ssl.h: SSL_ctrl(ssl,DTLS_CTRL_GET_TIMEOUT,0, (void *)(arg))
ssl.h: # define DTLSv1_handle_timeout(ssl) \
ssl.h: SSL_ctrl(ssl,DTLS_CTRL_HANDLE_TIMEOUT,0, NULL)
ssl.h: # define SSL_num_renegotiations(ssl) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_GET_NUM_RENEGOTIATIONS,0,NULL)
ssl.h: # define SSL_clear_num_renegotiations(ssl) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS,0,NULL)
ssl.h: # define SSL_total_renegotiations(ssl) \
ssl.h: SSL_ctrl((ssl),SSL_CTRL_GET_TOTAL_RENEGOTIATIONS,0,NULL)
ssl.h: # define SSL_CTX_set_tmp_dh(ctx,dh) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))
ssl.h: # define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh))
ssl.h: # define SSL_CTX_set_dh_auto(ctx, onoff) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
ssl.h: # define SSL_set_dh_auto(s, onoff) \
ssl.h: SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
ssl.h: # define SSL_set_tmp_dh(ssl,dh) \
ssl.h: SSL_ctrl(ssl,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))
ssl.h: # define SSL_set_tmp_ecdh(ssl,ecdh) \
ssl.h: SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh))
ssl.h: # define SSL_CTX_add_extra_chain_cert(ctx,x509) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)(x509))
ssl.h: # define SSL_CTX_get_extra_chain_certs(ctx,px509) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_EXTRA_CHAIN_CERTS,0,px509)
ssl.h: # define SSL_CTX_get_extra_chain_certs_only(ctx,px509) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_EXTRA_CHAIN_CERTS,1,px509)
ssl.h: # define SSL_CTX_clear_extra_chain_certs(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS,0,NULL)
ssl.h: # define SSL_CTX_set0_chain(ctx,sk) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,0,(char *)(sk))
ssl.h: # define SSL_CTX_set1_chain(ctx,sk) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,1,(char *)(sk))
ssl.h: # define SSL_CTX_add0_chain_cert(ctx,x509) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN_CERT,0,(char *)(x509))
ssl.h: # define SSL_CTX_add1_chain_cert(ctx,x509) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN_CERT,1,(char *)(x509))
ssl.h: # define SSL_CTX_get0_chain_certs(ctx,px509) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERTS,0,px509)
ssl.h: # define SSL_CTX_clear_chain_certs(ctx) \
ssl.h: SSL_CTX_set0_chain(ctx,NULL)
ssl.h: # define SSL_CTX_build_cert_chain(ctx, flags) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_BUILD_CERT_CHAIN, flags, NULL)
ssl.h: # define SSL_CTX_select_current_cert(ctx,x509) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SELECT_CURRENT_CERT,0,(char *)(x509))
ssl.h: # define SSL_CTX_set_current_cert(ctx, op) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CURRENT_CERT, op, NULL)
ssl.h: # define SSL_CTX_set0_verify_cert_store(ctx,st) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
ssl.h: # define SSL_CTX_set1_verify_cert_store(ctx,st) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
ssl.h: # define SSL_CTX_set0_chain_cert_store(ctx,st) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
ssl.h: # define SSL_CTX_set1_chain_cert_store(ctx,st) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
ssl.h: # define SSL_set0_chain(ctx,sk) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_CHAIN,0,(char *)(sk))
ssl.h: # define SSL_set1_chain(ctx,sk) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_CHAIN,1,(char *)(sk))
ssl.h: # define SSL_add0_chain_cert(ctx,x509) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_CHAIN_CERT,0,(char *)(x509))
ssl.h: # define SSL_add1_chain_cert(ctx,x509) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_CHAIN_CERT,1,(char *)(x509))
ssl.h: # define SSL_get0_chain_certs(ctx,px509) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERTS,0,px509)
ssl.h: # define SSL_clear_chain_certs(ctx) \
ssl.h: SSL_set0_chain(ctx,NULL)
ssl.h: # define SSL_build_cert_chain(s, flags) \
ssl.h: SSL_ctrl(s,SSL_CTRL_BUILD_CERT_CHAIN, flags, NULL)
ssl.h: # define SSL_select_current_cert(ctx,x509) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SELECT_CURRENT_CERT,0,(char *)(x509))
ssl.h: # define SSL_set_current_cert(ctx,op) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SET_CURRENT_CERT, op, NULL)
ssl.h: # define SSL_set0_verify_cert_store(s,st) \
ssl.h: SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
ssl.h: # define SSL_set1_verify_cert_store(s,st) \
ssl.h: SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
ssl.h: # define SSL_set0_chain_cert_store(s,st) \
ssl.h: SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
ssl.h: # define SSL_set1_chain_cert_store(s,st) \
ssl.h: SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
ssl.h: # define SSL_get1_groups(ctx, s) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_GET_GROUPS,0,(char *)(s))
ssl.h: # define SSL_get1_curves(ctx, s) \
ssl.h: SSL_get1_groups((ctx), (s))
ssl.h: # define SSL_CTX_set1_groups(ctx, glist, glistlen) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(char *)(glist))
ssl.h: # define SSL_CTX_set1_groups_list(ctx, s) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
ssl.h: # define SSL_CTX_set1_curves(ctx, clist, clistlen) \
ssl.h: SSL_CTX_set1_groups((ctx), (clist), (clistlen))
ssl.h: # define SSL_CTX_set1_curves_list(ctx, s) \
ssl.h: SSL_CTX_set1_groups_list((ctx), (s))
ssl.h: # define SSL_set1_groups(ctx, glist, glistlen) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(char *)(glist))
ssl.h: # define SSL_set1_groups_list(ctx, s) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
ssl.h: # define SSL_set1_curves(ctx, clist, clistlen) \
ssl.h: SSL_set1_groups((ctx), (clist), (clistlen))
ssl.h: # define SSL_set1_curves_list(ctx, s) \
ssl.h: SSL_set1_groups_list((ctx), (s))
ssl.h: # define SSL_get_shared_group(s, n) \
ssl.h: SSL_ctrl(s,SSL_CTRL_GET_SHARED_GROUP,n,NULL)
ssl.h: # define SSL_get_shared_curve(s, n) \
ssl.h: SSL_get_shared_group((s), (n))
ssl.h: # define SSL_CTX_set1_sigalgs(ctx, slist, slistlen) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SIGALGS,slistlen,(int *)(slist))
ssl.h: # define SSL_CTX_set1_sigalgs_list(ctx, s) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)(s))
ssl.h: # define SSL_set1_sigalgs(ctx, slist, slistlen) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SET_SIGALGS,slistlen,(int *)(slist))
ssl.h: # define SSL_set1_sigalgs_list(ctx, s) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)(s))
ssl.h: # define SSL_CTX_set1_client_sigalgs(ctx, slist, slistlen) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS,slistlen,(int *)(slist))
ssl.h: # define SSL_CTX_set1_client_sigalgs_list(ctx, s) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS_LIST,0,(char *)(s))
ssl.h: # define SSL_set1_client_sigalgs(ctx, slist, slistlen) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS,clistlen,(int *)(slist))
ssl.h: # define SSL_set1_client_sigalgs_list(ctx, s) \
ssl.h: SSL_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS_LIST,0,(char *)(s))
ssl.h: # define SSL_get0_certificate_types(s, clist) \
ssl.h: SSL_ctrl(s, SSL_CTRL_GET_CLIENT_CERT_TYPES, 0, (char *)(clist))
ssl.h: # define SSL_CTX_set1_client_certificate_types(ctx, clist, clistlen) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CLIENT_CERT_TYPES,clistlen, \
ssl.h: (char *)(clist))
ssl.h: # define SSL_set1_client_certificate_types(s, clist, clistlen) \
ssl.h: SSL_ctrl(s,SSL_CTRL_SET_CLIENT_CERT_TYPES,clistlen,(char *)(clist))
ssl.h: # define SSL_get_peer_signature_nid(s, pn) \
ssl.h: SSL_ctrl(s,SSL_CTRL_GET_PEER_SIGNATURE_NID,0,pn)
ssl.h: # define SSL_get_server_tmp_key(s, pk) \
ssl.h: SSL_ctrl(s,SSL_CTRL_GET_SERVER_TMP_KEY,0,pk)
ssl.h: # define SSL_get0_raw_cipherlist(s, plst) \
ssl.h: SSL_ctrl(s,SSL_CTRL_GET_RAW_CIPHERLIST,0,plst)
ssl.h: # define SSL_get0_ec_point_formats(s, plst) \
ssl.h: SSL_ctrl(s,SSL_CTRL_GET_EC_POINT_FORMATS,0,plst)
ssl.h: #define SSL_CTX_set_min_proto_version(ctx, version) \
ssl.h: SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)
ssl.h: #define SSL_CTX_set_max_proto_version(ctx, version) \
ssl.h: SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)
ssl.h: #define SSL_CTX_get_min_proto_version(ctx) \
ssl.h: SSL_CTX_ctrl(ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL)
ssl.h: #define SSL_CTX_get_max_proto_version(ctx) \
ssl.h: SSL_CTX_ctrl(ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL)
ssl.h: #define SSL_set_min_proto_version(s, version) \
ssl.h: SSL_ctrl(s, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)
ssl.h: #define SSL_set_max_proto_version(s, version) \
ssl.h: SSL_ctrl(s, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)
ssl.h: #define SSL_get_min_proto_version(s) \
ssl.h: SSL_ctrl(s, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL)
ssl.h: #define SSL_get_max_proto_version(s) \
ssl.h: SSL_ctrl(s, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL)
ssl.h: # define SSL_CTX_need_tmp_RSA(ctx) 0
ssl.h: # define SSL_CTX_set_tmp_rsa(ctx,rsa) 1
ssl.h: # define SSL_need_tmp_RSA(ssl) 0
ssl.h: # define SSL_set_tmp_rsa(ssl,rsa) 1
ssl.h: # define SSL_CTX_set_ecdh_auto(dummy, onoff) ((onoff) != 0)
ssl.h: # define SSL_set_ecdh_auto(dummy, onoff) ((onoff) != 0)
ssl.h: # define SSL_CTX_set_tmp_rsa_callback(ctx, cb) while(0) (cb)(NULL, 0, 0)
ssl.h: # define SSL_set_tmp_rsa_callback(ssl, cb) while(0) (cb)(NULL, 0, 0)
ssl.h: __owur const BIO_METHOD *BIO_f_ssl(void);
ssl.h: __owur BIO *BIO_new_ssl(SSL_CTX *ctx, int client);
ssl.h: __owur BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
ssl.h: __owur BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
ssl.h: __owur int BIO_ssl_copy_session_id(BIO *to, BIO *from);
ssl.h: void BIO_ssl_shutdown(BIO *ssl_bio);
ssl.h: __owur int SSL_CTX_set_cipher_list(SSL_CTX *, const char *str);
ssl.h: __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
ssl.h: int SSL_CTX_up_ref(SSL_CTX *ctx);
ssl.h: void SSL_CTX_free(SSL_CTX *);
ssl.h: __owur long SSL_CTX_set_timeout(SSL_CTX *ctx, long t);
ssl.h: __owur long SSL_CTX_get_timeout(const SSL_CTX *ctx);
ssl.h: __owur X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
ssl.h: void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *);
ssl.h: void SSL_CTX_set1_cert_store(SSL_CTX *, X509_STORE *);
ssl.h: __owur int SSL_want(const SSL *s);
ssl.h: __owur int SSL_clear(SSL *s);
ssl.h: void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm);
ssl.h: __owur const SSL_CIPHER *SSL_get_current_cipher(const SSL *s);
ssl.h: __owur const SSL_CIPHER *SSL_get_pending_cipher(const SSL *s);
ssl.h: __owur int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits);
ssl.h: __owur const char *SSL_CIPHER_get_version(const SSL_CIPHER *c);
ssl.h: __owur const char *SSL_CIPHER_get_name(const SSL_CIPHER *c);
ssl.h: __owur const char *SSL_CIPHER_standard_name(const SSL_CIPHER *c);
ssl.h: __owur const char *OPENSSL_cipher_name(const char *rfc_name);
ssl.h: __owur uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *c);
ssl.h: __owur uint16_t SSL_CIPHER_get_protocol_id(const SSL_CIPHER *c);
ssl.h: __owur int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c);
ssl.h: __owur int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c);
ssl.h: __owur const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c);
ssl.h: __owur int SSL_CIPHER_is_aead(const SSL_CIPHER *c);
ssl.h: __owur int SSL_get_fd(const SSL *s);
ssl.h: __owur int SSL_get_rfd(const SSL *s);
ssl.h: __owur int SSL_get_wfd(const SSL *s);
ssl.h: __owur const char *SSL_get_cipher_list(const SSL *s, int n);
ssl.h: __owur char *SSL_get_shared_ciphers(const SSL *s, char *buf, int len);
ssl.h: __owur int SSL_get_read_ahead(const SSL *s);
ssl.h: __owur int SSL_pending(const SSL *s);
ssl.h: __owur int SSL_has_pending(const SSL *s);
ssl.h: __owur int SSL_set_fd(SSL *s, int fd);
ssl.h: __owur int SSL_set_rfd(SSL *s, int fd);
ssl.h: __owur int SSL_set_wfd(SSL *s, int fd);
ssl.h: void SSL_set0_rbio(SSL *s, BIO *rbio);
ssl.h: void SSL_set0_wbio(SSL *s, BIO *wbio);
ssl.h: void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio);
ssl.h: __owur BIO *SSL_get_rbio(const SSL *s);
ssl.h: __owur BIO *SSL_get_wbio(const SSL *s);
ssl.h: __owur int SSL_set_cipher_list(SSL *s, const char *str);
ssl.h: void SSL_set_read_ahead(SSL *s, int yes);
ssl.h: __owur int SSL_get_verify_mode(const SSL *s);
ssl.h: __owur int SSL_get_verify_depth(const SSL *s);
ssl.h: __owur SSL_verify_cb SSL_get_verify_callback(const SSL *s);
ssl.h: void SSL_set_verify(SSL *s, int mode, SSL_verify_cb callback);
ssl.h: void SSL_set_verify_depth(SSL *s, int depth);
ssl.h: void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg);
ssl.h: __owur int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
ssl.h: __owur int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const unsigned char *d, long len);
ssl.h: __owur int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
ssl.h: __owur int SSL_use_PrivateKey_ASN1(int pk, SSL *ssl, const unsigned char *d,
ssl.h: __owur int SSL_use_certificate(SSL *ssl, X509 *x);
ssl.h: __owur int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len);
ssl.h: # define SSL_SERVERINFOV1 1
ssl.h: # define SSL_SERVERINFOV2 2
ssl.h: __owur int SSL_CTX_use_serverinfo(SSL_CTX *ctx, const unsigned char *serverinfo,
ssl.h: __owur int SSL_CTX_use_serverinfo_ex(SSL_CTX *ctx, unsigned int version,
ssl.h: __owur int SSL_CTX_use_serverinfo_file(SSL_CTX *ctx, const char *file);
ssl.h: __owur int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type);
ssl.h: __owur int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type);
ssl.h: __owur int SSL_use_certificate_file(SSL *ssl, const char *file, int type);
ssl.h: __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);
ssl.h: __owur int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);
ssl.h: __owur int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);
ssl.h: __owur int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file);
ssl.h: __owur int SSL_use_certificate_chain_file(SSL *ssl, const char *file);
ssl.h: __owur STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
ssl.h: __owur int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
ssl.h: int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
ssl.h: # define SSL_load_error_strings() \
ssl.h: OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
ssl.h: __owur const char *SSL_state_string(const SSL *s);
ssl.h: __owur const char *SSL_rstate_string(const SSL *s);
ssl.h: __owur const char *SSL_state_string_long(const SSL *s);
ssl.h: __owur const char *SSL_rstate_string_long(const SSL *s);
ssl.h: __owur long SSL_SESSION_get_time(const SSL_SESSION *s);
ssl.h: __owur long SSL_SESSION_set_time(SSL_SESSION *s, long t);
ssl.h: __owur long SSL_SESSION_get_timeout(const SSL_SESSION *s);
ssl.h: __owur long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);
ssl.h: __owur int SSL_SESSION_get_protocol_version(const SSL_SESSION *s);
ssl.h: __owur int SSL_SESSION_set_protocol_version(SSL_SESSION *s, int version);
ssl.h: __owur const char *SSL_SESSION_get0_hostname(const SSL_SESSION *s);
ssl.h: __owur int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname);
ssl.h: void SSL_SESSION_get0_alpn_selected(const SSL_SESSION *s,
ssl.h: __owur int SSL_SESSION_set1_alpn_selected(SSL_SESSION *s,
ssl.h: __owur const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s);
ssl.h: __owur int SSL_SESSION_set_cipher(SSL_SESSION *s, const SSL_CIPHER *cipher);
ssl.h: __owur int SSL_SESSION_has_ticket(const SSL_SESSION *s);
ssl.h: __owur unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s);
ssl.h: void SSL_SESSION_get0_ticket(const SSL_SESSION *s, const unsigned char **tick,
ssl.h: __owur uint32_t SSL_SESSION_get_max_early_data(const SSL_SESSION *s);
ssl.h: __owur int SSL_SESSION_set_max_early_data(SSL_SESSION *s,
ssl.h: __owur int SSL_copy_session_id(SSL *to, const SSL *from);
ssl.h: __owur X509 *SSL_SESSION_get0_peer(SSL_SESSION *s);
ssl.h: __owur int SSL_SESSION_set1_id_context(SSL_SESSION *s, const unsigned char *sid_ctx,
ssl.h: __owur int SSL_SESSION_set1_id(SSL_SESSION *s, const unsigned char *sid,
ssl.h: __owur int SSL_SESSION_is_resumable(const SSL_SESSION *s);
ssl.h: __owur SSL_SESSION *SSL_SESSION_new(void);
ssl.h: __owur SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *src);
ssl.h: const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s,
ssl.h: const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *s,
ssl.h: __owur unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);
ssl.h: int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
ssl.h: int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
ssl.h: int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);
ssl.h: int SSL_SESSION_up_ref(SSL_SESSION *ses);
ssl.h: void SSL_SESSION_free(SSL_SESSION *ses);
ssl.h: __owur int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
ssl.h: __owur int SSL_set_session(SSL *to, SSL_SESSION *session);
ssl.h: int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
ssl.h: int SSL_CTX_remove_session(SSL_CTX *, SSL_SESSION *c);
ssl.h: __owur int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB);
ssl.h: __owur int SSL_set_generate_session_id(SSL *, GEN_SESSION_CB);
ssl.h: __owur int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,
ssl.h: SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp,
ssl.h: __owur X509 *SSL_get_peer_certificate(const SSL *s);
ssl.h: __owur STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s);
ssl.h: __owur int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
ssl.h: __owur int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
ssl.h: __owur SSL_verify_cb SSL_CTX_get_verify_callback(const SSL_CTX *ctx);
ssl.h: void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, SSL_verify_cb callback);
ssl.h: void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth);
ssl.h: void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx,
ssl.h: int (*cb) (X509_STORE_CTX *, void *),
ssl.h: void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg),
ssl.h: __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
ssl.h: __owur int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d,
ssl.h: __owur int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
ssl.h: __owur int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx,
ssl.h: __owur int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
ssl.h: __owur int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len,
ssl.h: void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
ssl.h: void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);
ssl.h: pem_password_cb *SSL_CTX_get_default_passwd_cb(SSL_CTX *ctx);
ssl.h: void *SSL_CTX_get_default_passwd_cb_userdata(SSL_CTX *ctx);
ssl.h: void SSL_set_default_passwd_cb(SSL *s, pem_password_cb *cb);
ssl.h: void SSL_set_default_passwd_cb_userdata(SSL *s, void *u);
ssl.h: pem_password_cb *SSL_get_default_passwd_cb(SSL *s);
ssl.h: void *SSL_get_default_passwd_cb_userdata(SSL *s);
ssl.h: __owur int SSL_CTX_check_private_key(const SSL_CTX *ctx);
ssl.h: __owur int SSL_check_private_key(const SSL *ctx);
ssl.h: __owur int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const unsigned char *sid_ctx,
ssl.h: SSL *SSL_new(SSL_CTX *ctx);
ssl.h: int SSL_up_ref(SSL *s);
ssl.h: int SSL_is_dtls(const SSL *s);
ssl.h: __owur int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx,
ssl.h: __owur int SSL_CTX_set_purpose(SSL_CTX *s, int purpose);
ssl.h: __owur int SSL_set_purpose(SSL *s, int purpose);
ssl.h: __owur int SSL_CTX_set_trust(SSL_CTX *s, int trust);
ssl.h: __owur int SSL_set_trust(SSL *s, int trust);
ssl.h: __owur int SSL_set1_host(SSL *s, const char *hostname);
ssl.h: __owur int SSL_add1_host(SSL *s, const char *hostname);
ssl.h: __owur const char *SSL_get0_peername(SSL *s);
ssl.h: void SSL_set_hostflags(SSL *s, unsigned int flags);
ssl.h: __owur int SSL_CTX_dane_enable(SSL_CTX *ctx);
ssl.h: __owur int SSL_CTX_dane_mtype_set(SSL_CTX *ctx, const EVP_MD *md,
ssl.h: __owur int SSL_dane_enable(SSL *s, const char *basedomain);
ssl.h: __owur int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector,
ssl.h: __owur int SSL_get0_dane_authority(SSL *s, X509 **mcert, EVP_PKEY **mspki);
ssl.h: __owur int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector,
ssl.h: SSL_DANE *SSL_get0_dane(SSL *ssl);
ssl.h: unsigned long SSL_CTX_dane_set_flags(SSL_CTX *ctx, unsigned long flags);
ssl.h: unsigned long SSL_CTX_dane_clear_flags(SSL_CTX *ctx, unsigned long flags);
ssl.h: unsigned long SSL_dane_set_flags(SSL *ssl, unsigned long flags);
ssl.h: unsigned long SSL_dane_clear_flags(SSL *ssl, unsigned long flags);
ssl.h: __owur int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);
ssl.h: __owur int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm);
ssl.h: __owur X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx);
ssl.h: __owur X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl);
ssl.h: int SSL_CTX_set_srp_username(SSL_CTX *ctx, char *name);
ssl.h: int SSL_CTX_set_srp_password(SSL_CTX *ctx, char *password);
ssl.h: int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength);
ssl.h: int SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx,
ssl.h: char *(*cb) (SSL *, void *));
ssl.h: int SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx,
ssl.h: int (*cb) (SSL *, void *));
ssl.h: int SSL_CTX_set_srp_username_callback(SSL_CTX *ctx,
ssl.h: int (*cb) (SSL *, int *, void *));
ssl.h: int SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg);
ssl.h: int SSL_set_srp_server_param(SSL *s, const BIGNUM *N, const BIGNUM *g,
ssl.h: int SSL_set_srp_server_param_pw(SSL *s, const char *user, const char *pass,
ssl.h: __owur BIGNUM *SSL_get_srp_g(SSL *s);
ssl.h: __owur BIGNUM *SSL_get_srp_N(SSL *s);
ssl.h: __owur char *SSL_get_srp_username(SSL *s);
ssl.h: __owur char *SSL_get_srp_userinfo(SSL *s);
ssl.h: # define SSL_CLIENT_HELLO_SUCCESS 1
ssl.h: # define SSL_CLIENT_HELLO_ERROR 0
ssl.h: # define SSL_CLIENT_HELLO_RETRY (-1)
ssl.h: typedef int (*SSL_client_hello_cb_fn) (SSL *s, int *al, void *arg);
ssl.h: void SSL_CTX_set_client_hello_cb(SSL_CTX *c, SSL_client_hello_cb_fn cb,
ssl.h: int SSL_client_hello_isv2(SSL *s);
ssl.h: unsigned int SSL_client_hello_get0_legacy_version(SSL *s);
ssl.h: size_t SSL_client_hello_get0_random(SSL *s, const unsigned char **out);
ssl.h: size_t SSL_client_hello_get0_session_id(SSL *s, const unsigned char **out);
ssl.h: size_t SSL_client_hello_get0_ciphers(SSL *s, const unsigned char **out);
ssl.h: size_t SSL_client_hello_get0_compression_methods(SSL *s,
ssl.h: int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen);
ssl.h: int SSL_client_hello_get0_ext(SSL *s, unsigned int type,
ssl.h: void SSL_certs_clear(SSL *s);
ssl.h: void SSL_free(SSL *ssl);
ssl.h: __owur int SSL_waiting_for_async(SSL *s);
ssl.h: __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
ssl.h: __owur int SSL_get_changed_async_fds(SSL *s, OSSL_ASYNC_FD *addfd,
ssl.h: __owur int SSL_accept(SSL *ssl);
ssl.h: __owur int SSL_stateless(SSL *s);
ssl.h: __owur int SSL_connect(SSL *ssl);
ssl.h: __owur int SSL_read(SSL *ssl, void *buf, int num);
ssl.h: __owur int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes);
ssl.h: # define SSL_READ_EARLY_DATA_ERROR 0
ssl.h: # define SSL_READ_EARLY_DATA_SUCCESS 1
ssl.h: # define SSL_READ_EARLY_DATA_FINISH 2
ssl.h: __owur int SSL_read_early_data(SSL *s, void *buf, size_t num,
ssl.h: __owur int SSL_peek(SSL *ssl, void *buf, int num);
ssl.h: __owur int SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes);
ssl.h: __owur int SSL_write(SSL *ssl, const void *buf, int num);
ssl.h: __owur int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written);
ssl.h: __owur int SSL_write_early_data(SSL *s, const void *buf, size_t num,
ssl.h: long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
ssl.h: long SSL_callback_ctrl(SSL *, int, void (*)(void));
ssl.h: long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
ssl.h: long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void));
ssl.h: # define SSL_EARLY_DATA_NOT_SENT 0
ssl.h: # define SSL_EARLY_DATA_REJECTED 1
ssl.h: # define SSL_EARLY_DATA_ACCEPTED 2
ssl.h: __owur int SSL_get_early_data_status(const SSL *s);
ssl.h: __owur int SSL_get_error(const SSL *s, int ret_code);
ssl.h: __owur const char *SSL_get_version(const SSL *s);
ssl.h: /* This sets the 'default' SSL version that SSL_new() will create */
ssl.h: __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_method(void)) /* SSLv3 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_server_method(void)) /* SSLv3 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) /* SSLv3 */
ssl.h: __owur const SSL_METHOD *TLS_method(void);
ssl.h: __owur const SSL_METHOD *TLS_server_method(void);
ssl.h: __owur const SSL_METHOD *TLS_client_method(void);
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) /* TLSv1.1 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) /* TLSv1.2 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void)) /* DTLSv1.0 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void)) /* DTLSv1.0 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_2_method(void)) /* DTLSv1.2 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_2_server_method(void)) /* DTLSv1.2 */
ssl.h: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_2_client_method(void)) /* DTLSv1.2 */
ssl.h: __owur const SSL_METHOD *DTLS_method(void); /* DTLS 1.0 and 1.2 */
ssl.h: __owur const SSL_METHOD *DTLS_server_method(void); /* DTLS 1.0 and 1.2 */
ssl.h: __owur const SSL_METHOD *DTLS_client_method(void); /* DTLS 1.0 and 1.2 */
ssl.h: __owur size_t DTLS_get_data_mtu(const SSL *s);
ssl.h: __owur STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s);
ssl.h: __owur STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx);
ssl.h: __owur STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *s);
ssl.h: __owur STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s);
ssl.h: __owur int SSL_do_handshake(SSL *s);
ssl.h: int SSL_key_update(SSL *s, int updatetype);
ssl.h: int SSL_get_key_update_type(SSL *s);
ssl.h: int SSL_renegotiate(SSL *s);
ssl.h: int SSL_renegotiate_abbreviated(SSL *s);
ssl.h: __owur int SSL_renegotiate_pending(SSL *s);
ssl.h: int SSL_shutdown(SSL *s);
ssl.h: __owur int SSL_verify_client_post_handshake(SSL *s);
ssl.h: void SSL_force_post_handshake_auth(SSL *s);
ssl.h: __owur const SSL_METHOD *SSL_CTX_get_ssl_method(SSL_CTX *ctx);
ssl.h: __owur const SSL_METHOD *SSL_get_ssl_method(SSL *s);
ssl.h: __owur int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method);
ssl.h: __owur const char *SSL_alert_type_string_long(int value);
ssl.h: __owur const char *SSL_alert_type_string(int value);
ssl.h: __owur const char *SSL_alert_desc_string_long(int value);
ssl.h: __owur const char *SSL_alert_desc_string(int value);
ssl.h: void SSL_set0_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list);
ssl.h: void SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
ssl.h: __owur const STACK_OF(X509_NAME) *SSL_get0_CA_list(const SSL *s);
ssl.h: __owur const STACK_OF(X509_NAME) *SSL_CTX_get0_CA_list(const SSL_CTX *ctx);
ssl.h: __owur int SSL_add1_CA_list(SSL *ssl, const X509 *x);
ssl.h: __owur int SSL_CTX_add1_CA_list(SSL_CTX *ctx, const X509 *x);
ssl.h: __owur const STACK_OF(X509_NAME) *SSL_get0_peer_CA_list(const SSL *s);
ssl.h: void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list);
ssl.h: void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
ssl.h: __owur STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
ssl.h: __owur STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
ssl.h: __owur int SSL_add_client_CA(SSL *ssl, X509 *x);
ssl.h: __owur int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x);
ssl.h: void SSL_set_connect_state(SSL *s);
ssl.h: void SSL_set_accept_state(SSL *s);
ssl.h: __owur long SSL_get_default_timeout(const SSL *s);
ssl.h: # define SSL_library_init() OPENSSL_init_ssl(0, NULL)
ssl.h: __owur char *SSL_CIPHER_description(const SSL_CIPHER *, char *buf, int size);
ssl.h: __owur STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk);
ssl.h: __owur SSL *SSL_dup(SSL *ssl);
ssl.h: __owur X509 *SSL_get_certificate(const SSL *ssl);
ssl.h: */ struct evp_pkey_st *SSL_get_privatekey(const SSL *ssl);
ssl.h: __owur X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx);
ssl.h: __owur EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx);
ssl.h: void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode);
ssl.h: __owur int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
ssl.h: void SSL_set_quiet_shutdown(SSL *ssl, int mode);
ssl.h: __owur int SSL_get_quiet_shutdown(const SSL *ssl);
ssl.h: void SSL_set_shutdown(SSL *ssl, int mode);
ssl.h: __owur int SSL_get_shutdown(const SSL *ssl);
ssl.h: __owur int SSL_version(const SSL *ssl);
ssl.h: __owur int SSL_client_version(const SSL *s);
ssl.h: __owur int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
ssl.h: __owur int SSL_CTX_set_default_verify_dir(SSL_CTX *ctx);
ssl.h: __owur int SSL_CTX_set_default_verify_file(SSL_CTX *ctx);
ssl.h: __owur int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
ssl.h: # define SSL_get0_session SSL_get_session/* just peek at pointer */
ssl.h: __owur SSL_SESSION *SSL_get_session(const SSL *ssl);
ssl.h: __owur SSL_SESSION *SSL_get1_session(SSL *ssl); /* obtain a reference count */
ssl.h: __owur SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
ssl.h: SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx);
ssl.h: void SSL_set_info_callback(SSL *ssl,
ssl.h: void (*cb) (const SSL *ssl, int type, int val));
ssl.h: void (*SSL_get_info_callback(const SSL *ssl)) (const SSL *ssl, int type,
ssl.h: __owur OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl);
ssl.h: void SSL_set_verify_result(SSL *ssl, long v);
ssl.h: __owur long SSL_get_verify_result(const SSL *ssl);
ssl.h: __owur STACK_OF(X509) *SSL_get0_verified_chain(const SSL *s);
ssl.h: __owur size_t SSL_get_client_random(const SSL *ssl, unsigned char *out,
ssl.h: __owur size_t SSL_get_server_random(const SSL *ssl, unsigned char *out,
ssl.h: __owur size_t SSL_SESSION_get_master_key(const SSL_SESSION *sess,
ssl.h: __owur int SSL_SESSION_set1_master_key(SSL_SESSION *sess,
ssl.h: uint8_t SSL_SESSION_get_max_fragment_length(const SSL_SESSION *sess);
ssl.h: #define SSL_get_ex_new_index(l, p, newf, dupf, freef) \
ssl.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL, l, p, newf, dupf, freef)
ssl.h: __owur int SSL_set_ex_data(SSL *ssl, int idx, void *data);
ssl.h: void *SSL_get_ex_data(const SSL *ssl, int idx);
ssl.h: #define SSL_SESSION_get_ex_new_index(l, p, newf, dupf, freef) \
ssl.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_SESSION, l, p, newf, dupf, freef)
ssl.h: __owur int SSL_SESSION_set_ex_data(SSL_SESSION *ss, int idx, void *data);
ssl.h: void *SSL_SESSION_get_ex_data(const SSL_SESSION *ss, int idx);
ssl.h: #define SSL_CTX_get_ex_new_index(l, p, newf, dupf, freef) \
ssl.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_CTX, l, p, newf, dupf, freef)
ssl.h: __owur int SSL_CTX_set_ex_data(SSL_CTX *ssl, int idx, void *data);
ssl.h: void *SSL_CTX_get_ex_data(const SSL_CTX *ssl, int idx);
ssl.h: __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
ssl.h: # define SSL_CTX_sess_set_cache_size(ctx,t) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_SIZE,t,NULL)
ssl.h: # define SSL_CTX_sess_get_cache_size(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_SIZE,0,NULL)
ssl.h: # define SSL_CTX_set_session_cache_mode(ctx,m) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL)
ssl.h: # define SSL_CTX_get_session_cache_mode(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_MODE,0,NULL)
ssl.h: # define SSL_CTX_get_default_read_ahead(ctx) SSL_CTX_get_read_ahead(ctx)
ssl.h: # define SSL_CTX_set_default_read_ahead(ctx,m) SSL_CTX_set_read_ahead(ctx,m)
ssl.h: # define SSL_CTX_get_read_ahead(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_READ_AHEAD,0,NULL)
ssl.h: # define SSL_CTX_set_read_ahead(ctx,m) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_READ_AHEAD,m,NULL)
ssl.h: # define SSL_CTX_get_max_cert_list(ctx) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_MAX_CERT_LIST,0,NULL)
ssl.h: # define SSL_CTX_set_max_cert_list(ctx,m) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_CERT_LIST,m,NULL)
ssl.h: # define SSL_get_max_cert_list(ssl) \
ssl.h: SSL_ctrl(ssl,SSL_CTRL_GET_MAX_CERT_LIST,0,NULL)
ssl.h: # define SSL_set_max_cert_list(ssl,m) \
ssl.h: SSL_ctrl(ssl,SSL_CTRL_SET_MAX_CERT_LIST,m,NULL)
ssl.h: # define SSL_CTX_set_max_send_fragment(ctx,m) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL)
ssl.h: # define SSL_set_max_send_fragment(ssl,m) \
ssl.h: SSL_ctrl(ssl,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL)
ssl.h: # define SSL_CTX_set_split_send_fragment(ctx,m) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SPLIT_SEND_FRAGMENT,m,NULL)
ssl.h: # define SSL_set_split_send_fragment(ssl,m) \
ssl.h: SSL_ctrl(ssl,SSL_CTRL_SET_SPLIT_SEND_FRAGMENT,m,NULL)
ssl.h: # define SSL_CTX_set_max_pipelines(ctx,m) \
ssl.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
ssl.h: # define SSL_set_max_pipelines(ssl,m) \
ssl.h: SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
ssl.h: void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
ssl.h: void SSL_set_default_read_buffer_len(SSL *s, size_t len);
ssl.h: void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
ssl.h: DH *(*dh) (SSL *ssl, int is_export,
ssl.h: void SSL_set_tmp_dh_callback(SSL *ssl,
ssl.h: DH *(*dh) (SSL *ssl, int is_export,
ssl.h: __owur const COMP_METHOD *SSL_get_current_compression(SSL *s);
ssl.h: __owur const COMP_METHOD *SSL_get_current_expansion(SSL *s);
ssl.h: __owur const char *SSL_COMP_get_name(const COMP_METHOD *comp);
ssl.h: __owur const char *SSL_COMP_get0_name(const SSL_COMP *comp);
ssl.h: __owur int SSL_COMP_get_id(const SSL_COMP *comp);
ssl.h: STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void);
ssl.h: __owur STACK_OF(SSL_COMP) *SSL_COMP_set0_compression_methods(STACK_OF(SSL_COMP)
ssl.h: # define SSL_COMP_free_compression_methods() while(0) continue
ssl.h: __owur int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm);
ssl.h: const SSL_CIPHER *SSL_CIPHER_find(SSL *ssl, const unsigned char *ptr);
ssl.h: int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c);
ssl.h: int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c);
ssl.h: int SSL_bytes_to_cipher_list(SSL *s, const unsigned char *bytes, size_t len,
ssl.h: int isv2format, STACK_OF(SSL_CIPHER) **sk,
ssl.h: STACK_OF(SSL_CIPHER) **scsvs);
ssl.h: __owur int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);
ssl.h: __owur int SSL_set_session_ticket_ext_cb(SSL *s, tls_session_ticket_ext_cb_fn cb,
ssl.h: __owur int SSL_set_session_secret_cb(SSL *s,
ssl.h: void SSL_CTX_set_not_resumable_session_callback(SSL_CTX *ctx,
ssl.h: int (*cb) (SSL *ssl,
ssl.h: void SSL_set_not_resumable_session_callback(SSL *ssl,
ssl.h: int (*cb) (SSL *ssl,
ssl.h: void SSL_CTX_set_record_padding_callback(SSL_CTX *ctx,
ssl.h: size_t (*cb) (SSL *ssl, int type,
ssl.h: void SSL_CTX_set_record_padding_callback_arg(SSL_CTX *ctx, void *arg);
ssl.h: void *SSL_CTX_get_record_padding_callback_arg(SSL_CTX *ctx);
ssl.h: int SSL_CTX_set_block_padding(SSL_CTX *ctx, size_t block_size);
ssl.h: void SSL_set_record_padding_callback(SSL *ssl,
ssl.h: size_t (*cb) (SSL *ssl, int type,
ssl.h: void SSL_set_record_padding_callback_arg(SSL *ssl, void *arg);
ssl.h: void *SSL_get_record_padding_callback_arg(SSL *ssl);
ssl.h: int SSL_set_block_padding(SSL *ssl, size_t block_size);
ssl.h: # define SSL_cache_hit(s) SSL_session_reused(s)
ssl.h: __owur int SSL_session_reused(SSL *s);
ssl.h: __owur int SSL_is_server(const SSL *s);
ssl.h: __owur __owur SSL_CONF_CTX *SSL_CONF_CTX_new(void);
ssl.h: int SSL_CONF_CTX_finish(SSL_CONF_CTX *cctx);
ssl.h: void SSL_CONF_CTX_free(SSL_CONF_CTX *cctx);
ssl.h: unsigned int SSL_CONF_CTX_set_flags(SSL_CONF_CTX *cctx, unsigned int flags);
ssl.h: __owur unsigned int SSL_CONF_CTX_clear_flags(SSL_CONF_CTX *cctx, unsigned int flags);
ssl.h: __owur int SSL_CONF_CTX_set1_prefix(SSL_CONF_CTX *cctx, const char *pre);
ssl.h: void SSL_CONF_CTX_set_ssl(SSL_CONF_CTX *cctx, SSL *ssl);
ssl.h: void SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *cctx, SSL_CTX *ctx);
ssl.h: __owur int SSL_CONF_cmd(SSL_CONF_CTX *cctx, const char *cmd, const char *value);
ssl.h: __owur int SSL_CONF_cmd_argv(SSL_CONF_CTX *cctx, int *pargc, char ***pargv);
ssl.h: __owur int SSL_CONF_cmd_value_type(SSL_CONF_CTX *cctx, const char *cmd);
ssl.h: void SSL_add_ssl_module(void);
ssl.h: int SSL_config(SSL *s, const char *name);
ssl.h: int SSL_CTX_config(SSL_CTX *ctx, const char *name);
ssl.h: void SSL_trace(int write_p, int version, int content_type,
ssl.h: int DTLSv1_listen(SSL *s, BIO_ADDR *client);
ssl.h: typedef int(*ssl_ct_validation_cb)(const CT_POLICY_EVAL_CTX *ctx,
ssl.h: const STACK_OF(SCT) *scts, void *arg);
ssl.h: int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback,
ssl.h: int SSL_CTX_set_ct_validation_callback(SSL_CTX *ctx,
ssl.h: #define SSL_disable_ct(s) \
ssl.h: ((void) SSL_set_validation_callback((s), NULL, NULL))
ssl.h: #define SSL_CTX_disable_ct(ctx) \
ssl.h: ((void) SSL_CTX_set_validation_callback((ctx), NULL, NULL))
ssl.h: * CT validation callback selected via SSL_enable_ct() and SSL_CTX_enable_ct().
ssl.h: int SSL_enable_ct(SSL *s, int validation_mode);
ssl.h: int SSL_CTX_enable_ct(SSL_CTX *ctx, int validation_mode);
ssl.h: int SSL_ct_is_enabled(const SSL *s);
ssl.h: int SSL_CTX_ct_is_enabled(const SSL_CTX *ctx);
ssl.h: const STACK_OF(SCT) *SSL_get0_peer_scts(SSL *s);
ssl.h: int SSL_CTX_set_default_ctlog_list_file(SSL_CTX *ctx);
ssl.h: int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
ssl.h: void SSL_CTX_set0_ctlog_store(SSL_CTX *ctx, CTLOG_STORE *logs);
ssl.h: const CTLOG_STORE *SSL_CTX_get0_ctlog_store(const SSL_CTX *ctx);
ssl.h: # define SSL_SECOP_OTHER_TYPE 0xffff0000
ssl.h: # define SSL_SECOP_OTHER_NONE 0
ssl.h: # define SSL_SECOP_OTHER_CIPHER (1 << 16)
ssl.h: # define SSL_SECOP_OTHER_CURVE (2 << 16)
ssl.h: # define SSL_SECOP_OTHER_DH (3 << 16)
ssl.h: # define SSL_SECOP_OTHER_PKEY (4 << 16)
ssl.h: # define SSL_SECOP_OTHER_SIGALG (5 << 16)
ssl.h: # define SSL_SECOP_OTHER_CERT (6 << 16)
ssl.h: # define SSL_SECOP_PEER 0x1000
ssl.h: # define SSL_SECOP_CIPHER_SUPPORTED (1 | SSL_SECOP_OTHER_CIPHER)
ssl.h: # define SSL_SECOP_CIPHER_SHARED (2 | SSL_SECOP_OTHER_CIPHER)
ssl.h: # define SSL_SECOP_CIPHER_CHECK (3 | SSL_SECOP_OTHER_CIPHER)
ssl.h: # define SSL_SECOP_CURVE_SUPPORTED (4 | SSL_SECOP_OTHER_CURVE)
ssl.h: # define SSL_SECOP_CURVE_SHARED (5 | SSL_SECOP_OTHER_CURVE)
ssl.h: # define SSL_SECOP_CURVE_CHECK (6 | SSL_SECOP_OTHER_CURVE)
ssl.h: # define SSL_SECOP_TMP_DH (7 | SSL_SECOP_OTHER_PKEY)
ssl.h: # define SSL_SECOP_VERSION (9 | SSL_SECOP_OTHER_NONE)
ssl.h: # define SSL_SECOP_TICKET (10 | SSL_SECOP_OTHER_NONE)
ssl.h: # define SSL_SECOP_SIGALG_SUPPORTED (11 | SSL_SECOP_OTHER_SIGALG)
ssl.h: # define SSL_SECOP_SIGALG_SHARED (12 | SSL_SECOP_OTHER_SIGALG)
ssl.h: # define SSL_SECOP_SIGALG_CHECK (13 | SSL_SECOP_OTHER_SIGALG)
ssl.h: # define SSL_SECOP_SIGALG_MASK (14 | SSL_SECOP_OTHER_SIGALG)
ssl.h: # define SSL_SECOP_COMPRESSION (15 | SSL_SECOP_OTHER_NONE)
ssl.h: # define SSL_SECOP_EE_KEY (16 | SSL_SECOP_OTHER_CERT)
ssl.h: # define SSL_SECOP_CA_KEY (17 | SSL_SECOP_OTHER_CERT)
ssl.h: # define SSL_SECOP_CA_MD (18 | SSL_SECOP_OTHER_CERT)
ssl.h: # define SSL_SECOP_PEER_EE_KEY (SSL_SECOP_EE_KEY | SSL_SECOP_PEER)
ssl.h: # define SSL_SECOP_PEER_CA_KEY (SSL_SECOP_CA_KEY | SSL_SECOP_PEER)
ssl.h: # define SSL_SECOP_PEER_CA_MD (SSL_SECOP_CA_MD | SSL_SECOP_PEER)
ssl.h: void SSL_set_security_level(SSL *s, int level);
ssl.h: __owur int SSL_get_security_level(const SSL *s);
ssl.h: void SSL_set_security_callback(SSL *s,
ssl.h: int (*cb) (const SSL *s, const SSL_CTX *ctx, int op,
ssl.h: int (*SSL_get_security_callback(const SSL *s)) (const SSL *s, const SSL_CTX *ctx, int op,
ssl.h: void SSL_set0_security_ex_data(SSL *s, void *ex);
ssl.h: __owur void *SSL_get0_security_ex_data(const SSL *s);
ssl.h: void SSL_CTX_set_security_level(SSL_CTX *ctx, int level);
ssl.h: __owur int SSL_CTX_get_security_level(const SSL_CTX *ctx);
ssl.h: void SSL_CTX_set_security_callback(SSL_CTX *ctx,
ssl.h: int (*cb) (const SSL *s, const SSL_CTX *ctx, int op,
ssl.h: int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (const SSL *s,
ssl.h: void SSL_CTX_set0_security_ex_data(SSL_CTX *ctx, void *ex);
ssl.h: __owur void *SSL_CTX_get0_security_ex_data(const SSL_CTX *ctx);
ssl.h: (OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS)
ssl.h: int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
ssl.h: __owur const struct openssl_ssl_test_functions *SSL_test_functions(void);
ssl.h: __owur int SSL_free_buffers(SSL *ssl);
ssl.h: __owur int SSL_alloc_buffers(SSL *ssl);
ssl.h: typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
ssl.h: void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb);
stack.h: * Licensed under the OpenSSL license (the "License"). You may not use
stack.h: # define HEADER_STACK_H
stack.h: typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */
stack.h: typedef int (*OPENSSL_sk_compfunc)(const void *, const void *);
stack.h: typedef void (*OPENSSL_sk_freefunc)(void *);
stack.h: typedef void *(*OPENSSL_sk_copyfunc)(const void *);
stack.h: int OPENSSL_sk_num(const OPENSSL_STACK *);
stack.h: void *OPENSSL_sk_value(const OPENSSL_STACK *, int);
stack.h: void *OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data);
stack.h: OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp);
stack.h: OPENSSL_STACK *OPENSSL_sk_new_null(void);
stack.h: OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n);
stack.h: int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n);
stack.h: void OPENSSL_sk_free(OPENSSL_STACK *);
stack.h: void OPENSSL_sk_pop_free(OPENSSL_STACK *st, void (*func) (void *));
stack.h: OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *,
stack.h: int OPENSSL_sk_insert(OPENSSL_STACK *sk, const void *data, int where);
stack.h: void *OPENSSL_sk_delete(OPENSSL_STACK *st, int loc);
stack.h: void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *st, const void *p);
stack.h: int OPENSSL_sk_find(OPENSSL_STACK *st, const void *data);
stack.h: int OPENSSL_sk_find_ex(OPENSSL_STACK *st, const void *data);
stack.h: int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data);
stack.h: int OPENSSL_sk_unshift(OPENSSL_STACK *st, const void *data);
stack.h: void *OPENSSL_sk_shift(OPENSSL_STACK *st);
stack.h: void *OPENSSL_sk_pop(OPENSSL_STACK *st);
stack.h: void OPENSSL_sk_zero(OPENSSL_STACK *st);
stack.h: OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk,
stack.h: OPENSSL_STACK *OPENSSL_sk_dup(const OPENSSL_STACK *st);
stack.h: void OPENSSL_sk_sort(OPENSSL_STACK *st);
stack.h: int OPENSSL_sk_is_sorted(const OPENSSL_STACK *st);
stack.h: # define _STACK OPENSSL_STACK
stack.h: # define sk_num OPENSSL_sk_num
stack.h: # define sk_value OPENSSL_sk_value
stack.h: # define sk_set OPENSSL_sk_set
stack.h: # define sk_new OPENSSL_sk_new
stack.h: # define sk_new_null OPENSSL_sk_new_null
stack.h: # define sk_free OPENSSL_sk_free
stack.h: # define sk_pop_free OPENSSL_sk_pop_free
stack.h: # define sk_deep_copy OPENSSL_sk_deep_copy
stack.h: # define sk_insert OPENSSL_sk_insert
stack.h: # define sk_delete OPENSSL_sk_delete
stack.h: # define sk_delete_ptr OPENSSL_sk_delete_ptr
stack.h: # define sk_find OPENSSL_sk_find
stack.h: # define sk_find_ex OPENSSL_sk_find_ex
stack.h: # define sk_push OPENSSL_sk_push
stack.h: # define sk_unshift OPENSSL_sk_unshift
stack.h: # define sk_shift OPENSSL_sk_shift
stack.h: # define sk_pop OPENSSL_sk_pop
stack.h: # define sk_zero OPENSSL_sk_zero
stack.h: # define sk_set_cmp_func OPENSSL_sk_set_cmp_func
stack.h: # define sk_dup OPENSSL_sk_dup
stack.h: # define sk_sort OPENSSL_sk_sort
stack.h: # define sk_is_sorted OPENSSL_sk_is_sorted
storeerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
storeerr.h: # define HEADER_OSSL_STOREERR_H
storeerr.h: int ERR_load_OSSL_STORE_strings(void);
storeerr.h: # define OSSL_STORE_F_FILE_CTRL 129
storeerr.h: # define OSSL_STORE_F_FILE_FIND 138
storeerr.h: # define OSSL_STORE_F_FILE_GET_PASS 118
storeerr.h: # define OSSL_STORE_F_FILE_LOAD 119
storeerr.h: # define OSSL_STORE_F_FILE_LOAD_TRY_DECODE 124
storeerr.h: # define OSSL_STORE_F_FILE_NAME_TO_URI 126
storeerr.h: # define OSSL_STORE_F_FILE_OPEN 120
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO 127
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_EXPECT 130
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_FILE_ATTACH_PEM_BIO_INT 128
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_FIND 131
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_GET0_LOADER_INT 100
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CERT 101
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CRL 102
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME 103
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME_DESCRIPTION 135
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PARAMS 104
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PKEY 105
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CERT 106
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CRL 107
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_EMBEDDED 123
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_NAME 109
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PARAMS 110
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PKEY 111
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INFO_SET0_NAME_DESCRIPTION 134
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_INIT_ONCE 112
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_LOADER_NEW 113
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_OPEN 114
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_OPEN_INT 115
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT 117
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ALIAS 132
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ISSUER_SERIAL 133
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT 136
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_NAME 137
storeerr.h: # define OSSL_STORE_F_OSSL_STORE_UNREGISTER_LOADER_INT 116
storeerr.h: # define OSSL_STORE_F_TRY_DECODE_PARAMS 121
storeerr.h: # define OSSL_STORE_F_TRY_DECODE_PKCS12 122
storeerr.h: # define OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED 125
storeerr.h: # define OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE 107
storeerr.h: # define OSSL_STORE_R_BAD_PASSWORD_READ 115
storeerr.h: # define OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC 113
storeerr.h: # define OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST 121
storeerr.h: # define OSSL_STORE_R_INVALID_SCHEME 106
storeerr.h: # define OSSL_STORE_R_IS_NOT_A 112
storeerr.h: # define OSSL_STORE_R_LOADER_INCOMPLETE 116
storeerr.h: # define OSSL_STORE_R_LOADING_STARTED 117
storeerr.h: # define OSSL_STORE_R_NOT_A_CERTIFICATE 100
storeerr.h: # define OSSL_STORE_R_NOT_A_CRL 101
storeerr.h: # define OSSL_STORE_R_NOT_A_KEY 102
storeerr.h: # define OSSL_STORE_R_NOT_A_NAME 103
storeerr.h: # define OSSL_STORE_R_NOT_PARAMETERS 104
storeerr.h: # define OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR 114
storeerr.h: # define OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE 108
storeerr.h: # define OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES 119
storeerr.h: # define OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED 109
storeerr.h: # define OSSL_STORE_R_UNREGISTERED_SCHEME 105
storeerr.h: # define OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE 110
storeerr.h: # define OSSL_STORE_R_UNSUPPORTED_OPERATION 118
storeerr.h: # define OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE 120
storeerr.h: # define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED 111
store.h: * Licensed under the OpenSSL license (the "License"). You may not use
store.h: # define HEADER_OSSL_STORE_H
store.h: * data (keys, certs, crls, ...), read the data a piece at a time and decide
store.h: typedef struct ossl_store_ctx_st OSSL_STORE_CTX;
store.h: * to massage the given OSSL_STORE_INFO, or to drop it entirely (by returning
store.h: typedef OSSL_STORE_INFO *(*OSSL_STORE_post_process_info_fn)(OSSL_STORE_INFO *,
store.h: OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method,
store.h: * done, and depends on the underlying loader (use OSSL_STORE_get0_scheme to
store.h: * determine which loader is used), except for common commands (see below).
store.h: int OSSL_STORE_ctrl(OSSL_STORE_CTX *ctx, int cmd, ... /* args */);
store.h: int OSSL_STORE_vctrl(OSSL_STORE_CTX *ctx, int cmd, va_list args);
store.h: /* int on = 0 or 1; STORE_ctrl(ctx, STORE_C_USE_SECMEM, &on); */
store.h: # define OSSL_STORE_C_USE_SECMEM 1
store.h: # define OSSL_STORE_C_CUSTOM_START 100
store.h: * Read one data item (a key, a cert, a CRL) that is supported by the OSSL_STORE
store.h: * extracted with OSSL_STORE_INFO_get0_PKEY(), OSSL_STORE_INFO_get0_CERT(), ...
store.h: OSSL_STORE_INFO *OSSL_STORE_load(OSSL_STORE_CTX *ctx);
store.h: * Check if end of data (end of file) is reached
store.h: int OSSL_STORE_eof(OSSL_STORE_CTX *ctx);
store.h: int OSSL_STORE_error(OSSL_STORE_CTX *ctx);
store.h: int OSSL_STORE_close(OSSL_STORE_CTX *ctx);
store.h: # define OSSL_STORE_INFO_NAME 1 /* char * */
store.h: # define OSSL_STORE_INFO_PARAMS 2 /* EVP_PKEY * */
store.h: # define OSSL_STORE_INFO_PKEY 3 /* EVP_PKEY * */
store.h: # define OSSL_STORE_INFO_CERT 4 /* X509 * */
store.h: # define OSSL_STORE_INFO_CRL 5 /* X509_CRL * */
store.h: OSSL_STORE_INFO *OSSL_STORE_INFO_new_NAME(char *name);
store.h: int OSSL_STORE_INFO_set0_NAME_description(OSSL_STORE_INFO *info, char *desc);
store.h: OSSL_STORE_INFO *OSSL_STORE_INFO_new_PARAMS(EVP_PKEY *params);
store.h: OSSL_STORE_INFO *OSSL_STORE_INFO_new_PKEY(EVP_PKEY *pkey);
store.h: OSSL_STORE_INFO *OSSL_STORE_INFO_new_CERT(X509 *x509);
store.h: OSSL_STORE_INFO *OSSL_STORE_INFO_new_CRL(X509_CRL *crl);
store.h: int OSSL_STORE_INFO_get_type(const OSSL_STORE_INFO *info);
store.h: const char *OSSL_STORE_INFO_get0_NAME(const OSSL_STORE_INFO *info);
store.h: char *OSSL_STORE_INFO_get1_NAME(const OSSL_STORE_INFO *info);
store.h: const char *OSSL_STORE_INFO_get0_NAME_description(const OSSL_STORE_INFO *info);
store.h: char *OSSL_STORE_INFO_get1_NAME_description(const OSSL_STORE_INFO *info);
store.h: EVP_PKEY *OSSL_STORE_INFO_get0_PARAMS(const OSSL_STORE_INFO *info);
store.h: EVP_PKEY *OSSL_STORE_INFO_get1_PARAMS(const OSSL_STORE_INFO *info);
store.h: EVP_PKEY *OSSL_STORE_INFO_get0_PKEY(const OSSL_STORE_INFO *info);
store.h: EVP_PKEY *OSSL_STORE_INFO_get1_PKEY(const OSSL_STORE_INFO *info);
store.h: X509 *OSSL_STORE_INFO_get0_CERT(const OSSL_STORE_INFO *info);
store.h: X509 *OSSL_STORE_INFO_get1_CERT(const OSSL_STORE_INFO *info);
store.h: X509_CRL *OSSL_STORE_INFO_get0_CRL(const OSSL_STORE_INFO *info);
store.h: X509_CRL *OSSL_STORE_INFO_get1_CRL(const OSSL_STORE_INFO *info);
store.h: const char *OSSL_STORE_INFO_type_string(int type);
store.h: void OSSL_STORE_INFO_free(OSSL_STORE_INFO *info);
store.h: * Functions to construct a search URI from a base URI and search criteria
store.h: # define OSSL_STORE_SEARCH_BY_NAME 1 /* subject in certs, issuer in CRLs */
store.h: # define OSSL_STORE_SEARCH_BY_ISSUER_SERIAL 2
store.h: # define OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT 3
store.h: # define OSSL_STORE_SEARCH_BY_ALIAS 4
store.h: int OSSL_STORE_supports_search(OSSL_STORE_CTX *ctx, int search_type);
store.h: OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_name(X509_NAME *name);
store.h: OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_issuer_serial(X509_NAME *name,
store.h: OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_key_fingerprint(const EVP_MD *digest,
store.h: OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_alias(const char *alias);
store.h: void OSSL_STORE_SEARCH_free(OSSL_STORE_SEARCH *search);
store.h: int OSSL_STORE_SEARCH_get_type(const OSSL_STORE_SEARCH *criterion);
store.h: X509_NAME *OSSL_STORE_SEARCH_get0_name(OSSL_STORE_SEARCH *criterion);
store.h: const ASN1_INTEGER *OSSL_STORE_SEARCH_get0_serial(const OSSL_STORE_SEARCH
store.h: const unsigned char *OSSL_STORE_SEARCH_get0_bytes(const OSSL_STORE_SEARCH
store.h: const char *OSSL_STORE_SEARCH_get0_string(const OSSL_STORE_SEARCH *criterion);
store.h: const EVP_MD *OSSL_STORE_SEARCH_get0_digest(const OSSL_STORE_SEARCH *criterion);
store.h: * Add search criterion and expected return type (which can be unspecified)
store.h: * to the loading channel. This MUST happen before the first OSSL_STORE_load().
store.h: int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type);
store.h: int OSSL_STORE_find(OSSL_STORE_CTX *ctx, OSSL_STORE_SEARCH *search);
store.h: typedef struct ossl_store_loader_st OSSL_STORE_LOADER;
store.h: OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme);
store.h: const ENGINE *OSSL_STORE_LOADER_get0_engine(const OSSL_STORE_LOADER *loader);
store.h: const char *OSSL_STORE_LOADER_get0_scheme(const OSSL_STORE_LOADER *loader);
store.h: /* struct ossl_store_loader_ctx_st is defined differently by each loader */
store.h: typedef struct ossl_store_loader_ctx_st OSSL_STORE_LOADER_CTX;
store.h: typedef OSSL_STORE_LOADER_CTX *(*OSSL_STORE_open_fn)(const OSSL_STORE_LOADER
store.h: int OSSL_STORE_LOADER_set_open(OSSL_STORE_LOADER *loader,
store.h: typedef int (*OSSL_STORE_ctrl_fn)(OSSL_STORE_LOADER_CTX *ctx, int cmd,
store.h: int OSSL_STORE_LOADER_set_ctrl(OSSL_STORE_LOADER *loader,
store.h: typedef int (*OSSL_STORE_expect_fn)(OSSL_STORE_LOADER_CTX *ctx, int expected);
store.h: int OSSL_STORE_LOADER_set_expect(OSSL_STORE_LOADER *loader,
store.h: typedef int (*OSSL_STORE_find_fn)(OSSL_STORE_LOADER_CTX *ctx,
store.h: int OSSL_STORE_LOADER_set_find(OSSL_STORE_LOADER *loader,
store.h: typedef OSSL_STORE_INFO *(*OSSL_STORE_load_fn)(OSSL_STORE_LOADER_CTX *ctx,
store.h: int OSSL_STORE_LOADER_set_load(OSSL_STORE_LOADER *loader,
store.h: typedef int (*OSSL_STORE_eof_fn)(OSSL_STORE_LOADER_CTX *ctx);
store.h: int OSSL_STORE_LOADER_set_eof(OSSL_STORE_LOADER *loader,
store.h: typedef int (*OSSL_STORE_error_fn)(OSSL_STORE_LOADER_CTX *ctx);
store.h: int OSSL_STORE_LOADER_set_error(OSSL_STORE_LOADER *loader,
store.h: typedef int (*OSSL_STORE_close_fn)(OSSL_STORE_LOADER_CTX *ctx);
store.h: int OSSL_STORE_LOADER_set_close(OSSL_STORE_LOADER *loader,
store.h: void OSSL_STORE_LOADER_free(OSSL_STORE_LOADER *loader);
store.h: int OSSL_STORE_register_loader(OSSL_STORE_LOADER *loader);
store.h: OSSL_STORE_LOADER *OSSL_STORE_unregister_loader(const char *scheme);
store.h: int OSSL_STORE_do_all_loaders(void (*do_function) (const OSSL_STORE_LOADER
symhacks.h: * Licensed under the OpenSSL license (the "License"). You may not use
symhacks.h: # define HEADER_SYMHACKS_H
symhacks.h: # if defined(OPENSSL_SYS_VMS)
symhacks.h: # define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings
symhacks.h: # define OCSP_crlID_new OCSP_crlID2_new
symhacks.h: # define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS
symhacks.h: # define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS
symhacks.h: # define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS
symhacks.h: # define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS
symhacks.h: # define X509v3_cleanup_extensions oX509v3_cleanup_extensions
symhacks.h: # define X509v3_add_extension oX509v3_add_extension
symhacks.h: # define X509v3_add_netscape_extensions oX509v3_add_netscape_extensions
symhacks.h: # define X509v3_add_standard_extensions oX509v3_add_standard_extensions
symhacks.h: # define cms_Data_create priv_cms_Data_create
tls1.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
tls1.h: * Licensed under the OpenSSL license (the "License"). You may not use
tls1.h: # define HEADER_TLS1_H
tls1.h: # define OPENSSL_TLS_SECURITY_LEVEL 1
tls1.h: # define TLS1_VERSION 0x0301
tls1.h: # define TLS1_1_VERSION 0x0302
tls1.h: # define TLS1_2_VERSION 0x0303
tls1.h: # define TLS1_3_VERSION 0x0304
tls1.h: # define TLS_MAX_VERSION TLS1_3_VERSION
tls1.h: /* TODO(TLS1.3) REMOVE ME: Version indicator for draft -23 */
tls1.h: # define TLS1_3_VERSION_DRAFT 0x7f17
tls1.h: # define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 23)"
tls1.h: # define TLS_ANY_VERSION 0x10000
tls1.h: # define TLS1_VERSION_MAJOR 0x03
tls1.h: # define TLS1_VERSION_MINOR 0x01
tls1.h: # define TLS1_1_VERSION_MAJOR 0x03
tls1.h: # define TLS1_1_VERSION_MINOR 0x02
tls1.h: # define TLS1_2_VERSION_MAJOR 0x03
tls1.h: # define TLS1_2_VERSION_MINOR 0x03
tls1.h: # define TLS1_get_version(s) \
tls1.h: ((SSL_version(s) >> 8) == TLS1_VERSION_MAJOR ? SSL_version(s) : 0)
tls1.h: # define TLS1_get_client_version(s) \
tls1.h: ((SSL_client_version(s) >> 8) == TLS1_VERSION_MAJOR ? SSL_client_version(s) : 0)
tls1.h: # define TLS1_AD_DECRYPTION_FAILED 21
tls1.h: # define TLS1_AD_RECORD_OVERFLOW 22
tls1.h: # define TLS1_AD_UNKNOWN_CA 48/* fatal */
tls1.h: # define TLS1_AD_ACCESS_DENIED 49/* fatal */
tls1.h: # define TLS1_AD_DECODE_ERROR 50/* fatal */
tls1.h: # define TLS1_AD_DECRYPT_ERROR 51
tls1.h: # define TLS1_AD_EXPORT_RESTRICTION 60/* fatal */
tls1.h: # define TLS1_AD_PROTOCOL_VERSION 70/* fatal */
tls1.h: # define TLS1_AD_INSUFFICIENT_SECURITY 71/* fatal */
tls1.h: # define TLS1_AD_INTERNAL_ERROR 80/* fatal */
tls1.h: # define TLS1_AD_INAPPROPRIATE_FALLBACK 86/* fatal */
tls1.h: # define TLS1_AD_USER_CANCELLED 90
tls1.h: # define TLS1_AD_NO_RENEGOTIATION 100
tls1.h: # define TLS13_AD_END_OF_EARLY_DATA 1
tls1.h: # define TLS13_AD_MISSING_EXTENSION 109 /* fatal */
tls1.h: # define TLS13_AD_CERTIFICATE_REQUIRED 116 /* fatal */
tls1.h: # define TLS1_AD_UNSUPPORTED_EXTENSION 110
tls1.h: # define TLS1_AD_CERTIFICATE_UNOBTAINABLE 111
tls1.h: # define TLS1_AD_UNRECOGNIZED_NAME 112
tls1.h: # define TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE 113
tls1.h: # define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE 114
tls1.h: # define TLS1_AD_UNKNOWN_PSK_IDENTITY 115/* fatal */
tls1.h: # define TLS1_AD_NO_APPLICATION_PROTOCOL 120 /* fatal */
tls1.h: # define TLSEXT_TYPE_server_name 0
tls1.h: # define TLSEXT_TYPE_max_fragment_length 1
tls1.h: # define TLSEXT_TYPE_client_certificate_url 2
tls1.h: # define TLSEXT_TYPE_trusted_ca_keys 3
tls1.h: # define TLSEXT_TYPE_truncated_hmac 4
tls1.h: # define TLSEXT_TYPE_status_request 5
tls1.h: # define TLSEXT_TYPE_user_mapping 6
tls1.h: # define TLSEXT_TYPE_client_authz 7
tls1.h: # define TLSEXT_TYPE_server_authz 8
tls1.h: # define TLSEXT_TYPE_cert_type 9
tls1.h: # define TLSEXT_TYPE_supported_groups 10
tls1.h: # define TLSEXT_TYPE_elliptic_curves TLSEXT_TYPE_supported_groups
tls1.h: # define TLSEXT_TYPE_ec_point_formats 11
tls1.h: # define TLSEXT_TYPE_srp 12
tls1.h: # define TLSEXT_TYPE_signature_algorithms 13
tls1.h: # define TLSEXT_TYPE_use_srtp 14
tls1.h: # define TLSEXT_TYPE_heartbeat 15
tls1.h: # define TLSEXT_TYPE_application_layer_protocol_negotiation 16
tls1.h: # define TLSEXT_TYPE_signed_certificate_timestamp 18
tls1.h: # define TLSEXT_TYPE_padding 21
tls1.h: # define TLSEXT_TYPE_encrypt_then_mac 22
tls1.h: # define TLSEXT_TYPE_extended_master_secret 23
tls1.h: # define TLSEXT_TYPE_session_ticket 35
tls1.h: # define TLSEXT_TYPE_psk 41
tls1.h: # define TLSEXT_TYPE_early_data 42
tls1.h: # define TLSEXT_TYPE_supported_versions 43
tls1.h: # define TLSEXT_TYPE_cookie 44
tls1.h: # define TLSEXT_TYPE_psk_kex_modes 45
tls1.h: # define TLSEXT_TYPE_certificate_authorities 47
tls1.h: # define TLSEXT_TYPE_post_handshake_auth 49
tls1.h: # define TLSEXT_TYPE_signature_algorithms_cert 50
tls1.h: # define TLSEXT_TYPE_key_share 51
tls1.h: # define TLSEXT_TYPE_renegotiate 0xff01
tls1.h: # define TLSEXT_TYPE_next_proto_neg 13172
tls1.h: # define TLSEXT_NAMETYPE_host_name 0
tls1.h: # define TLSEXT_STATUSTYPE_ocsp 1
tls1.h: # define TLSEXT_ECPOINTFORMAT_first 0
tls1.h: # define TLSEXT_ECPOINTFORMAT_uncompressed 0
tls1.h: # define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime 1
tls1.h: # define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2 2
tls1.h: # define TLSEXT_ECPOINTFORMAT_last 2
tls1.h: # define TLSEXT_signature_anonymous 0
tls1.h: # define TLSEXT_signature_rsa 1
tls1.h: # define TLSEXT_signature_dsa 2
tls1.h: # define TLSEXT_signature_ecdsa 3
tls1.h: # define TLSEXT_signature_gostr34102001 237
tls1.h: # define TLSEXT_signature_gostr34102012_256 238
tls1.h: # define TLSEXT_signature_gostr34102012_512 239
tls1.h: # define TLSEXT_signature_num 7
tls1.h: # define TLSEXT_hash_none 0
tls1.h: # define TLSEXT_hash_md5 1
tls1.h: # define TLSEXT_hash_sha1 2
tls1.h: # define TLSEXT_hash_sha224 3
tls1.h: # define TLSEXT_hash_sha256 4
tls1.h: # define TLSEXT_hash_sha384 5
tls1.h: # define TLSEXT_hash_sha512 6
tls1.h: # define TLSEXT_hash_gostr3411 237
tls1.h: # define TLSEXT_hash_gostr34112012_256 238
tls1.h: # define TLSEXT_hash_gostr34112012_512 239
tls1.h: # define TLSEXT_hash_num 10
tls1.h: # define TLSEXT_nid_unknown 0x1000000
tls1.h: # define TLSEXT_curve_P_256 23
tls1.h: # define TLSEXT_curve_P_384 24
tls1.h: # define TLSEXT_max_fragment_length_DISABLED 0
tls1.h: # define TLSEXT_max_fragment_length_512 1
tls1.h: # define TLSEXT_max_fragment_length_1024 2
tls1.h: # define TLSEXT_max_fragment_length_2048 3
tls1.h: # define TLSEXT_max_fragment_length_4096 4
tls1.h: int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
tls1.h: int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);
tls1.h: # define TLSEXT_MAXLEN_host_name 255
tls1.h: __owur const char *SSL_get_servername(const SSL *s, const int type);
tls1.h: __owur int SSL_get_servername_type(const SSL *s);
tls1.h: * optional context. (Since a zero length context is allowed, the |use_context|
tls1.h: __owur int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen,
tls1.h: __owur int SSL_export_keying_material_early(SSL *s, unsigned char *out,
tls1.h: int SSL_get_peer_signature_type_nid(const SSL *s, int *pnid);
tls1.h: int SSL_get_sigalgs(SSL *s, int idx,
tls1.h: int SSL_get_shared_sigalgs(SSL *s, int idx,
tls1.h: __owur int SSL_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain);
tls1.h: # define SSL_set_tlsext_host_name(s,name) \
tls1.h: SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,\
tls1.h: (void *)name)
tls1.h: # define SSL_set_tlsext_debug_callback(ssl, cb) \
tls1.h: SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,\
tls1.h: (void (*)(void))cb)
tls1.h: # define SSL_set_tlsext_debug_arg(ssl, arg) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0,arg)
tls1.h: # define SSL_get_tlsext_status_type(ssl) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE,0,NULL)
tls1.h: # define SSL_set_tlsext_status_type(ssl, type) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type,NULL)
tls1.h: # define SSL_get_tlsext_status_exts(ssl, arg) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0,arg)
tls1.h: # define SSL_set_tlsext_status_exts(ssl, arg) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0,arg)
tls1.h: # define SSL_get_tlsext_status_ids(ssl, arg) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS,0,arg)
tls1.h: # define SSL_set_tlsext_status_ids(ssl, arg) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS,0,arg)
tls1.h: # define SSL_get_tlsext_status_ocsp_resp(ssl, arg) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP,0,arg)
tls1.h: # define SSL_set_tlsext_status_ocsp_resp(ssl, arg, arglen) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP,arglen,arg)
tls1.h: # define SSL_CTX_set_tlsext_servername_callback(ctx, cb) \
tls1.h: SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,\
tls1.h: (void (*)(void))cb)
tls1.h: # define SSL_TLSEXT_ERR_OK 0
tls1.h: # define SSL_TLSEXT_ERR_ALERT_WARNING 1
tls1.h: # define SSL_TLSEXT_ERR_ALERT_FATAL 2
tls1.h: # define SSL_TLSEXT_ERR_NOACK 3
tls1.h: # define SSL_CTX_set_tlsext_servername_arg(ctx, arg) \
tls1.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG,0,arg)
tls1.h: # define SSL_CTX_get_tlsext_ticket_keys(ctx, keys, keylen) \
tls1.h: SSL_CTX_ctrl(ctx,SSL_CTRL_GET_TLSEXT_TICKET_KEYS,keylen,keys)
tls1.h: # define SSL_CTX_set_tlsext_ticket_keys(ctx, keys, keylen) \
tls1.h: SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_TICKET_KEYS,keylen,keys)
tls1.h: # define SSL_CTX_get_tlsext_status_cb(ssl, cb) \
tls1.h: SSL_CTX_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB,0,(void *)cb)
tls1.h: # define SSL_CTX_set_tlsext_status_cb(ssl, cb) \
tls1.h: SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,\
tls1.h: (void (*)(void))cb)
tls1.h: # define SSL_CTX_get_tlsext_status_arg(ssl, arg) \
tls1.h: SSL_CTX_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG,0,arg)
tls1.h: # define SSL_CTX_set_tlsext_status_arg(ssl, arg) \
tls1.h: SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG,0,arg)
tls1.h: # define SSL_CTX_set_tlsext_status_type(ssl, type) \
tls1.h: SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type,NULL)
tls1.h: # define SSL_CTX_get_tlsext_status_type(ssl) \
tls1.h: SSL_CTX_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE,0,NULL)
tls1.h: # define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \
tls1.h: SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,\
tls1.h: (void (*)(void))cb)
tls1.h: # define SSL_DTLSEXT_HB_ENABLED 0x01
tls1.h: # define SSL_DTLSEXT_HB_DONT_SEND_REQUESTS 0x02
tls1.h: # define SSL_DTLSEXT_HB_DONT_RECV_REQUESTS 0x04
tls1.h: # define SSL_get_dtlsext_heartbeat_pending(ssl) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_GET_DTLS_EXT_HEARTBEAT_PENDING,0,NULL)
tls1.h: # define SSL_set_dtlsext_heartbeat_no_requests(ssl, arg) \
tls1.h: SSL_ctrl(ssl,SSL_CTRL_SET_DTLS_EXT_HEARTBEAT_NO_REQUESTS,arg,NULL)
tls1.h: # define SSL_CTRL_TLS_EXT_SEND_HEARTBEAT \
tls1.h: # define SSL_CTRL_GET_TLS_EXT_HEARTBEAT_PENDING \
tls1.h: # define SSL_CTRL_SET_TLS_EXT_HEARTBEAT_NO_REQUESTS \
tls1.h: # define SSL_TLSEXT_HB_ENABLED \
tls1.h: # define SSL_TLSEXT_HB_DONT_SEND_REQUESTS \
tls1.h: # define SSL_TLSEXT_HB_DONT_RECV_REQUESTS \
tls1.h: # define SSL_get_tlsext_heartbeat_pending(ssl) \
tls1.h: SSL_get_dtlsext_heartbeat_pending(ssl)
tls1.h: # define SSL_set_tlsext_heartbeat_no_requests(ssl, arg) \
tls1.h: SSL_set_dtlsext_heartbeat_no_requests(ssl,arg)
tls1.h: # define TLS1_CK_PSK_WITH_RC4_128_SHA 0x0300008A
tls1.h: # define TLS1_CK_PSK_WITH_3DES_EDE_CBC_SHA 0x0300008B
tls1.h: # define TLS1_CK_PSK_WITH_AES_128_CBC_SHA 0x0300008C
tls1.h: # define TLS1_CK_PSK_WITH_AES_256_CBC_SHA 0x0300008D
tls1.h: # define TLS1_CK_DHE_PSK_WITH_RC4_128_SHA 0x0300008E
tls1.h: # define TLS1_CK_DHE_PSK_WITH_3DES_EDE_CBC_SHA 0x0300008F
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_128_CBC_SHA 0x03000090
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_256_CBC_SHA 0x03000091
tls1.h: # define TLS1_CK_RSA_PSK_WITH_RC4_128_SHA 0x03000092
tls1.h: # define TLS1_CK_RSA_PSK_WITH_3DES_EDE_CBC_SHA 0x03000093
tls1.h: # define TLS1_CK_RSA_PSK_WITH_AES_128_CBC_SHA 0x03000094
tls1.h: # define TLS1_CK_RSA_PSK_WITH_AES_256_CBC_SHA 0x03000095
tls1.h: # define TLS1_CK_PSK_WITH_AES_128_GCM_SHA256 0x030000A8
tls1.h: # define TLS1_CK_PSK_WITH_AES_256_GCM_SHA384 0x030000A9
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_128_GCM_SHA256 0x030000AA
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_256_GCM_SHA384 0x030000AB
tls1.h: # define TLS1_CK_RSA_PSK_WITH_AES_128_GCM_SHA256 0x030000AC
tls1.h: # define TLS1_CK_RSA_PSK_WITH_AES_256_GCM_SHA384 0x030000AD
tls1.h: # define TLS1_CK_PSK_WITH_AES_128_CBC_SHA256 0x030000AE
tls1.h: # define TLS1_CK_PSK_WITH_AES_256_CBC_SHA384 0x030000AF
tls1.h: # define TLS1_CK_PSK_WITH_NULL_SHA256 0x030000B0
tls1.h: # define TLS1_CK_PSK_WITH_NULL_SHA384 0x030000B1
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_128_CBC_SHA256 0x030000B2
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_256_CBC_SHA384 0x030000B3
tls1.h: # define TLS1_CK_DHE_PSK_WITH_NULL_SHA256 0x030000B4
tls1.h: # define TLS1_CK_DHE_PSK_WITH_NULL_SHA384 0x030000B5
tls1.h: # define TLS1_CK_RSA_PSK_WITH_AES_128_CBC_SHA256 0x030000B6
tls1.h: # define TLS1_CK_RSA_PSK_WITH_AES_256_CBC_SHA384 0x030000B7
tls1.h: # define TLS1_CK_RSA_PSK_WITH_NULL_SHA256 0x030000B8
tls1.h: # define TLS1_CK_RSA_PSK_WITH_NULL_SHA384 0x030000B9
tls1.h: # define TLS1_CK_PSK_WITH_NULL_SHA 0x0300002C
tls1.h: # define TLS1_CK_DHE_PSK_WITH_NULL_SHA 0x0300002D
tls1.h: # define TLS1_CK_RSA_PSK_WITH_NULL_SHA 0x0300002E
tls1.h: # define TLS1_CK_RSA_WITH_AES_128_SHA 0x0300002F
tls1.h: # define TLS1_CK_DH_DSS_WITH_AES_128_SHA 0x03000030
tls1.h: # define TLS1_CK_DH_RSA_WITH_AES_128_SHA 0x03000031
tls1.h: # define TLS1_CK_DHE_DSS_WITH_AES_128_SHA 0x03000032
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_128_SHA 0x03000033
tls1.h: # define TLS1_CK_ADH_WITH_AES_128_SHA 0x03000034
tls1.h: # define TLS1_CK_RSA_WITH_AES_256_SHA 0x03000035
tls1.h: # define TLS1_CK_DH_DSS_WITH_AES_256_SHA 0x03000036
tls1.h: # define TLS1_CK_DH_RSA_WITH_AES_256_SHA 0x03000037
tls1.h: # define TLS1_CK_DHE_DSS_WITH_AES_256_SHA 0x03000038
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_256_SHA 0x03000039
tls1.h: # define TLS1_CK_ADH_WITH_AES_256_SHA 0x0300003A
tls1.h: # define TLS1_CK_RSA_WITH_NULL_SHA256 0x0300003B
tls1.h: # define TLS1_CK_RSA_WITH_AES_128_SHA256 0x0300003C
tls1.h: # define TLS1_CK_RSA_WITH_AES_256_SHA256 0x0300003D
tls1.h: # define TLS1_CK_DH_DSS_WITH_AES_128_SHA256 0x0300003E
tls1.h: # define TLS1_CK_DH_RSA_WITH_AES_128_SHA256 0x0300003F
tls1.h: # define TLS1_CK_DHE_DSS_WITH_AES_128_SHA256 0x03000040
tls1.h: # define TLS1_CK_RSA_WITH_CAMELLIA_128_CBC_SHA 0x03000041
tls1.h: # define TLS1_CK_DH_DSS_WITH_CAMELLIA_128_CBC_SHA 0x03000042
tls1.h: # define TLS1_CK_DH_RSA_WITH_CAMELLIA_128_CBC_SHA 0x03000043
tls1.h: # define TLS1_CK_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA 0x03000044
tls1.h: # define TLS1_CK_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA 0x03000045
tls1.h: # define TLS1_CK_ADH_WITH_CAMELLIA_128_CBC_SHA 0x03000046
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_128_SHA256 0x03000067
tls1.h: # define TLS1_CK_DH_DSS_WITH_AES_256_SHA256 0x03000068
tls1.h: # define TLS1_CK_DH_RSA_WITH_AES_256_SHA256 0x03000069
tls1.h: # define TLS1_CK_DHE_DSS_WITH_AES_256_SHA256 0x0300006A
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_256_SHA256 0x0300006B
tls1.h: # define TLS1_CK_ADH_WITH_AES_128_SHA256 0x0300006C
tls1.h: # define TLS1_CK_ADH_WITH_AES_256_SHA256 0x0300006D
tls1.h: # define TLS1_CK_RSA_WITH_CAMELLIA_256_CBC_SHA 0x03000084
tls1.h: # define TLS1_CK_DH_DSS_WITH_CAMELLIA_256_CBC_SHA 0x03000085
tls1.h: # define TLS1_CK_DH_RSA_WITH_CAMELLIA_256_CBC_SHA 0x03000086
tls1.h: # define TLS1_CK_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA 0x03000087
tls1.h: # define TLS1_CK_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA 0x03000088
tls1.h: # define TLS1_CK_ADH_WITH_CAMELLIA_256_CBC_SHA 0x03000089
tls1.h: # define TLS1_CK_RSA_WITH_SEED_SHA 0x03000096
tls1.h: # define TLS1_CK_DH_DSS_WITH_SEED_SHA 0x03000097
tls1.h: # define TLS1_CK_DH_RSA_WITH_SEED_SHA 0x03000098
tls1.h: # define TLS1_CK_DHE_DSS_WITH_SEED_SHA 0x03000099
tls1.h: # define TLS1_CK_DHE_RSA_WITH_SEED_SHA 0x0300009A
tls1.h: # define TLS1_CK_ADH_WITH_SEED_SHA 0x0300009B
tls1.h: # define TLS1_CK_RSA_WITH_AES_128_GCM_SHA256 0x0300009C
tls1.h: # define TLS1_CK_RSA_WITH_AES_256_GCM_SHA384 0x0300009D
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_128_GCM_SHA256 0x0300009E
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_256_GCM_SHA384 0x0300009F
tls1.h: # define TLS1_CK_DH_RSA_WITH_AES_128_GCM_SHA256 0x030000A0
tls1.h: # define TLS1_CK_DH_RSA_WITH_AES_256_GCM_SHA384 0x030000A1
tls1.h: # define TLS1_CK_DHE_DSS_WITH_AES_128_GCM_SHA256 0x030000A2
tls1.h: # define TLS1_CK_DHE_DSS_WITH_AES_256_GCM_SHA384 0x030000A3
tls1.h: # define TLS1_CK_DH_DSS_WITH_AES_128_GCM_SHA256 0x030000A4
tls1.h: # define TLS1_CK_DH_DSS_WITH_AES_256_GCM_SHA384 0x030000A5
tls1.h: # define TLS1_CK_ADH_WITH_AES_128_GCM_SHA256 0x030000A6
tls1.h: # define TLS1_CK_ADH_WITH_AES_256_GCM_SHA384 0x030000A7
tls1.h: # define TLS1_CK_RSA_WITH_AES_128_CCM 0x0300C09C
tls1.h: # define TLS1_CK_RSA_WITH_AES_256_CCM 0x0300C09D
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_128_CCM 0x0300C09E
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_256_CCM 0x0300C09F
tls1.h: # define TLS1_CK_RSA_WITH_AES_128_CCM_8 0x0300C0A0
tls1.h: # define TLS1_CK_RSA_WITH_AES_256_CCM_8 0x0300C0A1
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_128_CCM_8 0x0300C0A2
tls1.h: # define TLS1_CK_DHE_RSA_WITH_AES_256_CCM_8 0x0300C0A3
tls1.h: # define TLS1_CK_PSK_WITH_AES_128_CCM 0x0300C0A4
tls1.h: # define TLS1_CK_PSK_WITH_AES_256_CCM 0x0300C0A5
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_128_CCM 0x0300C0A6
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_256_CCM 0x0300C0A7
tls1.h: # define TLS1_CK_PSK_WITH_AES_128_CCM_8 0x0300C0A8
tls1.h: # define TLS1_CK_PSK_WITH_AES_256_CCM_8 0x0300C0A9
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_128_CCM_8 0x0300C0AA
tls1.h: # define TLS1_CK_DHE_PSK_WITH_AES_256_CCM_8 0x0300C0AB
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CCM 0x0300C0AC
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CCM 0x0300C0AD
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CCM_8 0x0300C0AE
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CCM_8 0x0300C0AF
tls1.h: # define TLS1_CK_RSA_WITH_CAMELLIA_128_CBC_SHA256 0x030000BA
tls1.h: # define TLS1_CK_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256 0x030000BB
tls1.h: # define TLS1_CK_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256 0x030000BC
tls1.h: # define TLS1_CK_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 0x030000BD
tls1.h: # define TLS1_CK_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 0x030000BE
tls1.h: # define TLS1_CK_ADH_WITH_CAMELLIA_128_CBC_SHA256 0x030000BF
tls1.h: # define TLS1_CK_RSA_WITH_CAMELLIA_256_CBC_SHA256 0x030000C0
tls1.h: # define TLS1_CK_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 0x030000C1
tls1.h: # define TLS1_CK_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 0x030000C2
tls1.h: # define TLS1_CK_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 0x030000C3
tls1.h: # define TLS1_CK_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 0x030000C4
tls1.h: # define TLS1_CK_ADH_WITH_CAMELLIA_256_CBC_SHA256 0x030000C5
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_NULL_SHA 0x0300C001
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_RC4_128_SHA 0x0300C002
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_DES_192_CBC3_SHA 0x0300C003
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_AES_128_CBC_SHA 0x0300C004
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_AES_256_CBC_SHA 0x0300C005
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_NULL_SHA 0x0300C006
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_RC4_128_SHA 0x0300C007
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA 0x0300C008
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CBC_SHA 0x0300C009
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA 0x0300C00A
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_NULL_SHA 0x0300C00B
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_RC4_128_SHA 0x0300C00C
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_DES_192_CBC3_SHA 0x0300C00D
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_AES_128_CBC_SHA 0x0300C00E
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_AES_256_CBC_SHA 0x0300C00F
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_NULL_SHA 0x0300C010
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_RC4_128_SHA 0x0300C011
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_DES_192_CBC3_SHA 0x0300C012
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_AES_128_CBC_SHA 0x0300C013
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA 0x0300C014
tls1.h: # define TLS1_CK_ECDH_anon_WITH_NULL_SHA 0x0300C015
tls1.h: # define TLS1_CK_ECDH_anon_WITH_RC4_128_SHA 0x0300C016
tls1.h: # define TLS1_CK_ECDH_anon_WITH_DES_192_CBC3_SHA 0x0300C017
tls1.h: # define TLS1_CK_ECDH_anon_WITH_AES_128_CBC_SHA 0x0300C018
tls1.h: # define TLS1_CK_ECDH_anon_WITH_AES_256_CBC_SHA 0x0300C019
tls1.h: # define TLS1_CK_SRP_SHA_WITH_3DES_EDE_CBC_SHA 0x0300C01A
tls1.h: # define TLS1_CK_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA 0x0300C01B
tls1.h: # define TLS1_CK_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA 0x0300C01C
tls1.h: # define TLS1_CK_SRP_SHA_WITH_AES_128_CBC_SHA 0x0300C01D
tls1.h: # define TLS1_CK_SRP_SHA_RSA_WITH_AES_128_CBC_SHA 0x0300C01E
tls1.h: # define TLS1_CK_SRP_SHA_DSS_WITH_AES_128_CBC_SHA 0x0300C01F
tls1.h: # define TLS1_CK_SRP_SHA_WITH_AES_256_CBC_SHA 0x0300C020
tls1.h: # define TLS1_CK_SRP_SHA_RSA_WITH_AES_256_CBC_SHA 0x0300C021
tls1.h: # define TLS1_CK_SRP_SHA_DSS_WITH_AES_256_CBC_SHA 0x0300C022
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_SHA256 0x0300C023
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_SHA384 0x0300C024
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_AES_128_SHA256 0x0300C025
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_AES_256_SHA384 0x0300C026
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_AES_128_SHA256 0x0300C027
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_AES_256_SHA384 0x0300C028
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_AES_128_SHA256 0x0300C029
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_AES_256_SHA384 0x0300C02A
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 0x0300C02B
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 0x0300C02C
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 0x0300C02D
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 0x0300C02E
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_AES_128_GCM_SHA256 0x0300C02F
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_AES_256_GCM_SHA384 0x0300C030
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_AES_128_GCM_SHA256 0x0300C031
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_AES_256_GCM_SHA384 0x0300C032
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_RC4_128_SHA 0x0300C033
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA 0x0300C034
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_AES_128_CBC_SHA 0x0300C035
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_AES_256_CBC_SHA 0x0300C036
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_AES_128_CBC_SHA256 0x0300C037
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_AES_256_CBC_SHA384 0x0300C038
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_NULL_SHA 0x0300C039
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_NULL_SHA256 0x0300C03A
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_NULL_SHA384 0x0300C03B
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 0x0300C072
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 0x0300C073
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 0x0300C074
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 0x0300C075
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 0x0300C076
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 0x0300C077
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256 0x0300C078
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384 0x0300C079
tls1.h: # define TLS1_CK_PSK_WITH_CAMELLIA_128_CBC_SHA256 0x0300C094
tls1.h: # define TLS1_CK_PSK_WITH_CAMELLIA_256_CBC_SHA384 0x0300C095
tls1.h: # define TLS1_CK_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 0x0300C096
tls1.h: # define TLS1_CK_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 0x0300C097
tls1.h: # define TLS1_CK_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 0x0300C098
tls1.h: # define TLS1_CK_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 0x0300C099
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 0x0300C09A
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 0x0300C09B
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_CHACHA20_POLY1305 0x0300CCA8
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 0x0300CCA9
tls1.h: # define TLS1_CK_DHE_RSA_WITH_CHACHA20_POLY1305 0x0300CCAA
tls1.h: # define TLS1_CK_PSK_WITH_CHACHA20_POLY1305 0x0300CCAB
tls1.h: # define TLS1_CK_ECDHE_PSK_WITH_CHACHA20_POLY1305 0x0300CCAC
tls1.h: # define TLS1_CK_DHE_PSK_WITH_CHACHA20_POLY1305 0x0300CCAD
tls1.h: # define TLS1_CK_RSA_PSK_WITH_CHACHA20_POLY1305 0x0300CCAE
tls1.h: # define TLS1_3_CK_AES_128_GCM_SHA256 0x03001301
tls1.h: # define TLS1_3_CK_AES_256_GCM_SHA384 0x03001302
tls1.h: # define TLS1_3_CK_CHACHA20_POLY1305_SHA256 0x03001303
tls1.h: # define TLS1_3_CK_AES_128_CCM_SHA256 0x03001304
tls1.h: # define TLS1_3_CK_AES_128_CCM_8_SHA256 0x03001305
tls1.h: # define TLS1_CK_RSA_WITH_ARIA_128_GCM_SHA256 0x0300C050
tls1.h: # define TLS1_CK_RSA_WITH_ARIA_256_GCM_SHA384 0x0300C051
tls1.h: # define TLS1_CK_DHE_RSA_WITH_ARIA_128_GCM_SHA256 0x0300C052
tls1.h: # define TLS1_CK_DHE_RSA_WITH_ARIA_256_GCM_SHA384 0x0300C053
tls1.h: # define TLS1_CK_DH_RSA_WITH_ARIA_128_GCM_SHA256 0x0300C054
tls1.h: # define TLS1_CK_DH_RSA_WITH_ARIA_256_GCM_SHA384 0x0300C055
tls1.h: # define TLS1_CK_DHE_DSS_WITH_ARIA_128_GCM_SHA256 0x0300C056
tls1.h: # define TLS1_CK_DHE_DSS_WITH_ARIA_256_GCM_SHA384 0x0300C057
tls1.h: # define TLS1_CK_DH_DSS_WITH_ARIA_128_GCM_SHA256 0x0300C058
tls1.h: # define TLS1_CK_DH_DSS_WITH_ARIA_256_GCM_SHA384 0x0300C059
tls1.h: # define TLS1_CK_DH_anon_WITH_ARIA_128_GCM_SHA256 0x0300C05A
tls1.h: # define TLS1_CK_DH_anon_WITH_ARIA_256_GCM_SHA384 0x0300C05B
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256 0x0300C05C
tls1.h: # define TLS1_CK_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384 0x0300C05D
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256 0x0300C05E
tls1.h: # define TLS1_CK_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384 0x0300C05F
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256 0x0300C060
tls1.h: # define TLS1_CK_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384 0x0300C061
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_ARIA_128_GCM_SHA256 0x0300C062
tls1.h: # define TLS1_CK_ECDH_RSA_WITH_ARIA_256_GCM_SHA384 0x0300C063
tls1.h: # define TLS1_CK_PSK_WITH_ARIA_128_GCM_SHA256 0x0300C06A
tls1.h: # define TLS1_CK_PSK_WITH_ARIA_256_GCM_SHA384 0x0300C06B
tls1.h: # define TLS1_CK_DHE_PSK_WITH_ARIA_128_GCM_SHA256 0x0300C06C
tls1.h: # define TLS1_CK_DHE_PSK_WITH_ARIA_256_GCM_SHA384 0x0300C06D
tls1.h: # define TLS1_CK_RSA_PSK_WITH_ARIA_128_GCM_SHA256 0x0300C06E
tls1.h: # define TLS1_CK_RSA_PSK_WITH_ARIA_256_GCM_SHA384 0x0300C06F
tls1.h: # define TLS1_RFC_RSA_WITH_AES_128_SHA "TLS_RSA_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_AES_128_SHA "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_128_SHA "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_ADH_WITH_AES_128_SHA "TLS_DH_anon_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_256_SHA "TLS_RSA_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_AES_256_SHA "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_256_SHA "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_ADH_WITH_AES_256_SHA "TLS_DH_anon_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_RSA_WITH_NULL_SHA256 "TLS_RSA_WITH_NULL_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_128_SHA256 "TLS_RSA_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_256_SHA256 "TLS_RSA_WITH_AES_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_AES_128_SHA256 "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_128_SHA256 "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_AES_256_SHA256 "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_256_SHA256 "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_ADH_WITH_AES_128_SHA256 "TLS_DH_anon_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ADH_WITH_AES_256_SHA256 "TLS_DH_anon_WITH_AES_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_128_GCM_SHA256 "TLS_RSA_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_256_GCM_SHA384 "TLS_RSA_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_128_GCM_SHA256 "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_256_GCM_SHA384 "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_AES_128_GCM_SHA256 "TLS_DHE_DSS_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_AES_256_GCM_SHA384 "TLS_DHE_DSS_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_ADH_WITH_AES_128_GCM_SHA256 "TLS_DH_anon_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_ADH_WITH_AES_256_GCM_SHA384 "TLS_DH_anon_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_128_CCM "TLS_RSA_WITH_AES_128_CCM"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_256_CCM "TLS_RSA_WITH_AES_256_CCM"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_128_CCM "TLS_DHE_RSA_WITH_AES_128_CCM"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_256_CCM "TLS_DHE_RSA_WITH_AES_256_CCM"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_128_CCM_8 "TLS_RSA_WITH_AES_128_CCM_8"
tls1.h: # define TLS1_RFC_RSA_WITH_AES_256_CCM_8 "TLS_RSA_WITH_AES_256_CCM_8"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_128_CCM_8 "TLS_DHE_RSA_WITH_AES_128_CCM_8"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_AES_256_CCM_8 "TLS_DHE_RSA_WITH_AES_256_CCM_8"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_128_CCM "TLS_PSK_WITH_AES_128_CCM"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_256_CCM "TLS_PSK_WITH_AES_256_CCM"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_128_CCM "TLS_DHE_PSK_WITH_AES_128_CCM"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_256_CCM "TLS_DHE_PSK_WITH_AES_256_CCM"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_128_CCM_8 "TLS_PSK_WITH_AES_128_CCM_8"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_256_CCM_8 "TLS_PSK_WITH_AES_256_CCM_8"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_128_CCM_8 "TLS_PSK_DHE_WITH_AES_128_CCM_8"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_256_CCM_8 "TLS_PSK_DHE_WITH_AES_256_CCM_8"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_128_CCM "TLS_ECDHE_ECDSA_WITH_AES_128_CCM"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_256_CCM "TLS_ECDHE_ECDSA_WITH_AES_256_CCM"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_128_CCM_8 "TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_256_CCM_8 "TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8"
tls1.h: # define TLS1_3_RFC_AES_128_GCM_SHA256 "TLS_AES_128_GCM_SHA256"
tls1.h: # define TLS1_3_RFC_AES_256_GCM_SHA384 "TLS_AES_256_GCM_SHA384"
tls1.h: # define TLS1_3_RFC_CHACHA20_POLY1305_SHA256 "TLS_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_3_RFC_AES_128_CCM_SHA256 "TLS_AES_128_CCM_SHA256"
tls1.h: # define TLS1_3_RFC_AES_128_CCM_8_SHA256 "TLS_AES_128_CCM_8_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_NULL_SHA "TLS_ECDHE_ECDSA_WITH_NULL_SHA"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA "TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_128_CBC_SHA "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_256_CBC_SHA "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_NULL_SHA "TLS_ECDHE_RSA_WITH_NULL_SHA"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_DES_192_CBC3_SHA "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_AES_128_CBC_SHA "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_AES_256_CBC_SHA "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDH_anon_WITH_NULL_SHA "TLS_ECDH_anon_WITH_NULL_SHA"
tls1.h: # define TLS1_RFC_ECDH_anon_WITH_DES_192_CBC3_SHA "TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDH_anon_WITH_AES_128_CBC_SHA "TLS_ECDH_anon_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDH_anon_WITH_AES_256_CBC_SHA "TLS_ECDH_anon_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_128_SHA256 "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_256_SHA384 "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_AES_128_SHA256 "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_AES_256_SHA384 "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_AES_128_GCM_SHA256 "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_AES_256_GCM_SHA384 "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_PSK_WITH_NULL_SHA "TLS_PSK_WITH_NULL_SHA"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_NULL_SHA "TLS_DHE_PSK_WITH_NULL_SHA"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_NULL_SHA "TLS_RSA_PSK_WITH_NULL_SHA"
tls1.h: # define TLS1_RFC_PSK_WITH_3DES_EDE_CBC_SHA "TLS_PSK_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_128_CBC_SHA "TLS_PSK_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_256_CBC_SHA "TLS_PSK_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_3DES_EDE_CBC_SHA "TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_128_CBC_SHA "TLS_DHE_PSK_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_256_CBC_SHA "TLS_DHE_PSK_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_3DES_EDE_CBC_SHA "TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_AES_128_CBC_SHA "TLS_RSA_PSK_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_AES_256_CBC_SHA "TLS_RSA_PSK_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_128_GCM_SHA256 "TLS_PSK_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_256_GCM_SHA384 "TLS_PSK_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_128_GCM_SHA256 "TLS_DHE_PSK_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_256_GCM_SHA384 "TLS_DHE_PSK_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_AES_128_GCM_SHA256 "TLS_RSA_PSK_WITH_AES_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_AES_256_GCM_SHA384 "TLS_RSA_PSK_WITH_AES_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_128_CBC_SHA256 "TLS_PSK_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_PSK_WITH_AES_256_CBC_SHA384 "TLS_PSK_WITH_AES_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_PSK_WITH_NULL_SHA256 "TLS_PSK_WITH_NULL_SHA256"
tls1.h: # define TLS1_RFC_PSK_WITH_NULL_SHA384 "TLS_PSK_WITH_NULL_SHA384"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_128_CBC_SHA256 "TLS_DHE_PSK_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_AES_256_CBC_SHA384 "TLS_DHE_PSK_WITH_AES_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_NULL_SHA256 "TLS_DHE_PSK_WITH_NULL_SHA256"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_NULL_SHA384 "TLS_DHE_PSK_WITH_NULL_SHA384"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_AES_128_CBC_SHA256 "TLS_RSA_PSK_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_AES_256_CBC_SHA384 "TLS_RSA_PSK_WITH_AES_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_NULL_SHA256 "TLS_RSA_PSK_WITH_NULL_SHA256"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_NULL_SHA384 "TLS_RSA_PSK_WITH_NULL_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA "TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_AES_128_CBC_SHA "TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_AES_256_CBC_SHA "TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_AES_128_CBC_SHA256 "TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_AES_256_CBC_SHA384 "TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_NULL_SHA "TLS_ECDHE_PSK_WITH_NULL_SHA"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_NULL_SHA256 "TLS_ECDHE_PSK_WITH_NULL_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_NULL_SHA384 "TLS_ECDHE_PSK_WITH_NULL_SHA384"
tls1.h: # define TLS1_RFC_SRP_SHA_WITH_3DES_EDE_CBC_SHA "TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA "TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA "TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_WITH_AES_128_CBC_SHA "TLS_SRP_SHA_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_RSA_WITH_AES_128_CBC_SHA "TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_DSS_WITH_AES_128_CBC_SHA "TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_WITH_AES_256_CBC_SHA "TLS_SRP_SHA_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_RSA_WITH_AES_256_CBC_SHA "TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_SRP_SHA_DSS_WITH_AES_256_CBC_SHA "TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_CHACHA20_POLY1305 "TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_CHACHA20_POLY1305 "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_RFC_PSK_WITH_CHACHA20_POLY1305 "TLS_PSK_WITH_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_CHACHA20_POLY1305 "TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_CHACHA20_POLY1305 "TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_CHACHA20_POLY1305 "TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_CAMELLIA_128_CBC_SHA256 "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ADH_WITH_CAMELLIA_128_CBC_SHA256 "TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_CAMELLIA_256_CBC_SHA256 "TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 "TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 "TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_ADH_WITH_CAMELLIA_256_CBC_SHA256 "TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_CAMELLIA_256_CBC_SHA "TLS_RSA_WITH_CAMELLIA_256_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA "TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA "TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA"
tls1.h: # define TLS1_RFC_ADH_WITH_CAMELLIA_256_CBC_SHA "TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA"
tls1.h: # define TLS1_RFC_RSA_WITH_CAMELLIA_128_CBC_SHA "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA"
tls1.h: # define TLS1_RFC_ADH_WITH_CAMELLIA_128_CBC_SHA "TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 "TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 "TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 "TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 "TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_PSK_WITH_CAMELLIA_128_CBC_SHA256 "TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_PSK_WITH_CAMELLIA_256_CBC_SHA384 "TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 "TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 "TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 "TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 "TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 "TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 "TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384"
tls1.h: # define TLS1_RFC_RSA_WITH_SEED_SHA "TLS_RSA_WITH_SEED_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_SEED_SHA "TLS_DHE_DSS_WITH_SEED_CBC_SHA"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_SEED_SHA "TLS_DHE_RSA_WITH_SEED_CBC_SHA"
tls1.h: # define TLS1_RFC_ADH_WITH_SEED_SHA "TLS_DH_anon_WITH_SEED_CBC_SHA"
tls1.h: # define TLS1_RFC_ECDHE_PSK_WITH_RC4_128_SHA "TLS_ECDHE_PSK_WITH_RC4_128_SHA"
tls1.h: # define TLS1_RFC_ECDH_anon_WITH_RC4_128_SHA "TLS_ECDH_anon_WITH_RC4_128_SHA"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_RC4_128_SHA "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_RC4_128_SHA "TLS_ECDHE_RSA_WITH_RC4_128_SHA"
tls1.h: # define TLS1_RFC_PSK_WITH_RC4_128_SHA "TLS_PSK_WITH_RC4_128_SHA"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_RC4_128_SHA "TLS_RSA_PSK_WITH_RC4_128_SHA"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_RC4_128_SHA "TLS_DHE_PSK_WITH_RC4_128_SHA"
tls1.h: # define TLS1_RFC_RSA_WITH_ARIA_128_GCM_SHA256 "TLS_RSA_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_RSA_WITH_ARIA_256_GCM_SHA384 "TLS_RSA_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_ARIA_128_GCM_SHA256 "TLS_DHE_RSA_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DHE_RSA_WITH_ARIA_256_GCM_SHA384 "TLS_DHE_RSA_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DH_RSA_WITH_ARIA_128_GCM_SHA256 "TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DH_RSA_WITH_ARIA_256_GCM_SHA384 "TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_ARIA_128_GCM_SHA256 "TLS_DHE_DSS_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DHE_DSS_WITH_ARIA_256_GCM_SHA384 "TLS_DHE_DSS_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DH_DSS_WITH_ARIA_128_GCM_SHA256 "TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DH_DSS_WITH_ARIA_256_GCM_SHA384 "TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DH_anon_WITH_ARIA_128_GCM_SHA256 "TLS_DH_anon_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DH_anon_WITH_ARIA_256_GCM_SHA384 "TLS_DH_anon_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256 "TLS_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384 "TLS_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256 "TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384 "TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256 "TLS_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384 "TLS_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_ECDH_RSA_WITH_ARIA_128_GCM_SHA256 "TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_ECDH_RSA_WITH_ARIA_256_GCM_SHA384 "TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_PSK_WITH_ARIA_128_GCM_SHA256 "TLS_PSK_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_PSK_WITH_ARIA_256_GCM_SHA384 "TLS_PSK_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_ARIA_128_GCM_SHA256 "TLS_DHE_PSK_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_DHE_PSK_WITH_ARIA_256_GCM_SHA384 "TLS_DHE_PSK_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_ARIA_128_GCM_SHA256 "TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256"
tls1.h: # define TLS1_RFC_RSA_PSK_WITH_ARIA_256_GCM_SHA384 "TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_RC4_128_SHA "DHE-DSS-RC4-SHA"
tls1.h: # define TLS1_TXT_PSK_WITH_NULL_SHA "PSK-NULL-SHA"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_NULL_SHA "DHE-PSK-NULL-SHA"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_NULL_SHA "RSA-PSK-NULL-SHA"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_128_SHA "AES128-SHA"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_AES_128_SHA "DH-DSS-AES128-SHA"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_AES_128_SHA "DH-RSA-AES128-SHA"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA "DHE-DSS-AES128-SHA"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA "DHE-RSA-AES128-SHA"
tls1.h: # define TLS1_TXT_ADH_WITH_AES_128_SHA "ADH-AES128-SHA"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_256_SHA "AES256-SHA"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_AES_256_SHA "DH-DSS-AES256-SHA"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_AES_256_SHA "DH-RSA-AES256-SHA"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA "DHE-DSS-AES256-SHA"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA "DHE-RSA-AES256-SHA"
tls1.h: # define TLS1_TXT_ADH_WITH_AES_256_SHA "ADH-AES256-SHA"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_NULL_SHA "ECDH-ECDSA-NULL-SHA"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA "ECDH-ECDSA-RC4-SHA"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA "ECDH-ECDSA-DES-CBC3-SHA"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA "ECDH-ECDSA-AES128-SHA"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA "ECDH-ECDSA-AES256-SHA"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_NULL_SHA "ECDHE-ECDSA-NULL-SHA"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA "ECDHE-ECDSA-RC4-SHA"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA "ECDHE-ECDSA-DES-CBC3-SHA"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA "ECDHE-ECDSA-AES128-SHA"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA "ECDHE-ECDSA-AES256-SHA"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_NULL_SHA "ECDH-RSA-NULL-SHA"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA "ECDH-RSA-RC4-SHA"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA "ECDH-RSA-DES-CBC3-SHA"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA "ECDH-RSA-AES128-SHA"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA "ECDH-RSA-AES256-SHA"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_NULL_SHA "ECDHE-RSA-NULL-SHA"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA "ECDHE-RSA-RC4-SHA"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA "ECDHE-RSA-DES-CBC3-SHA"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA "ECDHE-RSA-AES128-SHA"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA "ECDHE-RSA-AES256-SHA"
tls1.h: # define TLS1_TXT_ECDH_anon_WITH_NULL_SHA "AECDH-NULL-SHA"
tls1.h: # define TLS1_TXT_ECDH_anon_WITH_RC4_128_SHA "AECDH-RC4-SHA"
tls1.h: # define TLS1_TXT_ECDH_anon_WITH_DES_192_CBC3_SHA "AECDH-DES-CBC3-SHA"
tls1.h: # define TLS1_TXT_ECDH_anon_WITH_AES_128_CBC_SHA "AECDH-AES128-SHA"
tls1.h: # define TLS1_TXT_ECDH_anon_WITH_AES_256_CBC_SHA "AECDH-AES256-SHA"
tls1.h: # define TLS1_TXT_PSK_WITH_RC4_128_SHA "PSK-RC4-SHA"
tls1.h: # define TLS1_TXT_PSK_WITH_3DES_EDE_CBC_SHA "PSK-3DES-EDE-CBC-SHA"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_128_CBC_SHA "PSK-AES128-CBC-SHA"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_256_CBC_SHA "PSK-AES256-CBC-SHA"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_RC4_128_SHA "DHE-PSK-RC4-SHA"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_3DES_EDE_CBC_SHA "DHE-PSK-3DES-EDE-CBC-SHA"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_128_CBC_SHA "DHE-PSK-AES128-CBC-SHA"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_256_CBC_SHA "DHE-PSK-AES256-CBC-SHA"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_RC4_128_SHA "RSA-PSK-RC4-SHA"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_3DES_EDE_CBC_SHA "RSA-PSK-3DES-EDE-CBC-SHA"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_AES_128_CBC_SHA "RSA-PSK-AES128-CBC-SHA"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_AES_256_CBC_SHA "RSA-PSK-AES256-CBC-SHA"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_128_GCM_SHA256 "PSK-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_256_GCM_SHA384 "PSK-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_128_GCM_SHA256 "DHE-PSK-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_256_GCM_SHA384 "DHE-PSK-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_AES_128_GCM_SHA256 "RSA-PSK-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_AES_256_GCM_SHA384 "RSA-PSK-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_128_CBC_SHA256 "PSK-AES128-CBC-SHA256"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_256_CBC_SHA384 "PSK-AES256-CBC-SHA384"
tls1.h: # define TLS1_TXT_PSK_WITH_NULL_SHA256 "PSK-NULL-SHA256"
tls1.h: # define TLS1_TXT_PSK_WITH_NULL_SHA384 "PSK-NULL-SHA384"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_128_CBC_SHA256 "DHE-PSK-AES128-CBC-SHA256"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_256_CBC_SHA384 "DHE-PSK-AES256-CBC-SHA384"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_NULL_SHA256 "DHE-PSK-NULL-SHA256"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_NULL_SHA384 "DHE-PSK-NULL-SHA384"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_AES_128_CBC_SHA256 "RSA-PSK-AES128-CBC-SHA256"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_AES_256_CBC_SHA384 "RSA-PSK-AES256-CBC-SHA384"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_NULL_SHA256 "RSA-PSK-NULL-SHA256"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_NULL_SHA384 "RSA-PSK-NULL-SHA384"
tls1.h: # define TLS1_TXT_SRP_SHA_WITH_3DES_EDE_CBC_SHA "SRP-3DES-EDE-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA "SRP-RSA-3DES-EDE-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA "SRP-DSS-3DES-EDE-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_WITH_AES_128_CBC_SHA "SRP-AES-128-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_RSA_WITH_AES_128_CBC_SHA "SRP-RSA-AES-128-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_DSS_WITH_AES_128_CBC_SHA "SRP-DSS-AES-128-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_WITH_AES_256_CBC_SHA "SRP-AES-256-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_RSA_WITH_AES_256_CBC_SHA "SRP-RSA-AES-256-CBC-SHA"
tls1.h: # define TLS1_TXT_SRP_SHA_DSS_WITH_AES_256_CBC_SHA "SRP-DSS-AES-256-CBC-SHA"
tls1.h: # define TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA "CAMELLIA128-SHA"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_CAMELLIA_128_CBC_SHA "DH-DSS-CAMELLIA128-SHA"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_CAMELLIA_128_CBC_SHA "DH-RSA-CAMELLIA128-SHA"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA "DHE-DSS-CAMELLIA128-SHA"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA "DHE-RSA-CAMELLIA128-SHA"
tls1.h: # define TLS1_TXT_ADH_WITH_CAMELLIA_128_CBC_SHA "ADH-CAMELLIA128-SHA"
tls1.h: # define TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA "CAMELLIA256-SHA"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_CAMELLIA_256_CBC_SHA "DH-DSS-CAMELLIA256-SHA"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_CAMELLIA_256_CBC_SHA "DH-RSA-CAMELLIA256-SHA"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA "DHE-DSS-CAMELLIA256-SHA"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA "DHE-RSA-CAMELLIA256-SHA"
tls1.h: # define TLS1_TXT_ADH_WITH_CAMELLIA_256_CBC_SHA "ADH-CAMELLIA256-SHA"
tls1.h: # define TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA256 "CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256 "DH-DSS-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256 "DH-RSA-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 "DHE-DSS-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 "DHE-RSA-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_ADH_WITH_CAMELLIA_128_CBC_SHA256 "ADH-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA256 "CAMELLIA256-SHA256"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 "DH-DSS-CAMELLIA256-SHA256"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 "DH-RSA-CAMELLIA256-SHA256"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 "DHE-DSS-CAMELLIA256-SHA256"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 "DHE-RSA-CAMELLIA256-SHA256"
tls1.h: # define TLS1_TXT_ADH_WITH_CAMELLIA_256_CBC_SHA256 "ADH-CAMELLIA256-SHA256"
tls1.h: # define TLS1_TXT_PSK_WITH_CAMELLIA_128_CBC_SHA256 "PSK-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_PSK_WITH_CAMELLIA_256_CBC_SHA384 "PSK-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 "DHE-PSK-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 "DHE-PSK-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 "RSA-PSK-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 "RSA-PSK-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 "ECDHE-PSK-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 "ECDHE-PSK-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_RSA_WITH_SEED_SHA "SEED-SHA"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_SEED_SHA "DH-DSS-SEED-SHA"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_SEED_SHA "DH-RSA-SEED-SHA"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_SEED_SHA "DHE-DSS-SEED-SHA"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_SEED_SHA "DHE-RSA-SEED-SHA"
tls1.h: # define TLS1_TXT_ADH_WITH_SEED_SHA "ADH-SEED-SHA"
tls1.h: # define TLS1_TXT_RSA_WITH_NULL_SHA256 "NULL-SHA256"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_128_SHA256 "AES128-SHA256"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_256_SHA256 "AES256-SHA256"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_AES_128_SHA256 "DH-DSS-AES128-SHA256"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_AES_128_SHA256 "DH-RSA-AES128-SHA256"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA256 "DHE-DSS-AES128-SHA256"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA256 "DHE-RSA-AES128-SHA256"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_AES_256_SHA256 "DH-DSS-AES256-SHA256"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_AES_256_SHA256 "DH-RSA-AES256-SHA256"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA256 "DHE-DSS-AES256-SHA256"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA256 "DHE-RSA-AES256-SHA256"
tls1.h: # define TLS1_TXT_ADH_WITH_AES_128_SHA256 "ADH-AES128-SHA256"
tls1.h: # define TLS1_TXT_ADH_WITH_AES_256_SHA256 "ADH-AES256-SHA256"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_128_GCM_SHA256 "AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_256_GCM_SHA384 "AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_128_GCM_SHA256 "DHE-RSA-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_256_GCM_SHA384 "DHE-RSA-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_AES_128_GCM_SHA256 "DH-RSA-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_AES_256_GCM_SHA384 "DH-RSA-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_AES_128_GCM_SHA256 "DHE-DSS-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_AES_256_GCM_SHA384 "DHE-DSS-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_AES_128_GCM_SHA256 "DH-DSS-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_AES_256_GCM_SHA384 "DH-DSS-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ADH_WITH_AES_128_GCM_SHA256 "ADH-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ADH_WITH_AES_256_GCM_SHA384 "ADH-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_128_CCM "AES128-CCM"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_256_CCM "AES256-CCM"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_128_CCM "DHE-RSA-AES128-CCM"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_256_CCM "DHE-RSA-AES256-CCM"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_128_CCM_8 "AES128-CCM8"
tls1.h: # define TLS1_TXT_RSA_WITH_AES_256_CCM_8 "AES256-CCM8"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_128_CCM_8 "DHE-RSA-AES128-CCM8"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_AES_256_CCM_8 "DHE-RSA-AES256-CCM8"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_128_CCM "PSK-AES128-CCM"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_256_CCM "PSK-AES256-CCM"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_128_CCM "DHE-PSK-AES128-CCM"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_256_CCM "DHE-PSK-AES256-CCM"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_128_CCM_8 "PSK-AES128-CCM8"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_256_CCM_8 "PSK-AES256-CCM8"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_128_CCM_8 "DHE-PSK-AES128-CCM8"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_AES_256_CCM_8 "DHE-PSK-AES256-CCM8"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CCM "ECDHE-ECDSA-AES128-CCM"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CCM "ECDHE-ECDSA-AES256-CCM"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CCM_8 "ECDHE-ECDSA-AES128-CCM8"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CCM_8 "ECDHE-ECDSA-AES256-CCM8"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_SHA256 "ECDHE-ECDSA-AES128-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_SHA384 "ECDHE-ECDSA-AES256-SHA384"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_SHA256 "ECDH-ECDSA-AES128-SHA256"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_SHA384 "ECDH-ECDSA-AES256-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_AES_128_SHA256 "ECDHE-RSA-AES128-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_AES_256_SHA384 "ECDHE-RSA-AES256-SHA384"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_AES_128_SHA256 "ECDH-RSA-AES128-SHA256"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_AES_256_SHA384 "ECDH-RSA-AES256-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 "ECDHE-ECDSA-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 "ECDHE-ECDSA-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 "ECDH-ECDSA-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 "ECDH-ECDSA-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256 "ECDHE-RSA-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384 "ECDHE-RSA-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_AES_128_GCM_SHA256 "ECDH-RSA-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_AES_256_GCM_SHA384 "ECDH-RSA-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_128_GCM_SHA256 "PSK-AES128-GCM-SHA256"
tls1.h: # define TLS1_TXT_PSK_WITH_AES_256_GCM_SHA384 "PSK-AES256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_RC4_128_SHA "ECDHE-PSK-RC4-SHA"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA "ECDHE-PSK-3DES-EDE-CBC-SHA"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_AES_128_CBC_SHA "ECDHE-PSK-AES128-CBC-SHA"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_AES_256_CBC_SHA "ECDHE-PSK-AES256-CBC-SHA"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_AES_128_CBC_SHA256 "ECDHE-PSK-AES128-CBC-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_AES_256_CBC_SHA384 "ECDHE-PSK-AES256-CBC-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_NULL_SHA "ECDHE-PSK-NULL-SHA"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_NULL_SHA256 "ECDHE-PSK-NULL-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_NULL_SHA384 "ECDHE-PSK-NULL-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 "ECDHE-ECDSA-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 "ECDHE-ECDSA-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 "ECDH-ECDSA-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 "ECDH-ECDSA-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 "ECDHE-RSA-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 "ECDHE-RSA-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256 "ECDH-RSA-CAMELLIA128-SHA256"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384 "ECDH-RSA-CAMELLIA256-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_CHACHA20_POLY1305 "ECDHE-RSA-CHACHA20-POLY1305"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 "ECDHE-ECDSA-CHACHA20-POLY1305"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_CHACHA20_POLY1305 "DHE-RSA-CHACHA20-POLY1305"
tls1.h: # define TLS1_TXT_PSK_WITH_CHACHA20_POLY1305 "PSK-CHACHA20-POLY1305"
tls1.h: # define TLS1_TXT_ECDHE_PSK_WITH_CHACHA20_POLY1305 "ECDHE-PSK-CHACHA20-POLY1305"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_CHACHA20_POLY1305 "DHE-PSK-CHACHA20-POLY1305"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_CHACHA20_POLY1305 "RSA-PSK-CHACHA20-POLY1305"
tls1.h: # define TLS1_TXT_RSA_WITH_ARIA_128_GCM_SHA256 "ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_RSA_WITH_ARIA_256_GCM_SHA384 "ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_ARIA_128_GCM_SHA256 "DHE-RSA-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DHE_RSA_WITH_ARIA_256_GCM_SHA384 "DHE-RSA-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_ARIA_128_GCM_SHA256 "DH-RSA-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DH_RSA_WITH_ARIA_256_GCM_SHA384 "DH-RSA-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_ARIA_128_GCM_SHA256 "DHE-DSS-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DHE_DSS_WITH_ARIA_256_GCM_SHA384 "DHE-DSS-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_ARIA_128_GCM_SHA256 "DH-DSS-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DH_DSS_WITH_ARIA_256_GCM_SHA384 "DH-DSS-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DH_anon_WITH_ARIA_128_GCM_SHA256 "ADH-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DH_anon_WITH_ARIA_256_GCM_SHA384 "ADH-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_ARIA_128_GCM_SHA256 "ECDHE-ECDSA-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_ECDSA_WITH_ARIA_256_GCM_SHA384 "ECDHE-ECDSA-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256 "ECDH-ECDSA-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384 "ECDH-ECDSA-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_ARIA_128_GCM_SHA256 "ECDHE-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDHE_RSA_WITH_ARIA_256_GCM_SHA384 "ECDHE-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_ARIA_128_GCM_SHA256 "ECDH-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_ECDH_RSA_WITH_ARIA_256_GCM_SHA384 "ECDH-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_PSK_WITH_ARIA_128_GCM_SHA256 "PSK-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_PSK_WITH_ARIA_256_GCM_SHA384 "PSK-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_ARIA_128_GCM_SHA256 "DHE-PSK-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_DHE_PSK_WITH_ARIA_256_GCM_SHA384 "DHE-PSK-ARIA256-GCM-SHA384"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_ARIA_128_GCM_SHA256 "RSA-PSK-ARIA128-GCM-SHA256"
tls1.h: # define TLS1_TXT_RSA_PSK_WITH_ARIA_256_GCM_SHA384 "RSA-PSK-ARIA256-GCM-SHA384"
tls1.h: * TODO(TLS1.3): Review the naming scheme for TLSv1.3 ciphers and also the
tls1.h: # define TLS1_3_TXT_AES_128_GCM_SHA256 "TLS13-AES-128-GCM-SHA256"
tls1.h: # define TLS1_3_TXT_AES_256_GCM_SHA384 "TLS13-AES-256-GCM-SHA384"
tls1.h: # define TLS1_3_TXT_CHACHA20_POLY1305_SHA256 "TLS13-CHACHA20-POLY1305-SHA256"
tls1.h: # define TLS1_3_TXT_AES_128_CCM_SHA256 "TLS13-AES-128-CCM-SHA256"
tls1.h: # define TLS1_3_TXT_AES_128_CCM_8_SHA256 "TLS13-AES-128-CCM-8-SHA256"
tls1.h: # define TLS_CT_RSA_SIGN 1
tls1.h: # define TLS_CT_DSS_SIGN 2
tls1.h: # define TLS_CT_RSA_FIXED_DH 3
tls1.h: # define TLS_CT_DSS_FIXED_DH 4
tls1.h: # define TLS_CT_ECDSA_SIGN 64
tls1.h: # define TLS_CT_RSA_FIXED_ECDH 65
tls1.h: # define TLS_CT_ECDSA_FIXED_ECDH 66
tls1.h: # define TLS_CT_GOST01_SIGN 22
tls1.h: # define TLS_CT_GOST12_SIGN 238
tls1.h: # define TLS_CT_GOST12_512_SIGN 239
tls1.h: * when correcting this number, correct also SSL3_CT_NUMBER in ssl3.h (see
tls1.h: # define TLS_CT_NUMBER 9
tls1.h: # define TLS1_FINISH_MAC_LENGTH 12
tls1.h: # define TLS_MD_MAX_CONST_SIZE 22
tls1.h: # define TLS_MD_CLIENT_FINISH_CONST "client finished"
tls1.h: # define TLS_MD_CLIENT_FINISH_CONST_SIZE 15
tls1.h: # define TLS_MD_SERVER_FINISH_CONST "server finished"
tls1.h: # define TLS_MD_SERVER_FINISH_CONST_SIZE 15
tls1.h: # define TLS_MD_KEY_EXPANSION_CONST "key expansion"
tls1.h: # define TLS_MD_KEY_EXPANSION_CONST_SIZE 13
tls1.h: # define TLS_MD_CLIENT_WRITE_KEY_CONST "client write key"
tls1.h: # define TLS_MD_CLIENT_WRITE_KEY_CONST_SIZE 16
tls1.h: # define TLS_MD_SERVER_WRITE_KEY_CONST "server write key"
tls1.h: # define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE 16
tls1.h: # define TLS_MD_IV_BLOCK_CONST "IV block"
tls1.h: # define TLS_MD_IV_BLOCK_CONST_SIZE 8
tls1.h: # define TLS_MD_MASTER_SECRET_CONST "master secret"
tls1.h: # define TLS_MD_MASTER_SECRET_CONST_SIZE 13
tls1.h: # define TLS_MD_EXTENDED_MASTER_SECRET_CONST "extended master secret"
tls1.h: # define TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE 22
tls1.h: # define TLS_MD_CLIENT_FINISH_CONST "\x63\x6c\x69\x65\x6e\x74\x20\x66\x69\x6e\x69\x73\x68\x65\x64"
tls1.h: # define TLS_MD_SERVER_FINISH_CONST "\x73\x65\x72\x76\x65\x72\x20\x66\x69\x6e\x69\x73\x68\x65\x64"
tls1.h: # define TLS_MD_SERVER_WRITE_KEY_CONST "\x73\x65\x72\x76\x65\x72\x20\x77\x72\x69\x74\x65\x20\x6b\x65\x79"
tls1.h: # define TLS_MD_KEY_EXPANSION_CONST "\x6b\x65\x79\x20\x65\x78\x70\x61\x6e\x73\x69\x6f\x6e"
tls1.h: # define TLS_MD_CLIENT_WRITE_KEY_CONST "\x63\x6c\x69\x65\x6e\x74\x20\x77\x72\x69\x74\x65\x20\x6b\x65\x79"
tls1.h: # define TLS_MD_SERVER_WRITE_KEY_CONST "\x73\x65\x72\x76\x65\x72\x20\x77\x72\x69\x74\x65\x20\x6b\x65\x79"
tls1.h: # define TLS_MD_IV_BLOCK_CONST "\x49\x56\x20\x62\x6c\x6f\x63\x6b"
tls1.h: # define TLS_MD_MASTER_SECRET_CONST "\x6d\x61\x73\x74\x65\x72\x20\x73\x65\x63\x72\x65\x74"
tls1.h: # define TLS_MD_EXTENDED_MASTER_SECRET_CONST "\x65\x78\x74\x65\x63\x64\x65\x64\x20\x6d\x61\x73\x74\x65\x72\x20\x73\x65\x63\x72\x65\x74"
tls1.h: /* TLS Session Ticket extension struct */
tls1.h: struct tls_session_ticket_ext_st {
tserr.h: * Licensed under the OpenSSL license (the "License"). You may not use
tserr.h: # define HEADER_TSERR_H
tserr.h: int ERR_load_TS_strings(void);
tserr.h: # define TS_F_DEF_SERIAL_CB 110
tserr.h: # define TS_F_DEF_TIME_CB 111
tserr.h: # define TS_F_ESS_ADD_SIGNING_CERT 112
tserr.h: # define TS_F_ESS_ADD_SIGNING_CERT_V2 147
tserr.h: # define TS_F_ESS_CERT_ID_NEW_INIT 113
tserr.h: # define TS_F_ESS_CERT_ID_V2_NEW_INIT 156
tserr.h: # define TS_F_ESS_SIGNING_CERT_NEW_INIT 114
tserr.h: # define TS_F_ESS_SIGNING_CERT_V2_NEW_INIT 157
tserr.h: # define TS_F_INT_TS_RESP_VERIFY_TOKEN 149
tserr.h: # define TS_F_PKCS7_TO_TS_TST_INFO 148
tserr.h: # define TS_F_TS_ACCURACY_SET_MICROS 115
tserr.h: # define TS_F_TS_ACCURACY_SET_MILLIS 116
tserr.h: # define TS_F_TS_ACCURACY_SET_SECONDS 117
tserr.h: # define TS_F_TS_CHECK_IMPRINTS 100
tserr.h: # define TS_F_TS_CHECK_NONCES 101
tserr.h: # define TS_F_TS_CHECK_POLICY 102
tserr.h: # define TS_F_TS_CHECK_SIGNING_CERTS 103
tserr.h: # define TS_F_TS_CHECK_STATUS_INFO 104
tserr.h: # define TS_F_TS_COMPUTE_IMPRINT 145
tserr.h: # define TS_F_TS_CONF_INVALID 151
tserr.h: # define TS_F_TS_CONF_LOAD_CERT 153
tserr.h: # define TS_F_TS_CONF_LOAD_CERTS 154
tserr.h: # define TS_F_TS_CONF_LOAD_KEY 155
tserr.h: # define TS_F_TS_CONF_LOOKUP_FAIL 152
tserr.h: # define TS_F_TS_CONF_SET_DEFAULT_ENGINE 146
tserr.h: # define TS_F_TS_GET_STATUS_TEXT 105
tserr.h: # define TS_F_TS_MSG_IMPRINT_SET_ALGO 118
tserr.h: # define TS_F_TS_REQ_SET_MSG_IMPRINT 119
tserr.h: # define TS_F_TS_REQ_SET_NONCE 120
tserr.h: # define TS_F_TS_REQ_SET_POLICY_ID 121
tserr.h: # define TS_F_TS_RESP_CREATE_RESPONSE 122
tserr.h: # define TS_F_TS_RESP_CREATE_TST_INFO 123
tserr.h: # define TS_F_TS_RESP_CTX_ADD_FAILURE_INFO 124
tserr.h: # define TS_F_TS_RESP_CTX_ADD_MD 125
tserr.h: # define TS_F_TS_RESP_CTX_ADD_POLICY 126
tserr.h: # define TS_F_TS_RESP_CTX_NEW 127
tserr.h: # define TS_F_TS_RESP_CTX_SET_ACCURACY 128
tserr.h: # define TS_F_TS_RESP_CTX_SET_CERTS 129
tserr.h: # define TS_F_TS_RESP_CTX_SET_DEF_POLICY 130
tserr.h: # define TS_F_TS_RESP_CTX_SET_SIGNER_CERT 131
tserr.h: # define TS_F_TS_RESP_CTX_SET_STATUS_INFO 132
tserr.h: # define TS_F_TS_RESP_GET_POLICY 133
tserr.h: # define TS_F_TS_RESP_SET_GENTIME_WITH_PRECISION 134
tserr.h: # define TS_F_TS_RESP_SET_STATUS_INFO 135
tserr.h: # define TS_F_TS_RESP_SET_TST_INFO 150
tserr.h: # define TS_F_TS_RESP_SIGN 136
tserr.h: # define TS_F_TS_RESP_VERIFY_SIGNATURE 106
tserr.h: # define TS_F_TS_TST_INFO_SET_ACCURACY 137
tserr.h: # define TS_F_TS_TST_INFO_SET_MSG_IMPRINT 138
tserr.h: # define TS_F_TS_TST_INFO_SET_NONCE 139
tserr.h: # define TS_F_TS_TST_INFO_SET_POLICY_ID 140
tserr.h: # define TS_F_TS_TST_INFO_SET_SERIAL 141
tserr.h: # define TS_F_TS_TST_INFO_SET_TIME 142
tserr.h: # define TS_F_TS_TST_INFO_SET_TSA 143
tserr.h: # define TS_F_TS_VERIFY 108
tserr.h: # define TS_F_TS_VERIFY_CERT 109
tserr.h: # define TS_F_TS_VERIFY_CTX_NEW 144
tserr.h: # define TS_R_BAD_PKCS7_TYPE 132
tserr.h: # define TS_R_BAD_TYPE 133
tserr.h: # define TS_R_CANNOT_LOAD_CERT 137
tserr.h: # define TS_R_CANNOT_LOAD_KEY 138
tserr.h: # define TS_R_CERTIFICATE_VERIFY_ERROR 100
tserr.h: # define TS_R_COULD_NOT_SET_ENGINE 127
tserr.h: # define TS_R_COULD_NOT_SET_TIME 115
tserr.h: # define TS_R_DETACHED_CONTENT 134
tserr.h: # define TS_R_ESS_ADD_SIGNING_CERT_ERROR 116
tserr.h: # define TS_R_ESS_ADD_SIGNING_CERT_V2_ERROR 139
tserr.h: # define TS_R_ESS_SIGNING_CERTIFICATE_ERROR 101
tserr.h: # define TS_R_INVALID_NULL_POINTER 102
tserr.h: # define TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE 117
tserr.h: # define TS_R_MESSAGE_IMPRINT_MISMATCH 103
tserr.h: # define TS_R_NONCE_MISMATCH 104
tserr.h: # define TS_R_NONCE_NOT_RETURNED 105
tserr.h: # define TS_R_NO_CONTENT 106
tserr.h: # define TS_R_NO_TIME_STAMP_TOKEN 107
tserr.h: # define TS_R_PKCS7_ADD_SIGNATURE_ERROR 118
tserr.h: # define TS_R_PKCS7_ADD_SIGNED_ATTR_ERROR 119
tserr.h: # define TS_R_PKCS7_TO_TS_TST_INFO_FAILED 129
tserr.h: # define TS_R_POLICY_MISMATCH 108
tserr.h: # define TS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 120
tserr.h: # define TS_R_RESPONSE_SETUP_ERROR 121
tserr.h: # define TS_R_SIGNATURE_FAILURE 109
tserr.h: # define TS_R_THERE_MUST_BE_ONE_SIGNER 110
tserr.h: # define TS_R_TIME_SYSCALL_ERROR 122
tserr.h: # define TS_R_TOKEN_NOT_PRESENT 130
tserr.h: # define TS_R_TOKEN_PRESENT 131
tserr.h: # define TS_R_TSA_NAME_MISMATCH 111
tserr.h: # define TS_R_TSA_UNTRUSTED 112
tserr.h: # define TS_R_TST_INFO_SETUP_ERROR 123
tserr.h: # define TS_R_TS_DATASIGN 124
tserr.h: # define TS_R_UNACCEPTABLE_POLICY 125
tserr.h: # define TS_R_UNSUPPORTED_MD_ALGORITHM 126
tserr.h: # define TS_R_UNSUPPORTED_VERSION 113
tserr.h: # define TS_R_VAR_BAD_VALUE 135
tserr.h: # define TS_R_VAR_LOOKUP_FAILURE 136
tserr.h: # define TS_R_WRONG_CONTENT_TYPE 114
ts.h: * Licensed under the OpenSSL license (the "License"). You may not use
ts.h: # define HEADER_TS_H
ts.h: typedef struct TS_msg_imprint_st TS_MSG_IMPRINT;
ts.h: typedef struct TS_req_st TS_REQ;
ts.h: typedef struct TS_accuracy_st TS_ACCURACY;
ts.h: typedef struct TS_tst_info_st TS_TST_INFO;
ts.h: # define TS_STATUS_GRANTED 0
ts.h: # define TS_STATUS_GRANTED_WITH_MODS 1
ts.h: # define TS_STATUS_REJECTION 2
ts.h: # define TS_STATUS_WAITING 3
ts.h: # define TS_STATUS_REVOCATION_WARNING 4
ts.h: # define TS_STATUS_REVOCATION_NOTIFICATION 5
ts.h: # define TS_INFO_BAD_ALG 0
ts.h: # define TS_INFO_BAD_REQUEST 2
ts.h: # define TS_INFO_BAD_DATA_FORMAT 5
ts.h: # define TS_INFO_TIME_NOT_AVAILABLE 14
ts.h: # define TS_INFO_UNACCEPTED_POLICY 15
ts.h: # define TS_INFO_UNACCEPTED_EXTENSION 16
ts.h: # define TS_INFO_ADD_INFO_NOT_AVAILABLE 17
ts.h: # define TS_INFO_SYSTEM_FAILURE 25
ts.h: typedef struct TS_status_info_st TS_STATUS_INFO;
ts.h: typedef struct ESS_issuer_serial ESS_ISSUER_SERIAL;
ts.h: typedef struct ESS_cert_id ESS_CERT_ID;
ts.h: typedef struct ESS_signing_cert ESS_SIGNING_CERT;
ts.h: DEFINE_STACK_OF(ESS_CERT_ID)
ts.h: typedef struct ESS_cert_id_v2_st ESS_CERT_ID_V2;
ts.h: typedef struct ESS_signing_cert_v2_st ESS_SIGNING_CERT_V2;
ts.h: DEFINE_STACK_OF(ESS_CERT_ID_V2)
ts.h: typedef struct TS_resp_st TS_RESP;
ts.h: TS_REQ *TS_REQ_new(void);
ts.h: void TS_REQ_free(TS_REQ *a);
ts.h: int i2d_TS_REQ(const TS_REQ *a, unsigned char **pp);
ts.h: TS_REQ *d2i_TS_REQ(TS_REQ **a, const unsigned char **pp, long length);
ts.h: TS_REQ *TS_REQ_dup(TS_REQ *a);
ts.h: TS_REQ *d2i_TS_REQ_fp(FILE *fp, TS_REQ **a);
ts.h: int i2d_TS_REQ_fp(FILE *fp, TS_REQ *a);
ts.h: TS_REQ *d2i_TS_REQ_bio(BIO *fp, TS_REQ **a);
ts.h: int i2d_TS_REQ_bio(BIO *fp, TS_REQ *a);
ts.h: TS_MSG_IMPRINT *TS_MSG_IMPRINT_new(void);
ts.h: void TS_MSG_IMPRINT_free(TS_MSG_IMPRINT *a);
ts.h: int i2d_TS_MSG_IMPRINT(const TS_MSG_IMPRINT *a, unsigned char **pp);
ts.h: TS_MSG_IMPRINT *d2i_TS_MSG_IMPRINT(TS_MSG_IMPRINT **a,
ts.h: TS_MSG_IMPRINT *TS_MSG_IMPRINT_dup(TS_MSG_IMPRINT *a);
ts.h: TS_MSG_IMPRINT *d2i_TS_MSG_IMPRINT_fp(FILE *fp, TS_MSG_IMPRINT **a);
ts.h: int i2d_TS_MSG_IMPRINT_fp(FILE *fp, TS_MSG_IMPRINT *a);
ts.h: TS_MSG_IMPRINT *d2i_TS_MSG_IMPRINT_bio(BIO *bio, TS_MSG_IMPRINT **a);
ts.h: int i2d_TS_MSG_IMPRINT_bio(BIO *bio, TS_MSG_IMPRINT *a);
ts.h: TS_RESP *TS_RESP_new(void);
ts.h: void TS_RESP_free(TS_RESP *a);
ts.h: int i2d_TS_RESP(const TS_RESP *a, unsigned char **pp);
ts.h: TS_RESP *d2i_TS_RESP(TS_RESP **a, const unsigned char **pp, long length);
ts.h: TS_TST_INFO *PKCS7_to_TS_TST_INFO(PKCS7 *token);
ts.h: TS_RESP *TS_RESP_dup(TS_RESP *a);
ts.h: TS_RESP *d2i_TS_RESP_fp(FILE *fp, TS_RESP **a);
ts.h: int i2d_TS_RESP_fp(FILE *fp, TS_RESP *a);
ts.h: TS_RESP *d2i_TS_RESP_bio(BIO *bio, TS_RESP **a);
ts.h: int i2d_TS_RESP_bio(BIO *bio, TS_RESP *a);
ts.h: TS_STATUS_INFO *TS_STATUS_INFO_new(void);
ts.h: void TS_STATUS_INFO_free(TS_STATUS_INFO *a);
ts.h: int i2d_TS_STATUS_INFO(const TS_STATUS_INFO *a, unsigned char **pp);
ts.h: TS_STATUS_INFO *d2i_TS_STATUS_INFO(TS_STATUS_INFO **a,
ts.h: TS_STATUS_INFO *TS_STATUS_INFO_dup(TS_STATUS_INFO *a);
ts.h: TS_TST_INFO *TS_TST_INFO_new(void);
ts.h: void TS_TST_INFO_free(TS_TST_INFO *a);
ts.h: int i2d_TS_TST_INFO(const TS_TST_INFO *a, unsigned char **pp);
ts.h: TS_TST_INFO *d2i_TS_TST_INFO(TS_TST_INFO **a, const unsigned char **pp,
ts.h: TS_TST_INFO *TS_TST_INFO_dup(TS_TST_INFO *a);
ts.h: TS_TST_INFO *d2i_TS_TST_INFO_fp(FILE *fp, TS_TST_INFO **a);
ts.h: int i2d_TS_TST_INFO_fp(FILE *fp, TS_TST_INFO *a);
ts.h: TS_TST_INFO *d2i_TS_TST_INFO_bio(BIO *bio, TS_TST_INFO **a);
ts.h: int i2d_TS_TST_INFO_bio(BIO *bio, TS_TST_INFO *a);
ts.h: TS_ACCURACY *TS_ACCURACY_new(void);
ts.h: void TS_ACCURACY_free(TS_ACCURACY *a);
ts.h: int i2d_TS_ACCURACY(const TS_ACCURACY *a, unsigned char **pp);
ts.h: TS_ACCURACY *d2i_TS_ACCURACY(TS_ACCURACY **a, const unsigned char **pp,
ts.h: TS_ACCURACY *TS_ACCURACY_dup(TS_ACCURACY *a);
ts.h: ESS_ISSUER_SERIAL *ESS_ISSUER_SERIAL_new(void);
ts.h: void ESS_ISSUER_SERIAL_free(ESS_ISSUER_SERIAL *a);
ts.h: int i2d_ESS_ISSUER_SERIAL(const ESS_ISSUER_SERIAL *a, unsigned char **pp);
ts.h: ESS_ISSUER_SERIAL *d2i_ESS_ISSUER_SERIAL(ESS_ISSUER_SERIAL **a,
ts.h: ESS_ISSUER_SERIAL *ESS_ISSUER_SERIAL_dup(ESS_ISSUER_SERIAL *a);
ts.h: ESS_CERT_ID *ESS_CERT_ID_new(void);
ts.h: void ESS_CERT_ID_free(ESS_CERT_ID *a);
ts.h: int i2d_ESS_CERT_ID(const ESS_CERT_ID *a, unsigned char **pp);
ts.h: ESS_CERT_ID *d2i_ESS_CERT_ID(ESS_CERT_ID **a, const unsigned char **pp,
ts.h: ESS_CERT_ID *ESS_CERT_ID_dup(ESS_CERT_ID *a);
ts.h: ESS_SIGNING_CERT *ESS_SIGNING_CERT_new(void);
ts.h: void ESS_SIGNING_CERT_free(ESS_SIGNING_CERT *a);
ts.h: int i2d_ESS_SIGNING_CERT(const ESS_SIGNING_CERT *a, unsigned char **pp);
ts.h: ESS_SIGNING_CERT *d2i_ESS_SIGNING_CERT(ESS_SIGNING_CERT **a,
ts.h: ESS_SIGNING_CERT *ESS_SIGNING_CERT_dup(ESS_SIGNING_CERT *a);
ts.h: ESS_CERT_ID_V2 *ESS_CERT_ID_V2_new(void);
ts.h: void ESS_CERT_ID_V2_free(ESS_CERT_ID_V2 *a);
ts.h: int i2d_ESS_CERT_ID_V2(const ESS_CERT_ID_V2 *a, unsigned char **pp);
ts.h: ESS_CERT_ID_V2 *d2i_ESS_CERT_ID_V2(ESS_CERT_ID_V2 **a,
ts.h: ESS_CERT_ID_V2 *ESS_CERT_ID_V2_dup(ESS_CERT_ID_V2 *a);
ts.h: ESS_SIGNING_CERT_V2 *ESS_SIGNING_CERT_V2_new(void);
ts.h: void ESS_SIGNING_CERT_V2_free(ESS_SIGNING_CERT_V2 *a);
ts.h: int i2d_ESS_SIGNING_CERT_V2(const ESS_SIGNING_CERT_V2 *a, unsigned char **pp);
ts.h: ESS_SIGNING_CERT_V2 *d2i_ESS_SIGNING_CERT_V2(ESS_SIGNING_CERT_V2 **a,
ts.h: ESS_SIGNING_CERT_V2 *ESS_SIGNING_CERT_V2_dup(ESS_SIGNING_CERT_V2 *a);
ts.h: int TS_REQ_set_version(TS_REQ *a, long version);
ts.h: long TS_REQ_get_version(const TS_REQ *a);
ts.h: int TS_STATUS_INFO_set_status(TS_STATUS_INFO *a, int i);
ts.h: const ASN1_INTEGER *TS_STATUS_INFO_get0_status(const TS_STATUS_INFO *a);
ts.h: const STACK_OF(ASN1_UTF8STRING) *
ts.h: TS_STATUS_INFO_get0_text(const TS_STATUS_INFO *a);
ts.h: TS_STATUS_INFO_get0_failure_info(const TS_STATUS_INFO *a);
ts.h: int TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint);
ts.h: TS_MSG_IMPRINT *TS_REQ_get_msg_imprint(TS_REQ *a);
ts.h: int TS_MSG_IMPRINT_set_algo(TS_MSG_IMPRINT *a, X509_ALGOR *alg);
ts.h: X509_ALGOR *TS_MSG_IMPRINT_get_algo(TS_MSG_IMPRINT *a);
ts.h: int TS_MSG_IMPRINT_set_msg(TS_MSG_IMPRINT *a, unsigned char *d, int len);
ts.h: ASN1_OCTET_STRING *TS_MSG_IMPRINT_get_msg(TS_MSG_IMPRINT *a);
ts.h: int TS_REQ_set_policy_id(TS_REQ *a, const ASN1_OBJECT *policy);
ts.h: ASN1_OBJECT *TS_REQ_get_policy_id(TS_REQ *a);
ts.h: int TS_REQ_set_nonce(TS_REQ *a, const ASN1_INTEGER *nonce);
ts.h: const ASN1_INTEGER *TS_REQ_get_nonce(const TS_REQ *a);
ts.h: int TS_REQ_set_cert_req(TS_REQ *a, int cert_req);
ts.h: int TS_REQ_get_cert_req(const TS_REQ *a);
ts.h: STACK_OF(X509_EXTENSION) *TS_REQ_get_exts(TS_REQ *a);
ts.h: void TS_REQ_ext_free(TS_REQ *a);
ts.h: int TS_REQ_get_ext_count(TS_REQ *a);
ts.h: int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos);
ts.h: int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos);
ts.h: int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos);
ts.h: X509_EXTENSION *TS_REQ_get_ext(TS_REQ *a, int loc);
ts.h: X509_EXTENSION *TS_REQ_delete_ext(TS_REQ *a, int loc);
ts.h: int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc);
ts.h: void *TS_REQ_get_ext_d2i(TS_REQ *a, int nid, int *crit, int *idx);
ts.h: int TS_REQ_print_bio(BIO *bio, TS_REQ *a);
ts.h: int TS_RESP_set_status_info(TS_RESP *a, TS_STATUS_INFO *info);
ts.h: TS_STATUS_INFO *TS_RESP_get_status_info(TS_RESP *a);
ts.h: void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);
ts.h: PKCS7 *TS_RESP_get_token(TS_RESP *a);
ts.h: TS_TST_INFO *TS_RESP_get_tst_info(TS_RESP *a);
ts.h: int TS_TST_INFO_set_version(TS_TST_INFO *a, long version);
ts.h: long TS_TST_INFO_get_version(const TS_TST_INFO *a);
ts.h: int TS_TST_INFO_set_policy_id(TS_TST_INFO *a, ASN1_OBJECT *policy_id);
ts.h: ASN1_OBJECT *TS_TST_INFO_get_policy_id(TS_TST_INFO *a);
ts.h: int TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint);
ts.h: TS_MSG_IMPRINT *TS_TST_INFO_get_msg_imprint(TS_TST_INFO *a);
ts.h: int TS_TST_INFO_set_serial(TS_TST_INFO *a, const ASN1_INTEGER *serial);
ts.h: const ASN1_INTEGER *TS_TST_INFO_get_serial(const TS_TST_INFO *a);
ts.h: int TS_TST_INFO_set_time(TS_TST_INFO *a, const ASN1_GENERALIZEDTIME *gtime);
ts.h: const ASN1_GENERALIZEDTIME *TS_TST_INFO_get_time(const TS_TST_INFO *a);
ts.h: int TS_TST_INFO_set_accuracy(TS_TST_INFO *a, TS_ACCURACY *accuracy);
ts.h: TS_ACCURACY *TS_TST_INFO_get_accuracy(TS_TST_INFO *a);
ts.h: int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds);
ts.h: const ASN1_INTEGER *TS_ACCURACY_get_seconds(const TS_ACCURACY *a);
ts.h: int TS_ACCURACY_set_millis(TS_ACCURACY *a, const ASN1_INTEGER *millis);
ts.h: const ASN1_INTEGER *TS_ACCURACY_get_millis(const TS_ACCURACY *a);
ts.h: int TS_ACCURACY_set_micros(TS_ACCURACY *a, const ASN1_INTEGER *micros);
ts.h: const ASN1_INTEGER *TS_ACCURACY_get_micros(const TS_ACCURACY *a);
ts.h: int TS_TST_INFO_set_ordering(TS_TST_INFO *a, int ordering);
ts.h: int TS_TST_INFO_get_ordering(const TS_TST_INFO *a);
ts.h: int TS_TST_INFO_set_nonce(TS_TST_INFO *a, const ASN1_INTEGER *nonce);
ts.h: const ASN1_INTEGER *TS_TST_INFO_get_nonce(const TS_TST_INFO *a);
ts.h: int TS_TST_INFO_set_tsa(TS_TST_INFO *a, GENERAL_NAME *tsa);
ts.h: GENERAL_NAME *TS_TST_INFO_get_tsa(TS_TST_INFO *a);
ts.h: STACK_OF(X509_EXTENSION) *TS_TST_INFO_get_exts(TS_TST_INFO *a);
ts.h: void TS_TST_INFO_ext_free(TS_TST_INFO *a);
ts.h: int TS_TST_INFO_get_ext_count(TS_TST_INFO *a);
ts.h: int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos);
ts.h: int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj,
ts.h: int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos);
ts.h: X509_EXTENSION *TS_TST_INFO_get_ext(TS_TST_INFO *a, int loc);
ts.h: X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc);
ts.h: int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc);
ts.h: void *TS_TST_INFO_get_ext_d2i(TS_TST_INFO *a, int nid, int *crit, int *idx);
ts.h: # define TS_TSA_NAME 0x01
ts.h: # define TS_ORDERING 0x02
ts.h: # define TS_ESS_CERT_ID_CHAIN 0x04
ts.h: struct TS_resp_ctx;
ts.h: typedef ASN1_INTEGER *(*TS_serial_cb) (struct TS_resp_ctx *, void *);
ts.h: typedef int (*TS_time_cb) (struct TS_resp_ctx *, void *, long *sec,
ts.h: * object of the context. Return values: !0 (processed), 0 (error, it must
ts.h: typedef int (*TS_extension_cb) (struct TS_resp_ctx *, X509_EXTENSION *,
ts.h: typedef struct TS_resp_ctx TS_RESP_CTX;
ts.h: DEFINE_STACK_OF_CONST(EVP_MD)
ts.h: TS_RESP_CTX *TS_RESP_CTX_new(void);
ts.h: void TS_RESP_CTX_free(TS_RESP_CTX *ctx);
ts.h: int TS_RESP_CTX_set_signer_cert(TS_RESP_CTX *ctx, X509 *signer);
ts.h: int TS_RESP_CTX_set_signer_key(TS_RESP_CTX *ctx, EVP_PKEY *key);
ts.h: int TS_RESP_CTX_set_signer_digest(TS_RESP_CTX *ctx,
ts.h: int TS_RESP_CTX_set_ess_cert_id_digest(TS_RESP_CTX *ctx, const EVP_MD *md);
ts.h: int TS_RESP_CTX_set_def_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *def_policy);
ts.h: int TS_RESP_CTX_set_certs(TS_RESP_CTX *ctx, STACK_OF(X509) *certs);
ts.h: int TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy);
ts.h: int TS_RESP_CTX_add_md(TS_RESP_CTX *ctx, const EVP_MD *md);
ts.h: int TS_RESP_CTX_set_accuracy(TS_RESP_CTX *ctx,
ts.h: int TS_RESP_CTX_set_clock_precision_digits(TS_RESP_CTX *ctx,
ts.h: # define TS_MAX_CLOCK_PRECISION_DIGITS 6
ts.h: # define TS_MAX_STATUS_LENGTH (1024 * 1024)
ts.h: void TS_RESP_CTX_add_flags(TS_RESP_CTX *ctx, int flags);
ts.h: void TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data);
ts.h: /* Default callback uses the gettimeofday() and gmtime() system calls. */
ts.h: void TS_RESP_CTX_set_time_cb(TS_RESP_CTX *ctx, TS_time_cb cb, void *data);
ts.h: void TS_RESP_CTX_set_extension_cb(TS_RESP_CTX *ctx,
ts.h: int TS_RESP_CTX_set_status_info(TS_RESP_CTX *ctx,
ts.h: int TS_RESP_CTX_set_status_info_cond(TS_RESP_CTX *ctx,
ts.h: int TS_RESP_CTX_add_failure_info(TS_RESP_CTX *ctx, int failure);
ts.h: TS_REQ *TS_RESP_CTX_get_request(TS_RESP_CTX *ctx);
ts.h: TS_TST_INFO *TS_RESP_CTX_get_tst_info(TS_RESP_CTX *ctx);
ts.h: TS_RESP *TS_RESP_create_response(TS_RESP_CTX *ctx, BIO *req_bio);
ts.h: int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs,
ts.h: # define TS_VFY_SIGNATURE (1u << 0)
ts.h: # define TS_VFY_VERSION (1u << 1)
ts.h: # define TS_VFY_POLICY (1u << 2)
ts.h: # define TS_VFY_IMPRINT (1u << 3)
ts.h: # define TS_VFY_DATA (1u << 4)
ts.h: # define TS_VFY_NONCE (1u << 5)
ts.h: # define TS_VFY_SIGNER (1u << 6)
ts.h: # define TS_VFY_TSA_NAME (1u << 7)
ts.h: # define TS_VFY_ALL_IMPRINT (TS_VFY_SIGNATURE \
ts.h: # define TS_VFY_ALL_DATA (TS_VFY_SIGNATURE \
ts.h: typedef struct TS_verify_ctx TS_VERIFY_CTX;
ts.h: int TS_RESP_verify_response(TS_VERIFY_CTX *ctx, TS_RESP *response);
ts.h: int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token);
ts.h: TS_VERIFY_CTX *TS_VERIFY_CTX_new(void);
ts.h: void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx);
ts.h: void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx);
ts.h: void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx);
ts.h: int TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int f);
ts.h: int TS_VERIFY_CTX_add_flags(TS_VERIFY_CTX *ctx, int f);
ts.h: BIO *TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *b);
ts.h: unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx,
ts.h: X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s);
ts.h: STACK_OF(X509) *TS_VERIFY_CTS_set_certs(TS_VERIFY_CTX *ctx, STACK_OF(X509) *certs);
ts.h: * flags = TS_VFY_ALL_IMPRINT & ~(TS_VFY_TSA_NAME | TS_VFY_SIGNATURE)
ts.h: * policy = policy from the request or NULL if absent (in this case
ts.h: * nonce, nonce_len = nonce from the request or NULL if absent (in this case
ts.h: TS_VERIFY_CTX *TS_REQ_to_TS_VERIFY_CTX(TS_REQ *req, TS_VERIFY_CTX *ctx);
ts.h: int TS_RESP_print_bio(BIO *bio, TS_RESP *a);
ts.h: int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a);
ts.h: int TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a);
ts.h: int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num);
ts.h: int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj);
ts.h: int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions);
ts.h: int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg);
ts.h: int TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *msg);
ts.h: X509 *TS_CONF_load_cert(const char *file);
ts.h: STACK_OF(X509) *TS_CONF_load_certs(const char *file);
ts.h: EVP_PKEY *TS_CONF_load_key(const char *file, const char *pass);
ts.h: const char *TS_CONF_get_tsa_section(CONF *conf, const char *section);
ts.h: int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
ts.h: int TS_CONF_set_crypto_device(CONF *conf, const char *section,
ts.h: int TS_CONF_set_default_engine(const char *name);
ts.h: int TS_CONF_set_signer_cert(CONF *conf, const char *section,
ts.h: int TS_CONF_set_certs(CONF *conf, const char *section, const char *certs,
ts.h: int TS_CONF_set_signer_key(CONF *conf, const char *section,
ts.h: int TS_CONF_set_signer_digest(CONF *conf, const char *section,
ts.h: int TS_CONF_set_def_policy(CONF *conf, const char *section,
ts.h: int TS_CONF_set_policies(CONF *conf, const char *section, TS_RESP_CTX *ctx);
ts.h: int TS_CONF_set_digests(CONF *conf, const char *section, TS_RESP_CTX *ctx);
ts.h: int TS_CONF_set_accuracy(CONF *conf, const char *section, TS_RESP_CTX *ctx);
ts.h: int TS_CONF_set_clock_precision_digits(CONF *conf, const char *section,
ts.h: int TS_CONF_set_ordering(CONF *conf, const char *section, TS_RESP_CTX *ctx);
ts.h: int TS_CONF_set_tsa_name(CONF *conf, const char *section, TS_RESP_CTX *ctx);
ts.h: int TS_CONF_set_ess_cert_id_chain(CONF *conf, const char *section,
ts.h: int TS_CONF_set_ess_cert_id_digest(CONF *conf, const char *section,
txt_db.h: * Licensed under the OpenSSL license (the "License"). You may not use
txt_db.h: # define HEADER_TXT_DB_H
txt_db.h: # define DB_ERROR_OK 0
txt_db.h: # define DB_ERROR_MALLOC 1
txt_db.h: # define DB_ERROR_INDEX_* 2
txt_db.h: # define DB_ERROR_INDEX_OUT_OF_RANGE 3
txt_db.h: # define DB_ERROR_NO_INDEX 4
txt_db.h: # define DB_ERROR_INSERT_INDEX_* 5
txt_db.h: # define DB_ERROR_WRONG_NUM_FIELDS 6
txt_db.h: DEFINE_SPECIAL_STACK_OF(OPENSSL_PSTRING, OPENSSL_STRING)
txt_db.h: typedef struct txt_db_st {
txt_db.h: STACK_OF(OPENSSL_PSTRING) *data;
txt_db.h: LHASH_OF(OPENSSL_STRING) **index;
txt_db.h: int (**qual) (OPENSSL_STRING *);
txt_db.h: TXT_DB *TXT_DB_read(BIO *in, int num);
txt_db.h: long TXT_DB_write(BIO *out, TXT_DB *db);
txt_db.h: int TXT_DB_create_index(TXT_DB *db, int field, int (*qual) (OPENSSL_STRING *),
txt_db.h: void TXT_DB_free(TXT_DB *db);
txt_db.h: OPENSSL_STRING *TXT_DB_get_by_index(TXT_DB *db, int idx,
txt_db.h: int TXT_DB_insert(TXT_DB *db, OPENSSL_STRING *value);
uierr.h: * Licensed under the OpenSSL license (the "License"). You may not use
uierr.h: # define HEADER_UIERR_H
uierr.h: int ERR_load_UI_strings(void);
uierr.h: # define UI_F_CLOSE_CONSOLE 115
uierr.h: # define UI_F_ECHO_CONSOLE 116
uierr.h: # define UI_F_GENERAL_ALLOCATE_BOOLEAN 108
uierr.h: # define UI_F_GENERAL_ALLOCATE_PROMPT 109
uierr.h: # define UI_F_NOECHO_CONSOLE 117
uierr.h: # define UI_F_OPEN_CONSOLE 114
uierr.h: # define UI_F_UI_CREATE_METHOD 112
uierr.h: # define UI_F_UI_CTRL 111
uierr.h: # define UI_F_UI_DUP_ERROR_STRING 101
uierr.h: # define UI_F_UI_DUP_INFO_STRING 102
uierr.h: # define UI_F_UI_DUP_INPUT_BOOLEAN 110
uierr.h: # define UI_F_UI_DUP_INPUT_STRING 103
uierr.h: # define UI_F_UI_DUP_USER_DATA 118
uierr.h: # define UI_F_UI_DUP_VERIFY_STRING 106
uierr.h: # define UI_F_UI_GET0_RESULT 107
uierr.h: # define UI_F_UI_GET_RESULT_LENGTH 119
uierr.h: # define UI_F_UI_NEW_METHOD 104
uierr.h: # define UI_F_UI_PROCESS 113
uierr.h: # define UI_F_UI_SET_RESULT 105
uierr.h: # define UI_F_UI_SET_RESULT_EX 120
uierr.h: # define UI_R_COMMON_OK_AND_CANCEL_CHARACTERS 104
uierr.h: # define UI_R_INDEX_TOO_LARGE 102
uierr.h: # define UI_R_INDEX_TOO_SMALL 103
uierr.h: # define UI_R_NO_RESULT_BUFFER 105
uierr.h: # define UI_R_PROCESSING_ERROR 107
uierr.h: # define UI_R_RESULT_TOO_LARGE 100
uierr.h: # define UI_R_RESULT_TOO_SMALL 101
uierr.h: # define UI_R_SYSASSIGN_ERROR 109
uierr.h: # define UI_R_SYSDASSGN_ERROR 110
uierr.h: # define UI_R_SYSQIOW_ERROR 111
uierr.h: # define UI_R_UNKNOWN_CONTROL_COMMAND 106
uierr.h: # define UI_R_UNKNOWN_TTYGET_ERRNO_VALUE 108
uierr.h: # define UI_R_USER_DATA_DUPLICATION_UNSUPPORTED 112
ui.h: * Licensed under the OpenSSL license (the "License"). You may not use
ui.h: # define HEADER_UI_H
ui.h: # define OPENSSL_NO_UI
ui.h: * (UI_process()) -2 if interrupted or in some other way cancelled. When
ui.h: UI *UI_new(void);
ui.h: UI *UI_new_method(const UI_METHOD *method);
ui.h: void UI_free(UI *ui);
ui.h: input size (the result buffer MUST be large enough to be able to contain
ui.h: The boolean input functions take an action description string (which should
ui.h: is useful when retrieving results with UI_get0_result(). */
ui.h: int UI_add_input_string(UI *ui, const char *prompt, int flags,
ui.h: int UI_dup_input_string(UI *ui, const char *prompt, int flags,
ui.h: int UI_add_verify_string(UI *ui, const char *prompt, int flags,
ui.h: int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
ui.h: int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc,
ui.h: int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc,
ui.h: int UI_add_info_string(UI *ui, const char *text);
ui.h: int UI_dup_info_string(UI *ui, const char *text);
ui.h: int UI_add_error_string(UI *ui, const char *text);
ui.h: int UI_dup_error_string(UI *ui, const char *text);
ui.h: # define UI_INPUT_FLAG_ECHO 0x01
ui.h: * UI_add_user_data(). It is not recommended to have more than one input in
ui.h: # define UI_INPUT_FLAG_DEFAULT_PWD 0x02
ui.h: * The user of these routines may want to define flags of their own. The core
ui.h: * #define MY_UI_FLAG1 (0x01 << UI_INPUT_FLAG_USER_BASE)
ui.h: # define UI_INPUT_FLAG_USER_BASE 16
ui.h: * The following function helps construct a prompt. object_desc is a
ui.h: * and object_name is the name of the object (might be a card name or
ui.h: * OPENSSL_malloc(), and need to be free'd with OPENSSL_free().
ui.h: char *UI_construct_prompt(UI *ui_method,
ui.h: * Note that the UI_OpenSSL() method completely ignores the user data. Other
ui.h: void *UI_add_user_data(UI *ui, void *user_data);
ui.h: int UI_dup_user_data(UI *ui, void *user_data);
ui.h: void *UI_get0_user_data(UI *ui);
ui.h: const char *UI_get0_result(UI *ui, int i);
ui.h: int UI_get_result_length(UI *ui, int i);
ui.h: int UI_process(UI *ui);
ui.h: int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f) (void));
ui.h: # define UI_CTRL_PRINT_ERRORS 1
ui.h: * Check if a UI_process() is possible to do again with the same instance of
ui.h: * a user interface. This makes UI_ctrl() return 1 if it is redoable, and 0
ui.h: # define UI_CTRL_IS_REDOABLE 2
ui.h: # define UI_set_app_data(s,arg) UI_set_ex_data(s,0,arg)
ui.h: # define UI_get_app_data(s) UI_get_ex_data(s,0)
ui.h: # define UI_get_ex_new_index(l, p, newf, dupf, freef) \
ui.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_UI, l, p, newf, dupf, freef)
ui.h: int UI_set_ex_data(UI *r, int idx, void *arg);
ui.h: void *UI_get_ex_data(UI *r, int idx);
ui.h: void UI_set_default_method(const UI_METHOD *meth);
ui.h: const UI_METHOD *UI_get_default_method(void);
ui.h: const UI_METHOD *UI_get_method(UI *ui);
ui.h: const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth);
ui.h: UI_METHOD *UI_OpenSSL(void);
ui.h: const UI_METHOD *UI_null(void);
ui.h: been canceled (by pressing Ctrl-C, for example). This is
ui.h: typedef struct ui_string_st UI_STRING;
ui.h: DEFINE_STACK_OF(UI_STRING)
ui.h: UI_METHOD *UI_create_method(const char *name);
ui.h: void UI_destroy_method(UI_METHOD *ui_method);
ui.h: int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui));
ui.h: int UI_method_set_writer(UI_METHOD *method,
ui.h: int (*writer) (UI *ui, UI_STRING *uis));
ui.h: int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui));
ui.h: int UI_method_set_reader(UI_METHOD *method,
ui.h: int (*reader) (UI *ui, UI_STRING *uis));
ui.h: int UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui));
ui.h: int UI_method_set_data_duplicator(UI_METHOD *method,
ui.h: void *(*duplicator) (UI *ui, void *ui_data),
ui.h: void (*destructor)(UI *ui, void *ui_data));
ui.h: int UI_method_set_prompt_constructor(UI_METHOD *method,
ui.h: char *(*prompt_constructor) (UI *ui,
ui.h: int UI_method_set_ex_data(UI_METHOD *method, int idx, void *data);
ui.h: int (*UI_method_get_opener(const UI_METHOD *method)) (UI *);
ui.h: int (*UI_method_get_writer(const UI_METHOD *method)) (UI *, UI_STRING *);
ui.h: int (*UI_method_get_flusher(const UI_METHOD *method)) (UI *);
ui.h: int (*UI_method_get_reader(const UI_METHOD *method)) (UI *, UI_STRING *);
ui.h: int (*UI_method_get_closer(const UI_METHOD *method)) (UI *);
ui.h: char *(*UI_method_get_prompt_constructor(const UI_METHOD *method))
ui.h: (UI *, const char *, const char *);
ui.h: void *(*UI_method_get_data_duplicator(const UI_METHOD *method)) (UI *, void *);
ui.h: void (*UI_method_get_data_destructor(const UI_METHOD *method)) (UI *, void *);
ui.h: const void *UI_method_get_ex_data(const UI_METHOD *method, int idx);
ui.h: enum UI_string_types UI_get_string_type(UI_STRING *uis);
ui.h: int UI_get_input_flags(UI_STRING *uis);
ui.h: /* Return the actual string to output (the prompt, info or error) */
ui.h: const char *UI_get0_output_string(UI_STRING *uis);
ui.h: * Return the optional action string to output (the boolean prompt
ui.h: const char *UI_get0_action_string(UI_STRING *uis);
ui.h: const char *UI_get0_result_string(UI_STRING *uis);
ui.h: int UI_get_result_string_length(UI_STRING *uis);
ui.h: const char *UI_get0_test_string(UI_STRING *uis);
ui.h: int UI_get_result_minsize(UI_STRING *uis);
ui.h: int UI_get_result_maxsize(UI_STRING *uis);
ui.h: int UI_set_result(UI *ui, UI_STRING *uis, const char *result);
ui.h: int UI_set_result_ex(UI *ui, UI_STRING *uis, const char *result, int len);
ui.h: int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt,
ui.h: int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt,
ui.h: UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
whrlpool.h: * Licensed under the OpenSSL license (the "License"). You may not use
whrlpool.h: # define HEADER_WHRLPOOL_H
whrlpool.h: # define WHIRLPOOL_DIGEST_LENGTH (512/8)
whrlpool.h: # define WHIRLPOOL_BBLOCK 512
whrlpool.h: # define WHIRLPOOL_COUNTER (256/8)
whrlpool.h: typedef struct {
whrlpool.h: double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)];
whrlpool.h: size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)];
whrlpool.h: int WHIRLPOOL_Init(WHIRLPOOL_CTX *c);
whrlpool.h: int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes);
whrlpool.h: void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits);
whrlpool.h: int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c);
whrlpool.h: unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md);
x509err.h: * Licensed under the OpenSSL license (the "License"). You may not use
x509err.h: # define HEADER_X509ERR_H
x509err.h: int ERR_load_X509_strings(void);
x509err.h: # define X509_F_ADD_CERT_DIR 100
x509err.h: # define X509_F_BUILD_CHAIN 106
x509err.h: # define X509_F_BY_FILE_CTRL 101
x509err.h: # define X509_F_CHECK_NAME_CONSTRAINTS 149
x509err.h: # define X509_F_CHECK_POLICY 145
x509err.h: # define X509_F_DANE_I2D 107
x509err.h: # define X509_F_DIR_CTRL 102
x509err.h: # define X509_F_GET_CERT_BY_SUBJECT 103
x509err.h: # define X509_F_NETSCAPE_SPKI_B64_DECODE 129
x509err.h: # define X509_F_NETSCAPE_SPKI_B64_ENCODE 130
x509err.h: # define X509_F_X509AT_ADD1_ATTR 135
x509err.h: # define X509_F_X509V3_ADD_EXT 104
x509err.h: # define X509_F_X509_ATTRIBUTE_CREATE_BY_NID 136
x509err.h: # define X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ 137
x509err.h: # define X509_F_X509_ATTRIBUTE_CREATE_BY_TXT 140
x509err.h: # define X509_F_X509_ATTRIBUTE_GET0_DATA 139
x509err.h: # define X509_F_X509_ATTRIBUTE_SET1_DATA 138
x509err.h: # define X509_F_X509_CHECK_PRIVATE_KEY 128
x509err.h: # define X509_F_X509_CRL_DIFF 105
x509err.h: # define X509_F_X509_CRL_PRINT_FP 147
x509err.h: # define X509_F_X509_EXTENSION_CREATE_BY_NID 108
x509err.h: # define X509_F_X509_EXTENSION_CREATE_BY_OBJ 109
x509err.h: # define X509_F_X509_GET_PUBKEY_PARAMETERS 110
x509err.h: # define X509_F_X509_LOAD_CERT_CRL_FILE 132
x509err.h: # define X509_F_X509_LOAD_CERT_FILE 111
x509err.h: # define X509_F_X509_LOAD_CRL_FILE 112
x509err.h: # define X509_F_X509_NAME_ADD_ENTRY 113
x509err.h: # define X509_F_X509_NAME_ENTRY_CREATE_BY_NID 114
x509err.h: # define X509_F_X509_NAME_ENTRY_CREATE_BY_TXT 131
x509err.h: # define X509_F_X509_NAME_ENTRY_SET_OBJECT 115
x509err.h: # define X509_F_X509_NAME_ONELINE 116
x509err.h: # define X509_F_X509_NAME_PRINT 117
x509err.h: # define X509_F_X509_OBJECT_NEW 150
x509err.h: # define X509_F_X509_PRINT_EX_FP 118
x509err.h: # define X509_F_X509_PUBKEY_DECODE 148
x509err.h: # define X509_F_X509_PUBKEY_GET0 119
x509err.h: # define X509_F_X509_PUBKEY_SET 120
x509err.h: # define X509_F_X509_REQ_CHECK_PRIVATE_KEY 144
x509err.h: # define X509_F_X509_REQ_PRINT_EX 121
x509err.h: # define X509_F_X509_REQ_PRINT_FP 122
x509err.h: # define X509_F_X509_REQ_TO_X509 123
x509err.h: # define X509_F_X509_STORE_ADD_CERT 124
x509err.h: # define X509_F_X509_STORE_ADD_CRL 125
x509err.h: # define X509_F_X509_STORE_CTX_GET1_ISSUER 146
x509err.h: # define X509_F_X509_STORE_CTX_INIT 143
x509err.h: # define X509_F_X509_STORE_CTX_NEW 142
x509err.h: # define X509_F_X509_STORE_CTX_PURPOSE_INHERIT 134
x509err.h: # define X509_F_X509_TO_X509_REQ 126
x509err.h: # define X509_F_X509_TRUST_ADD 133
x509err.h: # define X509_F_X509_TRUST_SET 141
x509err.h: # define X509_F_X509_VERIFY_CERT 127
x509err.h: # define X509_R_AKID_MISMATCH 110
x509err.h: # define X509_R_BAD_SELECTOR 133
x509err.h: # define X509_R_BAD_X509_FILETYPE 100
x509err.h: # define X509_R_BASE64_DECODE_ERROR 118
x509err.h: # define X509_R_CANT_CHECK_DH_KEY 114
x509err.h: # define X509_R_CERT_ALREADY_IN_HASH_TABLE 101
x509err.h: # define X509_R_CRL_ALREADY_DELTA 127
x509err.h: # define X509_R_CRL_VERIFY_FAILURE 131
x509err.h: # define X509_R_IDP_MISMATCH 128
x509err.h: # define X509_R_INVALID_DIRECTORY 113
x509err.h: # define X509_R_INVALID_FIELD_NAME 119
x509err.h: # define X509_R_INVALID_TRUST 123
x509err.h: # define X509_R_ISSUER_MISMATCH 129
x509err.h: # define X509_R_KEY_TYPE_MISMATCH 115
x509err.h: # define X509_R_KEY_VALUES_MISMATCH 116
x509err.h: # define X509_R_LOADING_CERT_DIR 103
x509err.h: # define X509_R_LOADING_DEFAULTS 104
x509err.h: # define X509_R_METHOD_NOT_SUPPORTED 124
x509err.h: # define X509_R_NAME_TOO_LONG 134
x509err.h: # define X509_R_NEWER_CRL_NOT_NEWER 132
x509err.h: # define X509_R_NO_CERTIFICATE_FOUND 135
x509err.h: # define X509_R_NO_CERTIFICATE_OR_CRL_FOUND 136
x509err.h: # define X509_R_NO_CERT_SET_FOR_US_TO_VERIFY 105
x509err.h: # define X509_R_NO_CRL_FOUND 137
x509err.h: # define X509_R_NO_CRL_NUMBER 130
x509err.h: # define X509_R_PUBLIC_KEY_DECODE_ERROR 125
x509err.h: # define X509_R_PUBLIC_KEY_ENCODE_ERROR 126
x509err.h: # define X509_R_SHOULD_RETRY 106
x509err.h: # define X509_R_UNABLE_TO_FIND_PARAMETERS_IN_CHAIN 107
x509err.h: # define X509_R_UNABLE_TO_GET_CERTS_PUBLIC_KEY 108
x509err.h: # define X509_R_UNKNOWN_KEY_TYPE 117
x509err.h: # define X509_R_UNKNOWN_NID 109
x509err.h: # define X509_R_UNKNOWN_PURPOSE_ID 121
x509err.h: # define X509_R_UNKNOWN_TRUST_ID 120
x509err.h: # define X509_R_UNSUPPORTED_ALGORITHM 111
x509err.h: # define X509_R_WRONG_LOOKUP_TYPE 112
x509err.h: # define X509_R_WRONG_TYPE 122
x509.h: * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
x509.h: * Licensed under the OpenSSL license (the "License"). You may not use
x509.h: # define HEADER_X509_H
x509.h: /* Flags for X509_get_signature_info() */
x509.h: # define X509_SIG_INFO_VALID 0x1
x509.h: # define X509_SIG_INFO_TLS 0x2
x509.h: # define X509_FILETYPE_PEM 1
x509.h: # define X509_FILETYPE_ASN1 2
x509.h: # define X509_FILETYPE_DEFAULT 3
x509.h: # define X509v3_KU_DIGITAL_SIGNATURE 0x0080
x509.h: # define X509v3_KU_NON_REPUDIATION 0x0040
x509.h: # define X509v3_KU_KEY_ENCIPHERMENT 0x0020
x509.h: # define X509v3_KU_DATA_ENCIPHERMENT 0x0010
x509.h: # define X509v3_KU_KEY_AGREEMENT 0x0008
x509.h: # define X509v3_KU_KEY_CERT_SIGN 0x0004
x509.h: # define X509v3_KU_CRL_SIGN 0x0002
x509.h: # define X509v3_KU_ENCIPHER_ONLY 0x0001
x509.h: # define X509v3_KU_DECIPHER_ONLY 0x8000
x509.h: # define X509v3_KU_UNDEF 0xffff
x509.h: struct X509_algor_st {
x509.h: typedef STACK_OF(X509_ALGOR) X509_ALGORS;
x509.h: typedef struct X509_val_st {
x509.h: typedef struct X509_sig_st X509_SIG;
x509.h: typedef struct X509_name_entry_st X509_NAME_ENTRY;
x509.h: DEFINE_STACK_OF(X509_NAME_ENTRY)
x509.h: DEFINE_STACK_OF(X509_NAME)
x509.h: # define X509_EX_V_NETSCAPE_HACK 0x8000
x509.h: # define X509_EX_V_INIT 0x0001
x509.h: typedef struct X509_extension_st X509_EXTENSION;
x509.h: typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
x509.h: DEFINE_STACK_OF(X509_EXTENSION)
x509.h: typedef struct x509_attributes_st X509_ATTRIBUTE;
x509.h: DEFINE_STACK_OF(X509_ATTRIBUTE)
x509.h: typedef struct X509_req_info_st X509_REQ_INFO;
x509.h: typedef struct X509_req_st X509_REQ;
x509.h: typedef struct x509_cert_aux_st X509_CERT_AUX;
x509.h: typedef struct x509_cinf_st X509_CINF;
x509.h: DEFINE_STACK_OF(X509)
x509.h: typedef struct x509_trust_st {
x509.h: int (*check_trust) (struct x509_trust_st *, X509 *, int);
x509.h: DEFINE_STACK_OF(X509_TRUST)
x509.h: # define X509_TRUST_DEFAULT 0 /* Only valid in purpose settings */
x509.h: # define X509_TRUST_COMPAT 1
x509.h: # define X509_TRUST_SSL_CLIENT 2
x509.h: # define X509_TRUST_SSL_SERVER 3
x509.h: # define X509_TRUST_EMAIL 4
x509.h: # define X509_TRUST_OBJECT_SIGN 5
x509.h: # define X509_TRUST_OCSP_SIGN 6
x509.h: # define X509_TRUST_OCSP_REQUEST 7
x509.h: # define X509_TRUST_TSA 8
x509.h: # define X509_TRUST_MIN 1
x509.h: # define X509_TRUST_MAX 8
x509.h: # define X509_TRUST_DYNAMIC (1U << 0)
x509.h: # define X509_TRUST_DYNAMIC_NAME (1U << 1)
x509.h: # define X509_TRUST_NO_SS_COMPAT (1U << 2)
x509.h: # define X509_TRUST_DO_SS_COMPAT (1U << 3)
x509.h: # define X509_TRUST_OK_ANY_EKU (1U << 4)
x509.h: # define X509_TRUST_TRUSTED 1
x509.h: # define X509_TRUST_REJECTED 2
x509.h: # define X509_TRUST_UNTRUSTED 3
x509.h: /* Flags for X509_print_ex() */
x509.h: # define X509_FLAG_COMPAT 0
x509.h: # define X509_FLAG_NO_HEADER 1L
x509.h: # define X509_FLAG_NO_VERSION (1L << 1)
x509.h: # define X509_FLAG_NO_SERIAL (1L << 2)
x509.h: # define X509_FLAG_NO_SIGNAME (1L << 3)
x509.h: # define X509_FLAG_NO_ISSUER (1L << 4)
x509.h: # define X509_FLAG_NO_VALIDITY (1L << 5)
x509.h: # define X509_FLAG_NO_SUBJECT (1L << 6)
x509.h: # define X509_FLAG_NO_PUBKEY (1L << 7)
x509.h: # define X509_FLAG_NO_EXTENSIONS (1L << 8)
x509.h: # define X509_FLAG_NO_SIGDUMP (1L << 9)
x509.h: # define X509_FLAG_NO_AUX (1L << 10)
x509.h: # define X509_FLAG_NO_ATTRIBUTES (1L << 11)
x509.h: # define X509_FLAG_NO_IDS (1L << 12)
x509.h: /* Flags specific to X509_NAME_print_ex() */
x509.h: # define XN_FLAG_SEP_MASK (0xf << 16)
x509.h: # define XN_FLAG_COMPAT 0/* Traditional; use old X509_NAME_print */
x509.h: # define XN_FLAG_SEP_COMMA_PLUS (1 << 16)/* RFC2253 ,+ */
x509.h: # define XN_FLAG_SEP_CPLUS_SPC (2 << 16)/* ,+ spaced: more readable */
x509.h: # define XN_FLAG_SEP_SPLUS_SPC (3 << 16)/* ;+ spaced */
x509.h: # define XN_FLAG_SEP_MULTILINE (4 << 16)/* One line per field */
x509.h: # define XN_FLAG_DN_REV (1 << 20)/* Reverse DN order */
x509.h: # define XN_FLAG_FN_MASK (0x3 << 21)
x509.h: # define XN_FLAG_FN_SN 0/* Object short name */
x509.h: # define XN_FLAG_FN_LN (1 << 21)/* Object long name */
x509.h: # define XN_FLAG_FN_OID (2 << 21)/* Always use OIDs */
x509.h: # define XN_FLAG_FN_NONE (3 << 21)/* No field names */
x509.h: # define XN_FLAG_SPC_EQ (1 << 23)/* Put spaces round '=' */
x509.h: # define XN_FLAG_DUMP_UNKNOWN_FIELDS (1 << 24)
x509.h: # define XN_FLAG_FN_ALIGN (1 << 25)/* Align field names to 20
x509.h: # define XN_FLAG_RFC2253 (ASN1_STRFLGS_RFC2253 | \
x509.h: # define XN_FLAG_ONELINE (ASN1_STRFLGS_RFC2253 | \
x509.h: # define XN_FLAG_MULTILINE (ASN1_STRFLGS_ESC_CTRL | \
x509.h: DEFINE_STACK_OF(X509_REVOKED)
x509.h: typedef struct X509_crl_info_st X509_CRL_INFO;
x509.h: DEFINE_STACK_OF(X509_CRL)
x509.h: typedef struct private_key_st {
x509.h: typedef struct X509_info_st {
x509.h: DEFINE_STACK_OF(X509_INFO)
x509.h: typedef struct Netscape_spkac_st {
x509.h: typedef struct Netscape_spki_st {
x509.h: typedef struct Netscape_certificate_sequence {
x509.h: STACK_OF(X509) *certs;
x509.h: /*- Unused (and iv length is wrong)
x509.h: typedef struct CBCParameter_st
x509.h: typedef struct PBEPARAM_st {
x509.h: typedef struct PBE2PARAM_st {
x509.h: typedef struct PBKDF2PARAM_st {
x509.h: typedef struct SCRYPT_PARAMS_st {
x509.h: # define X509_EXT_PACK_UNKNOWN 1
x509.h: # define X509_EXT_PACK_STRING 2
x509.h: # define X509_extract_key(x) X509_get_pubkey(x)/*****/
x509.h: # define X509_REQ_extract_key(a) X509_REQ_get_pubkey(a)
x509.h: # define X509_name_cmp(a,b) X509_NAME_cmp((a),(b))
x509.h: void X509_CRL_set_default_method(const X509_CRL_METHOD *meth);
x509.h: X509_CRL_METHOD *X509_CRL_METHOD_new(int (*crl_init) (X509_CRL *crl),
x509.h: int (*crl_free) (X509_CRL *crl),
x509.h: int (*crl_lookup) (X509_CRL *crl,
x509.h: int (*crl_verify) (X509_CRL *crl,
x509.h: void X509_CRL_METHOD_free(X509_CRL_METHOD *m);
x509.h: void X509_CRL_set_meth_data(X509_CRL *crl, void *dat);
x509.h: void *X509_CRL_get_meth_data(X509_CRL *crl);
x509.h: const char *X509_verify_cert_error_string(long n);
x509.h: int X509_verify(X509 *a, EVP_PKEY *r);
x509.h: int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
x509.h: int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
x509.h: int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r);
x509.h: NETSCAPE_SPKI *NETSCAPE_SPKI_b64_decode(const char *str, int len);
x509.h: char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *x);
x509.h: EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x);
x509.h: int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey);
x509.h: int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki);
x509.h: int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent);
x509.h: int X509_signature_print(BIO *bp, const X509_ALGOR *alg,
x509.h: int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
x509.h: int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
x509.h: int X509_http_nbio(OCSP_REQ_CTX *rctx, X509 **pcert);
x509.h: int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
x509.h: int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
x509.h: int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md);
x509.h: int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx);
x509.h: int X509_CRL_http_nbio(OCSP_REQ_CTX *rctx, X509_CRL **pcrl);
x509.h: int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md);
x509.h: int X509_pubkey_digest(const X509 *data, const EVP_MD *type,
x509.h: int X509_digest(const X509 *data, const EVP_MD *type,
x509.h: int X509_CRL_digest(const X509_CRL *data, const EVP_MD *type,
x509.h: int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type,
x509.h: int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
x509.h: X509 *d2i_X509_fp(FILE *fp, X509 **x509);
x509.h: int i2d_X509_fp(FILE *fp, X509 *x509);
x509.h: X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl);
x509.h: int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl);
x509.h: X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req);
x509.h: int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req);
x509.h: RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa);
x509.h: int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa);
x509.h: RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa);
x509.h: int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa);
x509.h: RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa);
x509.h: int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa);
x509.h: DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
x509.h: int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa);
x509.h: DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa);
x509.h: int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa);
x509.h: EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey);
x509.h: int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey);
x509.h: EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey);
x509.h: int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey);
x509.h: X509_SIG *d2i_PKCS8_fp(FILE *fp, X509_SIG **p8);
x509.h: int i2d_PKCS8_fp(FILE *fp, X509_SIG *p8);
x509.h: PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,
x509.h: int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf);
x509.h: int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key);
x509.h: int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey);
x509.h: EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a);
x509.h: int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey);
x509.h: EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a);
x509.h: X509 *d2i_X509_bio(BIO *bp, X509 **x509);
x509.h: int i2d_X509_bio(BIO *bp, X509 *x509);
x509.h: X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl);
x509.h: int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl);
x509.h: X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req);
x509.h: int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req);
x509.h: RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa);
x509.h: int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa);
x509.h: RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa);
x509.h: int i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa);
x509.h: RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa);
x509.h: int i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa);
x509.h: DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
x509.h: int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa);
x509.h: DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
x509.h: int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa);
x509.h: EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey);
x509.h: int i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *eckey);
x509.h: EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey);
x509.h: int i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey);
x509.h: X509_SIG *d2i_PKCS8_bio(BIO *bp, X509_SIG **p8);
x509.h: int i2d_PKCS8_bio(BIO *bp, X509_SIG *p8);
x509.h: PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,
x509.h: int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf);
x509.h: int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key);
x509.h: int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey);
x509.h: EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a);
x509.h: int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey);
x509.h: EVP_PKEY *d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a);
x509.h: X509 *X509_dup(X509 *x509);
x509.h: X509_ATTRIBUTE *X509_ATTRIBUTE_dup(X509_ATTRIBUTE *xa);
x509.h: X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
x509.h: X509_CRL *X509_CRL_dup(X509_CRL *crl);
x509.h: X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
x509.h: X509_REQ *X509_REQ_dup(X509_REQ *req);
x509.h: X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn);
x509.h: int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype,
x509.h: void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype,
x509.h: void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
x509.h: int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b);
x509.h: X509_NAME *X509_NAME_dup(X509_NAME *xn);
x509.h: X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne);
x509.h: int X509_cmp_time(const ASN1_TIME *s, time_t *t);
x509.h: int X509_cmp_current_time(const ASN1_TIME *s);
x509.h: ASN1_TIME *X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
x509.h: ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s,
x509.h: ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj);
x509.h: const char *X509_get_default_cert_area(void);
x509.h: const char *X509_get_default_cert_dir(void);
x509.h: const char *X509_get_default_cert_file(void);
x509.h: const char *X509_get_default_cert_dir_env(void);
x509.h: const char *X509_get_default_cert_file_env(void);
x509.h: const char *X509_get_default_private_dir(void);
x509.h: X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
x509.h: X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey);
x509.h: DECLARE_ASN1_FUNCTIONS(X509_ALGOR)
x509.h: DECLARE_ASN1_ENCODE_FUNCTIONS(X509_ALGORS, X509_ALGORS, X509_ALGORS)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_VAL)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_PUBKEY)
x509.h: int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey);
x509.h: EVP_PKEY *X509_PUBKEY_get0(X509_PUBKEY *key);
x509.h: EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key);
x509.h: int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain);
x509.h: long X509_get_pathlen(X509 *x);
x509.h: int i2d_PUBKEY(EVP_PKEY *a, unsigned char **pp);
x509.h: EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length);
x509.h: int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp);
x509.h: RSA *d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp, long length);
x509.h: int i2d_DSA_PUBKEY(DSA *a, unsigned char **pp);
x509.h: DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, long length);
x509.h: int i2d_EC_PUBKEY(EC_KEY *a, unsigned char **pp);
x509.h: EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length);
x509.h: DECLARE_ASN1_FUNCTIONS(X509_SIG)
x509.h: void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg,
x509.h: void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
x509.h: DECLARE_ASN1_FUNCTIONS(X509_REQ_INFO)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_REQ)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_ATTRIBUTE)
x509.h: X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value);
x509.h: DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
x509.h: DECLARE_ASN1_ENCODE_FUNCTIONS(X509_EXTENSIONS, X509_EXTENSIONS, X509_EXTENSIONS)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_NAME_ENTRY)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_NAME)
x509.h: int X509_NAME_set(X509_NAME **xn, X509_NAME *name);
x509.h: DECLARE_ASN1_FUNCTIONS(X509_CINF)
x509.h: DECLARE_ASN1_FUNCTIONS(X509)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_CERT_AUX)
x509.h: #define X509_get_ex_new_index(l, p, newf, dupf, freef) \
x509.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509, l, p, newf, dupf, freef)
x509.h: int X509_set_ex_data(X509 *r, int idx, void *arg);
x509.h: void *X509_get_ex_data(X509 *r, int idx);
x509.h: int i2d_X509_AUX(X509 *a, unsigned char **pp);
x509.h: X509 *d2i_X509_AUX(X509 **a, const unsigned char **pp, long length);
x509.h: int i2d_re_X509_tbs(X509 *x, unsigned char **pp);
x509.h: int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid,
x509.h: void X509_SIG_INFO_set(X509_SIG_INFO *siginf, int mdnid, int pknid,
x509.h: int X509_get_signature_info(X509 *x, int *mdnid, int *pknid, int *secbits,
x509.h: void X509_get0_signature(const ASN1_BIT_STRING **psig,
x509.h: int X509_get_signature_nid(const X509 *x);
x509.h: int X509_trusted(const X509 *x);
x509.h: int X509_alias_set1(X509 *x, const unsigned char *name, int len);
x509.h: int X509_keyid_set1(X509 *x, const unsigned char *id, int len);
x509.h: unsigned char *X509_alias_get0(X509 *x, int *len);
x509.h: unsigned char *X509_keyid_get0(X509 *x, int *len);
x509.h: int (*X509_TRUST_set_default(int (*trust) (int, X509 *, int))) (int, X509 *,
x509.h: int X509_TRUST_set(int *t, int trust);
x509.h: int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj);
x509.h: int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj);
x509.h: void X509_trust_clear(X509 *x);
x509.h: void X509_reject_clear(X509 *x);
x509.h: STACK_OF(ASN1_OBJECT) *X509_get0_trust_objects(X509 *x);
x509.h: STACK_OF(ASN1_OBJECT) *X509_get0_reject_objects(X509 *x);
x509.h: DECLARE_ASN1_FUNCTIONS(X509_REVOKED)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_CRL_INFO)
x509.h: DECLARE_ASN1_FUNCTIONS(X509_CRL)
x509.h: int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
x509.h: int X509_CRL_get0_by_serial(X509_CRL *crl,
x509.h: int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
x509.h: X509_PKEY *X509_PKEY_new(void);
x509.h: void X509_PKEY_free(X509_PKEY *a);
x509.h: DECLARE_ASN1_FUNCTIONS(NETSCAPE_SPKI)
x509.h: DECLARE_ASN1_FUNCTIONS(NETSCAPE_SPKAC)
x509.h: DECLARE_ASN1_FUNCTIONS(NETSCAPE_CERT_SEQUENCE)
x509.h: X509_INFO *X509_INFO_new(void);
x509.h: void X509_INFO_free(X509_INFO *a);
x509.h: char *X509_NAME_oneline(const X509_NAME *a, char *buf, int size);
x509.h: int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *algor1,
x509.h: int ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data,
x509.h: int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1,
x509.h: int ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *data,
x509.h: int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *algor1,
x509.h: int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1,
x509.h: int ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1,
x509.h: long X509_get_version(const X509 *x);
x509.h: int X509_set_version(X509 *x, long version);
x509.h: int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
x509.h: ASN1_INTEGER *X509_get_serialNumber(X509 *x);
x509.h: const ASN1_INTEGER *X509_get0_serialNumber(const X509 *x);
x509.h: int X509_set_issuer_name(X509 *x, X509_NAME *name);
x509.h: X509_NAME *X509_get_issuer_name(const X509 *a);
x509.h: int X509_set_subject_name(X509 *x, X509_NAME *name);
x509.h: X509_NAME *X509_get_subject_name(const X509 *a);
x509.h: const ASN1_TIME * X509_get0_notBefore(const X509 *x);
x509.h: ASN1_TIME *X509_getm_notBefore(const X509 *x);
x509.h: int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm);
x509.h: const ASN1_TIME *X509_get0_notAfter(const X509 *x);
x509.h: ASN1_TIME *X509_getm_notAfter(const X509 *x);
x509.h: int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm);
x509.h: int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);
x509.h: int X509_up_ref(X509 *x);
x509.h: int X509_get_signature_type(const X509 *x);
x509.h: # define X509_get_notBefore X509_getm_notBefore
x509.h: # define X509_get_notAfter X509_getm_notAfter
x509.h: # define X509_set_notBefore X509_set1_notBefore
x509.h: # define X509_set_notAfter X509_set1_notAfter
x509.h: * i2d_X509_NAME(X509_get_X509_PUBKEY(x), &buf)
x509.h: X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x);
x509.h: const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);
x509.h: void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid,
x509.h: const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x);
x509.h: EVP_PKEY *X509_get0_pubkey(const X509 *x);
x509.h: EVP_PKEY *X509_get_pubkey(X509 *x);
x509.h: ASN1_BIT_STRING *X509_get0_pubkey_bitstr(const X509 *x);
x509.h: int X509_certificate_type(const X509 *x, const EVP_PKEY *pubkey);
x509.h: long X509_REQ_get_version(const X509_REQ *req);
x509.h: int X509_REQ_set_version(X509_REQ *x, long version);
x509.h: X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
x509.h: int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
x509.h: void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
x509.h: int X509_REQ_get_signature_nid(const X509_REQ *req);
x509.h: int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
x509.h: int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
x509.h: EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req);
x509.h: EVP_PKEY *X509_REQ_get0_pubkey(X509_REQ *req);
x509.h: X509_PUBKEY *X509_REQ_get_X509_PUBKEY(X509_REQ *req);
x509.h: int X509_REQ_extension_nid(int nid);
x509.h: int *X509_REQ_get_extension_nids(void);
x509.h: void X509_REQ_set_extension_nids(int *nids);
x509.h: STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req);
x509.h: int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts,
x509.h: int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts);
x509.h: int X509_REQ_get_attr_count(const X509_REQ *req);
x509.h: int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos);
x509.h: int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj,
x509.h: X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc);
x509.h: X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc);
x509.h: int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr);
x509.h: int X509_REQ_add1_attr_by_OBJ(X509_REQ *req,
x509.h: int X509_REQ_add1_attr_by_NID(X509_REQ *req,
x509.h: int X509_REQ_add1_attr_by_txt(X509_REQ *req,
x509.h: int X509_CRL_set_version(X509_CRL *x, long version);
x509.h: int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name);
x509.h: int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
x509.h: int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
x509.h: int X509_CRL_sort(X509_CRL *crl);
x509.h: int X509_CRL_up_ref(X509_CRL *crl);
x509.h: # define X509_CRL_set_lastUpdate X509_CRL_set1_lastUpdate
x509.h: # define X509_CRL_set_nextUpdate X509_CRL_set1_nextUpdate
x509.h: long X509_CRL_get_version(const X509_CRL *crl);
x509.h: const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
x509.h: const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
x509.h: DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
x509.h: DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
x509.h: X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl);
x509.h: const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl);
x509.h: STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl);
x509.h: void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig,
x509.h: int X509_CRL_get_signature_nid(const X509_CRL *crl);
x509.h: int i2d_re_X509_CRL_tbs(X509_CRL *req, unsigned char **pp);
x509.h: const ASN1_INTEGER *X509_REVOKED_get0_serialNumber(const X509_REVOKED *x);
x509.h: int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial);
x509.h: const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x);
x509.h: int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm);
x509.h: const STACK_OF(X509_EXTENSION) *
x509.h: X509_REVOKED_get0_extensions(const X509_REVOKED *r);
x509.h: X509_CRL *X509_CRL_diff(X509_CRL *base, X509_CRL *newer,
x509.h: int X509_REQ_check_private_key(X509_REQ *x509, EVP_PKEY *pkey);
x509.h: int X509_check_private_key(const X509 *x509, const EVP_PKEY *pkey);
x509.h: int X509_chain_check_suiteb(int *perror_depth,
x509.h: X509 *x, STACK_OF(X509) *chain,
x509.h: int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags);
x509.h: STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain);
x509.h: int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
x509.h: unsigned long X509_issuer_and_serial_hash(X509 *a);
x509.h: int X509_issuer_name_cmp(const X509 *a, const X509 *b);
x509.h: unsigned long X509_issuer_name_hash(X509 *a);
x509.h: int X509_subject_name_cmp(const X509 *a, const X509 *b);
x509.h: unsigned long X509_subject_name_hash(X509 *x);
x509.h: unsigned long X509_issuer_name_hash_old(X509 *a);
x509.h: unsigned long X509_subject_name_hash_old(X509 *x);
x509.h: int X509_cmp(const X509 *a, const X509 *b);
x509.h: int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b);
x509.h: unsigned long X509_NAME_hash(X509_NAME *x);
x509.h: unsigned long X509_NAME_hash_old(X509_NAME *x);
x509.h: int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b);
x509.h: int X509_CRL_match(const X509_CRL *a, const X509_CRL *b);
x509.h: int X509_aux_print(BIO *out, X509 *x, int indent);
x509.h: int X509_print_ex_fp(FILE *bp, X509 *x, unsigned long nmflag,
x509.h: int X509_print_fp(FILE *bp, X509 *x);
x509.h: int X509_CRL_print_fp(FILE *bp, X509_CRL *x);
x509.h: int X509_REQ_print_fp(FILE *bp, X509_REQ *req);
x509.h: int X509_NAME_print_ex_fp(FILE *fp, const X509_NAME *nm, int indent,
x509.h: int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase);
x509.h: int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, int indent,
x509.h: int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflag,
x509.h: int X509_print(BIO *bp, X509 *x);
x509.h: int X509_ocspid_print(BIO *bp, X509 *x);
x509.h: int X509_CRL_print_ex(BIO *out, X509_CRL *x, unsigned long nmflag);
x509.h: int X509_CRL_print(BIO *bp, X509_CRL *x);
x509.h: int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag,
x509.h: int X509_REQ_print(BIO *bp, X509_REQ *req);
x509.h: int X509_NAME_entry_count(const X509_NAME *name);
x509.h: int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len);
x509.h: int X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj,
x509.h: int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
x509.h: int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj,
x509.h: X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc);
x509.h: X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc);
x509.h: int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne,
x509.h: int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type,
x509.h: int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,
x509.h: X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne,
x509.h: X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid,
x509.h: int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
x509.h: X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne,
x509.h: int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj);
x509.h: int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type,
x509.h: ASN1_OBJECT *X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne);
x509.h: ASN1_STRING * X509_NAME_ENTRY_get_data(const X509_NAME_ENTRY *ne);
x509.h: int X509_NAME_ENTRY_set(const X509_NAME_ENTRY *ne);
x509.h: int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder,
x509.h: int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x);
x509.h: int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x,
x509.h: int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x,
x509.h: int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *x,
x509.h: X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc);
x509.h: X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc);
x509.h: STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x,
x509.h: int X509_get_ext_count(const X509 *x);
x509.h: int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos);
x509.h: int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos);
x509.h: int X509_get_ext_by_critical(const X509 *x, int crit, int lastpos);
x509.h: X509_EXTENSION *X509_get_ext(const X509 *x, int loc);
x509.h: X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
x509.h: int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
x509.h: void *X509_get_ext_d2i(const X509 *x, int nid, int *crit, int *idx);
x509.h: int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
x509.h: int X509_CRL_get_ext_count(const X509_CRL *x);
x509.h: int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos);
x509.h: int X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj,
x509.h: int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos);
x509.h: X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc);
x509.h: X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc);
x509.h: int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
x509.h: void *X509_CRL_get_ext_d2i(const X509_CRL *x, int nid, int *crit, int *idx);
x509.h: int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit,
x509.h: int X509_REVOKED_get_ext_count(const X509_REVOKED *x);
x509.h: int X509_REVOKED_get_ext_by_NID(const X509_REVOKED *x, int nid, int lastpos);
x509.h: int X509_REVOKED_get_ext_by_OBJ(const X509_REVOKED *x, const ASN1_OBJECT *obj,
x509.h: int X509_REVOKED_get_ext_by_critical(const X509_REVOKED *x, int crit,
x509.h: X509_EXTENSION *X509_REVOKED_get_ext(const X509_REVOKED *x, int loc);
x509.h: X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc);
x509.h: int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc);
x509.h: void *X509_REVOKED_get_ext_d2i(const X509_REVOKED *x, int nid, int *crit,
x509.h: int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit,
x509.h: X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex,
x509.h: X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex,
x509.h: int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj);
x509.h: int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit);
x509.h: int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data);
x509.h: ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex);
x509.h: ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne);
x509.h: int X509_EXTENSION_get_critical(const X509_EXTENSION *ex);
x509.h: int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x);
x509.h: int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid,
x509.h: int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk,
x509.h: X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc);
x509.h: X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc);
x509.h: STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x,
x509.h: STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUTE)
x509.h: STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_NID(STACK_OF(X509_ATTRIBUTE)
x509.h: STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE)
x509.h: void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x,
x509.h: X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
x509.h: X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr,
x509.h: X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr,
x509.h: int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj);
x509.h: int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype,
x509.h: void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, int atrtype,
x509.h: int X509_ATTRIBUTE_count(const X509_ATTRIBUTE *attr);
x509.h: ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr);
x509.h: ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx);
x509.h: int EVP_PKEY_get_attr_count(const EVP_PKEY *key);
x509.h: int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos);
x509.h: int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj,
x509.h: X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc);
x509.h: X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc);
x509.h: int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr);
x509.h: int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key,
x509.h: int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key,
x509.h: int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key,
x509.h: int X509_verify_cert(X509_STORE_CTX *ctx);
x509.h: X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name,
x509.h: X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name);
x509.h: DECLARE_ASN1_FUNCTIONS(PBEPARAM)
x509.h: DECLARE_ASN1_FUNCTIONS(PBE2PARAM)
x509.h: DECLARE_ASN1_FUNCTIONS(PBKDF2PARAM)
x509.h: DECLARE_ASN1_FUNCTIONS(SCRYPT_PARAMS)
x509.h: int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
x509.h: X509_ALGOR *PKCS5_pbe_set(int alg, int iter,
x509.h: X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter,
x509.h: X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter,
x509.h: X509_ALGOR *PKCS5_pbe2_set_scrypt(const EVP_CIPHER *cipher,
x509.h: X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen,
x509.h: DECLARE_ASN1_FUNCTIONS(PKCS8_PRIV_KEY_INFO)
x509.h: EVP_PKEY *EVP_PKCS82PKEY(const PKCS8_PRIV_KEY_INFO *p8);
x509.h: PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey);
x509.h: int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj,
x509.h: int PKCS8_pkey_get0(const ASN1_OBJECT **ppkalg,
x509.h: const STACK_OF(X509_ATTRIBUTE) *
x509.h: PKCS8_pkey_get0_attrs(const PKCS8_PRIV_KEY_INFO *p8);
x509.h: int PKCS8_pkey_add1_attr_by_NID(PKCS8_PRIV_KEY_INFO *p8, int nid, int type,
x509.h: int X509_PUBKEY_set0_param(X509_PUBKEY *pub, ASN1_OBJECT *aobj,
x509.h: int X509_PUBKEY_get0_param(ASN1_OBJECT **ppkalg,
x509.h: int X509_check_trust(X509 *x, int id, int flags);
x509.h: int X509_TRUST_get_count(void);
x509.h: X509_TRUST *X509_TRUST_get0(int idx);
x509.h: int X509_TRUST_get_by_id(int id);
x509.h: int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int),
x509.h: void X509_TRUST_cleanup(void);
x509.h: int X509_TRUST_get_flags(const X509_TRUST *xp);
x509.h: char *X509_TRUST_get0_name(const X509_TRUST *xp);
x509.h: int X509_TRUST_get_trust(const X509_TRUST *xp);
x509v3err.h: * Licensed under the OpenSSL license (the "License"). You may not use
x509v3err.h: # define HEADER_X509V3ERR_H
x509v3err.h: int ERR_load_X509V3_strings(void);
x509v3err.h: # define X509V3_F_A2I_GENERAL_NAME 164
x509v3err.h: # define X509V3_F_ADDR_VALIDATE_PATH_INTERNAL 166
x509v3err.h: # define X509V3_F_ASIDENTIFIERCHOICE_CANONIZE 161
x509v3err.h: # define X509V3_F_ASIDENTIFIERCHOICE_IS_CANONICAL 162
x509v3err.h: # define X509V3_F_BIGNUM_TO_STRING 167
x509v3err.h: # define X509V3_F_COPY_EMAIL 122
x509v3err.h: # define X509V3_F_COPY_ISSUER 123
x509v3err.h: # define X509V3_F_DO_DIRNAME 144
x509v3err.h: # define X509V3_F_DO_EXT_I2D 135
x509v3err.h: # define X509V3_F_DO_EXT_NCONF 151
x509v3err.h: # define X509V3_F_GNAMES_FROM_SECTNAME 156
x509v3err.h: # define X509V3_F_I2S_ASN1_ENUMERATED 121
x509v3err.h: # define X509V3_F_I2S_ASN1_IA5STRING 149
x509v3err.h: # define X509V3_F_I2S_ASN1_INTEGER 120
x509v3err.h: # define X509V3_F_I2V_AUTHORITY_INFO_ACCESS 138
x509v3err.h: # define X509V3_F_NOTICE_SECTION 132
x509v3err.h: # define X509V3_F_NREF_NOS 133
x509v3err.h: # define X509V3_F_POLICY_SECTION 131
x509v3err.h: # define X509V3_F_PROCESS_PCI_VALUE 150
x509v3err.h: # define X509V3_F_R2I_CERTPOL 130
x509v3err.h: # define X509V3_F_R2I_PCI 155
x509v3err.h: # define X509V3_F_S2I_ASN1_IA5STRING 100
x509v3err.h: # define X509V3_F_S2I_ASN1_INTEGER 108
x509v3err.h: # define X509V3_F_S2I_ASN1_OCTET_STRING 112
x509v3err.h: # define X509V3_F_S2I_SKEY_ID 115
x509v3err.h: # define X509V3_F_SET_DIST_POINT_NAME 158
x509v3err.h: # define X509V3_F_SXNET_ADD_ID_ASC 125
x509v3err.h: # define X509V3_F_SXNET_ADD_ID_INTEGER 126
x509v3err.h: # define X509V3_F_SXNET_ADD_ID_ULONG 127
x509v3err.h: # define X509V3_F_SXNET_GET_ID_ASC 128
x509v3err.h: # define X509V3_F_SXNET_GET_ID_ULONG 129
x509v3err.h: # define X509V3_F_V2I_ASIDENTIFIERS 163
x509v3err.h: # define X509V3_F_V2I_ASN1_BIT_STRING 101
x509v3err.h: # define X509V3_F_V2I_AUTHORITY_INFO_ACCESS 139
x509v3err.h: # define X509V3_F_V2I_AUTHORITY_KEYID 119
x509v3err.h: # define X509V3_F_V2I_BASIC_CONSTRAINTS 102
x509v3err.h: # define X509V3_F_V2I_CRLD 134
x509v3err.h: # define X509V3_F_V2I_EXTENDED_KEY_USAGE 103
x509v3err.h: # define X509V3_F_V2I_GENERAL_NAMES 118
x509v3err.h: # define X509V3_F_V2I_GENERAL_NAME_EX 117
x509v3err.h: # define X509V3_F_V2I_IDP 157
x509v3err.h: # define X509V3_F_V2I_IPADDRBLOCKS 159
x509v3err.h: # define X509V3_F_V2I_ISSUER_ALT 153
x509v3err.h: # define X509V3_F_V2I_NAME_CONSTRAINTS 147
x509v3err.h: # define X509V3_F_V2I_POLICY_CONSTRAINTS 146
x509v3err.h: # define X509V3_F_V2I_POLICY_MAPPINGS 145
x509v3err.h: # define X509V3_F_V2I_SUBJECT_ALT 154
x509v3err.h: # define X509V3_F_V2I_TLS_FEATURE 165
x509v3err.h: # define X509V3_F_V3_GENERIC_EXTENSION 116
x509v3err.h: # define X509V3_F_X509V3_ADD1_I2D 140
x509v3err.h: # define X509V3_F_X509V3_ADD_VALUE 105
x509v3err.h: # define X509V3_F_X509V3_EXT_ADD 104
x509v3err.h: # define X509V3_F_X509V3_EXT_ADD_ALIAS 106
x509v3err.h: # define X509V3_F_X509V3_EXT_I2D 136
x509v3err.h: # define X509V3_F_X509V3_EXT_NCONF 152
x509v3err.h: # define X509V3_F_X509V3_GET_SECTION 142
x509v3err.h: # define X509V3_F_X509V3_GET_STRING 143
x509v3err.h: # define X509V3_F_X509V3_GET_VALUE_BOOL 110
x509v3err.h: # define X509V3_F_X509V3_PARSE_LIST 109
x509v3err.h: # define X509V3_F_X509_PURPOSE_ADD 137
x509v3err.h: # define X509V3_F_X509_PURPOSE_SET 141
x509v3err.h: # define X509V3_R_BAD_IP_ADDRESS 118
x509v3err.h: # define X509V3_R_BAD_OBJECT 119
x509v3err.h: # define X509V3_R_BN_DEC2BN_ERROR 100
x509v3err.h: # define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101
x509v3err.h: # define X509V3_R_DIRNAME_ERROR 149
x509v3err.h: # define X509V3_R_DISTPOINT_ALREADY_SET 160
x509v3err.h: # define X509V3_R_DUPLICATE_ZONE_ID 133
x509v3err.h: # define X509V3_R_ERROR_CONVERTING_ZONE 131
x509v3err.h: # define X509V3_R_ERROR_CREATING_EXTENSION 144
x509v3err.h: # define X509V3_R_ERROR_IN_EXTENSION 128
x509v3err.h: # define X509V3_R_EXPECTED_A_SECTION_NAME 137
x509v3err.h: # define X509V3_R_EXTENSION_EXISTS 145
x509v3err.h: # define X509V3_R_EXTENSION_NAME_ERROR 115
x509v3err.h: # define X509V3_R_EXTENSION_NOT_FOUND 102
x509v3err.h: # define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103
x509v3err.h: # define X509V3_R_EXTENSION_VALUE_ERROR 116
x509v3err.h: # define X509V3_R_ILLEGAL_EMPTY_EXTENSION 151
x509v3err.h: # define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 152
x509v3err.h: # define X509V3_R_INVALID_ASNUMBER 162
x509v3err.h: # define X509V3_R_INVALID_ASRANGE 163
x509v3err.h: # define X509V3_R_INVALID_BOOLEAN_STRING 104
x509v3err.h: # define X509V3_R_INVALID_EXTENSION_STRING 105
x509v3err.h: # define X509V3_R_INVALID_INHERITANCE 165
x509v3err.h: # define X509V3_R_INVALID_IPADDRESS 166
x509v3err.h: # define X509V3_R_INVALID_MULTIPLE_RDNS 161
x509v3err.h: # define X509V3_R_INVALID_NAME 106
x509v3err.h: # define X509V3_R_INVALID_NULL_ARGUMENT 107
x509v3err.h: # define X509V3_R_INVALID_NULL_NAME 108
x509v3err.h: # define X509V3_R_INVALID_NULL_VALUE 109
x509v3err.h: # define X509V3_R_INVALID_NUMBER 140
x509v3err.h: # define X509V3_R_INVALID_NUMBERS 141
x509v3err.h: # define X509V3_R_INVALID_OBJECT_IDENTIFIER 110
x509v3err.h: # define X509V3_R_INVALID_OPTION 138
x509v3err.h: # define X509V3_R_INVALID_POLICY_IDENTIFIER 134
x509v3err.h: # define X509V3_R_INVALID_PROXY_POLICY_SETTING 153
x509v3err.h: # define X509V3_R_INVALID_PURPOSE 146
x509v3err.h: # define X509V3_R_INVALID_SAFI 164
x509v3err.h: # define X509V3_R_INVALID_SECTION 135
x509v3err.h: # define X509V3_R_INVALID_SYNTAX 143
x509v3err.h: # define X509V3_R_ISSUER_DECODE_ERROR 126
x509v3err.h: # define X509V3_R_MISSING_VALUE 124
x509v3err.h: # define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 142
x509v3err.h: # define X509V3_R_NO_CONFIG_DATABASE 136
x509v3err.h: # define X509V3_R_NO_ISSUER_CERTIFICATE 121
x509v3err.h: # define X509V3_R_NO_ISSUER_DETAILS 127
x509v3err.h: # define X509V3_R_NO_POLICY_IDENTIFIER 139
x509v3err.h: # define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 154
x509v3err.h: # define X509V3_R_NO_PUBLIC_KEY 114
x509v3err.h: # define X509V3_R_NO_SUBJECT_DETAILS 125
x509v3err.h: # define X509V3_R_OPERATION_NOT_DEFINED 148
x509v3err.h: # define X509V3_R_OTHERNAME_ERROR 147
x509v3err.h: # define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 155
x509v3err.h: # define X509V3_R_POLICY_PATH_LENGTH 156
x509v3err.h: # define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 157
x509v3err.h: # define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159
x509v3err.h: # define X509V3_R_SECTION_NOT_FOUND 150
x509v3err.h: # define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 122
x509v3err.h: # define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 123
x509v3err.h: # define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111
x509v3err.h: # define X509V3_R_UNKNOWN_EXTENSION 129
x509v3err.h: # define X509V3_R_UNKNOWN_EXTENSION_NAME 130
x509v3err.h: # define X509V3_R_UNKNOWN_OPTION 120
x509v3err.h: # define X509V3_R_UNSUPPORTED_OPTION 117
x509v3err.h: # define X509V3_R_UNSUPPORTED_TYPE 167
x509v3err.h: # define X509V3_R_USER_TOO_LONG 132
x509v3.h: * Licensed under the OpenSSL license (the "License"). You may not use
x509v3.h: # define HEADER_X509V3_H
x509v3.h: struct v3_ext_method;
x509v3.h: struct v3_ext_ctx;
x509v3.h: typedef void *(*X509V3_EXT_NEW)(void);
x509v3.h: typedef void (*X509V3_EXT_FREE) (void *);
x509v3.h: typedef void *(*X509V3_EXT_D2I)(void *, const unsigned char **, long);
x509v3.h: typedef int (*X509V3_EXT_I2D) (void *, unsigned char **);
x509v3.h: typedef STACK_OF(CONF_VALUE) *
x509v3.h: (*X509V3_EXT_I2V) (const struct v3_ext_method *method, void *ext,
x509v3.h: STACK_OF(CONF_VALUE) *extlist);
x509v3.h: typedef void *(*X509V3_EXT_V2I)(const struct v3_ext_method *method,
x509v3.h: struct v3_ext_ctx *ctx,
x509v3.h: STACK_OF(CONF_VALUE) *values);
x509v3.h: typedef char *(*X509V3_EXT_I2S)(const struct v3_ext_method *method,
x509v3.h: typedef void *(*X509V3_EXT_S2I)(const struct v3_ext_method *method,
x509v3.h: struct v3_ext_ctx *ctx, const char *str);
x509v3.h: typedef int (*X509V3_EXT_I2R) (const struct v3_ext_method *method, void *ext,
x509v3.h: typedef void *(*X509V3_EXT_R2I)(const struct v3_ext_method *method,
x509v3.h: struct v3_ext_ctx *ctx, const char *str);
x509v3.h: struct v3_ext_method {
x509v3.h: typedef struct X509V3_CONF_METHOD_st {
x509v3.h: char *(*get_string) (void *db, const char *section, const char *value);
x509v3.h: STACK_OF(CONF_VALUE) *(*get_section) (void *db, const char *section);
x509v3.h: void (*free_string) (void *db, char *string);
x509v3.h: void (*free_section) (void *db, STACK_OF(CONF_VALUE) *section);
x509v3.h: struct v3_ext_ctx {
x509v3.h: # define CTX_TEST 0x1
x509v3.h: # define X509V3_CTX_REPLACE 0x2
x509v3.h: typedef struct v3_ext_method X509V3_EXT_METHOD;
x509v3.h: DEFINE_STACK_OF(X509V3_EXT_METHOD)
x509v3.h: # define X509V3_EXT_DYNAMIC 0x1
x509v3.h: # define X509V3_EXT_CTX_DEP 0x2
x509v3.h: # define X509V3_EXT_MULTILINE 0x4
x509v3.h: typedef struct BASIC_CONSTRAINTS_st {
x509v3.h: typedef struct PKEY_USAGE_PERIOD_st {
x509v3.h: typedef struct otherName_st {
x509v3.h: typedef struct EDIPartyName_st {
x509v3.h: typedef struct GENERAL_NAME_st {
x509v3.h: # define GEN_OTHERNAME 0
x509v3.h: # define GEN_EMAIL 1
x509v3.h: # define GEN_DNS 2
x509v3.h: # define GEN_X400 3
x509v3.h: # define GEN_DIRNAME 4
x509v3.h: # define GEN_EDIPARTY 5
x509v3.h: # define GEN_URI 6
x509v3.h: # define GEN_IPADD 7
x509v3.h: # define GEN_RID 8
x509v3.h: typedef struct ACCESS_DESCRIPTION_st {
x509v3.h: typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
x509v3.h: typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE;
x509v3.h: typedef STACK_OF(ASN1_INTEGER) TLS_FEATURE;
x509v3.h: DEFINE_STACK_OF(GENERAL_NAME)
x509v3.h: typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES;
x509v3.h: DEFINE_STACK_OF(GENERAL_NAMES)
x509v3.h: DEFINE_STACK_OF(ACCESS_DESCRIPTION)
x509v3.h: typedef struct DIST_POINT_NAME_st {
x509v3.h: STACK_OF(X509_NAME_ENTRY) *relativename;
x509v3.h: # define CRLDP_ALL_REASONS 0x807f
x509v3.h: # define CRL_REASON_NONE -1
x509v3.h: # define CRL_REASON_UNSPECIFIED 0
x509v3.h: # define CRL_REASON_KEY_COMPROMISE 1
x509v3.h: # define CRL_REASON_CA_COMPROMISE 2
x509v3.h: # define CRL_REASON_AFFILIATION_CHANGED 3
x509v3.h: # define CRL_REASON_SUPERSEDED 4
x509v3.h: # define CRL_REASON_CESSATION_OF_OPERATION 5
x509v3.h: # define CRL_REASON_CERTIFICATE_HOLD 6
x509v3.h: # define CRL_REASON_REMOVE_FROM_CRL 8
x509v3.h: # define CRL_REASON_PRIVILEGE_WITHDRAWN 9
x509v3.h: # define CRL_REASON_AA_COMPROMISE 10
x509v3.h: struct DIST_POINT_st {
x509v3.h: typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS;
x509v3.h: DEFINE_STACK_OF(DIST_POINT)
x509v3.h: struct AUTHORITY_KEYID_st {
x509v3.h: typedef struct SXNET_ID_st {
x509v3.h: DEFINE_STACK_OF(SXNETID)
x509v3.h: typedef struct SXNET_st {
x509v3.h: STACK_OF(SXNETID) *ids;
x509v3.h: typedef struct NOTICEREF_st {
x509v3.h: STACK_OF(ASN1_INTEGER) *noticenos;
x509v3.h: typedef struct USERNOTICE_st {
x509v3.h: typedef struct POLICYQUALINFO_st {
x509v3.h: DEFINE_STACK_OF(POLICYQUALINFO)
x509v3.h: typedef struct POLICYINFO_st {
x509v3.h: STACK_OF(POLICYQUALINFO) *qualifiers;
x509v3.h: typedef STACK_OF(POLICYINFO) CERTIFICATEPOLICIES;
x509v3.h: DEFINE_STACK_OF(POLICYINFO)
x509v3.h: typedef struct POLICY_MAPPING_st {
x509v3.h: DEFINE_STACK_OF(POLICY_MAPPING)
x509v3.h: typedef STACK_OF(POLICY_MAPPING) POLICY_MAPPINGS;
x509v3.h: typedef struct GENERAL_SUBTREE_st {
x509v3.h: DEFINE_STACK_OF(GENERAL_SUBTREE)
x509v3.h: struct NAME_CONSTRAINTS_st {
x509v3.h: STACK_OF(GENERAL_SUBTREE) *permittedSubtrees;
x509v3.h: STACK_OF(GENERAL_SUBTREE) *excludedSubtrees;
x509v3.h: typedef struct POLICY_CONSTRAINTS_st {
x509v3.h: typedef struct PROXY_POLICY_st {
x509v3.h: typedef struct PROXY_CERT_INFO_EXTENSION_st {
x509v3.h: DECLARE_ASN1_FUNCTIONS(PROXY_POLICY)
x509v3.h: DECLARE_ASN1_FUNCTIONS(PROXY_CERT_INFO_EXTENSION)
x509v3.h: struct ISSUING_DIST_POINT_st {
x509v3.h: # define IDP_PRESENT 0x1
x509v3.h: # define IDP_INVALID 0x2
x509v3.h: # define IDP_ONLYUSER 0x4
x509v3.h: # define IDP_ONLYCA 0x8
x509v3.h: # define IDP_ONLYATTR 0x10
x509v3.h: # define IDP_INDIRECT 0x20
x509v3.h: # define IDP_REASONS 0x40
x509v3.h: # define X509V3_conf_err(val) ERR_add_error_data(6, \
x509v3.h: "section:", (val)->section, \
x509v3.h: ",name:", (val)->name, ",value:", (val)->value)
x509v3.h: # define X509V3_set_ctx_test(ctx) \
x509v3.h: X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST)
x509v3.h: # define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL;
x509v3.h: # define EXT_BITSTRING(nid, table) { nid, 0, ASN1_ITEM_ref(ASN1_BIT_STRING), \
x509v3.h: (X509V3_EXT_I2V)i2v_ASN1_BIT_STRING, \
x509v3.h: (X509V3_EXT_V2I)v2i_ASN1_BIT_STRING, \
x509v3.h: # define EXT_IA5STRING(nid) { nid, 0, ASN1_ITEM_ref(ASN1_IA5STRING), \
x509v3.h: (X509V3_EXT_I2S)i2s_ASN1_IA5STRING, \
x509v3.h: (X509V3_EXT_S2I)s2i_ASN1_IA5STRING, \
x509v3.h: # define EXT_END { -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
x509v3.h: # define EXFLAG_BCONS 0x1
x509v3.h: # define EXFLAG_KUSAGE 0x2
x509v3.h: # define EXFLAG_XKUSAGE 0x4
x509v3.h: # define EXFLAG_NSCERT 0x8
x509v3.h: # define EXFLAG_CA 0x10
x509v3.h: # define EXFLAG_SI 0x20
x509v3.h: # define EXFLAG_V1 0x40
x509v3.h: # define EXFLAG_INVALID 0x80
x509v3.h: # define EXFLAG_SET 0x100
x509v3.h: # define EXFLAG_CRITICAL 0x200
x509v3.h: # define EXFLAG_PROXY 0x400
x509v3.h: # define EXFLAG_INVALID_POLICY 0x800
x509v3.h: # define EXFLAG_FRESHEST 0x1000
x509v3.h: # define EXFLAG_SS 0x2000
x509v3.h: # define KU_DIGITAL_SIGNATURE 0x0080
x509v3.h: # define KU_NON_REPUDIATION 0x0040
x509v3.h: # define KU_KEY_ENCIPHERMENT 0x0020
x509v3.h: # define KU_DATA_ENCIPHERMENT 0x0010
x509v3.h: # define KU_KEY_AGREEMENT 0x0008
x509v3.h: # define KU_KEY_CERT_SIGN 0x0004
x509v3.h: # define KU_CRL_SIGN 0x0002
x509v3.h: # define KU_ENCIPHER_ONLY 0x0001
x509v3.h: # define KU_DECIPHER_ONLY 0x8000
x509v3.h: # define NS_SSL_CLIENT 0x80
x509v3.h: # define NS_SSL_SERVER 0x40
x509v3.h: # define NS_SMIME 0x20
x509v3.h: # define NS_OBJSIGN 0x10
x509v3.h: # define NS_SSL_CA 0x04
x509v3.h: # define NS_SMIME_CA 0x02
x509v3.h: # define NS_OBJSIGN_CA 0x01
x509v3.h: # define NS_ANY_CA (NS_SSL_CA|NS_SMIME_CA|NS_OBJSIGN_CA)
x509v3.h: # define XKU_SSL_SERVER 0x1
x509v3.h: # define XKU_SSL_CLIENT 0x2
x509v3.h: # define XKU_SMIME 0x4
x509v3.h: # define XKU_CODE_SIGN 0x8
x509v3.h: # define XKU_SGC 0x10
x509v3.h: # define XKU_OCSP_SIGN 0x20
x509v3.h: # define XKU_TIMESTAMP 0x40
x509v3.h: # define XKU_DVCS 0x80
x509v3.h: # define XKU_ANYEKU 0x100
x509v3.h: # define X509_PURPOSE_DYNAMIC 0x1
x509v3.h: # define X509_PURPOSE_DYNAMIC_NAME 0x2
x509v3.h: typedef struct x509_purpose_st {
x509v3.h: int (*check_purpose) (const struct x509_purpose_st *, const X509 *, int);
x509v3.h: # define X509_PURPOSE_SSL_CLIENT 1
x509v3.h: # define X509_PURPOSE_SSL_SERVER 2
x509v3.h: # define X509_PURPOSE_NS_SSL_SERVER 3
x509v3.h: # define X509_PURPOSE_SMIME_SIGN 4
x509v3.h: # define X509_PURPOSE_SMIME_ENCRYPT 5
x509v3.h: # define X509_PURPOSE_CRL_SIGN 6
x509v3.h: # define X509_PURPOSE_ANY 7
x509v3.h: # define X509_PURPOSE_OCSP_HELPER 8
x509v3.h: # define X509_PURPOSE_TIMESTAMP_SIGN 9
x509v3.h: # define X509_PURPOSE_MIN 1
x509v3.h: # define X509_PURPOSE_MAX 9
x509v3.h: /* Flags for X509V3_EXT_print() */
x509v3.h: # define X509V3_EXT_UNKNOWN_MASK (0xfL << 16)
x509v3.h: # define X509V3_EXT_DEFAULT 0
x509v3.h: # define X509V3_EXT_ERROR_UNKNOWN (1L << 16)
x509v3.h: # define X509V3_EXT_PARSE_UNKNOWN (2L << 16)
x509v3.h: # define X509V3_EXT_DUMP_UNKNOWN (3L << 16)
x509v3.h: # define X509V3_ADD_OP_MASK 0xfL
x509v3.h: # define X509V3_ADD_DEFAULT 0L
x509v3.h: # define X509V3_ADD_APPEND 1L
x509v3.h: # define X509V3_ADD_REPLACE 2L
x509v3.h: # define X509V3_ADD_REPLACE_EXISTING 3L
x509v3.h: # define X509V3_ADD_KEEP_EXISTING 4L
x509v3.h: # define X509V3_ADD_DELETE 5L
x509v3.h: # define X509V3_ADD_SILENT 0x10
x509v3.h: DEFINE_STACK_OF(X509_PURPOSE)
x509v3.h: DECLARE_ASN1_FUNCTIONS(BASIC_CONSTRAINTS)
x509v3.h: DECLARE_ASN1_FUNCTIONS(SXNET)
x509v3.h: DECLARE_ASN1_FUNCTIONS(SXNETID)
x509v3.h: int SXNET_add_id_asc(SXNET **psx, const char *zone, const char *user, int userlen);
x509v3.h: int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, const char *user,
x509v3.h: int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *izone, const char *user,
x509v3.h: ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, const char *zone);
x509v3.h: ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone);
x509v3.h: ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone);
x509v3.h: DECLARE_ASN1_FUNCTIONS(AUTHORITY_KEYID)
x509v3.h: DECLARE_ASN1_FUNCTIONS(PKEY_USAGE_PERIOD)
x509v3.h: DECLARE_ASN1_FUNCTIONS(GENERAL_NAME)
x509v3.h: GENERAL_NAME *GENERAL_NAME_dup(GENERAL_NAME *a);
x509v3.h: int GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b);
x509v3.h: ASN1_BIT_STRING *v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
x509v3.h: STACK_OF(CONF_VALUE) *nval);
x509v3.h: STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
x509v3.h: STACK_OF(CONF_VALUE) *extlist);
x509v3.h: char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
x509v3.h: ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
x509v3.h: STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method,
x509v3.h: STACK_OF(CONF_VALUE) *ret);
x509v3.h: int GENERAL_NAME_print(BIO *out, GENERAL_NAME *gen);
x509v3.h: DECLARE_ASN1_FUNCTIONS(GENERAL_NAMES)
x509v3.h: STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,
x509v3.h: STACK_OF(CONF_VALUE) *extlist);
x509v3.h: GENERAL_NAMES *v2i_GENERAL_NAMES(const X509V3_EXT_METHOD *method,
x509v3.h: X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
x509v3.h: DECLARE_ASN1_FUNCTIONS(OTHERNAME)
x509v3.h: DECLARE_ASN1_FUNCTIONS(EDIPARTYNAME)
x509v3.h: int OTHERNAME_cmp(OTHERNAME *a, OTHERNAME *b);
x509v3.h: void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value);
x509v3.h: void *GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype);
x509v3.h: int GENERAL_NAME_set0_othername(GENERAL_NAME *gen,
x509v3.h: int GENERAL_NAME_get0_otherName(GENERAL_NAME *gen,
x509v3.h: char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
x509v3.h: ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
x509v3.h: DECLARE_ASN1_FUNCTIONS(EXTENDED_KEY_USAGE)
x509v3.h: int i2a_ACCESS_DESCRIPTION(BIO *bp, const ACCESS_DESCRIPTION *a);
x509v3.h: DECLARE_ASN1_ALLOC_FUNCTIONS(TLS_FEATURE)
x509v3.h: DECLARE_ASN1_FUNCTIONS(CERTIFICATEPOLICIES)
x509v3.h: DECLARE_ASN1_FUNCTIONS(POLICYINFO)
x509v3.h: DECLARE_ASN1_FUNCTIONS(POLICYQUALINFO)
x509v3.h: DECLARE_ASN1_FUNCTIONS(USERNOTICE)
x509v3.h: DECLARE_ASN1_FUNCTIONS(NOTICEREF)
x509v3.h: DECLARE_ASN1_FUNCTIONS(CRL_DIST_POINTS)
x509v3.h: DECLARE_ASN1_FUNCTIONS(DIST_POINT)
x509v3.h: DECLARE_ASN1_FUNCTIONS(DIST_POINT_NAME)
x509v3.h: DECLARE_ASN1_FUNCTIONS(ISSUING_DIST_POINT)
x509v3.h: int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname);
x509v3.h: int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc);
x509v3.h: int NAME_CONSTRAINTS_check_CN(X509 *x, NAME_CONSTRAINTS *nc);
x509v3.h: DECLARE_ASN1_FUNCTIONS(ACCESS_DESCRIPTION)
x509v3.h: DECLARE_ASN1_FUNCTIONS(AUTHORITY_INFO_ACCESS)
x509v3.h: DECLARE_ASN1_ITEM(POLICY_MAPPING)
x509v3.h: DECLARE_ASN1_ALLOC_FUNCTIONS(POLICY_MAPPING)
x509v3.h: DECLARE_ASN1_ITEM(POLICY_MAPPINGS)
x509v3.h: DECLARE_ASN1_ITEM(GENERAL_SUBTREE)
x509v3.h: DECLARE_ASN1_ALLOC_FUNCTIONS(GENERAL_SUBTREE)
x509v3.h: DECLARE_ASN1_ITEM(NAME_CONSTRAINTS)
x509v3.h: DECLARE_ASN1_ALLOC_FUNCTIONS(NAME_CONSTRAINTS)
x509v3.h: DECLARE_ASN1_ALLOC_FUNCTIONS(POLICY_CONSTRAINTS)
x509v3.h: DECLARE_ASN1_ITEM(POLICY_CONSTRAINTS)
x509v3.h: GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out,
x509v3.h: GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method,
x509v3.h: GENERAL_NAME *v2i_GENERAL_NAME_ex(GENERAL_NAME *out,
x509v3.h: void X509V3_conf_free(CONF_VALUE *val);
x509v3.h: X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid,
x509v3.h: X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, const char *name,
x509v3.h: int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section,
x509v3.h: STACK_OF(X509_EXTENSION) **sk);
x509v3.h: int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section,
x509v3.h: int X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section,
x509v3.h: int X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section,
x509v3.h: X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf,
x509v3.h: X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
x509v3.h: int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
x509v3.h: int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
x509v3.h: int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
x509v3.h: int X509V3_add_value_bool_nf(const char *name, int asn1_bool,
x509v3.h: STACK_OF(CONF_VALUE) **extlist);
x509v3.h: int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool);
x509v3.h: int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint);
x509v3.h: void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf);
x509v3.h: void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash);
x509v3.h: char *X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section);
x509v3.h: STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section);
x509v3.h: void X509V3_string_free(X509V3_CTX *ctx, char *str);
x509v3.h: void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section);
x509v3.h: void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject,
x509v3.h: int X509V3_add_value(const char *name, const char *value,
x509v3.h: STACK_OF(CONF_VALUE) **extlist);
x509v3.h: int X509V3_add_value_uchar(const char *name, const unsigned char *value,
x509v3.h: STACK_OF(CONF_VALUE) **extlist);
x509v3.h: int X509V3_add_value_bool(const char *name, int asn1_bool,
x509v3.h: STACK_OF(CONF_VALUE) **extlist);
x509v3.h: int X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint,
x509v3.h: STACK_OF(CONF_VALUE) **extlist);
x509v3.h: char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const ASN1_INTEGER *aint);
x509v3.h: ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const char *value);
x509v3.h: char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, const ASN1_ENUMERATED *aint);
x509v3.h: char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *meth,
x509v3.h: int X509V3_EXT_add(X509V3_EXT_METHOD *ext);
x509v3.h: int X509V3_EXT_add_list(X509V3_EXT_METHOD *extlist);
x509v3.h: int X509V3_EXT_add_alias(int nid_to, int nid_from);
x509v3.h: void X509V3_EXT_cleanup(void);
x509v3.h: const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
x509v3.h: const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid);
x509v3.h: int X509V3_add_standard_extensions(void);
x509v3.h: STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line);
x509v3.h: void *X509V3_EXT_d2i(X509_EXTENSION *ext);
x509v3.h: void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit,
x509v3.h: X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
x509v3.h: int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
x509v3.h: # define hex_to_string OPENSSL_buf2hexstr
x509v3.h: # define string_to_hex OPENSSL_hexstr2buf
x509v3.h: void X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent,
x509v3.h: int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag,
x509v3.h: int X509V3_EXT_print_fp(FILE *out, X509_EXTENSION *ext, int flag, int indent);
x509v3.h: int X509V3_extensions_print(BIO *out, const char *title,
x509v3.h: const STACK_OF(X509_EXTENSION) *exts,
x509v3.h: int X509_check_ca(X509 *x);
x509v3.h: int X509_check_purpose(X509 *x, int id, int ca);
x509v3.h: int X509_supported_extension(X509_EXTENSION *ex);
x509v3.h: int X509_PURPOSE_set(int *p, int purpose);
x509v3.h: int X509_check_issued(X509 *issuer, X509 *subject);
x509v3.h: int X509_check_akid(X509 *issuer, AUTHORITY_KEYID *akid);
x509v3.h: void X509_set_proxy_flag(X509 *x);
x509v3.h: void X509_set_proxy_pathlen(X509 *x, long l);
x509v3.h: long X509_get_proxy_pathlen(X509 *x);
x509v3.h: uint32_t X509_get_extension_flags(X509 *x);
x509v3.h: uint32_t X509_get_key_usage(X509 *x);
x509v3.h: uint32_t X509_get_extended_key_usage(X509 *x);
x509v3.h: const ASN1_OCTET_STRING *X509_get0_subject_key_id(X509 *x);
x509v3.h: const ASN1_OCTET_STRING *X509_get0_authority_key_id(X509 *x);
x509v3.h: int X509_PURPOSE_get_count(void);
x509v3.h: X509_PURPOSE *X509_PURPOSE_get0(int idx);
x509v3.h: int X509_PURPOSE_get_by_sname(const char *sname);
x509v3.h: int X509_PURPOSE_get_by_id(int id);
x509v3.h: int X509_PURPOSE_add(int id, int trust, int flags,
x509v3.h: int (*ck) (const X509_PURPOSE *, const X509 *, int),
x509v3.h: char *X509_PURPOSE_get0_name(const X509_PURPOSE *xp);
x509v3.h: char *X509_PURPOSE_get0_sname(const X509_PURPOSE *xp);
x509v3.h: int X509_PURPOSE_get_trust(const X509_PURPOSE *xp);
x509v3.h: void X509_PURPOSE_cleanup(void);
x509v3.h: int X509_PURPOSE_get_id(const X509_PURPOSE *);
x509v3.h: STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x);
x509v3.h: STACK_OF(OPENSSL_STRING) *X509_REQ_get1_email(X509_REQ *x);
x509v3.h: void X509_email_free(STACK_OF(OPENSSL_STRING) *sk);
x509v3.h: STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x);
x509v3.h: # define X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT 0x1
x509v3.h: # define X509_CHECK_FLAG_NO_WILDCARDS 0x2
x509v3.h: # define X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS 0x4
x509v3.h: /* Allow (non-partial) wildcards to match multiple labels. */
x509v3.h: # define X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS 0x8
x509v3.h: # define X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS 0x10
x509v3.h: # define X509_CHECK_FLAG_NEVER_CHECK_SUBJECT 0x20
x509v3.h: # define _X509_CHECK_FLAG_DOT_SUBDOMAINS 0x8000
x509v3.h: int X509_check_host(X509 *x, const char *chk, size_t chklen,
x509v3.h: int X509_check_email(X509 *x, const char *chk, size_t chklen,
x509v3.h: int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen,
x509v3.h: int X509_check_ip_asc(X509 *x, const char *ipasc, unsigned int flags);
x509v3.h: ASN1_OCTET_STRING *a2i_IPADDRESS(const char *ipasc);
x509v3.h: ASN1_OCTET_STRING *a2i_IPADDRESS_NC(const char *ipasc);
x509v3.h: int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE) *dn_sk,
x509v3.h: void X509_POLICY_NODE_print(BIO *out, X509_POLICY_NODE *node, int indent);
x509v3.h: DEFINE_STACK_OF(X509_POLICY_NODE)
x509v3.h: typedef struct ASRange_st {
x509v3.h: # define ASIdOrRange_id 0
x509v3.h: # define ASIdOrRange_range 1
x509v3.h: typedef struct ASIdOrRange_st {
x509v3.h: typedef STACK_OF(ASIdOrRange) ASIdOrRanges;
x509v3.h: DEFINE_STACK_OF(ASIdOrRange)
x509v3.h: # define ASIdentifierChoice_inherit 0
x509v3.h: # define ASIdentifierChoice_asIdsOrRanges 1
x509v3.h: typedef struct ASIdentifierChoice_st {
x509v3.h: typedef struct ASIdentifiers_st {
x509v3.h: DECLARE_ASN1_FUNCTIONS(ASRange)
x509v3.h: DECLARE_ASN1_FUNCTIONS(ASIdOrRange)
x509v3.h: DECLARE_ASN1_FUNCTIONS(ASIdentifierChoice)
x509v3.h: DECLARE_ASN1_FUNCTIONS(ASIdentifiers)
x509v3.h: typedef struct IPAddressRange_st {
x509v3.h: # define IPAddressOrRange_addressPrefix 0
x509v3.h: # define IPAddressOrRange_addressRange 1
x509v3.h: typedef struct IPAddressOrRange_st {
x509v3.h: typedef STACK_OF(IPAddressOrRange) IPAddressOrRanges;
x509v3.h: DEFINE_STACK_OF(IPAddressOrRange)
x509v3.h: # define IPAddressChoice_inherit 0
x509v3.h: # define IPAddressChoice_addressesOrRanges 1
x509v3.h: typedef struct IPAddressChoice_st {
x509v3.h: typedef struct IPAddressFamily_st {
x509v3.h: typedef STACK_OF(IPAddressFamily) IPAddrBlocks;
x509v3.h: DEFINE_STACK_OF(IPAddressFamily)
x509v3.h: DECLARE_ASN1_FUNCTIONS(IPAddressRange)
x509v3.h: DECLARE_ASN1_FUNCTIONS(IPAddressOrRange)
x509v3.h: DECLARE_ASN1_FUNCTIONS(IPAddressChoice)
x509v3.h: DECLARE_ASN1_FUNCTIONS(IPAddressFamily)
x509v3.h: # define V3_ASID_ASNUM 0
x509v3.h: # define V3_ASID_RDI 1
x509v3.h: # define IANA_AFI_IPV4 1
x509v3.h: # define IANA_AFI_IPV6 2
x509v3.h: * Utilities to construct and extract values from RFC3779 extensions,
x509v3.h: * since some of the encodings (particularly for IP address prefixes
x509v3.h: int X509v3_asid_add_inherit(ASIdentifiers *asid, int which);
x509v3.h: int X509v3_asid_add_id_or_range(ASIdentifiers *asid, int which,
x509v3.h: int X509v3_addr_add_inherit(IPAddrBlocks *addr,
x509v3.h: int X509v3_addr_add_prefix(IPAddrBlocks *addr,
x509v3.h: int X509v3_addr_add_range(IPAddrBlocks *addr,
x509v3.h: unsigned X509v3_addr_get_afi(const IPAddressFamily *f);
x509v3.h: int X509v3_addr_get_range(IPAddressOrRange *aor, const unsigned afi,
x509v3.h: int X509v3_asid_is_canonical(ASIdentifiers *asid);
x509v3.h: int X509v3_addr_is_canonical(IPAddrBlocks *addr);
x509v3.h: int X509v3_asid_canonize(ASIdentifiers *asid);
x509v3.h: int X509v3_addr_canonize(IPAddrBlocks *addr);
x509v3.h: int X509v3_asid_inherits(ASIdentifiers *asid);
x509v3.h: int X509v3_addr_inherits(IPAddrBlocks *addr);
x509v3.h: int X509v3_asid_subset(ASIdentifiers *a, ASIdentifiers *b);
x509v3.h: int X509v3_addr_subset(IPAddrBlocks *a, IPAddrBlocks *b);
x509v3.h: int X509v3_asid_validate_path(X509_STORE_CTX *);
x509v3.h: int X509v3_addr_validate_path(X509_STORE_CTX *);
x509v3.h: int X509v3_asid_validate_resource_set(STACK_OF(X509) *chain,
x509v3.h: int X509v3_addr_validate_resource_set(STACK_OF(X509) *chain,
x509v3.h: DEFINE_STACK_OF(ASN1_STRING)
x509v3.h: typedef struct NamingAuthority_st NAMING_AUTHORITY;
x509v3.h: typedef struct ProfessionInfo_st PROFESSION_INFO;
x509v3.h: typedef struct Admissions_st ADMISSIONS;
x509v3.h: typedef struct AdmissionSyntax_st ADMISSION_SYNTAX;
x509v3.h: DECLARE_ASN1_FUNCTIONS(NAMING_AUTHORITY)
x509v3.h: DECLARE_ASN1_FUNCTIONS(PROFESSION_INFO)
x509v3.h: DECLARE_ASN1_FUNCTIONS(ADMISSIONS)
x509v3.h: DECLARE_ASN1_FUNCTIONS(ADMISSION_SYNTAX)
x509v3.h: DEFINE_STACK_OF(ADMISSIONS)
x509v3.h: DEFINE_STACK_OF(PROFESSION_INFO)
x509v3.h: typedef STACK_OF(PROFESSION_INFO) PROFESSION_INFOS;
x509v3.h: const ASN1_OBJECT *NAMING_AUTHORITY_get0_authorityId(
x509v3.h: const ASN1_IA5STRING *NAMING_AUTHORITY_get0_authorityURL(
x509v3.h: const ASN1_STRING *NAMING_AUTHORITY_get0_authorityText(
x509v3.h: void NAMING_AUTHORITY_set0_authorityId(NAMING_AUTHORITY *n,
x509v3.h: void NAMING_AUTHORITY_set0_authorityURL(NAMING_AUTHORITY *n,
x509v3.h: void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n,
x509v3.h: const GENERAL_NAME *ADMISSION_SYNTAX_get0_admissionAuthority(
x509v3.h: void ADMISSION_SYNTAX_set0_admissionAuthority(
x509v3.h: const STACK_OF(ADMISSIONS) *ADMISSION_SYNTAX_get0_contentsOfAdmissions(
x509v3.h: void ADMISSION_SYNTAX_set0_contentsOfAdmissions(
x509v3.h: ADMISSION_SYNTAX *as, STACK_OF(ADMISSIONS) *a);
x509v3.h: const GENERAL_NAME *ADMISSIONS_get0_admissionAuthority(const ADMISSIONS *a);
x509v3.h: void ADMISSIONS_set0_admissionAuthority(ADMISSIONS *a, GENERAL_NAME *aa);
x509v3.h: const NAMING_AUTHORITY *ADMISSIONS_get0_namingAuthority(const ADMISSIONS *a);
x509v3.h: void ADMISSIONS_set0_namingAuthority(ADMISSIONS *a, NAMING_AUTHORITY *na);
x509v3.h: const PROFESSION_INFOS *ADMISSIONS_get0_professionInfos(const ADMISSIONS *a);
x509v3.h: void ADMISSIONS_set0_professionInfos(ADMISSIONS *a, PROFESSION_INFOS *pi);
x509v3.h: const ASN1_OCTET_STRING *PROFESSION_INFO_get0_addProfessionInfo(
x509v3.h: void PROFESSION_INFO_set0_addProfessionInfo(
x509v3.h: const NAMING_AUTHORITY *PROFESSION_INFO_get0_namingAuthority(
x509v3.h: void PROFESSION_INFO_set0_namingAuthority(
x509v3.h: const STACK_OF(ASN1_STRING) *PROFESSION_INFO_get0_professionItems(
x509v3.h: void PROFESSION_INFO_set0_professionItems(
x509v3.h: PROFESSION_INFO *pi, STACK_OF(ASN1_STRING) *as);
x509v3.h: const STACK_OF(ASN1_OBJECT) *PROFESSION_INFO_get0_professionOIDs(
x509v3.h: void PROFESSION_INFO_set0_professionOIDs(
x509v3.h: PROFESSION_INFO *pi, STACK_OF(ASN1_OBJECT) *po);
x509v3.h: const ASN1_PRINTABLESTRING *PROFESSION_INFO_get0_registrationNumber(
x509v3.h: void PROFESSION_INFO_set0_registrationNumber(
x509_vfy.h: * Licensed under the OpenSSL license (the "License"). You may not use
x509_vfy.h: # define HEADER_X509_VFY_H
x509_vfy.h: DEFINE_STACK_OF(X509_LOOKUP)
x509_vfy.h: DEFINE_STACK_OF(X509_OBJECT)
x509_vfy.h: DEFINE_STACK_OF(X509_VERIFY_PARAM)
x509_vfy.h: int X509_STORE_set_depth(X509_STORE *store, int depth);
x509_vfy.h: typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
x509_vfy.h: typedef int (*X509_STORE_CTX_verify_fn)(X509_STORE_CTX *);
x509_vfy.h: typedef int (*X509_STORE_CTX_get_issuer_fn)(X509 **issuer,
x509_vfy.h: typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
x509_vfy.h: typedef int (*X509_STORE_CTX_check_revocation_fn)(X509_STORE_CTX *ctx);
x509_vfy.h: typedef int (*X509_STORE_CTX_get_crl_fn)(X509_STORE_CTX *ctx,
x509_vfy.h: typedef int (*X509_STORE_CTX_check_crl_fn)(X509_STORE_CTX *ctx, X509_CRL *crl);
x509_vfy.h: typedef int (*X509_STORE_CTX_cert_crl_fn)(X509_STORE_CTX *ctx,
x509_vfy.h: typedef int (*X509_STORE_CTX_check_policy_fn)(X509_STORE_CTX *ctx);
x509_vfy.h: typedef STACK_OF(X509) *(*X509_STORE_CTX_lookup_certs_fn)(X509_STORE_CTX *ctx,
x509_vfy.h: typedef STACK_OF(X509_CRL) *(*X509_STORE_CTX_lookup_crls_fn)(X509_STORE_CTX *ctx,
x509_vfy.h: typedef int (*X509_STORE_CTX_cleanup_fn)(X509_STORE_CTX *ctx);
x509_vfy.h: void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
x509_vfy.h: # define X509_STORE_CTX_set_app_data(ctx,data) \
x509_vfy.h: X509_STORE_CTX_set_ex_data(ctx,0,data)
x509_vfy.h: # define X509_STORE_CTX_get_app_data(ctx) \
x509_vfy.h: X509_STORE_CTX_get_ex_data(ctx,0)
x509_vfy.h: # define X509_L_FILE_LOAD 1
x509_vfy.h: # define X509_L_ADD_DIR 2
x509_vfy.h: # define X509_LOOKUP_load_file(x,name,type) \
x509_vfy.h: X509_LOOKUP_ctrl((x),X509_L_FILE_LOAD,(name),(long)(type),NULL)
x509_vfy.h: # define X509_LOOKUP_add_dir(x,name,type) \
x509_vfy.h: X509_LOOKUP_ctrl((x),X509_L_ADD_DIR,(name),(long)(type),NULL)
x509_vfy.h: # define X509_V_OK 0
x509_vfy.h: # define X509_V_ERR_UNSPECIFIED 1
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT 2
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_GET_CRL 3
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE 4
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE 5
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY 6
x509_vfy.h: # define X509_V_ERR_CERT_SIGNATURE_FAILURE 7
x509_vfy.h: # define X509_V_ERR_CRL_SIGNATURE_FAILURE 8
x509_vfy.h: # define X509_V_ERR_CERT_NOT_YET_VALID 9
x509_vfy.h: # define X509_V_ERR_CERT_HAS_EXPIRED 10
x509_vfy.h: # define X509_V_ERR_CRL_NOT_YET_VALID 11
x509_vfy.h: # define X509_V_ERR_CRL_HAS_EXPIRED 12
x509_vfy.h: # define X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD 13
x509_vfy.h: # define X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD 14
x509_vfy.h: # define X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD 15
x509_vfy.h: # define X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD 16
x509_vfy.h: # define X509_V_ERR_OUT_OF_MEM 17
x509_vfy.h: # define X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT 18
x509_vfy.h: # define X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN 19
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY 20
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE 21
x509_vfy.h: # define X509_V_ERR_CERT_CHAIN_TOO_LONG 22
x509_vfy.h: # define X509_V_ERR_CERT_REVOKED 23
x509_vfy.h: # define X509_V_ERR_INVALID_CA 24
x509_vfy.h: # define X509_V_ERR_PATH_LENGTH_EXCEEDED 25
x509_vfy.h: # define X509_V_ERR_INVALID_PURPOSE 26
x509_vfy.h: # define X509_V_ERR_CERT_UNTRUSTED 27
x509_vfy.h: # define X509_V_ERR_CERT_REJECTED 28
x509_vfy.h: # define X509_V_ERR_SUBJECT_ISSUER_MISMATCH 29
x509_vfy.h: # define X509_V_ERR_AKID_SKID_MISMATCH 30
x509_vfy.h: # define X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH 31
x509_vfy.h: # define X509_V_ERR_KEYUSAGE_NO_CERTSIGN 32
x509_vfy.h: # define X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER 33
x509_vfy.h: # define X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION 34
x509_vfy.h: # define X509_V_ERR_KEYUSAGE_NO_CRL_SIGN 35
x509_vfy.h: # define X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION 36
x509_vfy.h: # define X509_V_ERR_INVALID_NON_CA 37
x509_vfy.h: # define X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED 38
x509_vfy.h: # define X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE 39
x509_vfy.h: # define X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED 40
x509_vfy.h: # define X509_V_ERR_INVALID_EXTENSION 41
x509_vfy.h: # define X509_V_ERR_INVALID_POLICY_EXTENSION 42
x509_vfy.h: # define X509_V_ERR_NO_EXPLICIT_POLICY 43
x509_vfy.h: # define X509_V_ERR_DIFFERENT_CRL_SCOPE 44
x509_vfy.h: # define X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE 45
x509_vfy.h: # define X509_V_ERR_UNNESTED_RESOURCE 46
x509_vfy.h: # define X509_V_ERR_PERMITTED_VIOLATION 47
x509_vfy.h: # define X509_V_ERR_EXCLUDED_VIOLATION 48
x509_vfy.h: # define X509_V_ERR_SUBTREE_MINMAX 49
x509_vfy.h: # define X509_V_ERR_APPLICATION_VERIFICATION 50
x509_vfy.h: # define X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE 51
x509_vfy.h: # define X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX 52
x509_vfy.h: # define X509_V_ERR_UNSUPPORTED_NAME_SYNTAX 53
x509_vfy.h: # define X509_V_ERR_CRL_PATH_VALIDATION_ERROR 54
x509_vfy.h: # define X509_V_ERR_PATH_LOOP 55
x509_vfy.h: # define X509_V_ERR_SUITE_B_INVALID_VERSION 56
x509_vfy.h: # define X509_V_ERR_SUITE_B_INVALID_ALGORITHM 57
x509_vfy.h: # define X509_V_ERR_SUITE_B_INVALID_CURVE 58
x509_vfy.h: # define X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM 59
x509_vfy.h: # define X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED 60
x509_vfy.h: # define X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256 61
x509_vfy.h: # define X509_V_ERR_HOSTNAME_MISMATCH 62
x509_vfy.h: # define X509_V_ERR_EMAIL_MISMATCH 63
x509_vfy.h: # define X509_V_ERR_IP_ADDRESS_MISMATCH 64
x509_vfy.h: # define X509_V_ERR_DANE_NO_MATCH 65
x509_vfy.h: # define X509_V_ERR_EE_KEY_TOO_SMALL 66
x509_vfy.h: # define X509_V_ERR_CA_KEY_TOO_SMALL 67
x509_vfy.h: # define X509_V_ERR_CA_MD_TOO_WEAK 68
x509_vfy.h: # define X509_V_ERR_INVALID_CALL 69
x509_vfy.h: # define X509_V_ERR_STORE_LOOKUP 70
x509_vfy.h: # define X509_V_ERR_NO_VALID_SCTS 71
x509_vfy.h: # define X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION 72
x509_vfy.h: # define X509_V_ERR_OCSP_VERIFY_NEEDED 73 /* Need OCSP verification */
x509_vfy.h: # define X509_V_ERR_OCSP_VERIFY_FAILED 74 /* Couldn't verify cert through OCSP */
x509_vfy.h: # define X509_V_ERR_OCSP_CERT_UNKNOWN 75 /* Certificate wasn't recognized by the OCSP responder */
x509_vfy.h: # define X509_V_FLAG_CB_ISSUER_CHECK 0x0 /* Deprecated */
x509_vfy.h: # define X509_V_FLAG_USE_CHECK_TIME 0x2
x509_vfy.h: # define X509_V_FLAG_CRL_CHECK 0x4
x509_vfy.h: # define X509_V_FLAG_CRL_CHECK_ALL 0x8
x509_vfy.h: # define X509_V_FLAG_IGNORE_CRITICAL 0x10
x509_vfy.h: # define X509_V_FLAG_X509_STRICT 0x20
x509_vfy.h: # define X509_V_FLAG_ALLOW_PROXY_CERTS 0x40
x509_vfy.h: # define X509_V_FLAG_POLICY_CHECK 0x80
x509_vfy.h: # define X509_V_FLAG_EXPLICIT_POLICY 0x100
x509_vfy.h: # define X509_V_FLAG_INHIBIT_ANY 0x200
x509_vfy.h: # define X509_V_FLAG_INHIBIT_MAP 0x400
x509_vfy.h: # define X509_V_FLAG_NOTIFY_POLICY 0x800
x509_vfy.h: # define X509_V_FLAG_EXTENDED_CRL_SUPPORT 0x1000
x509_vfy.h: # define X509_V_FLAG_USE_DELTAS 0x2000
x509_vfy.h: # define X509_V_FLAG_CHECK_SS_SIGNATURE 0x4000
x509_vfy.h: # define X509_V_FLAG_TRUSTED_FIRST 0x8000
x509_vfy.h: # define X509_V_FLAG_SUITEB_128_LOS_ONLY 0x10000
x509_vfy.h: # define X509_V_FLAG_SUITEB_192_LOS 0x20000
x509_vfy.h: # define X509_V_FLAG_SUITEB_128_LOS 0x30000
x509_vfy.h: # define X509_V_FLAG_PARTIAL_CHAIN 0x80000
x509_vfy.h: # define X509_V_FLAG_NO_ALT_CHAINS 0x100000
x509_vfy.h: # define X509_V_FLAG_NO_CHECK_TIME 0x200000
x509_vfy.h: # define X509_VP_FLAG_DEFAULT 0x1
x509_vfy.h: # define X509_VP_FLAG_OVERWRITE 0x2
x509_vfy.h: # define X509_VP_FLAG_RESET_FLAGS 0x4
x509_vfy.h: # define X509_VP_FLAG_LOCKED 0x8
x509_vfy.h: # define X509_VP_FLAG_ONCE 0x10
x509_vfy.h: # define X509_V_FLAG_POLICY_MASK (X509_V_FLAG_POLICY_CHECK \
x509_vfy.h: int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, X509_LOOKUP_TYPE type,
x509_vfy.h: X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,
x509_vfy.h: X509_OBJECT *X509_OBJECT_retrieve_match(STACK_OF(X509_OBJECT) *h,
x509_vfy.h: int X509_OBJECT_up_ref_count(X509_OBJECT *a);
x509_vfy.h: X509_OBJECT *X509_OBJECT_new(void);
x509_vfy.h: void X509_OBJECT_free(X509_OBJECT *a);
x509_vfy.h: X509_LOOKUP_TYPE X509_OBJECT_get_type(const X509_OBJECT *a);
x509_vfy.h: X509 *X509_OBJECT_get0_X509(const X509_OBJECT *a);
x509_vfy.h: X509_CRL *X509_OBJECT_get0_X509_CRL(X509_OBJECT *a);
x509_vfy.h: X509_STORE *X509_STORE_new(void);
x509_vfy.h: void X509_STORE_free(X509_STORE *v);
x509_vfy.h: int X509_STORE_lock(X509_STORE *ctx);
x509_vfy.h: int X509_STORE_unlock(X509_STORE *ctx);
x509_vfy.h: int X509_STORE_up_ref(X509_STORE *v);
x509_vfy.h: STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(X509_STORE *v);
x509_vfy.h: STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
x509_vfy.h: STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
x509_vfy.h: int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags);
x509_vfy.h: int X509_STORE_set_purpose(X509_STORE *ctx, int purpose);
x509_vfy.h: int X509_STORE_set_trust(X509_STORE *ctx, int trust);
x509_vfy.h: int X509_STORE_set1_param(X509_STORE *ctx, X509_VERIFY_PARAM *pm);
x509_vfy.h: X509_VERIFY_PARAM *X509_STORE_get0_param(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_verify(X509_STORE *ctx, X509_STORE_CTX_verify_fn verify);
x509_vfy.h: #define X509_STORE_set_verify_func(ctx, func) \
x509_vfy.h: X509_STORE_set_verify((ctx),(func))
x509_vfy.h: void X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx,
x509_vfy.h: X509_STORE_CTX_verify_fn X509_STORE_get_verify(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_verify_cb(X509_STORE *ctx,
x509_vfy.h: # define X509_STORE_set_verify_cb_func(ctx,func) \
x509_vfy.h: X509_STORE_set_verify_cb((ctx),(func))
x509_vfy.h: X509_STORE_CTX_verify_cb X509_STORE_get_verify_cb(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_get_issuer(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_get_issuer_fn X509_STORE_get_get_issuer(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_check_issued(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_check_issued_fn X509_STORE_get_check_issued(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_check_revocation(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_check_revocation_fn X509_STORE_get_check_revocation(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_get_crl(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_get_crl_fn X509_STORE_get_get_crl(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_check_crl(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_check_crl_fn X509_STORE_get_check_crl(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_cert_crl(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_cert_crl_fn X509_STORE_get_cert_crl(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_check_policy(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_check_policy_fn X509_STORE_get_check_policy(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_lookup_certs(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_lookup_certs_fn X509_STORE_get_lookup_certs(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_lookup_crls(X509_STORE *ctx,
x509_vfy.h: #define X509_STORE_set_lookup_crls_cb(ctx, func) \
x509_vfy.h: X509_STORE_set_lookup_crls((ctx), (func))
x509_vfy.h: X509_STORE_CTX_lookup_crls_fn X509_STORE_get_lookup_crls(X509_STORE *ctx);
x509_vfy.h: void X509_STORE_set_cleanup(X509_STORE *ctx,
x509_vfy.h: X509_STORE_CTX_cleanup_fn X509_STORE_get_cleanup(X509_STORE *ctx);
x509_vfy.h: #define X509_STORE_get_ex_new_index(l, p, newf, dupf, freef) \
x509_vfy.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509_STORE, l, p, newf, dupf, freef)
x509_vfy.h: int X509_STORE_set_ex_data(X509_STORE *ctx, int idx, void *data);
x509_vfy.h: void *X509_STORE_get_ex_data(X509_STORE *ctx, int idx);
x509_vfy.h: X509_STORE_CTX *X509_STORE_CTX_new(void);
x509_vfy.h: int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
x509_vfy.h: void X509_STORE_CTX_free(X509_STORE_CTX *ctx);
x509_vfy.h: int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store,
x509_vfy.h: X509 *x509, STACK_OF(X509) *chain);
x509_vfy.h: void X509_STORE_CTX_set0_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
x509_vfy.h: void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE *X509_STORE_CTX_get0_store(X509_STORE_CTX *ctx);
x509_vfy.h: X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx);
x509_vfy.h: STACK_OF(X509)* X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx);
x509_vfy.h: void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, STACK_OF(X509) *sk);
x509_vfy.h: void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
x509_vfy.h: X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_verify_fn X509_STORE_CTX_get_verify(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_get_issuer_fn X509_STORE_CTX_get_get_issuer(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_check_issued_fn X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_check_revocation_fn X509_STORE_CTX_get_check_revocation(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_check_crl_fn X509_STORE_CTX_get_check_crl(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_cert_crl_fn X509_STORE_CTX_get_cert_crl(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_check_policy_fn X509_STORE_CTX_get_check_policy(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_lookup_certs_fn X509_STORE_CTX_get_lookup_certs(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_lookup_crls_fn X509_STORE_CTX_get_lookup_crls(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(X509_STORE_CTX *ctx);
x509_vfy.h: # define X509_STORE_CTX_get_chain X509_STORE_CTX_get0_chain
x509_vfy.h: # define X509_STORE_CTX_set_chain X509_STORE_CTX_set0_untrusted
x509_vfy.h: # define X509_STORE_CTX_trusted_stack X509_STORE_CTX_set0_trusted_stack
x509_vfy.h: # define X509_STORE_get_by_subject X509_STORE_CTX_get_by_subject
x509_vfy.h: # define X509_STORE_get1_cert X509_STORE_CTX_get1_certs
x509_vfy.h: # define X509_STORE_get1_crl X509_STORE_CTX_get1_crls
x509_vfy.h: X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m);
x509_vfy.h: X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void);
x509_vfy.h: X509_LOOKUP_METHOD *X509_LOOKUP_file(void);
x509_vfy.h: int X509_STORE_add_cert(X509_STORE *ctx, X509 *x);
x509_vfy.h: int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
x509_vfy.h: int X509_STORE_CTX_get_by_subject(X509_STORE_CTX *vs, X509_LOOKUP_TYPE type,
x509_vfy.h: X509_OBJECT *X509_STORE_CTX_get_obj_by_subject(X509_STORE_CTX *vs,
x509_vfy.h: int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc,
x509_vfy.h: int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type);
x509_vfy.h: int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type);
x509_vfy.h: int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type);
x509_vfy.h: X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method);
x509_vfy.h: void X509_LOOKUP_free(X509_LOOKUP *ctx);
x509_vfy.h: int X509_LOOKUP_init(X509_LOOKUP *ctx);
x509_vfy.h: int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
x509_vfy.h: int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
x509_vfy.h: int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
x509_vfy.h: int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
x509_vfy.h: int X509_LOOKUP_shutdown(X509_LOOKUP *ctx);
x509_vfy.h: int X509_STORE_load_locations(X509_STORE *ctx,
x509_vfy.h: int X509_STORE_set_default_paths(X509_STORE *ctx);
x509_vfy.h: #define X509_STORE_CTX_get_ex_new_index(l, p, newf, dupf, freef) \
x509_vfy.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509_STORE_CTX, l, p, newf, dupf, freef)
x509_vfy.h: int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx, int idx, void *data);
x509_vfy.h: void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx, int idx);
x509_vfy.h: int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
x509_vfy.h: void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int s);
x509_vfy.h: int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
x509_vfy.h: void X509_STORE_CTX_set_error_depth(X509_STORE_CTX *ctx, int depth);
x509_vfy.h: X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
x509_vfy.h: void X509_STORE_CTX_set_current_cert(X509_STORE_CTX *ctx, X509 *x);
x509_vfy.h: X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx);
x509_vfy.h: X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx);
x509_vfy.h: X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(X509_STORE_CTX *ctx);
x509_vfy.h: STACK_OF(X509) *X509_STORE_CTX_get0_chain(X509_STORE_CTX *ctx);
x509_vfy.h: STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx);
x509_vfy.h: void X509_STORE_CTX_set_cert(X509_STORE_CTX *c, X509 *x);
x509_vfy.h: void X509_STORE_CTX_set0_verified_chain(X509_STORE_CTX *c, STACK_OF(X509) *sk);
x509_vfy.h: void X509_STORE_CTX_set0_crls(X509_STORE_CTX *c, STACK_OF(X509_CRL) *sk);
x509_vfy.h: int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
x509_vfy.h: int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
x509_vfy.h: int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
x509_vfy.h: void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags);
x509_vfy.h: void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags,
x509_vfy.h: X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx);
x509_vfy.h: int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx);
x509_vfy.h: int X509_STORE_CTX_get_num_untrusted(X509_STORE_CTX *ctx);
x509_vfy.h: X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx);
x509_vfy.h: void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param);
x509_vfy.h: int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name);
x509_vfy.h: void X509_STORE_CTX_set0_dane(X509_STORE_CTX *ctx, SSL_DANE *dane);
x509_vfy.h: #define DANE_FLAG_NO_DANE_EE_NAMECHECKS (1L << 0)
x509_vfy.h: X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void);
x509_vfy.h: void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param);
x509_vfy.h: int X509_VERIFY_PARAM_inherit(X509_VERIFY_PARAM *to,
x509_vfy.h: int X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to,
x509_vfy.h: int X509_VERIFY_PARAM_set1_name(X509_VERIFY_PARAM *param, const char *name);
x509_vfy.h: int X509_VERIFY_PARAM_set_flags(X509_VERIFY_PARAM *param,
x509_vfy.h: int X509_VERIFY_PARAM_clear_flags(X509_VERIFY_PARAM *param,
x509_vfy.h: unsigned long X509_VERIFY_PARAM_get_flags(X509_VERIFY_PARAM *param);
x509_vfy.h: int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose);
x509_vfy.h: int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);
x509_vfy.h: void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth);
x509_vfy.h: void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level);
x509_vfy.h: time_t X509_VERIFY_PARAM_get_time(const X509_VERIFY_PARAM *param);
x509_vfy.h: void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t);
x509_vfy.h: int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param,
x509_vfy.h: int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param,
x509_vfy.h: STACK_OF(ASN1_OBJECT) *policies);
x509_vfy.h: int X509_VERIFY_PARAM_set_inh_flags(X509_VERIFY_PARAM *param,
x509_vfy.h: uint32_t X509_VERIFY_PARAM_get_inh_flags(const X509_VERIFY_PARAM *param);
x509_vfy.h: int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *param,
x509_vfy.h: int X509_VERIFY_PARAM_add1_host(X509_VERIFY_PARAM *param,
x509_vfy.h: void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *param,
x509_vfy.h: char *X509_VERIFY_PARAM_get0_peername(X509_VERIFY_PARAM *);
x509_vfy.h: void X509_VERIFY_PARAM_move_peername(X509_VERIFY_PARAM *, X509_VERIFY_PARAM *);
x509_vfy.h: int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *param,
x509_vfy.h: int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param,
x509_vfy.h: int X509_VERIFY_PARAM_set1_ip_asc(X509_VERIFY_PARAM *param,
x509_vfy.h: int X509_VERIFY_PARAM_get_depth(const X509_VERIFY_PARAM *param);
x509_vfy.h: int X509_VERIFY_PARAM_get_auth_level(const X509_VERIFY_PARAM *param);
x509_vfy.h: const char *X509_VERIFY_PARAM_get0_name(const X509_VERIFY_PARAM *param);
x509_vfy.h: int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param);
x509_vfy.h: int X509_VERIFY_PARAM_get_count(void);
x509_vfy.h: const X509_VERIFY_PARAM *X509_VERIFY_PARAM_get0(int id);
x509_vfy.h: const X509_VERIFY_PARAM *X509_VERIFY_PARAM_lookup(const char *name);
x509_vfy.h: void X509_VERIFY_PARAM_table_cleanup(void);
x509_vfy.h: * the library and don't appear in results from X509_policy_check().
x509_vfy.h: int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy,
x509_vfy.h: STACK_OF(X509) *certs,
x509_vfy.h: STACK_OF(ASN1_OBJECT) *policy_oids, unsigned int flags);
x509_vfy.h: void X509_policy_tree_free(X509_POLICY_TREE *tree);
x509_vfy.h: int X509_policy_tree_level_count(const X509_POLICY_TREE *tree);
x509_vfy.h: X509_POLICY_LEVEL *X509_policy_tree_get0_level(const X509_POLICY_TREE *tree,
x509_vfy.h: STACK_OF(X509_POLICY_NODE) *X509_policy_tree_get0_policies(const
x509_vfy.h: STACK_OF(X509_POLICY_NODE) *X509_policy_tree_get0_user_policies(const
x509_vfy.h: int X509_policy_level_node_count(X509_POLICY_LEVEL *level);
x509_vfy.h: X509_POLICY_NODE *X509_policy_level_get0_node(X509_POLICY_LEVEL *level,
x509_vfy.h: const ASN1_OBJECT *X509_policy_node_get0_policy(const X509_POLICY_NODE *node);
x509_vfy.h: STACK_OF(POLICYQUALINFO) *X509_policy_node_get0_qualifiers(const
x509_vfy.h: const X509_POLICY_NODE *X509_policy_node_get0_parent(const X509_POLICY_NODE
include/internal
bio.h: * Licensed under the OpenSSL license (the "License"). You may not use
bio.h: struct bio_method_st {
bio.h: int (*bwrite) (BIO *, const char *, size_t, size_t *);
bio.h: int (*bwrite_old) (BIO *, const char *, int);
bio.h: int (*bread) (BIO *, char *, size_t, size_t *);
bio.h: int (*bread_old) (BIO *, char *, int);
bio.h: int (*bputs) (BIO *, const char *);
bio.h: int (*bgets) (BIO *, char *, int);
bio.h: long (*ctrl) (BIO *, int, long, void *);
bio.h: int (*create) (BIO *);
bio.h: int (*destroy) (BIO *);
bio.h: long (*callback_ctrl) (BIO *, int, BIO_info_cb *);
bio.h: void bio_free_ex_data(BIO *bio);
bio.h: void bio_cleanup(void);
bio.h: int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written);
bio.h: int bread_conv(BIO *bio, char *data, size_t datal, size_t *read);
comp.h: * Licensed under the OpenSSL license (the "License"). You may not use
comp.h: void comp_zlib_cleanup_int(void);
conf.h: * Licensed under the OpenSSL license (the "License"). You may not use
conf.h: # define HEADER_INTERNAL_CONF_H
conf.h: struct ossl_init_settings_st {
conf.h: void openssl_config_int(const char *appname);
conf.h: void openssl_no_config_int(void);
conf.h: void conf_modules_free_int(void);
constant_time_locl.h: * Licensed under the OpenSSL license (the "License"). You may not use
constant_time_locl.h: # define HEADER_CONSTANT_TIME_LOCL_H
constant_time_locl.h: * The boolean methods return a bitmask of all ones (0xff...f) for true
constant_time_locl.h: * if (a < b) {
constant_time_locl.h: * unsigned int lt = constant_time_lt(a, b);
constant_time_locl.h: * c = constant_time_select(lt, a, b);
constant_time_locl.h: static ossl_inline unsigned int constant_time_msb(unsigned int a);
constant_time_locl.h: static ossl_inline uint32_t constant_time_msb_32(uint32_t a);
constant_time_locl.h: static ossl_inline uint64_t constant_time_msb_64(uint64_t a);
constant_time_locl.h: static ossl_inline unsigned int constant_time_lt(unsigned int a,
constant_time_locl.h: static ossl_inline unsigned char constant_time_lt_8(unsigned int a,
constant_time_locl.h: static ossl_inline uint64_t constant_time_lt_64(uint64_t a, uint64_t b);
constant_time_locl.h: static ossl_inline unsigned int constant_time_ge(unsigned int a,
constant_time_locl.h: static ossl_inline unsigned char constant_time_ge_8(unsigned int a,
constant_time_locl.h: static ossl_inline unsigned int constant_time_is_zero(unsigned int a);
constant_time_locl.h: static ossl_inline unsigned char constant_time_is_zero_8(unsigned int a);
constant_time_locl.h: static ossl_inline uint32_t constant_time_is_zero_32(uint32_t a);
constant_time_locl.h: static ossl_inline unsigned int constant_time_eq(unsigned int a,
constant_time_locl.h: static ossl_inline unsigned char constant_time_eq_8(unsigned int a,
constant_time_locl.h: static ossl_inline unsigned int constant_time_eq_int(int a, int b);
constant_time_locl.h: static ossl_inline unsigned char constant_time_eq_int_8(int a, int b);
constant_time_locl.h: * Returns (mask & a) | (~mask & b).
constant_time_locl.h: * When |mask| is all 1s or all 0s (as returned by the methods above),
constant_time_locl.h: * the select methods return either |a| (if |mask| is nonzero) or |b|
constant_time_locl.h: * (if |mask| is zero).
constant_time_locl.h: static ossl_inline unsigned int constant_time_select(unsigned int mask,
constant_time_locl.h: static ossl_inline unsigned char constant_time_select_8(unsigned char mask,
constant_time_locl.h: static ossl_inline uint32_t constant_time_select_32(uint32_t mask, uint32_t a,
constant_time_locl.h: static ossl_inline uint64_t constant_time_select_64(uint64_t mask, uint64_t a,
constant_time_locl.h: static ossl_inline int constant_time_select_int(unsigned int mask, int a,
constant_time_locl.h: static ossl_inline unsigned int constant_time_msb(unsigned int a)
constant_time_locl.h: return 0 - (a >> (sizeof(a) * 8 - 1));
constant_time_locl.h: static ossl_inline uint32_t constant_time_msb_32(uint32_t a)
constant_time_locl.h: return 0 - (a >> 31);
constant_time_locl.h: static ossl_inline uint64_t constant_time_msb_64(uint64_t a)
constant_time_locl.h: return 0 - (a >> 63);
constant_time_locl.h: static ossl_inline size_t constant_time_msb_s(size_t a)
constant_time_locl.h: return 0 - (a >> (sizeof(a) * 8 - 1));
constant_time_locl.h: static ossl_inline unsigned int constant_time_lt(unsigned int a,
constant_time_locl.h: return constant_time_msb(a ^ ((a ^ b) | ((a - b) ^ b)));
constant_time_locl.h: static ossl_inline size_t constant_time_lt_s(size_t a, size_t b)
constant_time_locl.h: return constant_time_msb_s(a ^ ((a ^ b) | ((a - b) ^ b)));
constant_time_locl.h: static ossl_inline unsigned char constant_time_lt_8(unsigned int a,
constant_time_locl.h: return (unsigned char)constant_time_lt(a, b);
constant_time_locl.h: static ossl_inline uint64_t constant_time_lt_64(uint64_t a, uint64_t b)
constant_time_locl.h: return constant_time_msb_64(a ^ ((a ^ b) | ((a - b) ^ b)));
constant_time_locl.h: static ossl_inline unsigned int constant_time_ge(unsigned int a,
constant_time_locl.h: return ~constant_time_lt(a, b);
constant_time_locl.h: static ossl_inline size_t constant_time_ge_s(size_t a, size_t b)
constant_time_locl.h: return ~constant_time_lt_s(a, b);
constant_time_locl.h: static ossl_inline unsigned char constant_time_ge_8(unsigned int a,
constant_time_locl.h: return (unsigned char)constant_time_ge(a, b);
constant_time_locl.h: static ossl_inline unsigned char constant_time_ge_8_s(size_t a, size_t b)
constant_time_locl.h: return (unsigned char)constant_time_ge_s(a, b);
constant_time_locl.h: static ossl_inline unsigned int constant_time_is_zero(unsigned int a)
constant_time_locl.h: return constant_time_msb(~a & (a - 1));
constant_time_locl.h: static ossl_inline size_t constant_time_is_zero_s(size_t a)
constant_time_locl.h: return constant_time_msb_s(~a & (a - 1));
constant_time_locl.h: static ossl_inline unsigned char constant_time_is_zero_8(unsigned int a)
constant_time_locl.h: return (unsigned char)constant_time_is_zero(a);
constant_time_locl.h: static ossl_inline uint32_t constant_time_is_zero_32(uint32_t a)
constant_time_locl.h: return constant_time_msb_32(~a & (a - 1));
constant_time_locl.h: static ossl_inline unsigned int constant_time_eq(unsigned int a,
constant_time_locl.h: return constant_time_is_zero(a ^ b);
constant_time_locl.h: static ossl_inline size_t constant_time_eq_s(size_t a, size_t b)
constant_time_locl.h: return constant_time_is_zero_s(a ^ b);
constant_time_locl.h: static ossl_inline unsigned char constant_time_eq_8(unsigned int a,
constant_time_locl.h: return (unsigned char)constant_time_eq(a, b);
constant_time_locl.h: static ossl_inline unsigned char constant_time_eq_8_s(size_t a, size_t b)
constant_time_locl.h: return (unsigned char)constant_time_eq_s(a, b);
constant_time_locl.h: static ossl_inline unsigned int constant_time_eq_int(int a, int b)
constant_time_locl.h: return constant_time_eq((unsigned)(a), (unsigned)(b));
constant_time_locl.h: static ossl_inline unsigned char constant_time_eq_int_8(int a, int b)
constant_time_locl.h: return constant_time_eq_8((unsigned)(a), (unsigned)(b));
constant_time_locl.h: static ossl_inline unsigned int constant_time_select(unsigned int mask,
constant_time_locl.h: return (mask & a) | (~mask & b);
constant_time_locl.h: static ossl_inline size_t constant_time_select_s(size_t mask,
constant_time_locl.h: return (mask & a) | (~mask & b);
constant_time_locl.h: static ossl_inline unsigned char constant_time_select_8(unsigned char mask,
constant_time_locl.h: return (unsigned char)constant_time_select(mask, a, b);
constant_time_locl.h: static ossl_inline int constant_time_select_int(unsigned int mask, int a,
constant_time_locl.h: return (int)constant_time_select(mask, (unsigned)(a), (unsigned)(b));
constant_time_locl.h: static ossl_inline int constant_time_select_int_s(size_t mask, int a, int b)
constant_time_locl.h: return (int)constant_time_select((unsigned)mask, (unsigned)(a),
constant_time_locl.h: (unsigned)(b));
constant_time_locl.h: static ossl_inline uint32_t constant_time_select_32(uint32_t mask, uint32_t a,
constant_time_locl.h: return (mask & a) | (~mask & b);
constant_time_locl.h: static ossl_inline uint64_t constant_time_select_64(uint64_t mask, uint64_t a,
constant_time_locl.h: return (mask & a) | (~mask & b);
constant_time_locl.h: * if (mask) {
constant_time_locl.h: static ossl_inline void constant_time_cond_swap_32(uint32_t mask, uint32_t *a,
constant_time_locl.h: * if (mask) {
constant_time_locl.h: static ossl_inline void constant_time_cond_swap_64(uint64_t mask, uint64_t *a,
constant_time_locl.h: static ossl_inline void constant_time_lookup(void *out,
constant_time_locl.h: const unsigned char *tablec = (const unsigned char *)table;
constant_time_locl.h: unsigned char *outc = (unsigned char *)out;
constant_time_locl.h: memset(out, 0, rowsize);
constant_time_locl.h: for (i = 0; i < numrows; i++, idx--) {
constant_time_locl.h: mask = (unsigned char)constant_time_is_zero_s(idx);
constant_time_locl.h: for (j = 0; j < rowsize; j++)
constant_time_locl.h: *(outc + j) |= constant_time_select_8(mask, *(tablec++), 0);
cryptlib.h: * Licensed under the OpenSSL license (the "License"). You may not use
cryptlib.h: # define HEADER_CRYPTLIB_H
cryptlib.h: # define BIO_FLAGS_UPLINK 0x8000
cryptlib.h: # define ossl_assert(x) ((x) != 0)
cryptlib.h: __owur static ossl_inline int ossl_assert_int(int expr, const char *exprstr,
cryptlib.h: if (!expr)
cryptlib.h: OPENSSL_die(exprstr, file, line);
cryptlib.h: # define ossl_assert(x) ossl_assert_int((x) != 0, "Assertion failed: "#x, \
cryptlib.h: typedef struct ex_callback_st EX_CALLBACK;
cryptlib.h: DEFINE_STACK_OF(EX_CALLBACK)
cryptlib.h: typedef struct app_mem_info_st APP_INFO;
cryptlib.h: typedef struct mem_st MEM;
cryptlib.h: DEFINE_LHASH_OF(MEM);
cryptlib.h: # define OPENSSL_CONF "openssl.cnf"
cryptlib.h: # define X509_CERT_AREA OPENSSLDIR
cryptlib.h: # define X509_CERT_DIR OPENSSLDIR "/certs"
cryptlib.h: # define X509_CERT_FILE OPENSSLDIR "/cert.pem"
cryptlib.h: # define X509_PRIVATE_DIR OPENSSLDIR "/private"
cryptlib.h: # define CTLOG_FILE OPENSSLDIR "/ct_log_list.cnf"
cryptlib.h: # define X509_CERT_AREA "OSSL$DATAROOT:[000000]"
cryptlib.h: # define X509_CERT_DIR "OSSL$DATAROOT:[CERTS]"
cryptlib.h: # define X509_CERT_FILE "OSSL$DATAROOT:[000000]cert.pem"
cryptlib.h: # define X509_PRIVATE_DIR "OSSL$DATAROOT:[PRIVATE]"
cryptlib.h: # define CTLOG_FILE "OSSL$DATAROOT:[000000]ct_log_list.cnf"
cryptlib.h: # define X509_CERT_DIR_EVP "SSL_CERT_DIR"
cryptlib.h: # define X509_CERT_FILE_EVP "SSL_CERT_FILE"
cryptlib.h: # define CTLOG_FILE_EVP "CTLOG_FILE"
cryptlib.h: # define DECIMAL_SIZE(type) ((sizeof(type)*8+2)/3+1)
cryptlib.h: # define HEX_SIZE(type) (sizeof(type)*2)
cryptlib.h: void OPENSSL_cpuid_setup(void);
cryptlib.h: void OPENSSL_showfatal(const char *fmta, ...);
cryptlib.h: void crypto_cleanup_all_ex_data_int(void);
cryptlib.h: int openssl_init_fork_handlers(void);
cryptlib.h: int openssl_strerror_r(int errnum, char *buf, size_t buflen);
cryptlib.h: # if !defined(OPENSSL_NO_STDIO)
cryptlib.h: FILE *openssl_fopen(const char *filename, const char *mode);
cryptlib.h: void *openssl_fopen(const char *filename, const char *mode);
cryptlib.h: uint32_t OPENSSL_rdtsc(void);
dane.h: * Licensed under the OpenSSL license (the "License"). You may not use
dane.h: typedef struct danetls_record_st {
dane.h: DEFINE_STACK_OF(danetls_record)
dane.h: struct dane_ctx_st {
dane.h: struct ssl_dane_st {
dane.h: struct dane_ctx_st *dctx;
dane.h: STACK_OF(danetls_record) *trecs;
dane.h: STACK_OF(X509) *certs; /* DANE-TA(2) Cert(0) Full(0) certs */
dane.h: #define DANETLS_ENABLED(dane) \
dane.h: ((dane) != NULL && sk_danetls_record_num((dane)->trecs) > 0)
dane.h: #define DANETLS_USAGE_BIT(u) (((uint32_t)1) << u)
dane.h: #define DANETLS_PKIX_TA_MASK (DANETLS_USAGE_BIT(DANETLS_USAGE_PKIX_TA))
dane.h: #define DANETLS_PKIX_EE_MASK (DANETLS_USAGE_BIT(DANETLS_USAGE_PKIX_EE))
dane.h: #define DANETLS_DANE_TA_MASK (DANETLS_USAGE_BIT(DANETLS_USAGE_DANE_TA))
dane.h: #define DANETLS_DANE_EE_MASK (DANETLS_USAGE_BIT(DANETLS_USAGE_DANE_EE))
dane.h: #define DANETLS_PKIX_MASK (DANETLS_PKIX_TA_MASK | DANETLS_PKIX_EE_MASK)
dane.h: #define DANETLS_DANE_MASK (DANETLS_DANE_TA_MASK | DANETLS_DANE_EE_MASK)
dane.h: #define DANETLS_TA_MASK (DANETLS_PKIX_TA_MASK | DANETLS_DANE_TA_MASK)
dane.h: #define DANETLS_EE_MASK (DANETLS_PKIX_EE_MASK | DANETLS_DANE_EE_MASK)
dane.h: #define DANETLS_HAS_PKIX(dane) ((dane) && ((dane)->umask & DANETLS_PKIX_MASK))
dane.h: #define DANETLS_HAS_DANE(dane) ((dane) && ((dane)->umask & DANETLS_DANE_MASK))
dane.h: #define DANETLS_HAS_TA(dane) ((dane) && ((dane)->umask & DANETLS_TA_MASK))
dane.h: #define DANETLS_HAS_EE(dane) ((dane) && ((dane)->umask & DANETLS_EE_MASK))
dane.h: #define DANETLS_HAS_PKIX_TA(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_TA_MASK))
dane.h: #define DANETLS_HAS_PKIX_EE(dane) ((dane)&&((dane)->umask & DANETLS_PKIX_EE_MASK))
dane.h: #define DANETLS_HAS_DANE_TA(dane) ((dane)&&((dane)->umask & DANETLS_DANE_TA_MASK))
dane.h: #define DANETLS_HAS_DANE_EE(dane) ((dane)&&((dane)->umask & DANETLS_DANE_EE_MASK))
dsoerr.h: * Licensed under the OpenSSL license (the "License"). You may not use
dsoerr.h: # define HEADER_DSOERR_H
dsoerr.h: int ERR_load_DSO_strings(void);
dsoerr.h: # define DSO_F_DLFCN_BIND_FUNC 100
dsoerr.h: # define DSO_F_DLFCN_LOAD 102
dsoerr.h: # define DSO_F_DLFCN_MERGER 130
dsoerr.h: # define DSO_F_DLFCN_NAME_CONVERTER 123
dsoerr.h: # define DSO_F_DLFCN_UNLOAD 103
dsoerr.h: # define DSO_F_DL_BIND_FUNC 104
dsoerr.h: # define DSO_F_DL_LOAD 106
dsoerr.h: # define DSO_F_DL_MERGER 131
dsoerr.h: # define DSO_F_DL_NAME_CONVERTER 124
dsoerr.h: # define DSO_F_DL_UNLOAD 107
dsoerr.h: # define DSO_F_DSO_BIND_FUNC 108
dsoerr.h: # define DSO_F_DSO_CONVERT_FILENAME 126
dsoerr.h: # define DSO_F_DSO_CTRL 110
dsoerr.h: # define DSO_F_DSO_FREE 111
dsoerr.h: # define DSO_F_DSO_GET_FILENAME 127
dsoerr.h: # define DSO_F_DSO_GLOBAL_LOOKUP 139
dsoerr.h: # define DSO_F_DSO_LOAD 112
dsoerr.h: # define DSO_F_DSO_MERGE 132
dsoerr.h: # define DSO_F_DSO_NEW_METHOD 113
dsoerr.h: # define DSO_F_DSO_PATHBYADDR 105
dsoerr.h: # define DSO_F_DSO_SET_FILENAME 129
dsoerr.h: # define DSO_F_DSO_UP_REF 114
dsoerr.h: # define DSO_F_VMS_BIND_SYM 115
dsoerr.h: # define DSO_F_VMS_LOAD 116
dsoerr.h: # define DSO_F_VMS_MERGER 133
dsoerr.h: # define DSO_F_VMS_UNLOAD 117
dsoerr.h: # define DSO_F_WIN32_BIND_FUNC 101
dsoerr.h: # define DSO_F_WIN32_GLOBALLOOKUP 142
dsoerr.h: # define DSO_F_WIN32_JOINER 135
dsoerr.h: # define DSO_F_WIN32_LOAD 120
dsoerr.h: # define DSO_F_WIN32_MERGER 134
dsoerr.h: # define DSO_F_WIN32_NAME_CONVERTER 125
dsoerr.h: # define DSO_F_WIN32_PATHBYADDR 109
dsoerr.h: # define DSO_F_WIN32_SPLITTER 136
dsoerr.h: # define DSO_F_WIN32_UNLOAD 121
dsoerr.h: # define DSO_R_CTRL_FAILED 100
dsoerr.h: # define DSO_R_DSO_ALREADY_LOADED 110
dsoerr.h: # define DSO_R_EMPTY_FILE_STRUCTURE 113
dsoerr.h: # define DSO_R_FAILURE 114
dsoerr.h: # define DSO_R_FILENAME_TOO_BIG 101
dsoerr.h: # define DSO_R_FINISH_FAILED 102
dsoerr.h: # define DSO_R_INCORRECT_FILE_SYNTAX 115
dsoerr.h: # define DSO_R_LOAD_FAILED 103
dsoerr.h: # define DSO_R_NAME_TRANSLATION_FAILED 109
dsoerr.h: # define DSO_R_NO_FILENAME 111
dsoerr.h: # define DSO_R_NULL_HANDLE 104
dsoerr.h: # define DSO_R_SET_FILENAME_FAILED 112
dsoerr.h: # define DSO_R_STACK_ERROR 105
dsoerr.h: # define DSO_R_SYM_FAILURE 106
dsoerr.h: # define DSO_R_UNLOAD_FAILED 107
dsoerr.h: # define DSO_R_UNSUPPORTED 108
dso.h: * Licensed under the OpenSSL license (the "License"). You may not use
dso.h: # define HEADER_DSO_H
dso.h: /* These values are used as commands to DSO_ctrl() */
dso.h: # define DSO_CTRL_GET_FLAGS 1
dso.h: # define DSO_CTRL_SET_FLAGS 2
dso.h: # define DSO_CTRL_OR_FLAGS 3
dso.h: * By default, DSO_load() will translate the provided filename into a form
dso.h: # define DSO_FLAG_NO_NAME_TRANSLATION 0x01
dso.h: # define DSO_FLAG_NAME_TRANSLATION_EXT_ONLY 0x02
dso.h: * Don't unload the DSO when we call DSO_free()
dso.h: # define DSO_FLAG_NO_UNLOAD_ON_FREE 0x04
dso.h: # define DSO_FLAG_GLOBAL_SYMBOLS 0x20
dso.h: typedef void (*DSO_FUNC_TYPE) (void);
dso.h: typedef struct dso_st DSO;
dso.h: typedef struct dso_meth_st DSO_METHOD;
dso.h: * The function prototype used for method functions (or caller-provided
dso.h: * pointer (or NULL if they are to be used independently of a DSO object) and
dso.h: * a filename to transform. They should either return NULL (if there is an
dso.h: * form that the caller will need to free with OPENSSL_free() when done.
dso.h: typedef char *(*DSO_NAME_CONVERTER_FUNC)(DSO *, const char *);
dso.h: * The function prototype used for method functions (or caller-provided
dso.h: * structure pointer (or NULL if they are to be used independently of a DSO
dso.h: * NULL (if there is an error condition) or a newly allocated string
dso.h: * OPENSSL_free() when done. Here, merging means that bits and pieces are
dso.h: typedef char *(*DSO_MERGER_FUNC)(DSO *, const char *, const char *);
dso.h: DSO *DSO_new(void);
dso.h: int DSO_free(DSO *dso);
dso.h: int DSO_flags(DSO *dso);
dso.h: int DSO_up_ref(DSO *dso);
dso.h: long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg);
dso.h: const char *DSO_get_filename(DSO *dso);
dso.h: int DSO_set_filename(DSO *dso, const char *filename);
dso.h: * DSO_METHOD during the processing of a DSO_load() call, and is exposed so
dso.h: * value will need to be OPENSSL_free()'d.
dso.h: char *DSO_convert_filename(DSO *dso, const char *filename);
dso.h: * OPENSSL_free()'d.
dso.h: char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2);
dso.h: * constructed DSO after its init() function but before the load operation.
dso.h: DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags);
dso.h: DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname);
dso.h: * should be the default on any particular platform (including
dso.h: * DSO_METH_null() if necessary).
dso.h: DSO_METHOD *DSO_METHOD_openssl(void);
dso.h: int DSO_pathbyaddr(void *addr, char *path, int sz);
dso.h: * Like DSO_pathbyaddr() but instead returns a handle to the DSO for the symbol
dso.h: DSO *DSO_dsobyaddr(void *addr, int flags);
dso.h: * check if getnameinfo(3) is available at run-time without bothering about
dso.h: void *DSO_global_lookup(const char *name);
dso.h: int ERR_load_DSO_strings(void);
err.h: * Licensed under the OpenSSL license (the "License"). You may not use
err.h: # define INTERNAL_ERR_H
err.h: void err_free_strings_int(void);
nelem.h: * Licensed under the OpenSSL license (the "License"). You may not use
nelem.h: # define HEADER_NELEM_H
nelem.h: # define OSSL_NELEM(x) (sizeof(x)/sizeof((x)[0]))
numbers.h: * Licensed under the OpenSSL license (the "License"). You may not use
numbers.h: # define HEADER_NUMBERS_H
numbers.h: # if (-1 & 3) == 0x03 /* Two's complement */
numbers.h: # define __MAXUINT__(T) ((T) -1)
numbers.h: # define __MAXINT__(T) ((T) ((((T) 1) << ((sizeof(T) * CHAR_BIT) - 1)) ^ __MAXUINT__(T)))
numbers.h: # define __MININT__(T) (-__MAXINT__(T) - 1)
numbers.h: # elif (-1 & 3) == 0x02 /* One's complement */
numbers.h: # define __MAXUINT__(T) (((T) -1) + 1)
numbers.h: # define __MAXINT__(T) ((T) ((((T) 1) << ((sizeof(T) * CHAR_BIT) - 1)) ^ __MAXUINT__(T)))
numbers.h: # define __MININT__(T) (-__MAXINT__(T))
numbers.h: # elif (-1 & 3) == 0x01 /* Sign/magnitude */
numbers.h: # define __MAXINT__(T) ((T) (((((T) 1) << ((sizeof(T) * CHAR_BIT) - 2)) - 1) | (((T) 1) << ((sizeof(T) * CHAR_BIT) - 2))))
numbers.h: # define __MAXUINT__(T) ((T) (__MAXINT__(T) | (((T) 1) << ((sizeof(T) * CHAR_BIT) - 1))))
numbers.h: # define __MININT__(T) (-__MAXINT__(T))
numbers.h: # define INT8_MIN __MININT__(int8_t)
numbers.h: # define INT8_MAX __MAXINT__(int8_t)
numbers.h: # define UINT8_MAX __MAXUINT__(uint8_t)
numbers.h: # define INT16_MIN __MININT__(int16_t)
numbers.h: # define INT16_MAX __MAXINT__(int16_t)
numbers.h: # define UINT16_MAX __MAXUINT__(uint16_t)
numbers.h: # define INT32_MIN __MININT__(int32_t)
numbers.h: # define INT32_MAX __MAXINT__(int32_t)
numbers.h: # define UINT32_MAX __MAXUINT__(uint32_t)
numbers.h: # define INT64_MIN __MININT__(int64_t)
numbers.h: # define INT64_MAX __MAXINT__(int64_t)
numbers.h: # define UINT64_MAX __MAXUINT__(uint64_t)
numbers.h: # define SIZE_MAX __MAXUINT__(size_t)
o_dir.h: * Licensed under the OpenSSL license (the "License"). You may not use
o_dir.h: * Copyright (c) 2004, Richard Levitte <richard@levitte.org>
o_dir.h: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
o_dir.h: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
o_dir.h: # define O_DIR_H
o_dir.h: typedef struct OPENSSL_dir_context_st OPENSSL_DIR_CTX;
o_dir.h: const char *OPENSSL_DIR_read(OPENSSL_DIR_CTX **ctx, const char *directory);
o_dir.h: int OPENSSL_DIR_end(OPENSSL_DIR_CTX **ctx);
o_str.h: * Licensed under the OpenSSL license (the "License"). You may not use
o_str.h: # define HEADER_O_STR_H
o_str.h: int OPENSSL_memcmp(const void *p1, const void *p2, size_t n);
rand.h: * Licensed under the OpenSSL license (the "License"). You may not use
rand.h: # define HEADER_DRBG_RAND_H
rand.h: * Default security strength (in the sense of [NIST SP 800-90Ar1])
rand.h: * TODO(DRBG): would be nice to have the NID and strength configurable
rand.h: # define RAND_DRBG_STRENGTH 256
rand.h: # define RAND_DRBG_NID NID_aes_256_ctr
rand.h: RAND_DRBG *RAND_DRBG_new(int type, unsigned int flags, RAND_DRBG *parent);
rand.h: RAND_DRBG *RAND_DRBG_secure_new(int type, unsigned int flags, RAND_DRBG *parent);
rand.h: int RAND_DRBG_set(RAND_DRBG *drbg, int type, unsigned int flags);
rand.h: int RAND_DRBG_instantiate(RAND_DRBG *drbg,
rand.h: int RAND_DRBG_uninstantiate(RAND_DRBG *drbg);
rand.h: void RAND_DRBG_free(RAND_DRBG *drbg);
rand.h: int RAND_DRBG_reseed(RAND_DRBG *drbg,
rand.h: int RAND_DRBG_generate(RAND_DRBG *drbg, unsigned char *out, size_t outlen,
rand.h: int RAND_DRBG_bytes(RAND_DRBG *drbg, unsigned char *out, size_t outlen);
rand.h: int RAND_DRBG_set_reseed_interval(RAND_DRBG *drbg, unsigned int interval);
rand.h: int RAND_DRBG_set_reseed_time_interval(RAND_DRBG *drbg, time_t interval);
rand.h: RAND_DRBG *RAND_DRBG_get0_master(void);
rand.h: RAND_DRBG *RAND_DRBG_get0_public(void);
rand.h: RAND_DRBG *RAND_DRBG_get0_private(void);
rand.h: #define RAND_DRBG_get_ex_new_index(l, p, newf, dupf, freef) \
rand.h: CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DRBG, l, p, newf, dupf, freef)
rand.h: int RAND_DRBG_set_ex_data(RAND_DRBG *dctx, int idx, void *arg);
rand.h: void *RAND_DRBG_get_ex_data(const RAND_DRBG *dctx, int idx);
rand.h: typedef size_t (*RAND_DRBG_get_entropy_fn)(RAND_DRBG *ctx,
rand.h: typedef void (*RAND_DRBG_cleanup_entropy_fn)(RAND_DRBG *ctx,
rand.h: typedef size_t (*RAND_DRBG_get_nonce_fn)(RAND_DRBG *ctx, unsigned char **pout,
rand.h: typedef void (*RAND_DRBG_cleanup_nonce_fn)(RAND_DRBG *ctx,
rand.h: int RAND_DRBG_set_callbacks(RAND_DRBG *dctx,
rand.h: RAND_POOL *RAND_POOL_new(int entropy_requested, size_t min_len, size_t max_len);
rand.h: void RAND_POOL_free(RAND_POOL *pool);
rand.h: const unsigned char *RAND_POOL_buffer(RAND_POOL *pool);
rand.h: unsigned char *RAND_POOL_detach(RAND_POOL *pool);
rand.h: size_t RAND_POOL_entropy(RAND_POOL *pool);
rand.h: size_t RAND_POOL_length(RAND_POOL *pool);
rand.h: size_t RAND_POOL_entropy_available(RAND_POOL *pool);
rand.h: size_t RAND_POOL_entropy_needed(RAND_POOL *pool);
rand.h: size_t RAND_POOL_bytes_needed(RAND_POOL *pool, unsigned int entropy_per_byte);
rand.h: size_t RAND_POOL_bytes_remaining(RAND_POOL *pool);
rand.h: size_t RAND_POOL_add(RAND_POOL *pool,
rand.h: unsigned char *RAND_POOL_add_begin(RAND_POOL *pool, size_t len);
rand.h: size_t RAND_POOL_add_end(RAND_POOL *pool, size_t len, size_t entropy);
rand.h: size_t RAND_POOL_acquire_entropy(RAND_POOL *pool);
refcount.h: * Licensed under the OpenSSL license (the "License"). You may not use
refcount.h: # define HEADER_INTERNAL_REFCOUNT_H
refcount.h: # if defined(OPENSSL_NO_STDIO)
refcount.h: # if defined(REF_PRINT)
refcount.h: # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L \
refcount.h: && !defined(__STDC_NO_ATOMICS__)
refcount.h: # define HAVE_C11_ATOMICS
refcount.h: # if defined(HAVE_C11_ATOMICS) && defined(ATOMIC_INT_LOCK_FREE) \
refcount.h: # define HAVE_ATOMICS 1
refcount.h: static ossl_inline int CRYPTO_UP_REF(_Atomic int *val, int *ret, void *lock)
refcount.h: *ret = atomic_fetch_add_explicit(val, 1, memory_order_relaxed) + 1;
refcount.h: static ossl_inline int CRYPTO_DOWN_REF(_Atomic int *val, int *ret, void *lock)
refcount.h: *ret = atomic_fetch_sub_explicit(val, 1, memory_order_release) - 1;
refcount.h: if (*ret == 0)
refcount.h: atomic_thread_fence(memory_order_acquire);
refcount.h: # elif defined(__GNUC__) && defined(__ATOMIC_RELAXED) && __GCC_ATOMIC_INT_LOCK_FREE > 0
refcount.h: # define HAVE_ATOMICS 1
refcount.h: static ossl_inline int CRYPTO_UP_REF(int *val, int *ret, void *lock)
refcount.h: *ret = __atomic_fetch_add(val, 1, __ATOMIC_RELAXED) + 1;
refcount.h: static ossl_inline int CRYPTO_DOWN_REF(int *val, int *ret, void *lock)
refcount.h: *ret = __atomic_fetch_sub(val, 1, __ATOMIC_RELEASE) - 1;
refcount.h: if (*ret == 0)
refcount.h: __atomic_thread_fence(__ATOMIC_ACQUIRE);
refcount.h: # define CRYPTO_UP_REF(val, ret, lock) CRYPTO_atomic_add(val, 1, ret, lock)
refcount.h: # define CRYPTO_DOWN_REF(val, ret, lock) CRYPTO_atomic_add(val, -1, ret, lock)
refcount.h: # if !defined(NDEBUG) && !defined(OPENSSL_NO_STDIO)
refcount.h: # define REF_ASSERT_ISNT(test) \
refcount.h: (void)((test) ? (OPENSSL_die("refcount error", __FILE__, __LINE__), 1) : 0)
refcount.h: # define REF_ASSERT_ISNT(i)
refcount.h: # define REF_PRINT_COUNT(a, b) \
refcount.h: fprintf(stderr, "%p:%4d:%s\n", b, b->references, a)
refcount.h: # define REF_PRINT_COUNT(a, b)
sockets.h: * Licensed under the OpenSSL license (the "License"). You may not use
sockets.h: # define HEADER_INTERNAL_SOCKETS
sockets.h: # if defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI)
sockets.h: # define NO_SYS_PARAM_H
sockets.h: # define NO_SYS_UN_H
sockets.h: # define NO_SYS_PARAM_H
sockets.h: # define NO_SYS_UN_H
sockets.h: # elif defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS)
sockets.h: # if defined(__DJGPP__)
sockets.h: # elif defined(_WIN32_WCE) && _WIN32_WCE<410
sockets.h: # define getservbyname _masked_declaration_getservbyname
sockets.h: # if !defined(IPPROTO_IP)
sockets.h: struct servent *PASCAL getservbyname(const char *, const char *);
sockets.h: * Even though sizeof(SOCKET) is 8, it's safe to cast it to int, because
sockets.h: # define socket(d,t,p) ((int)socket(d,t,p))
sockets.h: # define accept(s,f,l) ((int)accept(s,f,l))
sockets.h: # if defined(OPENSSL_SYS_VMS_NODECC)
sockets.h: # define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path)
sockets.h: # if !defined(TCPIP_TYPE_SOCKETSHR) && defined(__VMS_VER) && (__VMS_VER > 70000000)
sockets.h: # if defined(TCPIP_TYPE_SOCKETSHR)
sockets.h: # define INVALID_SOCKET (-1)
sockets.h: # if !defined(OPENSSL_USE_IPV6)
sockets.h: # if defined(AF_INET6)
sockets.h: # define OPENSSL_USE_IPV6 1
sockets.h: # define OPENSSL_USE_IPV6 0
sockets.h: # define get_last_socket_error() errno
sockets.h: # define clear_socket_error() errno=0
sockets.h: # if defined(OPENSSL_SYS_WINDOWS)
sockets.h: # define get_last_socket_error() WSAGetLastError()
sockets.h: # define clear_socket_error() WSASetLastError(0)
sockets.h: # define readsocket(s,b,n) recv((s),(b),(n),0)
sockets.h: # define writesocket(s,b,n) send((s),(b),(n),0)
sockets.h: # elif defined(__DJGPP__)
sockets.h: # define WATT32
sockets.h: # define WATT32_NO_OLDIES
sockets.h: # define closesocket(s) close_s(s)
sockets.h: # define readsocket(s,b,n) read_s(s,b,n)
sockets.h: # define writesocket(s,b,n) send(s,b,n,0)
sockets.h: # elif defined(OPENSSL_SYS_VMS)
sockets.h: # define ioctlsocket(a,b,c) ioctl(a,b,c)
sockets.h: # define closesocket(s) close(s)
sockets.h: # define readsocket(s,b,n) recv((s),(b),(n),0)
sockets.h: # define writesocket(s,b,n) send((s),(b),(n),0)
sockets.h: # elif defined(OPENSSL_SYS_VXWORKS)
sockets.h: # define ioctlsocket(a,b,c) ioctl((a),(b),(int)(c))
sockets.h: # define closesocket(s) close(s)
sockets.h: # define readsocket(s,b,n) read((s),(b),(n))
sockets.h: # define writesocket(s,b,n) write((s),(char *)(b),(n))
sockets.h: # define ioctlsocket(a,b,c) ioctl(a,b,c)
sockets.h: # define closesocket(s) close(s)
sockets.h: # define readsocket(s,b,n) read((s),(b),(n))
sockets.h: # define writesocket(s,b,n) write((s),(b),(n))
thread_once.h: * Licensed under the OpenSSL license (the "License"). You may not use
thread_once.h: #define DEFINE_RUN_ONCE(init) \
thread_once.h: static int init(void); \
thread_once.h: void init##_ossl_(void) \
thread_once.h: init##_ossl_ret_ = init(); \
thread_once.h: static int init(void)
thread_once.h: #define DECLARE_RUN_ONCE(init) \
thread_once.h: void init##_ossl_(void);
thread_once.h: #define DEFINE_RUN_ONCE_STATIC(init) \
thread_once.h: static int init(void); \
thread_once.h: static void init##_ossl_(void) \
thread_once.h: init##_ossl_ret_ = init(); \
thread_once.h: static int init(void)
thread_once.h: * The return value is 1 on success (*) or 0 in case of error.
thread_once.h: * (*) by convention, since the init function must return 1 on success.
thread_once.h: #define RUN_ONCE(once, init) \
thread_once.h: (CRYPTO_THREAD_run_once(once, init##_ossl_) ? init##_ossl_ret_ : 0)
openssl 1.1.1 reference的更多相关文章
-
解决引用openssl静态库libcrypto.a和libssl.a出现undefined reference to错误的问题
最近在做使用openssl链接http和https的项目,编译时出现以下问题. /usr/local/openssl/lib/libcrypto.a(async.o): In function `as ...
-
编译openssl失败(SLES11.3), undefined reference to `OPENSSL_cpuid_setup&#39;
https://*.com/questions/11381514/undefined-reference-when-compiling-openssl I ran into t ...
-
OpenSSL漏洞补救办法详解(转)
CVE-2014-0160漏洞背景 2014年4月7日OpenSSL发布了安全公告,在OpenSSL1.0.1版本中存在严重漏洞(CVE-2014-0160).OpenSSL Heartbleed模块 ...
-
CVE-2014-0160 Heartbleed Vul Analysis &;&; OpenSSL Cryptographic Software Library Bug
目录 . Heartbleed漏洞简介 . 漏洞造成的风险和影响 . 漏洞的测试.POC . OpenSSL漏洞源代码分析 . 防御.修复方案 . 从漏洞中得到的攻防思考 1. Heartbleed漏 ...
-
apache win openssl
Rubayat Hasan Software Development, Music, Web Design, life, thoughts… Home Portfolio Projects Con ...
-
使用 OpenSSL API 进行安全编程
创建基本的安全连接和非安全连接 Kenneth Ballard ( kenneth.ballard@ptk.org), *程序员 Kenneth 是 Peru State College(位于 Pe ...
-
载入OpenSSL的动态库——学会使用tryToLoadOpenSslWin32Library和QPair
Libraries name of openssl? The "library" portion of OpenSSL consists of two libraries. On ...
-
笔记整理——使用openssl编程
error: openssl 的所有解决方案 (2013/6/22 17:39:00) error: openssl/crypto.h: No such file or directory 解决方案 ...
-
OpenSSL中的大数接口与基于其的自用RSA加密接口设计
本文记录了初次接触OpenSSL中的大数模块,重温了RSA加密流程,使用OpenSSL的接口包装成自用RSA加密接口,并且利用自己的接口演示了Alice与Bob通过RSA加密进行通讯的一个示例. 概览 ...
随机推荐
-
C# 中科学计数法转成正常值
抓取数据的时候碰到科学技术法,查了一些资料,直接贴代码 /// <summary> /// 数字科学计数法处理 /// </summary> /// <param nam ...
-
ILMerge
ILMerge http://www.microsoft.com/en-hk/download/details.aspx?id=17630 ILMerge 下载地址:http://www.micros ...
-
The 2013 ACM-ICPC Asia Changsha Regional Contest - J
Josephina and RPG Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge A role-playin ...
-
一段JavaScript代码
eval(function(p, a, c, k, e, d) { e = function(c) { return c.toString(36) }; if (!''.replace(/^/, St ...
-
Ubuntu安装提示Permission Denied
我用wubi安装ubuntu 显示 permission denied 并要查看日志文件 怎么办啊? 你好,你把你的ISO放到你的Wubi目录下面,也就是把镜像放到你解压好的文件夹里面就可以了呢!! ...
-
[BZOJ 1874] [BeiJing2009 WinterCamp] 取石子游戏 【博弈论 | SG函数】
题目链接:BZOJ - 1874 题目分析 这个是一种组合游戏,是许多单个SG游戏的和. 就是指,总的游戏由许多单个SG游戏组合而成,每个SG游戏(也就是每一堆石子)之间互不干扰,每次从所有的单个游戏 ...
-
让.net程序自动运行在管理员权限下
原文:让.net程序自动运行在管理员权限下 如何让.net程序自动运行在管理员权限下 VS2010 c# 编译的WINFORM程序 在Win7 以管理员身份运行 windows 7和vista提高的系 ...
-
android圆角View实现及不同版本号这间的兼容
在做我们自己的APP的时候.为了让APP看起来更加的好看,我们就须要将我们的自己的View做成圆角的,毕竟主流也是将非常多东西做成圆角.和苹果的外观看起来差点儿相同,看起来也还不错. 要将一个View ...
-
端口扫描命令nmap
转:http://www.osyunwei.com/archives/2004.html 下面教大家在CentOS中用nmap查看主机端口: 一.安装nmap yum install nmap -y ...
-
微信小程序- wx.request请求不到数据
小程序官方文档手册 https://mp.weixin.qq.com/debug/wxadoc/dev/ 小程序开发问答社区 http://www.henkuai.com/forum.php wx.r ...