| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_wrp.c | 52 PROV_AES_WRAP_CTX *wctx; in aes_wrap_newctx() local 58 wctx = OPENSSL_zalloc(sizeof(*wctx)); in aes_wrap_newctx() 59 ctx = (PROV_CIPHER_CTX *)wctx; in aes_wrap_newctx() 65 return wctx; in aes_wrap_newctx() 68 static void *aes_wrap_dupctx(void *wctx) in aes_wrap_dupctx() argument 70 PROV_AES_WRAP_CTX *ctx = wctx; in aes_wrap_dupctx() 71 PROV_AES_WRAP_CTX *dctx = wctx; in aes_wrap_dupctx() 93 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_freectx() local 96 OPENSSL_clear_free(wctx, sizeof(*wctx)); in aes_wrap_freectx() 104 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_init() local [all …]
|
| /freebsd/crypto/openssl/ssl/rio/ |
| H A D | poll_immediate.c | 53 QUIC_REACTOR_WAIT_CTX *wctx, in poll_translate_ssl_quic() argument 130 ossl_quic_enter_blocking_section(ssl, wctx); in poll_translate_ssl_quic() 141 ossl_quic_leave_blocking_section(ssl, wctx); in poll_translate_ssl_quic() 146 ossl_quic_leave_blocking_section(ssl, wctx); in poll_translate_ssl_quic() 156 QUIC_REACTOR_WAIT_CTX *wctx) in postpoll_translation_cleanup_ssl_quic() argument 159 ossl_quic_leave_blocking_section(ssl, wctx); in postpoll_translation_cleanup_ssl_quic() 165 QUIC_REACTOR_WAIT_CTX *wctx) in postpoll_translation_cleanup() argument 185 postpoll_translation_cleanup_ssl_quic(ssl, wctx); in postpoll_translation_cleanup() 201 QUIC_REACTOR_WAIT_CTX *wctx, in poll_translate() argument 231 if (!poll_translate_ssl_quic(ssl, wctx, rpb, item->events, in poll_translate() [all …]
|
| /freebsd/sys/gdb/ |
| H A D | gdb_packet.c | 180 void *wctx; in gdb_rx_mem() local 189 wctx = gdb_begin_write(); in gdb_rx_mem() 205 gdb_end_write(wctx); in gdb_rx_mem()
|
| /freebsd/sys/kern/ |
| H A D | coredump_vnode.c | 438 struct coredump_vnode_ctx wctx; in coredump_vnode() local 495 wctx.vp = vp; in coredump_vnode() 496 wctx.fcred = NOCRED; in coredump_vnode() 498 cdw.ctx = &wctx; in coredump_vnode()
|
| H A D | kern_sig.c | 2661 struct coredump_vnode_ctx wctx; in ptrace_coredumpreq() local 2670 memset(&wctx, 0, sizeof(wctx)); in ptrace_coredumpreq() 2671 wctx.vp = tcq->tc_vp; in ptrace_coredumpreq() 2672 wctx.fcred = NOCRED; in ptrace_coredumpreq() 2674 memset(&cdw, 0, sizeof(wctx)); in ptrace_coredumpreq() 2675 cdw.ctx = &wctx; in ptrace_coredumpreq()
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | eapol_test.c | 587 struct wpa_sm_ctx *wctx; in test_eapol() local 622 wctx = os_zalloc(sizeof(*wctx)); in test_eapol() 623 if (wctx == NULL) { in test_eapol() 627 wctx->ctx = e; in test_eapol() 628 wctx->msg_ctx = wpa_s; in test_eapol() 629 wctx->get_state = eapol_test_get_state; in test_eapol() 630 wpa_s->wpa = wpa_sm_init(wctx); in test_eapol() 633 os_free(wctx); in test_eapol()
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | quic_ssl.h | 180 void ossl_quic_enter_blocking_section(SSL *ssl, QUIC_REACTOR_WAIT_CTX *wctx); 181 void ossl_quic_leave_blocking_section(SSL *ssl, QUIC_REACTOR_WAIT_CTX *wctx);
|
| /freebsd/crypto/openssl/crypto/async/ |
| H A D | async.c | 175 int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *wctx, int *ret, in ASYNC_start_job() argument 268 ctx->currjob->waitctx = wctx; in ASYNC_start_job()
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | e_aes.c | 3675 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX, ctx); in aes_wrap_init_key() local 3687 AES_set_encrypt_key(key, keylen, &wctx->ks.ks); in aes_wrap_init_key() 3689 AES_set_decrypt_key(key, keylen, &wctx->ks.ks); in aes_wrap_init_key() 3691 wctx->iv = NULL; in aes_wrap_init_key() 3697 wctx->iv = ctx->iv; in aes_wrap_init_key() 3705 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX, ctx); in aes_wrap_cipher() local 3743 rv = CRYPTO_128_wrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3747 rv = CRYPTO_128_unwrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3752 rv = CRYPTO_128_wrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3755 rv = CRYPTO_128_unwrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
|
| /freebsd/crypto/openssl/apps/ |
| H A D | cms.c | 1091 EVP_CIPHER_CTX *wctx; in cms_main() local 1092 wctx = CMS_RecipientInfo_kari_get0_ctx(ri); in cms_main() 1093 if (EVP_EncryptInit_ex(wctx, wrap_cipher, NULL, NULL, NULL) != 1) in cms_main()
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_impl.c | 5359 void ossl_quic_enter_blocking_section(SSL *ssl, QUIC_REACTOR_WAIT_CTX *wctx) in ossl_quic_enter_blocking_section() argument 5369 ossl_quic_reactor_wait_ctx_enter(wctx, rtor); in ossl_quic_enter_blocking_section() 5374 void ossl_quic_leave_blocking_section(SSL *ssl, QUIC_REACTOR_WAIT_CTX *wctx) in ossl_quic_leave_blocking_section() argument 5384 ossl_quic_reactor_wait_ctx_leave(wctx, rtor); in ossl_quic_leave_blocking_section()
|