diff options
Diffstat (limited to 'src/crypto/sha256_arm_shani.cpp')
-rw-r--r-- | src/crypto/sha256_arm_shani.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/crypto/sha256_arm_shani.cpp b/src/crypto/sha256_arm_shani.cpp new file mode 100644 index 0000000000..92b1d0e299 --- /dev/null +++ b/src/crypto/sha256_arm_shani.cpp @@ -0,0 +1,22 @@ +// Copyright (c) 2022 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// +// Based on https://github.com/noloader/SHA-Intrinsics/blob/master/sha256-arm.c, +// Written and placed in public domain by Jeffrey Walton. +// Based on code from ARM, and by Johannes Schneiders, Skip Hovsmith and +// Barry O'Rourke for the mbedTLS project. + +#ifdef ENABLE_ARM_SHANI + +#include <cstdint> +#include <cstddef> + +namespace sha256_arm_shani { +void Transform(uint32_t* s, const unsigned char* chunk, size_t blocks) +{ + +} +} + +#endif |