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

@ -8,19 +8,7 @@
#define SGN_SUFFIX ".chk"
#define NSS_SIGN_CHK_MAGIC1 0xf1
#define NSS_SIGN_CHK_MAGIC2 0xc5
/* new hmac based signatures */
#define NSS_SIGN_CHK_MAJOR_VERSION 0x02
#define NSS_SIGN_CHK_MINOR_VERSION 0x01
#define NSS_SIGN_CHK_TYPE_FLAGS 0xff000000
#define NSS_SIGN_CHK_FLAG_HMAC 0x80000000
#define NSS_SIGN_CHK_MAJOR_VERSION 0x01
#define NSS_SIGN_CHK_MINOR_VERSION 0x02
typedef struct NSSSignChkHeaderStr NSSSignChkHeader;
struct NSSSignChkHeaderStr {
unsigned char magic1;
unsigned char magic2;
unsigned char majorVersion;
unsigned char minorVersion;
unsigned char offset[4];
unsigned char type[4];
};
#endif /* _SHSIGN_H_ */