Searched refs:wctx (Results 1 – 6 of 6) sorted by relevance
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_wrp.c | 53 PROV_AES_WRAP_CTX *wctx; in aes_wrap_newctx() local 59 wctx = OPENSSL_zalloc(sizeof(*wctx)); in aes_wrap_newctx() 60 ctx = (PROV_CIPHER_CTX *)wctx; in aes_wrap_newctx() 66 return wctx; in aes_wrap_newctx() 69 static void *aes_wrap_dupctx(void *wctx) in aes_wrap_dupctx() argument 71 PROV_AES_WRAP_CTX *ctx = wctx; in aes_wrap_dupctx() 72 PROV_AES_WRAP_CTX *dctx = wctx; in aes_wrap_dupctx() 91 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_freectx() local 94 OPENSSL_clear_free(wctx, sizeof(*wctx)); in aes_wrap_freectx() 102 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_init() local [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/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/crypto/async/ |
H A D | async.c | 177 int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *wctx, int *ret, in ASYNC_start_job() argument 270 ctx->currjob->waitctx = wctx; in ASYNC_start_job()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | e_aes.c | 3565 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_init_key() local 3572 &wctx->ks.ks); in aes_wrap_init_key() 3575 &wctx->ks.ks); in aes_wrap_init_key() 3577 wctx->iv = NULL; in aes_wrap_init_key() 3583 wctx->iv = ctx->iv; in aes_wrap_init_key() 3591 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_cipher() local 3629 rv = CRYPTO_128_wrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3633 rv = CRYPTO_128_unwrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3638 rv = CRYPTO_128_wrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3641 rv = CRYPTO_128_unwrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
|
/freebsd/crypto/openssl/apps/ |
H A D | cms.c | 990 EVP_CIPHER_CTX *wctx; in cms_main() local 991 wctx = CMS_RecipientInfo_kari_get0_ctx(ri); in cms_main() 992 EVP_EncryptInit_ex(wctx, wrap_cipher, NULL, NULL, NULL); in cms_main()
|