mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07: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
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#ifndef _KEYI_H_
|
||||
#define _KEYI_H_
|
||||
#include "secerr.h"
|
||||
|
||||
SEC_BEGIN_PROTOS
|
||||
/* NSS private functions */
|
||||
|
|
@ -18,9 +17,6 @@ KeyType seckey_GetKeyType(SECOidTag pubKeyOid);
|
|||
SECStatus sec_DecodeSigAlg(const SECKEYPublicKey *key, SECOidTag sigAlg,
|
||||
const SECItem *param, SECOidTag *encalg, SECOidTag *hashalg);
|
||||
|
||||
/* just get the 'encryption' oid from the combined signature oid */
|
||||
SECOidTag sec_GetEncAlgFromSigAlg(SECOidTag sigAlg);
|
||||
|
||||
/* extract the RSA-PSS hash algorithms and salt length from
|
||||
* parameters, taking into account of the default implications.
|
||||
*
|
||||
|
|
@ -37,9 +33,6 @@ SECStatus sec_DecodeRSAPSSParamsToMechanism(PLArenaPool *arena,
|
|||
const SECItem *params,
|
||||
CK_RSA_PKCS_PSS_PARAMS *mech);
|
||||
|
||||
/* make sure the key length matches the policy for keyType */
|
||||
SECStatus seckey_EnforceKeySize(KeyType keyType, unsigned keyLength,
|
||||
SECErrorCodes error);
|
||||
SEC_END_PROTOS
|
||||
|
||||
#endif /* _KEYHI_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue