HomeSort by relevance Sort by last modified time
    Searched refs:passlen (Results 1 - 25 of 26) sorted by null

1 2

  /external/openssl/crypto/pkcs12/
p12_p8d.c 63 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *p8, const char *pass, int passlen)
66 passlen, p8->digest, 1);
p12_decr.c 72 int passlen, unsigned char *in, int inlen, unsigned char **data,
81 if (!EVP_PBE_CipherInit(algor->algorithm, pass, passlen,
121 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf)
128 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length,
158 const char *pass, int passlen,
173 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data,
p12_p8e.c 64 const char *pass, int passlen,
86 pass, passlen, p8inf, 1);
p12_crpt.c 69 int PKCS12_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
95 if (!PKCS12_key_gen (pass, passlen, salt, saltlen, PKCS12_KEY_ID,
101 if (!PKCS12_key_gen (pass, passlen, salt, saltlen, PKCS12_IV_ID,
pkcs12.h 178 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *p8, const char *pass, int passlen);
180 int passlen);
182 const char *pass, int passlen,
186 int passlen, unsigned char *salt,
191 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
210 int passlen, unsigned char *in, int inlen,
213 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf);
215 const char *pass, int passlen,
218 int PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt
    [all...]
p12_kiss.c 65 static int parse_pk12( PKCS12 *p12, const char *pass, int passlen,
69 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
71 static int parse_bag( PKCS12_SAFEBAG *bag, const char *pass, int passlen,
179 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen,
194 bags = PKCS12_unpack_p7encdata(p7, pass, passlen);
200 if (!parse_bags(bags, pass, passlen, pkey, ocerts)) {
213 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
218 pass, passlen, pkey, ocerts))
224 static int parse_bag(PKCS12_SAFEBAG *bag, const char *pass, int passlen,
251 if (!(p8 = PKCS12_decrypt_skey(bag, pass, passlen)))
    [all...]
p12_mutl.c 67 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen,
94 if(!PKCS12_key_gen (pass, passlen, salt, saltlen, PKCS12_MAC_ID, iter,
113 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen)
121 if (!PKCS12_gen_mac (p12, pass, passlen, mac, &maclen)) {
132 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen,
144 if (!PKCS12_gen_mac (p12, pass, passlen, mac, &maclen)) {
p12_add.c 105 int passlen, unsigned char *salt, int saltlen, int iter,
125 PKCS8_encrypt(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter,
168 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
200 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass, passlen,
209 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen)
214 pass, passlen,
219 int passlen)
221 return PKCS8_decrypt(bag->value.shkeybag, pass, passlen);
p12_key.c 77 int PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt,
88 } else if (!OPENSSL_asc2uni(pass, passlen, &unipass, &uniplen)) {
103 int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt,
129 fprintf(stderr, "Password (length %d):\n", passlen);
130 h__dump(pass, passlen);
142 if(passlen) Plen = v * ((passlen+v-1)/v);
153 for (i = 0; i < Plen; i++) *p++ = pass[i % passlen];
  /external/openssl/crypto/evp/
p5_crpt2.c 80 int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
98 passlen = 0;
99 else if(passlen == -1)
100 passlen = strlen(pass);
101 if (!HMAC_Init_ex(&hctx_tpl, pass, passlen, digest, NULL))
159 h__dump (pass, passlen);
169 int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
173 return PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, EVP_sha1(),
194 int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
245 rv = PKCS5_v2_PBKDF2_keyivgen(ctx, pass, passlen,
    [all...]
p5_crpt.c 72 int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen,
106 if(!pass) passlen = 0;
107 else if(passlen == -1) passlen = strlen(pass);
111 if (!EVP_DigestUpdate(&ctx, pass, passlen))
evp_pbe.c 155 int EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
175 passlen = 0;
176 else if (passlen == -1)
177 passlen = strlen(pass);
203 if (!keygen(ctx, pass, passlen, param, cipher, md, en_de))
evp.h 446 typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
    [all...]
evp_locl.h 347 int PKCS5_v2_PBKDF2_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
  /external/openssl/include/openssl/
pkcs12.h 178 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *p8, const char *pass, int passlen);
180 int passlen);
182 const char *pass, int passlen,
186 int passlen, unsigned char *salt,
191 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
210 int passlen, unsigned char *in, int inlen,
213 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf);
215 const char *pass, int passlen,
218 int PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt
    [all...]
cms.h 189 unsigned char *pass, ossl_ssize_t passlen);
227 ossl_ssize_t passlen);
232 ossl_ssize_t passlen,
evp.h 446 typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
    [all...]
  /external/openssl/crypto/cms/
cms_pwri.c 66 unsigned char *pass, ossl_ssize_t passlen)
77 if (pass && passlen < 0)
78 passlen = strlen((char *)pass);
79 pwri->passlen = passlen;
86 ossl_ssize_t passlen,
201 CMS_RecipientInfo_set0_password(ri, pass, passlen);
394 (char *)pwri->pass, pwri->passlen,
cms.h 189 unsigned char *pass, ossl_ssize_t passlen);
227 ossl_ssize_t passlen);
232 ossl_ssize_t passlen,
cms_smime.c 710 unsigned char *pass, ossl_ssize_t passlen)
721 CMS_RecipientInfo_set0_password(ri, pass, passlen);
cms_lcl.h 280 size_t passlen; member in struct:CMS_PasswordRecipientInfo_st
cms_asn1.c 245 OPENSSL_cleanse(pwri->pass, pwri->passlen);
  /external/openssl/apps/
pkcs12.c 83 int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options, char *pempass);
85 int passlen, int options, char *pempass);
86 int dump_certs_pkeys_bag(BIO *out, PKCS12_SAFEBAG *bags, char *pass, int passlen, int options, char *pempass);
705 int passlen, int options, char *pempass)
726 bags = PKCS12_unpack_p7encdata(p7, pass, passlen);
729 if (!dump_certs_pkeys_bags (out, bags, pass, passlen,
747 char *pass, int passlen, int options, char *pempass)
753 pass, passlen,
761 int passlen, int options, char *pempass)
787 if (!(p8 = PKCS12_decrypt_skey(bag, pass, passlen)))
    [all...]
  /external/openssl/crypto/pem/
pvkfmt.c 709 const unsigned char *pass, int passlen)
716 || !EVP_DigestUpdate(&mctx, pass, passlen)
  /external/openssl/crypto/stack/
safestack.h 205 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \
209 pass, passlen, oct, seq)
    [all...]

Completed in 1991 milliseconds

1 2