Lines Matching refs:p12
36 PKCS12 *p12 = NULL; in PKCS12_create_ex() local
111 p12 = PKCS12_add_safes_ex(safes, 0, ctx, propq); in PKCS12_create_ex()
113 if (p12 == NULL) in PKCS12_create_ex()
121 !PKCS12_set_mac(p12, pass, -1, NULL, 0, mac_iter, NULL)) in PKCS12_create_ex()
124 return p12; in PKCS12_create_ex()
127 PKCS12_free(p12); in PKCS12_create_ex()
317 PKCS12 *p12; in PKCS12_add_safes_ex() local
321 p12 = PKCS12_init_ex(nid_p7, ctx, propq); in PKCS12_add_safes_ex()
322 if (p12 == NULL) in PKCS12_add_safes_ex()
325 if (!PKCS12_pack_authsafes(p12, safes)) { in PKCS12_add_safes_ex()
326 PKCS12_free(p12); in PKCS12_add_safes_ex()
330 return p12; in PKCS12_add_safes_ex()