Lines Matching refs:p12
41 PKCS12 *p12 = NULL; in PKCS12_create_ex2() local
151 p12 = PKCS12_add_safes_ex(safes, 0, ctx, propq); in PKCS12_create_ex2()
153 if (p12 == NULL) in PKCS12_create_ex2()
161 !PKCS12_set_mac(p12, pass, -1, NULL, 0, mac_iter, NULL)) in PKCS12_create_ex2()
164 return p12; in PKCS12_create_ex2()
167 PKCS12_free(p12); in PKCS12_create_ex2()
394 PKCS12 *p12; in PKCS12_add_safes_ex() local
398 p12 = PKCS12_init_ex(nid_p7, ctx, propq); in PKCS12_add_safes_ex()
399 if (p12 == NULL) in PKCS12_add_safes_ex()
402 if (!PKCS12_pack_authsafes(p12, safes)) { in PKCS12_add_safes_ex()
403 PKCS12_free(p12); in PKCS12_add_safes_ex()
407 return p12; in PKCS12_add_safes_ex()