Lines Matching refs:p12
230 * p12 - Structure with pkcs12 info to be parsed
276 sunw_PKCS12_parse(PKCS12 *p12, const char *pass, int matchty, char *keyid,
284 if (p12 == NULL) {
318 if (PKCS12_verify_mac(p12, NULL, 0))
320 else if (PKCS12_verify_mac(p12, "", 0))
327 } else if (PKCS12_verify_mac(p12, pass, -1) == 0) {
332 retval = parse_pkcs12(p12, pass, matchty, keyid, keyid_len,
440 * p12 - Structure with pkcs12 info to be parsed
455 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey,
476 if (parse_outer(p12, pass, work_kl, work_ca) == 0) {
648 PKCS12 *p12 = NULL;
867 if ((p12 = PKCS12_init(NID_pkcs7_data)) == NULL) {
876 if (M_PKCS12_pack_authsafes(p12, safes) == 0) {
880 if (PKCS12_set_mac(p12, pass, -1, NULL, 0, 2048, NULL) == 0) {
885 ret_p12 = p12;
886 p12 = NULL;
906 if (p12 != NULL)
907 PKCS12_free(p12);
1513 * p12 - Structure with pkcs12 info to be parsed
1541 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid,
1552 retval = sunw_PKCS12_contents(p12, pass, &work_kl, &work_ca);
1711 parse_outer(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) *kl,
1719 if ((asafes = M_PKCS12_unpack_authsafes(p12)) == NULL)