re-introduce old nss im too tired for this

This commit is contained in:
wuggy 2026-06-30 06:37:32 +01:00
commit 3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions

View file

@ -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_ */