mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
* Added named unions in SHA256 code for compilers that don't support it.
* Some other porting suggestions from Chris Ghormley. git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@248 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
@ -151,12 +151,12 @@ typedef struct
|
||||
{
|
||||
uint64_t h[8];
|
||||
uint8_t digest[64];
|
||||
};
|
||||
} h_dig;
|
||||
union
|
||||
{
|
||||
uint64_t w[80];
|
||||
uint8_t buffer[128];
|
||||
};
|
||||
} w_buf;
|
||||
size_t size;
|
||||
uint64_t totalSize;
|
||||
} SHA512_CTX;
|
||||
|
Reference in New Issue
Block a user