#include "hashfunction_descriptor.h"
#include "sha256.h"
-const char sha256_str[] PROGMEM = "SHA-256";
+static const char sha256_str[] PROGMEM = "SHA-256";
const hfdesc_t sha256_desc PROGMEM = {
HFDESC_TYPE_HASHFUNCTION,
(hf_lastBlock_fpt)sha256_lastBlock,
(hf_ctx2hash_fpt)sha256_ctx2hash,
(hf_free_fpt)NULL,
- (hf_mem_fpt)NULL
+ (hf_mem_fpt)sha256
};