diff options
Diffstat (limited to 'sha1_armv4.h')
-rw-r--r-- | sha1_armv4.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sha1_armv4.h b/sha1_armv4.h new file mode 100644 index 00000000..14e3e051 --- /dev/null +++ b/sha1_armv4.h @@ -0,0 +1,21 @@ +/* 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_SHA1_ARMV4_H
+#define CRYPTOGAMS_SHA1_ARMV4_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void sha1_block_data_order(void *state, const void *data, size_t blocks);
+
+/* Cryptogams arm caps */
+#define ARMV7_NEON (1<<0)
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* CRYPTOGAMS_SHA1_ARMV4_H */
|