Fork of François Berder Crypto, fixed AES CBC and small rework

Dependents:   AES_example shaun_larada Smartage

Fork of Crypto by Francois Berder

hash/HashAlgorithm.h

Committer:
Geremia
Date:
2015-01-28
Revision:
16:4399e2e6260b
Parent:
7:2dbbdfb08123

File content as of revision 16:4399e2e6260b:

#ifndef HASH_ALGORITHM_H
#define HASH_ALGORITHM_H

#include <stdint.h>

class HashAlgorithm
{
    public :
    
        virtual ~HashAlgorithm();
        
        virtual uint8_t outputSize() const = 0;
        virtual void update(uint8_t *data, uint32_t length) = 0;
        virtual void finalize(uint8_t *hash) = 0;
};

#endif