Permalink
Browse files

Add optimized ARM NEON code for scrypt and SHA-256d

  • Loading branch information...
pooler committed Aug 4, 2012
1 parent 4fd1ef6 commit 3419ca26076dbac16752c721a680c3ec950482bd
Showing with 1,593 additions and 5 deletions.
  1. +1 −1 miner.h
  2. +595 −2 scrypt-arm.S
  3. +44 −2 scrypt.c
  4. +953 −0 sha2-arm.S
View
@@ -124,7 +124,7 @@ static inline void le32enc(void *pp, uint32_t x)
void sha256_init(uint32_t *state);
void sha256_transform(uint32_t *state, const uint32_t *block, int swap);
#if defined(__i386__) || defined(__x86_64__)
#if defined(__ARM_NEON__) || defined(__i386__) || defined(__x86_64__)
#define HAVE_SHA256_4WAY 1
int sha256_use_4way();
void sha256_init_4way(uint32_t *state);
Oops, something went wrong.

0 comments on commit 3419ca2

Please sign in to comment.