Update Cryptogams SHA headers (GH #846)

pull/853/head
Jeffrey Walton 2019-05-22 19:11:16 -04:00
parent 7eaa5837e0
commit 57b85fafce
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
4 changed files with 9 additions and 7 deletions

View File

@ -9,7 +9,9 @@
extern "C" {
#endif
void sha1_block_data_order(void *state, const void *data, size_t blocks);
/* Crypto++ modifed sha1_block_data_order to pass caps as a parameter. */
/* Also see https://github.com/weidai11/cryptopp/issues/846. */
void sha1_block_data_order(void *state, const void *data, size_t blocks, unsigned int caps);
/* Cryptogams arm caps */
#define ARMV7_NEON (1<<0)

View File

@ -9,7 +9,9 @@
extern "C" {
#endif
void sha256_block_data_order(void *state, const void *data, size_t blocks);
/* Crypto++ modifed sha256_block_data_order to pass caps as a parameter. */
/* Also see https://github.com/weidai11/cryptopp/issues/846. */
void sha256_block_data_order(void *state, const void *data, size_t blocks, unsigned int caps);
/* Cryptogams arm caps */
#define ARMV7_NEON (1<<0)

View File

@ -133,11 +133,7 @@ K512:
WORD64(0x4cc5d4be,0xcb3e42b6, 0x597f299c,0xfc657e2a)
WORD64(0x5fcb6fab,0x3ad6faec, 0x6c44198c,0x4a475817)
.size K512,.-K512
#if __ARM_MAX_ARCH__>=7
.skip 32-4
#else
.skip 32
#endif
.globl sha512_block_data_order
.type sha512_block_data_order,%function

View File

@ -9,7 +9,9 @@
extern "C" {
#endif
void sha512_block_data_order(void *state, const void *data, size_t blocks);
/* Crypto++ modifed sha256_block_data_order to pass caps as a parameter. */
/* Also see https://github.com/weidai11/cryptopp/issues/846. */
void sha512_block_data_order(void *state, const void *data, size_t blocks, unsigned int caps);
/* Cryptogams arm caps */
#define ARMV7_NEON (1<<0)