8#ifndef BOTAN_INTERNAL_COMMONCRYPTO_H_
9#define BOTAN_INTERNAL_COMMONCRYPTO_H_
11#include <botan/pk_ops_fwd.h>
12#include <botan/secmem.h>
13#include <botan/exceptn.h>
33 Exception(what +
std::string(
" failed. Status: ") + ccryptorstatus_to_string(status)),
38 int error_code() const noexcept
override {
return m_rc; }
53std::unique_ptr<BlockCipher>
ErrorType error_type() const noexcept override
CommonCrypto_Error(const std::string &what)
int error_code() const noexcept override
CommonCrypto_Error(const std::string &what, int32_t status)
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
std::unique_ptr< HashFunction > make_commoncrypto_hash(const std::string &name)
std::unique_ptr< BlockCipher > make_commoncrypto_block_cipher(const std::string &name)
Cipher_Mode * make_commoncrypto_cipher_mode(const std::string &name, Cipher_Dir direction)