/freebsd/crypto/openssl/include/openssl/ |
H A D | ssl.h | 656 OSSL_DEPRECATEDIN_3_0 __owur int SSL_SRP_CTX_init(SSL *s); 657 OSSL_DEPRECATEDIN_3_0 __owur int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 660 OSSL_DEPRECATEDIN_3_0 __owur int SSL_srp_server_param_with_username(SSL *s, 662 OSSL_DEPRECATEDIN_3_0 __owur int SRP_Calc_A_param(SSL *s); 754 __owur int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e); 806 __owur int SSL_select_next_proto(unsigned char **out, unsigned char *outlen, 815 __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, 817 __owur int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, 854 __owur int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint); 855 __owur int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint); [all …]
|
H A D | ssl.h.in | 633 OSSL_DEPRECATEDIN_3_0 __owur int SSL_SRP_CTX_init(SSL *s); 634 OSSL_DEPRECATEDIN_3_0 __owur int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 637 OSSL_DEPRECATEDIN_3_0 __owur int SSL_srp_server_param_with_username(SSL *s, 639 OSSL_DEPRECATEDIN_3_0 __owur int SRP_Calc_A_param(SSL *s); 731 __owur int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e); 783 __owur int SSL_select_next_proto(unsigned char **out, unsigned char *outlen, 792 __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, 794 __owur int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, 831 __owur int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint); 832 __owur int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint); [all …]
|
H A D | ct.h | 229 __owur int SCT_set_version(SCT *sct, sct_version_t version); 240 __owur int SCT_set_log_entry_type(SCT *sct, ct_log_entry_type_t entry_type); 254 __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len); 261 __owur int SCT_set1_log_id(SCT *sct, const unsigned char *log_id, 287 __owur int SCT_set_signature_nid(SCT *sct, int nid); 307 __owur int SCT_set1_extensions(SCT *sct, const unsigned char *ext, 327 __owur int SCT_set1_signature(SCT *sct, const unsigned char *sig, 339 __owur int SCT_set_source(SCT *sct, sct_source_t source); 377 __owur int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx); 386 __owur int SCT_LIST_validate(const STACK_OF(SCT) *scts, [all …]
|
H A D | srtp.h | 44 __owur int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); 45 __owur int SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles); 47 __owur STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl); 48 __owur SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
|
H A D | evp.h | 704 __owur int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); 708 __owur int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type, 710 __owur int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, 712 __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, 714 __owur int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, 716 __owur int EVP_Digest(const void *data, size_t count, 719 __owur int EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name, 723 __owur int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in); 724 __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); 725 __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, [all …]
|
H A D | ct.h.in | 181 __owur int SCT_set_version(SCT *sct, sct_version_t version); 192 __owur int SCT_set_log_entry_type(SCT *sct, ct_log_entry_type_t entry_type); 206 __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len); 213 __owur int SCT_set1_log_id(SCT *sct, const unsigned char *log_id, 239 __owur int SCT_set_signature_nid(SCT *sct, int nid); 259 __owur int SCT_set1_extensions(SCT *sct, const unsigned char *ext, 279 __owur int SCT_set1_signature(SCT *sct, const unsigned char *sig, 291 __owur int SCT_set_source(SCT *sct, sct_source_t source); 329 __owur int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx); 338 __owur int SCT_LIST_validate(const STACK_OF(SCT) *scts, [all …]
|
H A D | hmac.h | 38 OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, 49 OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
|
H A D | e_os2.h | 214 # define __owur __attribute__((__warn_unused_result__)) macro 216 # define __owur
|
H A D | tls1.h | 221 __owur const char *SSL_get_servername(const SSL *s, const int type); 222 __owur int SSL_get_servername_type(const SSL *s); 230 __owur int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, 242 __owur int SSL_export_keying_material_early(SSL *s, unsigned char *out, 259 __owur int SSL_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain);
|
/freebsd/crypto/openssl/ssl/ |
H A D | ssl_local.h | 814 __owur int tls13_set_encoded_pub_key(EVP_PKEY *pkey, 2202 __owur const SSL_METHOD *ssl_bad_method(int ver); 2203 __owur const SSL_METHOD *sslv3_method(void); 2204 __owur const SSL_METHOD *sslv3_server_method(void); 2205 __owur const SSL_METHOD *sslv3_client_method(void); 2206 __owur const SSL_METHOD *tlsv1_method(void); 2207 __owur const SSL_METHOD *tlsv1_server_method(void); 2208 __owur const SSL_METHOD *tlsv1_client_method(void); 2209 __owur const SSL_METHOD *tlsv1_1_method(void); 2210 __owur const SSL_METHOD *tlsv1_1_server_method(void); [all …]
|
/freebsd/crypto/openssl/ssl/statem/ |
H A D | statem_local.h | 103 __owur int tls_get_message_header(SSL *s, int *mt); 104 __owur int tls_get_message_body(SSL *s, size_t *len); 105 __owur int dtls_get_message(SSL *s, int *mt); 106 __owur int dtls_get_message_body(SSL *s, size_t *len); 109 __owur int tls_process_initial_server_flight(SSL *s); 110 __owur MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt); 111 __owur MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt); 112 __owur int tls_construct_change_cipher_spec(SSL *s, WPACKET *pkt); 113 __owur int dtls_construct_change_cipher_spec(SSL *s, WPACKET *pkt); 115 __owur int tls_construct_finished(SSL *s, WPACKET *pkt); [all …]
|
H A D | statem.h | 131 __owur int ossl_statem_accept(SSL *s); 132 __owur int ossl_statem_connect(SSL *s); 149 __owur int ossl_statem_skip_early_data(SSL *s); 152 __owur int ossl_statem_app_data_allowed(SSL *s); 153 __owur int ossl_statem_export_allowed(SSL *s); 154 __owur int ossl_statem_export_early_allowed(SSL *s);
|
/freebsd/crypto/openssl/include/internal/ |
H A D | packet.h | 69 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init() 94 __owur static ossl_inline int PACKET_equal(const PACKET *pkt, const void *ptr, in PACKET_equal() 107 __owur static ossl_inline int PACKET_peek_sub_packet(const PACKET *pkt, in PACKET_peek_sub_packet() 121 __owur static ossl_inline int PACKET_get_sub_packet(PACKET *pkt, in PACKET_get_sub_packet() 136 __owur static ossl_inline int PACKET_peek_net_2(const PACKET *pkt, in PACKET_peek_net_2() 150 __owur static ossl_inline int PACKET_get_net_2(PACKET *pkt, unsigned int *data) in PACKET_get_net_2() 161 __owur static ossl_inline int PACKET_get_net_2_len(PACKET *pkt, size_t *data) in PACKET_get_net_2_len() 176 __owur static ossl_inline int PACKET_peek_net_3(const PACKET *pkt, in PACKET_peek_net_3() 191 __owur static ossl_inline int PACKET_get_net_3(PACKET *pkt, unsigned long *data) in PACKET_get_net_3() 202 __owur static ossl_inline int PACKET_get_net_3_len(PACKET *pkt, size_t *data) in PACKET_get_net_3_len() [all …]
|
H A D | core.h | 67 __owur int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx); 68 __owur int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx);
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | ssl_test_ctx.c | 65 __owur static int parse_enum(const test_enum *enums, size_t num_enums, in parse_enum() 101 __owur static int parse_expected_result(SSL_TEST_CTX *test_ctx, const char *value) in parse_expected_result() 129 __owur static int parse_alert(int *alert, const char *value) in parse_alert() 134 __owur static int parse_client_alert(SSL_TEST_CTX *test_ctx, const char *value) in parse_client_alert() 139 __owur static int parse_server_alert(SSL_TEST_CTX *test_ctx, const char *value) in parse_server_alert() 161 __owur static int parse_protocol(SSL_TEST_CTX *test_ctx, const char *value) in parse_protocol() 181 __owur static int parse_client_verify_callback(SSL_TEST_CLIENT_CONF *client_conf, in parse_client_verify_callback() 209 __owur static int parse_servername(SSL_TEST_CLIENT_CONF *client_conf, in parse_servername() 221 __owur static int parse_expected_servername(SSL_TEST_CTX *test_ctx, in parse_expected_servername() 252 __owur static int parse_servername_callback(SSL_TEST_SERVER_CONF *server_conf, in parse_servername_callback() [all …]
|
/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_local.h | 138 __owur int SCT_CTX_set1_cert(SCT_CTX *sctx, X509 *cert, X509 *presigner); 147 __owur int SCT_CTX_set1_issuer(SCT_CTX *sctx, const X509 *issuer); 155 __owur int SCT_CTX_set1_issuer_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey); 161 __owur int SCT_CTX_set1_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey); 177 __owur int SCT_CTX_verify(const SCT_CTX *sctx, const SCT *sct); 183 __owur int SCT_is_complete(const SCT *sct); 191 __owur int SCT_signature_is_complete(const SCT *sct); 201 __owur int i2o_SCT_signature(const SCT *sct, unsigned char **out); 212 __owur int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len);
|
/freebsd/crypto/openssl/ssl/record/ |
H A D | record.h | 213 __owur size_t ssl3_pending(const SSL *s); 214 __owur int ssl3_write_bytes(SSL *s, int type, const void *buf, size_t len, 219 __owur int ssl3_read_bytes(SSL *s, int type, int *recvd_type, 222 __owur int ssl3_setup_buffers(SSL *s); 223 __owur int ssl3_enc(SSL *s, SSL3_RECORD *inrecs, size_t n_recs, int send, 225 __owur int n_ssl3_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send); 226 __owur int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, size_t len, 228 __owur int tls1_enc(SSL *s, SSL3_RECORD *recs, size_t n_recs, int sending, 230 __owur int tls1_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send); 231 __owur in [all...] |
H A D | record_local.h | 39 __owur int ssl3_read_n(SSL *s, size_t n, size_t max, int extend, int clearold, 74 __owur int ssl3_setup_read_buffer(SSL *s); 75 __owur int ssl3_setup_write_buffer(SSL *s, size_t numwpipes, size_t len); 108 __owur int ssl3_do_compress(SSL *ssl, SSL3_RECORD *wr); 109 __owur int ssl3_do_uncompress(SSL *ssl, SSL3_RECORD *rr); 110 __owur int ssl3_cbc_remove_padding_and_mac(size_t *reclen, 117 __owur int tls1_cbc_remove_padding_and_mac(size_t *reclen, 126 __owur int dtls1_get_record(SSL *s);
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | tu_local.h | 49 __owur int setup_test_framework(int argc, char *argv[]); 50 __owur int pulldown_test_framework(int ret); 52 __owur int run_tests(const char *test_prog_name);
|
/freebsd/crypto/openssl/crypto/ec/curve448/ |
H A D | point_448.h | 198 __owur c448_bool_t 225 __owur c448_error_t 307 __owur c448_bool_t
|
/freebsd/crypto/openssl/crypto/modes/ |
H A D | siv128.c | 22 __owur static ossl_inline uint32_t rotl8(uint32_t x) in rotl8() 27 __owur static ossl_inline uint32_t rotr8(uint32_t x) in rotr8() 32 __owur static ossl_inline uint64_t byteswap8(uint64_t x) in byteswap8() 42 __owur static ossl_inline uint64_t siv128_getword(SIV_BLOCK const *b, size_t i) in siv128_getword() 89 __owur static ossl_inline int siv128_do_s2v_p(SIV128_CONTEXT *ctx, SIV_BLOCK *out, in siv128_do_s2v_p() 129 __owur static ossl_inline int siv128_do_encrypt(EVP_CIPHER_CTX *ctx, unsigned char *out, in siv128_do_encrypt()
|
/freebsd/crypto/openssl/crypto/ |
H A D | threads_none.c | 34 __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_read_lock() 41 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock()
|
H A D | threads_win.c | 71 __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_read_lock() 83 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock()
|
H A D | threads_pthread.c | 92 __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_read_lock() 107 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock()
|
/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | drbg_ctr.c | 100 __owur static int ctr_BCC_block(PROV_DRBG_CTR *ctr, unsigned char *out, in ctr_BCC_block() 118 __owur static int ctr_BCC_blocks(PROV_DRBG_CTR *ctr, const unsigned char *in) in ctr_BCC_blocks() 136 __owur static int ctr_BCC_init(PROV_DRBG_CTR *ctr) in ctr_BCC_init() 151 __owur static int ctr_BCC_update(PROV_DRBG_CTR *ctr, in ctr_BCC_update() 186 __owur static int ctr_BCC_final(PROV_DRBG_CTR *ctr) in ctr_BCC_final() 196 __owur static int ctr_df(PROV_DRBG_CTR *ctr, in ctr_df() 259 __owur static int ctr_update(PROV_DRBG *drbg, in ctr_update()
|