Home
last modified time | relevance | path

Searched refs:wctx (Results 1 – 4 of 4) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_aes_wrp.c53 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()
94 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_freectx() local
97 OPENSSL_clear_free(wctx, sizeof(*wctx)); in aes_wrap_freectx()
105 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_init() local
[all …]
/openssl/crypto/async/
H A Dasync.c173 int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *wctx, int *ret, in ASYNC_start_job() argument
265 ctx->currjob->waitctx = wctx; in ASYNC_start_job()
/openssl/crypto/evp/
H A De_aes.c3672 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_init_key() local
3684 AES_set_encrypt_key(key, keylen, &wctx->ks.ks); in aes_wrap_init_key()
3686 AES_set_decrypt_key(key, keylen, &wctx->ks.ks); in aes_wrap_init_key()
3688 wctx->iv = NULL; in aes_wrap_init_key()
3694 wctx->iv = ctx->iv; in aes_wrap_init_key()
3702 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_cipher() local
3740 rv = CRYPTO_128_wrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
3744 rv = CRYPTO_128_unwrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
3749 rv = CRYPTO_128_wrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
3752 rv = CRYPTO_128_unwrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
/openssl/apps/
H A Dcms.c1013 EVP_CIPHER_CTX *wctx; in cms_main() local
1014 wctx = CMS_RecipientInfo_kari_get0_ctx(ri); in cms_main()
1015 if (EVP_EncryptInit_ex(wctx, wrap_cipher, NULL, NULL, NULL) != 1) in cms_main()

Completed in 21 milliseconds