andre@0: ; Copyright (c) 2012 The Chromium Authors. All rights reserved. andre@0: ; Use of this source code is governed by a BSD-style license that can be andre@0: ; found in the LICENSE file. andre@0: andre@0: LIBRARY CRNSS andre@0: EXPORTS andre@0: andre@0: __PK11_CreateContextByRawKey andre@0: AES_Decrypt andre@0: AES_DestroyContext andre@0: AES_Encrypt andre@0: AES_InitContext andre@0: ATOB_AsciiToData_Util andre@0: BL_Unload andre@0: BTOA_DataToAscii_Util andre@0: Camellia_Decrypt andre@0: Camellia_DestroyContext andre@0: Camellia_Encrypt andre@0: Camellia_InitContext andre@0: CERT_AddCertToListTail andre@0: CERT_AddExtension andre@0: CERT_AsciiToName andre@0: CERT_CacheOCSPResponseFromSideChannel andre@0: CERT_CertChainFromCert andre@0: CERT_CertTimesValid andre@0: CERT_CompareName andre@0: CERT_CheckCertValidTimes andre@0: CERT_CreateCertificate andre@0: CERT_CreateCertificateRequest andre@0: CERT_CreateValidity andre@0: CERT_DestroyCertificate andre@0: CERT_DestroyCertificateList andre@0: CERT_DestroyCertificateRequest andre@0: CERT_DestroyCertList andre@0: CERT_DestroyName andre@0: CERT_DestroyValidity andre@0: CERT_DistNamesFromCertList andre@0: CERT_DupCertificate andre@0: CERT_DupCertList andre@0: CERT_DupDistNames andre@0: CERT_ExtractPublicKey andre@0: CERT_FindCertByName andre@0: CERT_FindCertExtension andre@0: CERT_FinishExtensions andre@0: CERT_FreeDistNames andre@0: CERT_FreeNicknames andre@0: CERT_FindUserCertByUsage andre@0: CERT_GetCertKeyType andre@0: CERT_GetCertNicknames andre@0: CERT_GetCommonName andre@0: CERT_GetDefaultCertDB andre@0: CERT_GetSSLCACerts andre@0: CERT_NameToAscii andre@0: CERT_NewCertList andre@0: CERT_NewTempCertificate andre@0: CERT_StartCertExtensions andre@0: CERT_VerifyCert andre@0: CERT_VerifyCertName andre@0: CERT_VerifyCertNow andre@0: CERT_VerifySignedDataWithPublicKey andre@0: DER_Lengths_Util andre@0: DES_Decrypt andre@0: DES_DestroyContext andre@0: DES_Encrypt andre@0: DES_InitContext andre@0: DSAU_DecodeDerSig andre@0: DSAU_DecodeDerSigToLen andre@0: DSAU_EncodeDerSigWithLen andre@0: HASH_Begin andre@0: HASH_Clone andre@0: HASH_Create andre@0: HASH_Destroy andre@0: HASH_End andre@0: HASH_GetHashObject andre@0: HASH_GetHashObjectByOidTag andre@0: HASH_GetHashTypeByOidTag andre@0: HASH_GetRawHashObject andre@0: HASH_GetType andre@0: HASH_HashBuf andre@0: HASH_ResultLen andre@0: HASH_ResultLenByOidTag andre@0: HASH_ResultLenContext andre@0: HASH_Update andre@0: HMAC_Begin andre@0: HMAC_Destroy andre@0: HMAC_Finish andre@0: HMAC_Init andre@0: HMAC_Update andre@0: MD5_Begin andre@0: MD5_Clone andre@0: MD5_DestroyContext andre@0: MD5_End andre@0: MD5_HashBuf andre@0: MD5_NewContext andre@0: MD5_Update andre@0: NSSRWLock_Destroy_Util andre@0: NSSRWLock_HaveWriteLock_Util andre@0: NSSRWLock_LockRead_Util andre@0: NSSRWLock_LockWrite_Util andre@0: NSSRWLock_New_Util andre@0: NSSRWLock_UnlockRead_Util andre@0: NSSRWLock_UnlockWrite_Util andre@0: NSS_Get_CERT_CertificateTemplate andre@0: NSS_Get_CERT_SequenceOfCertExtensionTemplate andre@0: NSS_Get_CERT_SignedDataTemplate andre@0: NSS_Get_SECKEY_EncryptedPrivateKeyInfoTemplate andre@0: NSS_Get_SECKEY_PrivateKeyInfoTemplate andre@0: NSS_Get_SECOID_AlgorithmIDTemplate_Util andre@0: NSS_Get_SEC_GeneralizedTimeTemplate_Util andre@0: NSS_Get_SEC_IA5StringTemplate_Util andre@0: NSS_Get_SEC_IntegerTemplate_Util andre@0: NSS_Get_SEC_OctetStringTemplate_Util andre@0: NSS_IsInitialized andre@0: NSS_NoDB_Init andre@0: NSS_PutEnv_Util andre@0: NSS_RegisterShutdown andre@0: NSS_SecureMemcmp andre@0: NSS_SetAlgorithmPolicy andre@0: NSS_VersionCheck andre@0: PK11_CipherOp andre@0: PK11_CopyTokenPrivKeyToSessionPrivKey andre@0: PK11_CreateContextBySymKey andre@0: PK11_CreateDigestContext andre@0: PK11_CreateGenericObject andre@0: PK11_CreatePBEV2AlgorithmID andre@0: PK11_Decrypt andre@0: PK11_Derive andre@0: PK11_DeriveWithFlags andre@0: PK11_DestroyContext andre@0: PK11_DestroyGenericObject andre@0: PK11_DigestBegin andre@0: PK11_DigestFinal andre@0: PK11_DigestKey andre@0: PK11_DigestOp andre@0: PK11_DoesMechanism andre@0: PK11_Encrypt andre@0: PK11_ExportDERPrivateKeyInfo andre@0: PK11_ExportEncryptedPrivKeyInfo andre@0: PK11_ExtractKeyValue andre@0: PK11_Finalize andre@0: PK11_FindKeyByAnyCert andre@0: PK11_FindKeyByKeyID andre@0: PK11_FreeSlot andre@0: PK11_FreeSymKey andre@0: PK11_GenerateKeyPair andre@0: PK11_GenerateKeyPairWithOpFlags andre@0: PK11_GenerateRandom andre@0: PK11_GetBestKeyLength andre@0: PK11_GetBestSlot andre@0: PK11_GetBestSlotMultiple andre@0: PK11_GetBestWrapMechanism andre@0: PK11_GetCurrentWrapIndex andre@0: PK11_GetInternalKeySlot andre@0: PK11_GetInternalSlot andre@0: PK11_GetKeyData andre@0: PK11_GetKeyLength andre@0: PK11_GetMechanism andre@0: PK11_GetModuleID andre@0: PK11_GetPadMechanism andre@0: PK11_GetPBECryptoMechanism andre@0: PK11_GetPrivateModulusLen andre@0: PK11_GetSlotFromKey andre@0: PK11_GetSlotFromPrivateKey andre@0: PK11_GetSlotID andre@0: PK11_GetSlotSeries andre@0: PK11_GetWrapKey andre@0: PK11_HashBuf andre@0: PK11_ImportDERPrivateKeyInfoAndReturnKey andre@0: PK11_ImportSymKey andre@0: PK11_ImportSymKeyWithFlags andre@0: PK11_IsLoggedIn andre@0: PK11_IsPresent andre@0: PK11_IVFromParam andre@0: PK11_KeyGen andre@0: PK11_MakeIDFromPubKey andre@0: PK11_MapSignKeyType andre@0: PK11_NeedLogin andre@0: PK11_ParamFromIV andre@0: PK11_PBEKeyGen andre@0: PK11_PrivDecrypt andre@0: PK11_PrivDecryptPKCS1 andre@0: PK11_PubDecryptRaw andre@0: PK11_PubDerive andre@0: PK11_PubDeriveWithKDF andre@0: PK11_PubEncrypt andre@0: PK11_PubEncryptRaw andre@0: PK11_PubEncryptPKCS1 andre@0: PK11_PubUnwrapSymKey andre@0: PK11_PubUnwrapSymKeyWithFlagsPerm andre@0: PK11_PubWrapSymKey andre@0: PK11_ReadRawAttribute andre@0: PK11_ReferenceSlot andre@0: PK11_ReferenceSymKey andre@0: PK11_RestoreContext andre@0: PK11_SaveContextAlloc andre@0: PK11_SetWrapKey andre@0: PK11_Sign andre@0: PK11_SignatureLen andre@0: PK11_SignWithSymKey andre@0: PK11_SymKeyFromHandle andre@0: PK11_TokenExists andre@0: PK11_UnwrapPrivKey andre@0: PK11_UnwrapSymKey andre@0: PK11_UnwrapSymKeyWithFlags andre@0: PK11_Verify andre@0: PK11_VerifyKeyOK andre@0: PK11_WrapSymKey andre@0: PORT_Alloc_Util andre@0: PORT_ArenaAlloc_Util andre@0: PORT_ArenaZAlloc_Util andre@0: PORT_FreeArena_Util andre@0: PORT_Free_Util andre@0: PORT_GetError_Util andre@0: PORT_NewArena_Util andre@0: PORT_Realloc_Util andre@0: PORT_SetError_Util andre@0: PORT_Strdup_Util andre@0: PORT_ZAlloc_Util andre@0: PORT_ZFree_Util andre@0: PR_ImplodeTime andre@0: RC2_Decrypt andre@0: RC2_DestroyContext andre@0: RC2_Encrypt andre@0: RC2_InitContext andre@0: RC4_Decrypt andre@0: RC4_DestroyContext andre@0: RC4_Encrypt andre@0: RC4_InitContext andre@0: SECITEM_AllocArray andre@0: SECITEM_AllocItem_Util andre@0: SECITEM_CompareItem_Util andre@0: SECITEM_CopyItem_Util andre@0: SECITEM_DupArray andre@0: SECITEM_DupItem_Util andre@0: SECITEM_FreeArray andre@0: SECITEM_FreeItem_Util andre@0: SECITEM_Hash andre@0: SECITEM_ItemsAreEqual_Util andre@0: SECITEM_ZfreeItem_Util andre@0: SECKEY_CacheStaticFlags andre@0: SECKEY_ConvertToPublicKey andre@0: SECKEY_CopyPrivateKey andre@0: SECKEY_CopyPublicKey andre@0: SECKEY_CreateDHPrivateKey andre@0: SECKEY_CreateECPrivateKey andre@0: SECKEY_CreateRSAPrivateKey andre@0: SECKEY_CreateSubjectPublicKeyInfo andre@0: SECKEY_DecodeDERSubjectPublicKeyInfo andre@0: SECKEY_DestroyEncryptedPrivateKeyInfo andre@0: SECKEY_DestroyPrivateKey andre@0: SECKEY_DestroyPublicKey andre@0: SECKEY_DestroySubjectPublicKeyInfo andre@0: SECKEY_EncodeDERSubjectPublicKeyInfo andre@0: SECKEY_ExtractPublicKey andre@0: SECKEY_GetPrivateKeyType andre@0: SECKEY_GetPublicKeyType andre@0: SECKEY_ImportDERPublicKey andre@0: SECKEY_PublicKeyStrength andre@0: SECKEY_PublicKeyStrengthInBits andre@0: SECKEY_SignatureLen andre@0: SECKEY_UpdateCertPQG andre@0: SECMOD_LookupSlot andre@0: SECOID_AddEntry_Util andre@0: SECOID_DestroyAlgorithmID_Util andre@0: SECOID_FindOIDByTag_Util andre@0: SECOID_FindOIDTag_Util andre@0: SECOID_FindOID_Util andre@0: SECOID_GetAlgorithmTag_Util andre@0: SECOID_SetAlgorithmID_Util andre@0: SEC_ASN1DecodeItem_Util andre@0: SEC_ASN1EncodeInteger_Util andre@0: SEC_ASN1EncodeItem_Util andre@0: SEC_DerSignData andre@0: SEC_GetSignatureAlgorithmOidTag andre@0: SEC_QuickDERDecodeItem_Util andre@0: SEC_SignData andre@0: SEC_StringToOID andre@0: SEED_Decrypt andre@0: SEED_DestroyContext andre@0: SEED_Encrypt andre@0: SEED_InitContext andre@0: SGN_Begin andre@0: SGN_DestroyContext andre@0: SGN_Digest andre@0: SGN_End andre@0: SGN_NewContext andre@0: SGN_Update andre@0: SHA1_Begin andre@0: SHA1_Clone andre@0: SHA1_DestroyContext andre@0: SHA1_End andre@0: SHA1_HashBuf andre@0: SHA1_NewContext andre@0: SHA1_Update andre@0: SHA256_HashBuf andre@0: TLS_PRF andre@0: VFY_Begin andre@0: VFY_CreateContext andre@0: VFY_CreateContextWithAlgorithmID andre@0: VFY_DestroyContext andre@0: VFY_End andre@0: VFY_Update andre@0: VFY_VerifyDataDirect andre@0: VFY_VerifyDigestDirect