diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-12 18:38:51 +0200 |
---|---|---|
committer | Ralph Sennhauser <ralph.sennhauser@gmail.com> | 2016-11-04 21:42:59 +0100 |
commit | fc1cd99cfeb396cc9bf03c228a4e66446c526abe (patch) | |
tree | 233705c955a15f94823e9c25a09e0870915284b3 /target/linux/generic/files/crypto/ocf/safe/hmachack.h | |
parent | 2f80e9df819ef5100aa0149b43522de060c2bada (diff) | |
download | master-187ad058-fc1cd99cfeb396cc9bf03c228a4e66446c526abe.tar.gz master-187ad058-fc1cd99cfeb396cc9bf03c228a4e66446c526abe.tar.bz2 master-187ad058-fc1cd99cfeb396cc9bf03c228a4e66446c526abe.zip |
kernel: remove ocf support, cryptodev-linux should be used instead
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Diffstat (limited to 'target/linux/generic/files/crypto/ocf/safe/hmachack.h')
-rw-r--r-- | target/linux/generic/files/crypto/ocf/safe/hmachack.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/target/linux/generic/files/crypto/ocf/safe/hmachack.h b/target/linux/generic/files/crypto/ocf/safe/hmachack.h deleted file mode 100644 index 598c958560..0000000000 --- a/target/linux/generic/files/crypto/ocf/safe/hmachack.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * until we find a cleaner way, include the BSD md5/sha1 code - * here - */ -#ifdef HMAC_HACK -#define LITTLE_ENDIAN 1234 -#define BIG_ENDIAN 4321 -#ifdef __LITTLE_ENDIAN -#define BYTE_ORDER LITTLE_ENDIAN -#endif -#ifdef __BIG_ENDIAN -#define BYTE_ORDER BIG_ENDIAN -#endif - -u_int8_t hmac_ipad_buffer[64] = { - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36 -}; - -u_int8_t hmac_opad_buffer[64] = { - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, - 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C, 0x5C -}; -#endif /* HMAC_HACK */ - |