Searched refs:wctx (Results 1 – 4 of 4) sorted by relevance
/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() 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/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()
|
/openssl/crypto/evp/ |
H A D | e_aes.c | 3686 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_init_key() local 3698 AES_set_encrypt_key(key, keylen, &wctx->ks.ks); in aes_wrap_init_key() 3700 AES_set_decrypt_key(key, keylen, &wctx->ks.ks); in aes_wrap_init_key() 3702 wctx->iv = NULL; in aes_wrap_init_key() 3708 wctx->iv = ctx->iv; in aes_wrap_init_key() 3716 EVP_AES_WRAP_CTX *wctx = EVP_C_DATA(EVP_AES_WRAP_CTX,ctx); in aes_wrap_cipher() local 3754 rv = CRYPTO_128_wrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3758 rv = CRYPTO_128_unwrap_pad(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3763 rv = CRYPTO_128_wrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher() 3766 rv = CRYPTO_128_unwrap(&wctx->ks.ks, wctx->iv, in aes_wrap_cipher()
|
/openssl/apps/ |
H A D | cms.c | 1018 EVP_CIPHER_CTX *wctx; in cms_main() local 1019 wctx = CMS_RecipientInfo_kari_get0_ctx(ri); in cms_main() 1020 EVP_EncryptInit_ex(wctx, wrap_cipher, NULL, NULL, NULL); in cms_main()
|
Completed in 45 milliseconds