Home | History | Annotate | Download | only in pkcs8

Lines Matching refs:pbe

75 /* Set an algorithm identifier for a PKCS#5 PBE algorithm */
80 PBEPARAM *pbe=NULL;
84 pbe = PBEPARAM_new();
85 if (!pbe)
92 if (!ASN1_INTEGER_set(pbe->iter, iter))
99 if (!ASN1_STRING_set(pbe->salt, NULL, saltlen))
104 sstr = ASN1_STRING_data(pbe->salt);
110 if(!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str))
116 PBEPARAM_free(pbe);
117 pbe = NULL;
123 if (pbe != NULL)
124 PBEPARAM_free(pbe);
130 /* Return an algorithm identifier for a PKCS#5 PBE algorithm */