Searched refs:pbe (Results 1 - 25 of 31) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/
H A Dp5_pbe.c79 PBEPARAM *pbe=NULL;
84 if (!(pbe = PBEPARAM_new ())) {
89 if (!ASN1_INTEGER_set(pbe->iter, iter)) {
94 if (!(pbe->salt->data = OPENSSL_malloc (saltlen))) {
98 pbe->salt->length = saltlen;
99 if (salt) memcpy (pbe->salt->data, salt, saltlen);
100 else if (RAND_pseudo_bytes (pbe->salt->data, saltlen) < 0)
109 if(!ASN1_pack_string_of(PBEPARAM, pbe, i2d_PBEPARAM,
114 PBEPARAM_free (pbe);
115 pbe
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs12/
H A Dp12_p8e.c69 X509_ALGOR *pbe; local
76 if(pbe_nid == -1) pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen);
77 else pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen);
78 if(!pbe) {
83 p8->algor = pbe;
85 p8->digest = PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO),
H A Dp12_crpt.c90 PBEPARAM *pbe; local
104 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
109 if (!pbe->iter) iter = 1;
110 else iter = ASN1_INTEGER_get (pbe->iter);
111 salt = pbe->salt->data;
112 saltlen = pbe->salt->length;
116 PBEPARAM_free(pbe);
122 PBEPARAM_free(pbe);
125 PBEPARAM_free(pbe);
H A Dp12_npas.c206 PBEPARAM *pbe; local
210 pbe = d2i_PBEPARAM(NULL, &p, alg->parameter->value.sequence->length);
212 *piter = ASN1_INTEGER_get(pbe->iter);
213 *psaltlen = pbe->salt->length;
214 PBEPARAM_free(pbe);
H A Dp12_add.c166 X509_ALGOR *pbe; local
176 if (!(pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen))) {
181 p7->d.encrypted->enc_data->algorithm = pbe;
184 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass, passlen,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pkcs12/
H A Dp12_crpt.c74 PBEPARAM *pbe; local
91 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
96 if (!pbe->iter)
99 iter = ASN1_INTEGER_get(pbe->iter);
100 salt = pbe->salt->data;
101 saltlen = pbe->salt->length;
105 PBEPARAM_free(pbe);
111 PBEPARAM_free(pbe);
114 PBEPARAM_free(pbe);
H A Dp12_p8e.c70 X509_ALGOR *pbe; local
78 pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen);
80 pbe = PKCS5_pbe2_set_iv(cipher, iter, salt, saltlen, NULL, pbe_nid);
83 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen);
85 if (!pbe) {
90 p8->algor = pbe;
93 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO),
H A Dp12_npas.c223 PBEPARAM *pbe; local
227 pbe = d2i_PBEPARAM(NULL, &p, alg->parameter->value.sequence->length);
228 if (!pbe)
231 *piter = ASN1_INTEGER_get(pbe->iter);
232 *psaltlen = pbe->salt->length;
233 PBEPARAM_free(pbe);
H A Dp12_add.c184 X509_ALGOR *pbe; local
199 pbe = PKCS5_pbe2_set(pbe_ciph, iter, salt, saltlen);
201 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen);
203 if (!pbe) {
208 p7->d.encrypted->enc_data->algorithm = pbe;
211 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pkcs12/
H A Dp12_crpt.c74 PBEPARAM *pbe; local
91 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
96 if (!pbe->iter)
99 iter = ASN1_INTEGER_get(pbe->iter);
100 salt = pbe->salt->data;
101 saltlen = pbe->salt->length;
105 PBEPARAM_free(pbe);
111 PBEPARAM_free(pbe);
114 PBEPARAM_free(pbe);
H A Dp12_p8e.c70 X509_ALGOR *pbe; local
78 pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen);
80 pbe = PKCS5_pbe2_set_iv(cipher, iter, salt, saltlen, NULL, pbe_nid);
83 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen);
85 if (!pbe) {
90 p8->algor = pbe;
93 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO),
H A Dp12_npas.c223 PBEPARAM *pbe; local
227 pbe = d2i_PBEPARAM(NULL, &p, alg->parameter->value.sequence->length);
228 if (!pbe)
231 *piter = ASN1_INTEGER_get(pbe->iter);
232 *psaltlen = pbe->salt->length;
233 PBEPARAM_free(pbe);
H A Dp12_add.c184 X509_ALGOR *pbe; local
199 pbe = PKCS5_pbe2_set(pbe_ciph, iter, salt, saltlen);
201 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen);
203 if (!pbe) {
208 p7->d.encrypted->enc_data->algorithm = pbe;
211 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/asn1/
H A Dp5_pbe.c80 PBEPARAM *pbe = NULL;
84 pbe = PBEPARAM_new();
85 if (!pbe) {
91 if (!ASN1_INTEGER_set(pbe->iter, iter)) {
97 if (!ASN1_STRING_set(pbe->salt, NULL, saltlen)) {
101 sstr = ASN1_STRING_data(pbe->salt);
107 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) {
112 PBEPARAM_free(pbe);
113 pbe = NULL;
119 if (pbe !
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/asn1/
H A Dp5_pbe.c80 PBEPARAM *pbe = NULL;
84 pbe = PBEPARAM_new();
85 if (!pbe) {
91 if (!ASN1_INTEGER_set(pbe->iter, iter)) {
97 if (!ASN1_STRING_set(pbe->salt, NULL, saltlen)) {
101 sstr = ASN1_STRING_data(pbe->salt);
107 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) {
112 PBEPARAM_free(pbe);
113 pbe = NULL;
119 if (pbe !
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/
H A Dp5_crpt.c111 PBEPARAM *pbe; local
124 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
129 if (!pbe->iter) iter = 1;
130 else iter = ASN1_INTEGER_get (pbe->iter);
131 salt = pbe->salt->data;
132 saltlen = pbe->salt->length;
141 PBEPARAM_free(pbe);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/evp/
H A Dp5_crpt.c82 PBEPARAM *pbe; local
98 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
103 if (!pbe->iter)
106 iter = ASN1_INTEGER_get(pbe->iter);
107 salt = pbe->salt->data;
108 saltlen = pbe->salt->length;
121 PBEPARAM_free(pbe);
H A Devp_pbe.c303 static void free_evp_pbe_ctl(EVP_PBE_CTL *pbe) argument
305 OPENSSL_freeFunc(pbe);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/evp/
H A Dp5_crpt.c82 PBEPARAM *pbe; local
98 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
103 if (!pbe->iter)
106 iter = ASN1_INTEGER_get(pbe->iter);
107 salt = pbe->salt->data;
108 saltlen = pbe->salt->length;
121 PBEPARAM_free(pbe);
H A Devp_pbe.c303 static void free_evp_pbe_ctl(EVP_PBE_CTL *pbe) argument
305 OPENSSL_freeFunc(pbe);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/
H A Dasm-offsets.c32 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address));
33 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address));
34 DEFINE(PBE_NEXT, offsetof(struct pbe, next));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/power/
H A Dsnapshot.c56 struct pbe *restore_pblist;
1929 struct highmem_pbe *pbe; local
1942 pbe = chain_alloc(ca, sizeof(struct highmem_pbe));
1943 if (!pbe) {
1947 pbe->orig_page = page;
1956 pbe->copy_page = tmp;
1961 pbe->copy_page = virt_to_page(kaddr);
1963 pbe->next = highmem_pblist;
1964 highmem_pblist = pbe;
2036 #define PBES_PER_LINKED_PAGE (LINKED_PAGE_DATA_SIZE / sizeof(struct pbe))
2124 struct pbe *pbe; local
2285 struct highmem_pbe *pbe = highmem_pblist; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dasm-offsets_64.c86 DEFINE(pbe_address, offsetof(struct pbe, address));
87 DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address));
88 DEFINE(pbe_next, offsetof(struct pbe, next));
H A Dasm-offsets_32.c91 OFFSET(pbe_address, pbe, address);
92 OFFSET(pbe_orig_address, pbe, orig_address);
93 OFFSET(pbe_next, pbe, next);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dsuspend.h154 /* struct pbe is used for creating lists of pages that should be restored
158 struct pbe { struct
161 struct pbe *next;

Completed in 155 milliseconds

12