evp.h 283 B

12345678910111213
  1. #pragma once
  2. #include "holder.h"
  3. #include <openssl/evp.h>
  4. namespace NOpenSSL {
  5. class TEvpCipherCtx : public THolder<EVP_CIPHER_CTX, EVP_CIPHER_CTX_new, EVP_CIPHER_CTX_free> {
  6. };
  7. class TEvpMdCtx : public THolder<EVP_MD_CTX, EVP_MD_CTX_new, EVP_MD_CTX_free> {
  8. };
  9. }