/external/openssl/crypto/pkcs12/ |
p12_p8d.c | 65 return PKCS12_item_decrypt_d2i(p8->algor, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass,
|
p12_decr.c | 67 /* Encrypt/Decrypt a buffer based on password and algor, result in a 71 unsigned char * PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, 81 if (!EVP_PBE_CipherInit(algor->algorithm, pass, passlen, 82 algor->parameter, &ctx, en_de)) { 113 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, 121 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, 150 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it, 166 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data,
|
p12_p8e.c | 82 X509_ALGOR_free(p8->algor); 83 p8->algor = pbe;
|
p12_mutl.c | 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { 177 p12->mac->dinfo->algor->algorithm = OBJ_nid2obj(EVP_MD_type(md_type)); 178 if (!(p12->mac->dinfo->algor->parameter = ASN1_TYPE_new())) { 182 p12->mac->dinfo->algor->parameter->type = V_ASN1_NULL;
|
pkcs12.h | 209 unsigned char *PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, 212 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, 214 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it,
|
p12_npas.c | 201 if (!alg_get(bag->value.shkeybag->algor, &p8_nid, &p8_iter,
|
/external/openssl/crypto/asn1/ |
x_sig.c | 65 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR),
|
x_algor.c | 113 X509_ALGOR *algor) 116 *paobj = algor->algorithm; 119 if (algor->parameter == NULL) 125 *pptype = algor->parameter->type; 127 *ppval = algor->parameter->value.ptr;
|
n_pkey.c | 75 X509_ALGOR *algor; member in struct:netscape_pkey_st 101 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR), 139 pkey->algor->algorithm=OBJ_nid2obj(NID_rsaEncryption); 140 if ((pkey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; 141 pkey->algor->parameter->type=V_ASN1_NULL; 157 enckey->enckey->algor->algorithm=OBJ_nid2obj(NID_rc4); 158 if ((enckey->enckey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; 159 enckey->enckey->algor->parameter->type=V_ASN1_NULL; 263 if (OBJ_obj2nid(enckey->enckey->algor->algorithm) != NID_rc4)
|
p5_pbe.c | 77 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, 119 if (X509_ALGOR_set0(algor, OBJ_nid2obj(alg), V_ASN1_SEQUENCE, pbe_str))
|
x_pubkey.c | 84 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 153 if (!EVP_PKEY_set_type(ret, OBJ_obj2nid(key->algor->algorithm))) 343 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) 364 *ppkalg = pub->algor->algorithm; 371 *pa = pub->algor;
|
t_spki.c | 80 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm);
|
t_req.c | 140 if (i2a_ASN1_OBJECT(bp, ri->pubkey->algor->algorithm) <= 0)
|
t_x509.c | 205 if (i2a_ASN1_OBJECT(bp, ci->key->algor->algorithm) <= 0)
|
/external/openssl/crypto/rsa/ |
rsa_sign.c | 78 X509_ALGOR algor; local 94 sig.algor= &algor; 95 sig.algor->algorithm=OBJ_nid2obj(type); 96 if (sig.algor->algorithm == NULL) 101 if (sig.algor->algorithm->length == 0) 108 sig.algor->parameter= ¶meter; 206 if(sig->algor->parameter 207 && ASN1_TYPE_get(sig->algor->parameter) != V_ASN1_NULL) 213 sigtype=OBJ_obj2nid(sig->algor->algorithm) [all...] |
/external/openssl/include/openssl/ |
pkcs12.h | 209 unsigned char *PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, 212 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, 214 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it,
|
x509.h | 162 X509_ALGOR *algor; member in struct:X509_pubkey_st 169 X509_ALGOR *algor; member in struct:X509_sig_st 765 X509_ALGOR *algor); [all...] |
safestack.h | 201 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ 202 (STACK_OF(type) *)PKCS12_decrypt_d2i(algor, \ [all...] |
/external/openssl/crypto/x509/ |
x509.h | 162 X509_ALGOR *algor; member in struct:X509_pubkey_st 169 X509_ALGOR *algor; member in struct:X509_sig_st 765 X509_ALGOR *algor); [all...] |
/external/openssl/apps/ |
pkcs12.c | 776 alg_print (bio_err, bag->value.shkeybag->algor);
|
/external/openssl/crypto/stack/ |
safestack.h | 201 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ 202 (STACK_OF(type) *)PKCS12_decrypt_d2i(algor, \ [all...] |