/freebsd/crypto/openssl/ssl/ |
H A D | ssl_conf.c | 111 static void ssl_set_option(SSL_CONF_CTX *cctx, unsigned int name_flags, in ssl_set_option() 147 static int ssl_match_option(SSL_CONF_CTX *cctx, const ssl_flag_tbl *tbl, in ssl_match_option() 165 SSL_CONF_CTX *cctx = usr; in ssl_set_option_list() local 194 static int cmd_SignatureAlgorithms(SSL_CONF_CTX *cctx, const char *value) in cmd_SignatureAlgorithms() 206 static int cmd_ClientSignatureAlgorithms(SSL_CONF_CTX *cctx, const char *value) in cmd_ClientSignatureAlgorithms() 217 static int cmd_Groups(SSL_CONF_CTX *cctx, const char *value) in cmd_Groups() 229 static int cmd_Curves(SSL_CONF_CTX *cctx, const char *value) in cmd_Curves() 235 static int cmd_ECDHParameters(SSL_CONF_CTX *cctx, const char *value) in cmd_ECDHParameters() 260 static int cmd_CipherString(SSL_CONF_CTX *cctx, const char *value) in cmd_CipherString() 271 static int cmd_Ciphersuites(SSL_CONF_CTX *cctx, const char *value) in cmd_Ciphersuites() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.c | 70 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx() 87 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced() local 97 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx() local 121 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts() 137 static void ZSTD_freeCCtxContent(ZSTD_CCtx* cctx) in ZSTD_freeCCtxContent() 148 size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx) in ZSTD_freeCCtx() 164 static size_t ZSTD_sizeof_mtctx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_mtctx() 175 size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_CCtx() 483 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value) in ZSTD_CCtx_setParameter() 715 size_t ZSTD_CCtx_getParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int* value) in ZSTD_CCtx_getParameter() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | dtlstest.c | 73 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_unprocessed() local 193 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_drop_records() local 311 SSL_CTX *sctx = NULL, *cctx = NULL; in test_cookie() local 351 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_duplicate_records() local 480 SSL_CTX *sctx = NULL, *cctx = NULL; in test_swap_records() local 592 SSL_CTX *sctx = NULL, *cctx = NULL; in test_duplicate_app_data() local 692 SSL_CTX *sctx = NULL, *cctx = NULL; in test_listen() local
|
H A D | sslapitest.c | 362 SSL_CTX *cctx = NULL, *sctx = NULL; in test_keylog() local 443 SSL_CTX *cctx = NULL, *sctx = NULL; in test_keylog_no_master_key() local 586 SSL_CTX *cctx = NULL, *sctx = NULL; in test_client_cert_verify_cb() local 766 SSL_CTX *cctx = NULL, *sctx = NULL; in test_client_hello_cb() local 809 SSL_CTX *cctx = NULL, *sctx = NULL; in test_no_ems() local 866 SSL_CTX *cctx = NULL, *sctx = NULL; in test_ccs_change_cipher() local 975 SSL_CTX *cctx = NULL, *sctx = NULL; in execute_test_large_message() local 1146 SSL_CTX *cctx = NULL, *sctx = NULL; in execute_test_ktls() local 1319 SSL_CTX *cctx = NULL, *sctx = NULL; in execute_test_ktls_sendfile() local 1564 SSL_CTX *cctx = NULL, *sctx = NULL; in test_large_app_data() local [all …]
|
H A D | quicapitest.c | 52 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_quic_write_read() local 214 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_fin_only_blocking() local 346 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_cipher_find() local 399 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_version() local 437 SSL_CTX *cctx = NULL; in test_ssl_trace() local 558 SSL_CTX *cctx = NULL; in test_new_token() local 905 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_bio_ssl() local 1043 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_back_pressure() local 1120 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_multiple_dgrams() local 1181 SSL_CTX *cctx; in test_non_io_retry() local [all …]
|
H A D | quicfaultstest.c | 26 SSL_CTX *cctx = SSL_CTX_new(OSSL_QUIC_client_method()); in test_basic() local 94 SSL_CTX *cctx = SSL_CTX_new(OSSL_QUIC_client_method()); in test_unknown_frame() local 180 SSL_CTX *cctx = SSL_CTX_new(OSSL_QUIC_client_method()); in test_drop_extensions() local 264 SSL_CTX *cctx = SSL_CTX_new(OSSL_QUIC_client_method()); in test_corrupted_data() local
|
H A D | fatalerrtest.c | 21 SSL_CTX *sctx = NULL, *cctx = NULL; in test_fatalerr() local
|
H A D | ssl_handshake_rtt_test.c | 48 SSL_CTX *cctx = NULL, *sctx = NULL; in test_handshake_rtt() local
|
/freebsd/usr.bin/mkuzip/ |
H A D | mkuz_zstd.c | 49 ZSTD_CCtx *cctx; in mkuz_zstd_init() local 81 ZSTD_CCtx *cctx; in mkuz_zstd_compress() local
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress.c | 97 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx() 114 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced() local 124 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx() local 148 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts() 164 static void ZSTD_freeCCtxContent(ZSTD_CCtx* cctx) in ZSTD_freeCCtxContent() 175 size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx) in ZSTD_freeCCtx() 191 static size_t ZSTD_sizeof_mtctx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_mtctx() 202 size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_CCtx() 644 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value) in ZSTD_CCtx_setParameter() 924 size_t ZSTD_CCtx_getParameter(ZSTD_CCtx const* cctx, ZSTD_cParameter param, int* value) in ZSTD_CCtx_getParameter() [all …]
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | p5_crpt.c | 26 int PKCS5_PBE_keyivgen_ex(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, in PKCS5_PBE_keyivgen_ex() 113 int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, in PKCS5_PBE_keyivgen()
|
H A D | e_aes.c | 330 EVP_AES_CCM_CTX *cctx = EVP_C_DATA(EVP_AES_CCM_CTX,ctx); in aesni_ccm_init_key() local 713 EVP_AES_CCM_CTX *cctx = EVP_C_DATA(EVP_AES_CCM_CTX,ctx); in aes_t4_ccm_init_key() local 1023 S390X_AES_ECB_CTX *cctx = EVP_C_DATA(S390X_AES_ECB_CTX, ctx); in s390x_aes_ecb_init_key() local 1041 S390X_AES_ECB_CTX *cctx = EVP_C_DATA(S390X_AES_ECB_CTX, ctx); in s390x_aes_ecb_cipher() local 1051 S390X_AES_OFB_CTX *cctx = EVP_C_DATA(S390X_AES_OFB_CTX, ctx); in s390x_aes_ofb_init_key() local 1073 S390X_AES_OFB_CTX *cctx = EVP_C_DATA(S390X_AES_OFB_CTX, ctx); in s390x_aes_ofb_cipher() local 1117 S390X_AES_CFB_CTX *cctx = EVP_C_DATA(S390X_AES_CFB_CTX, ctx); in s390x_aes_cfb_init_key() local 1143 S390X_AES_CFB_CTX *cctx = EVP_C_DATA(S390X_AES_CFB_CTX, ctx); in s390x_aes_cfb_cipher() local 1202 S390X_AES_CFB_CTX *cctx = EVP_C_DATA(S390X_AES_CFB_CTX, ctx); in s390x_aes_cfb8_init_key() local 1228 S390X_AES_CFB_CTX *cctx = EVP_C_DATA(S390X_AES_CFB_CTX, ctx); in s390x_aes_cfb8_cipher() local [all …]
|
/freebsd/crypto/heimdal/lib/gssapi/ |
H A D | test_context.c | 114 gss_ctx_id_t *sctx, gss_ctx_id_t *cctx, in loop() 246 wrapunwrap(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) in wrapunwrap() 283 wrapunwrap_iov(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) in wrapunwrap_iov() 419 getverifymic(gss_ctx_id_t cctx, gss_ctx_id_t sctx, gss_OID mechoid) in getverifymic() 506 gss_ctx_id_t cctx, sctx; in main() local
|
/freebsd/crypto/heimdal/kcm/ |
H A D | connect.c | 42 heim_sipc_call cctx) in kcm_service()
|
/freebsd/crypto/openssl/demos/bio/ |
H A D | client-arg.c | 20 SSL_CONF_CTX *cctx; in main() local
|
H A D | server-conf.c | 31 SSL_CONF_CTX *cctx = NULL; in main() local
|
H A D | client-conf.c | 21 SSL_CONF_CTX *cctx = NULL; in main() local
|
H A D | server-arg.c | 29 SSL_CONF_CTX *cctx; in main() local
|
/freebsd/sys/crypto/ccp/ |
H A D | ccp_hardware.c | 457 struct ccp_completion_ctx *cctx; in ccp_intr_handle_error() local 540 struct ccp_completion_ctx *cctx; in ccp_intr_run_completions() local 849 const struct ccp_completion_ctx *cctx) in ccp_passthrough() 887 const struct ccp_completion_ctx *cctx) in ccp_passthrough_sgl() 1073 struct sglist *sgl_dst, const struct ccp_completion_ctx *cctx) in ccp_sha() 1258 const struct ccp_completion_ctx *cctx) in ccp_do_hmac() 1396 enum ccp_cipher_dir dir, const struct ccp_completion_ctx *cctx) in ccp_do_xts() 1466 struct cryptop *crp, const struct ccp_completion_ctx *cctx) in ccp_do_blkcipher()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_res.h | 72 #define BNXT_RE_PPP_ENABLED(cctx) ((cctx)->modes.db_push_mode ==\ argument 115 static inline bool _is_chip_p7(struct bnxt_qplib_chip_ctx *cctx) in _is_chip_p7() 121 static inline bool _is_chip_gen_p5(struct bnxt_qplib_chip_ctx *cctx) in _is_chip_gen_p5() 128 static inline bool _is_chip_gen_p5_p7(struct bnxt_qplib_chip_ctx *cctx) in _is_chip_gen_p5_p7() 133 static inline bool _is_wqe_mode_variable(struct bnxt_qplib_chip_ctx *cctx) in _is_wqe_mode_variable() 149 static inline u8 bnxt_qplib_dbr_pacing_en(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_dbr_pacing_en() 154 static inline u8 bnxt_qplib_dbr_pacing_ext_en(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_dbr_pacing_ext_en() 159 static inline u8 bnxt_qplib_dbr_pacing_is_primary_pf(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_dbr_pacing_is_primary_pf() 165 (struct bnxt_qplib_chip_ctx *cctx, u8 val) in bnxt_qplib_dbr_pacing_set_primary_pf() 419 struct bnxt_qplib_chip_ctx *cctx; member [all …]
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_rc4_hmac_md5.c | 108 const OSSL_PARAM *rc4_hmac_md5_gettable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_gettable_ctx_params() 144 const OSSL_PARAM *rc4_hmac_md5_settable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_settable_ctx_params()
|
H A D | cipher_chacha20.c | 118 const OSSL_PARAM *chacha20_gettable_ctx_params(ossl_unused void *cctx, in chacha20_gettable_ctx_params() 162 const OSSL_PARAM *chacha20_settable_ctx_params(ossl_unused void *cctx, in chacha20_settable_ctx_params()
|
H A D | cipher_null.c | 116 static const OSSL_PARAM *null_gettable_ctx_params(ossl_unused void *cctx, in null_gettable_ctx_params() 153 static const OSSL_PARAM *null_settable_ctx_params(ossl_unused void *cctx, in null_settable_ctx_params()
|
H A D | cipher_aes_gcm_siv.c | 209 static const OSSL_PARAM *ossl_aes_gcm_siv_gettable_ctx_params(ossl_unused void *cctx, in ossl_aes_gcm_siv_gettable_ctx_params() 267 static const OSSL_PARAM *ossl_aes_gcm_siv_settable_ctx_params(ossl_unused void *cctx, in ossl_aes_gcm_siv_settable_ctx_params()
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | ts.c | 64 heim_sipc_call cctx) in test_service()
|