diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2016-11-23 14:42:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 14:42:18 +0100 |
commit | cc19f9d7fb09e2c62bec5b42ab5308caae73b96e (patch) | |
tree | 2267c704d0e2769449fa845d8f7c0665bf0e0a0d /target/linux/generic/files/crypto/ocf/safe/hmachack.h | |
parent | ec215748f91cdae64e7de9c939fe9ef22c5e4a4c (diff) | |
parent | f8909d81c42a0d06d1089f4a071e0015c98dd081 (diff) | |
download | master-187ad058-cc19f9d7fb09e2c62bec5b42ab5308caae73b96e.tar.gz master-187ad058-cc19f9d7fb09e2c62bec5b42ab5308caae73b96e.tar.bz2 master-187ad058-cc19f9d7fb09e2c62bec5b42ab5308caae73b96e.zip |
Merge pull request #195 from seragh/owrt-openssl-cryptodev-linux
openssl: use cryptodev-linux instead of ocf
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 */ - |