summaryrefslogtreecommitdiff
path: root/sha256_armv4.h
blob: a577b5b0959e3a38d42952e9c9c3a615d143007f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Header file for use with Cryptogam's ARMv4 SHA1.    */
/* Also see http://www.openssl.org/~appro/cryptogams/  */
/* https://wiki.openssl.org/index.php/Cryptogams_SHA.  */

#ifndef CRYPTOGAMS_SHA256_ARMV4_H
#define CRYPTOGAMS_SHA256_ARMV4_H

#ifdef __cplusplus
extern "C" {
#endif

/* Crypto++ modified cryptogams_sha256_block_data_order to pass caps as a parameter. */
/* Also see https://github.com/weidai11/cryptopp/issues/846.             */
void cryptogams_sha256_block_data_order(void *state, const void *data, size_t blocks);

/* Cryptogams arm caps */
#define CRYPTOGAMS_ARMV7_NEON (1<<0)

#ifdef __cplusplus
}
#endif

#endif  /* CRYPTOGAMS_SHA256_ARMV4_H */