Searched refs:wctx (Results 1 – 4 of 4) sorted by relevance
/openssl-master/providers/implementations/ciphers/ |
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() 71 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_freectx() local 74 OPENSSL_clear_free(wctx, sizeof(*wctx)); in aes_wrap_freectx() 82 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_init() local 118 AES_set_encrypt_key(key, keylen * 8, &wctx->ks.ks); in aes_wrap_init() 121 AES_set_decrypt_key(key, keylen * 8, &wctx->ks.ks); in aes_wrap_init() 146 PROV_AES_WRAP_CTX *wctx = (PROV_AES_WRAP_CTX *)vctx; in aes_wrap_cipher_internal() local [all …]
|
/openssl-master/crypto/async/ |
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()
|
/openssl-master/crypto/evp/ |
A D | e_aes.c | 3571 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_init_key() local 3578 &wctx->ks.ks); in aes_wrap_init_key() 3581 &wctx->ks.ks); in aes_wrap_init_key() 3583 wctx->iv = NULL; in aes_wrap_init_key() 3589 wctx->iv = ctx->iv; in aes_wrap_init_key() 3597 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_cipher() local 3635 rv = CRYPTO_128_wrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3639 rv = CRYPTO_128_unwrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3644 rv = CRYPTO_128_wrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3647 rv = CRYPTO_128_unwrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
|
/openssl-master/apps/ |
A D | cms.c | 991 EVP_CIPHER_CTX *wctx; in cms_main() local 992 wctx = CMS_RecipientInfo_kari_get0_ctx(ri); in cms_main() 993 EVP_EncryptInit_ex(wctx, wrap_cipher, NULL, NULL, NULL); in cms_main()
|
Completed in 17 milliseconds