mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +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
|
|
@ -1180,12 +1180,13 @@ typedef struct NSSLowPasswordDataParamStr {
|
|||
SECItem iter;
|
||||
} NSSLowPasswordDataParam;
|
||||
|
||||
static const SEC_ASN1Template NSSLOWPasswordParamTemplate[] = {
|
||||
{ SEC_ASN1_SEQUENCE, 0, NULL, sizeof(NSSLowPasswordDataParam) },
|
||||
{ SEC_ASN1_OCTET_STRING, offsetof(NSSLowPasswordDataParam, salt) },
|
||||
{ SEC_ASN1_INTEGER, offsetof(NSSLowPasswordDataParam, iter) },
|
||||
{ 0 }
|
||||
};
|
||||
static const SEC_ASN1Template NSSLOWPasswordParamTemplate[] =
|
||||
{
|
||||
{ SEC_ASN1_SEQUENCE, 0, NULL, sizeof(NSSLowPasswordDataParam) },
|
||||
{ SEC_ASN1_OCTET_STRING, offsetof(NSSLowPasswordDataParam, salt) },
|
||||
{ SEC_ASN1_INTEGER, offsetof(NSSLowPasswordDataParam, iter) },
|
||||
{ 0 }
|
||||
};
|
||||
struct LGEncryptedDataInfoStr {
|
||||
SECAlgorithmID algorithm;
|
||||
SECItem encryptedData;
|
||||
|
|
@ -2250,12 +2251,6 @@ lg_PutMetaData(SDB *sdb, const char *id,
|
|||
return CKR_OK;
|
||||
}
|
||||
|
||||
CK_RV
|
||||
lg_DestroyMetaData(SDB *db, const char *id)
|
||||
{
|
||||
return CKR_GENERAL_ERROR; /* no extra data stored */
|
||||
}
|
||||
|
||||
CK_RV
|
||||
lg_Reset(SDB *sdb)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue