X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=md5_sbox.h;h=597b3db412adae35e9895dce99665a314b3e9e9b;hb=c239a90de4f9ea98d7c0f5962d200c1a6a6033d1;hp=6f5f7f21319a835d5246466c7eef4fe0f0ccc107;hpb=d76de75d0571bc4453c262ea529692a735441372;p=avr-crypto-lib.git
diff --git a/md5_sbox.h b/md5_sbox.h
index 6f5f7f2..597b3db 100644
--- a/md5_sbox.h
+++ b/md5_sbox.h
@@ -1,7 +1,28 @@
+/* md5_sbox.h */
+/*
+ This file is part of the AVR-Crypto-Lib.
+ Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
#ifndef MD5_SBOX_H_
#define MD5_SBOX_H_
-uint32_t md5_T[]={
+#include
+#include
+
+uint32_t md5_T[] PROGMEM = {
0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf,
0x4787c62a, 0xa8304613, 0xfd469501, 0x698098d8, 0x8b44f7af,
0xffff5bb1, 0x895cd7be, 0x6b901122, 0xfd987193, 0xa679438e,
@@ -14,6 +35,6 @@ uint32_t md5_T[]={
0xe6db99e5, 0x1fa27cf8, 0xc4ac5665, 0xf4292244, 0x432aff97,
0xab9423a7, 0xfc93a039, 0x655b59c3, 0x8f0ccc92, 0xffeff47d,
0x85845dd1, 0x6fa87e4f, 0xfe2ce6e0, 0xa3014314, 0x4e0811a1,
- 0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391};
+ 0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391 };
#endif /*MD5_SBOX_H_*/