Searched refs:ctx_tmp (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/kdf/
H A Dtls1_prf.c181 EVP_MD_CTX *ctx = NULL, *ctx_tmp = NULL, *ctx_init = NULL; local
192 ctx_tmp = EVP_MD_CTX_new();
194 if (ctx == NULL || ctx_tmp == NULL || ctx_init == NULL)
215 if (olen > (size_t)chunk && !EVP_MD_CTX_copy_ex(ctx_tmp, ctx))
227 if (!EVP_DigestSignFinal(ctx_tmp, A1, &A1_len))
241 EVP_MD_CTX_free(ctx_tmp);
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dhmactest.c256 EVP_MD_CTX *ctx_tmp = NULL; local
263 || !TEST_ptr(ctx_tmp = EVP_MD_CTX_new())
264 || !TEST_true(EVP_MD_CTX_copy(ctx_tmp, ctx)))
267 ctx = ctx_tmp;
268 ctx_tmp = NULL;
275 EVP_MD_CTX_free(ctx_tmp);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/pkcs7/
H A Dpk7_doit.c651 EVP_MD_CTX *mdc, *ctx_tmp; local
666 ctx_tmp = EVP_MD_CTX_new();
667 if (ctx_tmp == NULL) {
748 if (!EVP_MD_CTX_copy_ex(ctx_tmp, mdc))
758 if (!do_pkcs7_signed_attrib(si, ctx_tmp))
768 if (!EVP_SignFinal(ctx_tmp, abuf, &abuflen, si->pkey)) {
815 EVP_MD_CTX_free(ctx_tmp);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/pkcs7/
H A Dpk7_doit.c733 EVP_MD_CTX *mdc, *ctx_tmp; local
751 ctx_tmp = EVP_MD_CTX_new();
752 if (ctx_tmp == NULL) {
833 if (!EVP_MD_CTX_copy_ex(ctx_tmp, mdc))
843 if (!do_pkcs7_signed_attrib(si, ctx_tmp))
853 if (!EVP_SignFinal_ex(ctx_tmp, abuf, &abuflen, si->pkey,
902 EVP_MD_CTX_free(ctx_tmp);

Completed in 169 milliseconds