+fixed some sha256 C stuff (more bugs are to search)
This commit is contained in:
parent
083d7d2a13
commit
dcaea6ca89
2
sha256.c
2
sha256.c
|
@ -164,7 +164,6 @@ void sha256(sha256_hash_t *dest, void* msg, uint32_t length){ /* length could be
|
|||
|
||||
|
||||
|
||||
#ifdef sha256_ctx2hash_in_C
|
||||
void sha256_ctx2hash(sha256_hash_t *dest, sha256_ctx_t *state){
|
||||
#if defined LITTLE_ENDIAN
|
||||
uint8_t i;
|
||||
|
@ -178,6 +177,5 @@ void sha256_ctx2hash(sha256_hash_t *dest, sha256_ctx_t *state){
|
|||
# error unsupported endian type!
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue