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:
feb11
Date:
2013-09-14
Revision:
7:2dbbdfb08123
Parent:
HashAlgorithm.h@ 6:19aa835f2bbb

File content as of revision 7:2dbbdfb08123:

#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