33 #include "dcmtk/config/osconfig.h" 34 #include "dcmtk/dcmsign/simac.h" 35 #include "dcmtk/dcmsign/sitypes.h" 39 struct RIPEMD160state_st;
40 typedef struct RIPEMD160state_st RIPEMD160_CTX;
78 virtual unsigned long getSize()
const;
83 virtual E_MACType
macType()
const;
virtual OFCondition digest(const unsigned char *data, unsigned long length)
feeds data into the MAC algorithm
a class implementing the hash function RIPEMD160
virtual E_MACType macType() const
returns the type of MAC algorithm computed by this object
virtual OFCondition initialize()
initializes the MAC algorithm.
SiRIPEMD160()
default constructor
virtual const char * getDefinedTerm() const
returns the DICOM identifier for this MAC algorithm
SiRIPEMD160 & operator=(SiRIPEMD160 &arg)
private undefined copy assignment operator
RIPEMD160_CTX * ctx
OpenSSL RIPEMD 160 context.
a base class for all classes that implement hash functions.
virtual ~SiRIPEMD160()
destructor
virtual unsigned long getSize() const
returns the size of a MAC in bytes.
General purpose class for condition codes.
virtual OFCondition finalize(unsigned char *result)
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...