mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions
|
|
@ -7,12 +7,6 @@
|
|||
|
||||
#include "prtypes.h"
|
||||
|
||||
struct SHA256ContextStr;
|
||||
|
||||
typedef void (*sha256_compress_t)(struct SHA256ContextStr *);
|
||||
typedef void (*sha256_update_t)(struct SHA256ContextStr *, const unsigned char *,
|
||||
unsigned int);
|
||||
|
||||
struct SHA256ContextStr {
|
||||
union {
|
||||
PRUint32 w[64]; /* message schedule, input buffer, plus 48 words */
|
||||
|
|
@ -20,8 +14,6 @@ struct SHA256ContextStr {
|
|||
} u;
|
||||
PRUint32 h[8]; /* 8 state variables */
|
||||
PRUint32 sizeHi, sizeLo; /* 64-bit count of hashed bytes. */
|
||||
sha256_compress_t compress;
|
||||
sha256_update_t update;
|
||||
};
|
||||
|
||||
#endif /* _SHA_256_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue