Home
last modified time | relevance | path

Searched refs:cipherctx (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dthreadstest.c312 EVP_CIPHER_CTX *cipherctx = EVP_CIPHER_CTX_new(); in thread_general_worker() local
336 || !TEST_ptr(cipherctx) in thread_general_worker()
348 if (!TEST_true(EVP_EncryptInit_ex(cipherctx, ciph, NULL, key, iv)) in thread_general_worker()
349 || !TEST_true(EVP_EncryptUpdate(cipherctx, out, &ciphoutl, in thread_general_worker()
352 || !TEST_true(EVP_EncryptFinal(cipherctx, out, &ciphoutl))) in thread_general_worker()
369 EVP_CIPHER_CTX_free(cipherctx); in thread_general_worker()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/macs/
H A Dcmac_prov.c102 const EVP_CIPHER_CTX *cipherctx = CMAC_CTX_get0_cipher_ctx(macctx->ctx); in cmac_size() local
104 if (EVP_CIPHER_CTX_get0_cipher(cipherctx) == NULL) in cmac_size()
107 return EVP_CIPHER_CTX_get_block_size(cipherctx); in cmac_size()