X-Git-Url: https://git.cryptolib.org/avr-crypto-lib.git?a=blobdiff_plain;f=blake%2Fblake_small.c;h=cc3f6d2dd21a0579ba400c1b0946d88aa471e58e;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hp=d3559401adbe55be31f1c00e08e189d954b6da75;hpb=21bfb1fb168b3114f675f34e257b6acc557b2de8;p=avr-crypto-lib.git diff --git a/blake/blake_small.c b/blake/blake_small.c index d355940..cc3f6d2 100644 --- a/blake/blake_small.c +++ b/blake/blake_small.c @@ -33,7 +33,7 @@ #include "blake_common.h" static -uint32_t blake_c[] PROGMEM = { +const uint32_t blake_c[] PROGMEM = { 0x243F6A88, 0x85A308D3, 0x13198A2E, 0x03707344, 0xA4093822, 0x299F31D0, @@ -179,7 +179,7 @@ void blake_small_lastBlock(blake_small_ctx_t* ctx, const void* msg, uint16_t len } -uint32_t blake256_iv[] PROGMEM = { +const uint32_t blake256_iv[] PROGMEM = { 0x6A09E667L, 0xBB67AE85, 0x3C6EF372L, 0xA54FF53A, 0x510E527FL, 0x9B05688C, @@ -196,7 +196,7 @@ void blake256_init(blake256_ctx_t* ctx){ ctx->appendone = 1; } -uint32_t blake224_iv[] PROGMEM = { +const uint32_t blake224_iv[] PROGMEM = { 0xC1059ED8, 0x367CD507, 0x3070DD17, 0xF70E5939, 0xFFC00B31, 0x68581511,