Searched refs:pbe2 (Results 1 - 9 of 9) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/ |
H A D | p5_pbev2.c | 95 PBE2PARAM *pbe2 = NULL; 107 if(!(pbe2 = PBE2PARAM_new())) goto merr; 110 scheme = pbe2->encryption; 161 pbe2->keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2); 163 /* Encode PBKDF2PARAM into parameter of pbe2 */ 165 if(!(pbe2->keyfunc->parameter = ASN1_TYPE_new())) goto merr; 168 &pbe2->keyfunc->parameter->value.sequence)) goto merr; 169 pbe2->keyfunc->parameter->type = V_ASN1_SEQUENCE; 183 if(!ASN1_pack_string_of(PBE2PARAM, pbe2, i2d_PBE2PARAM, 187 PBE2PARAM_free(pbe2); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/ |
H A D | p5_crpt2.c | 155 PBE2PARAM *pbe2 = NULL; local 167 if(!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) { 174 if(OBJ_obj2nid(pbe2->keyfunc->algorithm) != NID_id_pbkdf2) { 184 OBJ_nid2sn(OBJ_obj2nid(pbe2->encryption->algorithm))); 194 if(EVP_CIPHER_asn1_to_param(ctx, pbe2->encryption->parameter) < 0) { 204 if(!pbe2->keyfunc->parameter || 205 (pbe2->keyfunc->parameter->type != V_ASN1_SEQUENCE)) 211 pbuf = pbe2->keyfunc->parameter->value.sequence->data; 212 plen = pbe2->keyfunc->parameter->value.sequence->length; 218 PBE2PARAM_free(pbe2); [all...] |
H A D | evp_pbe.c | 110 * const *pbe2 = (const EVP_PBE_CTL * const *)b; local 111 return ((*pbe1)->pbe_nid - (*pbe2)->pbe_nid);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/asn1/ |
H A D | p5_pbev2.c | 98 PBE2PARAM *pbe2 = NULL; 109 if (!(pbe2 = PBE2PARAM_new())) 113 scheme = pbe2->encryption; 157 X509_ALGOR_free(pbe2->keyfunc); 159 pbe2->keyfunc = PKCS5_pbkdf2_set(iter, salt, saltlen, prf_nid, keylen); 161 if (!pbe2->keyfunc) 175 if (!ASN1_item_pack(pbe2, ASN1_ITEM_rptr(PBE2PARAM), 180 PBE2PARAM_free(pbe2); 181 pbe2 = NULL; 189 PBE2PARAM_free(pbe2); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/asn1/ |
H A D | p5_pbev2.c | 98 PBE2PARAM *pbe2 = NULL; 109 if (!(pbe2 = PBE2PARAM_new())) 113 scheme = pbe2->encryption; 157 X509_ALGOR_free(pbe2->keyfunc); 159 pbe2->keyfunc = PKCS5_pbkdf2_set(iter, salt, saltlen, prf_nid, keylen); 161 if (!pbe2->keyfunc) 175 if (!ASN1_item_pack(pbe2, ASN1_ITEM_rptr(PBE2PARAM), 180 PBE2PARAM_free(pbe2); 181 pbe2 = NULL; 189 PBE2PARAM_free(pbe2); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/evp/ |
H A D | p5_crpt2.c | 196 PBE2PARAM *pbe2 = NULL; local 209 if (!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) { 216 if (OBJ_obj2nid(pbe2->keyfunc->algorithm) != NID_id_pbkdf2) { 226 cipher = EVP_get_cipherbyobj(pbe2->encryption->algorithm); 236 if (EVP_CIPHER_asn1_to_param(ctx, pbe2->encryption->parameter) < 0) { 241 pbe2->keyfunc->parameter, c, md, en_de); 243 PBE2PARAM_free(pbe2);
|
H A D | evp_pbe.c | 203 DECLARE_OBJ_BSEARCH_CMP_FN(EVP_PBE_CTL, EVP_PBE_CTL, pbe2); 205 static int pbe2_cmp(const EVP_PBE_CTL *pbe1, const EVP_PBE_CTL *pbe2) argument 207 int ret = pbe1->pbe_type - pbe2->pbe_type; 211 return pbe1->pbe_nid - pbe2->pbe_nid; 214 IMPLEMENT_OBJ_BSEARCH_CMP_FN(EVP_PBE_CTL, EVP_PBE_CTL, pbe2);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/evp/ |
H A D | p5_crpt2.c | 196 PBE2PARAM *pbe2 = NULL; local 209 if (!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) { 216 if (OBJ_obj2nid(pbe2->keyfunc->algorithm) != NID_id_pbkdf2) { 226 cipher = EVP_get_cipherbyobj(pbe2->encryption->algorithm); 236 if (EVP_CIPHER_asn1_to_param(ctx, pbe2->encryption->parameter) < 0) { 241 pbe2->keyfunc->parameter, c, md, en_de); 243 PBE2PARAM_free(pbe2);
|
H A D | evp_pbe.c | 203 DECLARE_OBJ_BSEARCH_CMP_FN(EVP_PBE_CTL, EVP_PBE_CTL, pbe2); 205 static int pbe2_cmp(const EVP_PBE_CTL *pbe1, const EVP_PBE_CTL *pbe2) argument 207 int ret = pbe1->pbe_type - pbe2->pbe_type; 211 return pbe1->pbe_nid - pbe2->pbe_nid; 214 IMPLEMENT_OBJ_BSEARCH_CMP_FN(EVP_PBE_CTL, EVP_PBE_CTL, pbe2);
|
Completed in 69 milliseconds