Home
last modified time | relevance | path

Searched refs:temparena (Results 1 – 25 of 28) sorted by relevance

12

/dports/www/firefox-esr/firefox-91.8.0/security/manager/ssl/
H A DPSMIPCCommon.cpp79 UniquePLArenaPool temparena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); in UnwrapPrivateKeyInfoWithEmptyPassword() local
80 if (!temparena) { in UnwrapPrivateKeyInfoWithEmptyPassword()
85 PORT_ArenaZNew(temparena.get(), SECKEYEncryptedPrivateKeyInfo); in UnwrapPrivateKeyInfoWithEmptyPassword()
91 temparena.get(), epki, in UnwrapPrivateKeyInfoWithEmptyPassword()
/dports/mail/thunderbird/thunderbird-91.8.0/security/manager/ssl/
H A DPSMIPCCommon.cpp79 UniquePLArenaPool temparena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); in UnwrapPrivateKeyInfoWithEmptyPassword() local
80 if (!temparena) { in UnwrapPrivateKeyInfoWithEmptyPassword()
85 PORT_ArenaZNew(temparena.get(), SECKEYEncryptedPrivateKeyInfo); in UnwrapPrivateKeyInfoWithEmptyPassword()
91 temparena.get(), epki, in UnwrapPrivateKeyInfoWithEmptyPassword()
/dports/lang/spidermonkey78/firefox-78.9.0/security/manager/ssl/
H A DPSMIPCCommon.cpp79 UniquePLArenaPool temparena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); in UnwrapPrivateKeyInfoWithEmptyPassword() local
80 if (!temparena) { in UnwrapPrivateKeyInfoWithEmptyPassword()
85 PORT_ArenaZNew(temparena.get(), SECKEYEncryptedPrivateKeyInfo); in UnwrapPrivateKeyInfoWithEmptyPassword()
91 temparena.get(), epki, in UnwrapPrivateKeyInfoWithEmptyPassword()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/softoken/legacydb/
H A Dkeydb.c1491 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1500 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1501 if (temparena == NULL) in seckey_encrypt_private_key()
1621 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1641 if (temparena != NULL) in seckey_encrypt_private_key()
1642 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1721 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1732 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1760 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1884 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/lib/softoken/legacydb/
H A Dkeydb.c1491 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1500 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1501 if (temparena == NULL) in seckey_encrypt_private_key()
1621 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1641 if (temparena != NULL) in seckey_encrypt_private_key()
1642 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1721 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1732 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1760 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1884 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/www/firefox/firefox-99.0/security/nss/lib/softoken/legacydb/
H A Dkeydb.c1491 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1500 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1501 if (temparena == NULL) in seckey_encrypt_private_key()
1621 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1641 if (temparena != NULL) in seckey_encrypt_private_key()
1642 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1721 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1732 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1760 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1884 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/softoken/legacydb/
H A Dkeydb.c1464 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1473 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1474 if (temparena == NULL) in seckey_encrypt_private_key()
1594 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1614 if (temparena != NULL) in seckey_encrypt_private_key()
1615 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1694 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1705 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1733 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1857 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/softoken/legacydb/
H A Dkeydb.c1466 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1477 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1478 if (temparena == NULL) in seckey_encrypt_private_key()
1600 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1620 if (temparena != NULL) in seckey_encrypt_private_key()
1621 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1700 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1711 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1739 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1865 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/security/nss/nss-3.76.1/nss/lib/softoken/legacydb/
H A Dkeydb.c1490 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1499 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1500 if (temparena == NULL) in seckey_encrypt_private_key()
1620 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1640 if (temparena != NULL) in seckey_encrypt_private_key()
1641 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1720 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1731 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1759 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1883 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/softoken/legacydb/
H A Dkeydb.c1491 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1500 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1501 if (temparena == NULL) in seckey_encrypt_private_key()
1621 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1641 if (temparena != NULL) in seckey_encrypt_private_key()
1642 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1721 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1732 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1760 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1884 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/softoken/legacydb/
H A Dkeydb.c1491 PLArenaPool *temparena = NULL; in seckey_encrypt_private_key() local
1500 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in seckey_encrypt_private_key()
1501 if (temparena == NULL) in seckey_encrypt_private_key()
1621 dummy = SEC_ASN1EncodeItem(temparena, der_item, pki, in seckey_encrypt_private_key()
1641 if (temparena != NULL) in seckey_encrypt_private_key()
1642 PORT_FreeArena(temparena, PR_TRUE); in seckey_encrypt_private_key()
1721 PLArenaPool *temparena = NULL, *permarena = NULL; in seckey_decrypt_private_key() local
1732 if ((temparena == NULL) || (permarena == NULL)) in seckey_decrypt_private_key()
1760 rv = SEC_QuickDERDecodeItem(temparena, pki, in seckey_decrypt_private_key()
1884 if (temparena != NULL) in seckey_decrypt_private_key()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/pkcs12/
H A Dp12local.c341 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
359 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
360 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
363 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
396 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
400 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
401 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
483 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
489 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
490 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/pkcs12/
H A Dp12local.c371 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
389 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
390 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
393 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
426 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
430 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
431 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
513 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
519 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
520 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/lib/pkcs12/
H A Dp12local.c371 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
389 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
390 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
393 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
426 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
430 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
431 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
513 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
519 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
520 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/www/firefox/firefox-99.0/security/nss/lib/pkcs12/
H A Dp12local.c371 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
389 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
390 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
393 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
426 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
430 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
431 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
513 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
519 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
520 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/pkcs12/
H A Dp12local.c340 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
358 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
359 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
362 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
395 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
399 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
400 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
482 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
488 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
489 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/security/nss/nss-3.76.1/nss/lib/pkcs12/
H A Dp12local.c371 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
389 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
390 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
393 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
426 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
430 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
431 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
513 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
519 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
520 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/pkcs12/
H A Dp12local.c371 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
389 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
390 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
393 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
426 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
430 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
431 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
513 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
519 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
520 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/pkcs12/
H A Dp12local.c340 PLArenaPool *temparena = NULL; in sec_pkcs12_generate_old_mac() local
358 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in sec_pkcs12_generate_old_mac()
359 if (temparena == NULL) in sec_pkcs12_generate_old_mac()
362 hash_src1 = (unsigned char *)PORT_ArenaZAlloc(temparena, in sec_pkcs12_generate_old_mac()
395 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
399 if (temparena != NULL) in sec_pkcs12_generate_old_mac()
400 PORT_FreeArena(temparena, PR_TRUE); in sec_pkcs12_generate_old_mac()
482 PLArenaPool *temparena = NULL; in sec_pkcs12_compute_thumbprint() local
488 temparena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE); in sec_pkcs12_compute_thumbprint()
489 if (temparena == NULL) { in sec_pkcs12_compute_thumbprint()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/webrtc/transport/
H A Ddtlsidentity.cpp92 UniquePLArenaPool temparena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); in UnwrapPrivateKeyInfoWithEmptyPassword() local
93 if (!temparena) { in UnwrapPrivateKeyInfoWithEmptyPassword()
98 PORT_ArenaZNew(temparena.get(), SECKEYEncryptedPrivateKeyInfo); in UnwrapPrivateKeyInfoWithEmptyPassword()
104 temparena.get(), epki, in UnwrapPrivateKeyInfoWithEmptyPassword()
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/pk11wrap/
H A Dpk11pk12.c219 PLArenaPool *temparena = NULL; in PK11_ImportDERPrivateKeyInfoAndReturnKey() local
222 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
223 if (!temparena) in PK11_ImportDERPrivateKeyInfoAndReturnKey()
225 pki = PORT_ArenaZNew(temparena, SECKEYPrivateKeyInfo); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
227 PORT_FreeArena(temparena, PR_FALSE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
230 pki->arena = temparena; in PK11_ImportDERPrivateKeyInfoAndReturnKey()
238 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
246 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/pk11wrap/
H A Dpk11pk12.c267 PLArenaPool *temparena = NULL; in PK11_ImportDERPrivateKeyInfoAndReturnKey() local
270 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
271 if (!temparena) in PK11_ImportDERPrivateKeyInfoAndReturnKey()
273 pki = PORT_ArenaZNew(temparena, SECKEYPrivateKeyInfo); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
275 PORT_FreeArena(temparena, PR_FALSE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
278 pki->arena = temparena; in PK11_ImportDERPrivateKeyInfoAndReturnKey()
286 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
294 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/pk11wrap/
H A Dpk11pk12.c267 PLArenaPool *temparena = NULL; in PK11_ImportDERPrivateKeyInfoAndReturnKey() local
270 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
271 if (!temparena) in PK11_ImportDERPrivateKeyInfoAndReturnKey()
273 pki = PORT_ArenaZNew(temparena, SECKEYPrivateKeyInfo); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
275 PORT_FreeArena(temparena, PR_FALSE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
278 pki->arena = temparena; in PK11_ImportDERPrivateKeyInfoAndReturnKey()
286 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
294 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/pk11wrap/
H A Dpk11pk12.c269 PLArenaPool *temparena = NULL;
272 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
273 if (!temparena)
275 pki = PORT_ArenaZNew(temparena, SECKEYPrivateKeyInfo);
277 PORT_FreeArena(temparena, PR_FALSE);
280 pki->arena = temparena;
288 PORT_FreeArena(temparena, PR_TRUE);
296 PORT_FreeArena(temparena, PR_TRUE);
/dports/security/ca_root_nss/nss-3.71/nss/lib/pk11wrap/
H A Dpk11pk12.c269 PLArenaPool *temparena = NULL; in PK11_ImportDERPrivateKeyInfoAndReturnKey() local
272 temparena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
273 if (!temparena) in PK11_ImportDERPrivateKeyInfoAndReturnKey()
275 pki = PORT_ArenaZNew(temparena, SECKEYPrivateKeyInfo); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
277 PORT_FreeArena(temparena, PR_FALSE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
280 pki->arena = temparena; in PK11_ImportDERPrivateKeyInfoAndReturnKey()
288 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()
296 PORT_FreeArena(temparena, PR_TRUE); in PK11_ImportDERPrivateKeyInfoAndReturnKey()

12