Home
last modified time | relevance | path

Searched refs:p12ecx (Results 1 – 16 of 16) sorted by relevance

/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/pkcs12/
H A Dp12e.c1772 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1776 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1811 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1832 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1844 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1860 if (!p12ecx) { in sec_Pkcs12FinishMac()
1891 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1898 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1910 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2067 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/lib/pkcs12/
H A Dp12e.c1772 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1776 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1811 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1832 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1844 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1860 if (!p12ecx) { in sec_Pkcs12FinishMac()
1891 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1898 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1910 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2067 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/www/firefox/firefox-99.0/security/nss/lib/pkcs12/
H A Dp12e.c1772 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1776 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1811 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1832 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1844 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1860 if (!p12ecx) { in sec_Pkcs12FinishMac()
1891 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1898 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1910 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2067 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/pkcs12/
H A Dp12e.c1755 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1759 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1794 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1815 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1827 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1842 if (!p12ecx) { in sec_Pkcs12FinishMac()
1878 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1885 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1900 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2056 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/pkcs12/
H A Dp12e.c1746 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1750 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1785 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1806 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1818 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1833 if (!p12ecx) { in sec_Pkcs12FinishMac()
1869 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1876 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1891 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2047 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/security/nss/nss-3.76.1/nss/lib/pkcs12/
H A Dp12e.c1772 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1776 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1811 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1832 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1844 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1860 if (!p12ecx) { in sec_Pkcs12FinishMac()
1891 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1898 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1910 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2067 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/pkcs12/
H A Dp12e.c1772 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1776 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1811 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1832 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1844 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1860 if (!p12ecx) { in sec_Pkcs12FinishMac()
1891 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1898 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1910 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2067 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/pkcs12/
H A Dp12e.c1758 if (p12ecx->currentSafe < p12ecx->p12exp->authSafe.safeCount) { in sec_pkcs12_encoder_asafe_process()
1762 safeInfo = p12ecx->p12exp->safeInfos[p12ecx->currentSafe]; in sec_pkcs12_encoder_asafe_process()
1797 p12ecx->innerBuf.bufBytes = sizeof p12ecx->innerBuf.buf; in sec_pkcs12_encoder_asafe_process()
1818 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1830 memset(&p12ecx->innerBuf, 0, sizeof p12ecx->innerBuf); in sec_pkcs12_encoder_asafe_process()
1845 if (!p12ecx) { in sec_Pkcs12FinishMac()
1881 rv = SGN_CopyDigestInfo(p12ecx->arena, &p12ecx->mac.safeMac, di); in sec_Pkcs12FinishMac()
1888 dummy = SEC_ASN1EncodeItem(p12ecx->arena, &p12ecx->pfx.encodedMacData, in sec_Pkcs12FinishMac()
1903 p12ecx->hmacCx = NULL; in sec_Pkcs12FinishMac()
2059 if (!p12ecx) { in SEC_PKCS12DestroyExportContext()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/cmd/pk12util/
H A Dpk12util.c575 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
633 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
634 if (!p12ecx) { in P12U_ExportPKCS12Object()
640 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, SEC_OID_SHA1) != in P12U_ExportPKCS12Object()
657 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
662 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
671 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
683 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
693 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
698 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/cmd/pk12util/
H A Dpk12util.c631 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
685 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
686 if (!p12ecx) { in P12U_ExportPKCS12Object()
692 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, SEC_OID_SHA1) != in P12U_ExportPKCS12Object()
709 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
714 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
723 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
735 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
745 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
750 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/cmd/pk12util/
H A Dpk12util.c631 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
686 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
687 if (!p12ecx) { in P12U_ExportPKCS12Object()
693 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, SEC_OID_SHA1) != in P12U_ExportPKCS12Object()
710 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
715 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
724 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
736 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
746 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
751 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/cmd/pk12util/
H A Dpk12util.c632 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
687 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
688 if (!p12ecx) { in P12U_ExportPKCS12Object()
694 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, hash) != in P12U_ExportPKCS12Object()
711 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
716 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
725 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
737 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
747 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
752 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
/dports/security/nss/nss-3.76.1/nss/cmd/pk12util/
H A Dpk12util.c632 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
687 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
688 if (!p12ecx) { in P12U_ExportPKCS12Object()
694 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, hash) != in P12U_ExportPKCS12Object()
711 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
716 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
725 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
737 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
747 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
752 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
/dports/www/firefox/firefox-99.0/security/nss/cmd/pk12util/
H A Dpk12util.c632 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
687 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
688 if (!p12ecx) { in P12U_ExportPKCS12Object()
694 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, hash) != in P12U_ExportPKCS12Object()
711 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
716 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
725 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
737 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
747 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
752 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
/dports/security/ca_root_nss/nss-3.71/nss/cmd/pk12util/
H A Dpk12util.c632 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
687 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
688 if (!p12ecx) { in P12U_ExportPKCS12Object()
694 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, hash) != in P12U_ExportPKCS12Object()
711 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
716 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
725 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
737 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
747 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
752 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/cmd/pk12util/
H A Dpk12util.c632 SEC_PKCS12ExportContext *p12ecx = NULL; in P12U_ExportPKCS12Object() local
687 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, slotPw); in P12U_ExportPKCS12Object()
688 if (!p12ecx) { in P12U_ExportPKCS12Object()
694 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, pwitem, hash) != in P12U_ExportPKCS12Object()
711 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in P12U_ExportPKCS12Object()
716 SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, certCipher); in P12U_ExportPKCS12Object()
725 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in P12U_ExportPKCS12Object()
737 if (SEC_PKCS12Encode(p12ecx, p12u_WriteToExportFile, p12cxt) != in P12U_ExportPKCS12Object()
747 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()
752 SEC_PKCS12DestroyExportContext(p12ecx); in P12U_ExportPKCS12Object()