/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
D | p12_decr.c | 71 unsigned char * PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, in PKCS12_pbe_crypt() argument 81 if (!EVP_PBE_CipherInit(algor->algorithm, pass, passlen, in PKCS12_pbe_crypt() 82 algor->parameter, &ctx, en_de)) { in PKCS12_pbe_crypt() 120 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i() argument 128 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i() 157 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt() argument 173 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt()
|
D | p12_mutl.c | 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { in PKCS12_gen_mac() 181 p12->mac->dinfo->algor->algorithm = OBJ_nid2obj(EVP_MD_type(md_type)); in PKCS12_setup_mac() 182 if (!(p12->mac->dinfo->algor->parameter = ASN1_TYPE_new())) { in PKCS12_setup_mac() 186 p12->mac->dinfo->algor->parameter->type = V_ASN1_NULL; in PKCS12_setup_mac()
|
D | p12_p8e.c | 82 X509_ALGOR_free(p8->algor); in PKCS8_encrypt() 83 p8->algor = pbe; in PKCS8_encrypt()
|
D | p12_p8d.c | 65 return PKCS12_item_decrypt_d2i(p8->algor, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass, in PKCS8_decrypt()
|
D | 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,
|
/external/openssl/crypto/pkcs12/ |
D | p12_decr.c | 71 unsigned char * PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, in PKCS12_pbe_crypt() argument 81 if (!EVP_PBE_CipherInit(algor->algorithm, pass, passlen, in PKCS12_pbe_crypt() 82 algor->parameter, &ctx, en_de)) { in PKCS12_pbe_crypt() 120 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i() argument 128 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i() 157 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt() argument 173 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt()
|
D | p12_mutl.c | 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { in PKCS12_gen_mac() 181 p12->mac->dinfo->algor->algorithm = OBJ_nid2obj(EVP_MD_type(md_type)); in PKCS12_setup_mac() 182 if (!(p12->mac->dinfo->algor->parameter = ASN1_TYPE_new())) { in PKCS12_setup_mac() 186 p12->mac->dinfo->algor->parameter->type = V_ASN1_NULL; in PKCS12_setup_mac()
|
D | p12_p8e.c | 82 X509_ALGOR_free(p8->algor); in PKCS8_encrypt() 83 p8->algor = pbe; in PKCS8_encrypt()
|
D | p12_p8d.c | 65 return PKCS12_item_decrypt_d2i(p8->algor, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass, in PKCS8_decrypt()
|
D | 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,
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
D | rsa_sign.c | 78 X509_ALGOR algor; in RSA_sign() local 102 sig.algor= &algor; in RSA_sign() 103 sig.algor->algorithm=OBJ_nid2obj(type); in RSA_sign() 104 if (sig.algor->algorithm == NULL) in RSA_sign() 109 if (sig.algor->algorithm->length == 0) in RSA_sign() 116 sig.algor->parameter= ¶meter; in RSA_sign() 239 if(sig->algor->parameter in int_rsa_verify() 240 && ASN1_TYPE_get(sig->algor->parameter) != V_ASN1_NULL) in int_rsa_verify() 246 sigtype=OBJ_obj2nid(sig->algor->algorithm); in int_rsa_verify()
|
/external/openssl/crypto/rsa/ |
D | rsa_sign.c | 78 X509_ALGOR algor; in RSA_sign() local 102 sig.algor= &algor; in RSA_sign() 103 sig.algor->algorithm=OBJ_nid2obj(type); in RSA_sign() 104 if (sig.algor->algorithm == NULL) in RSA_sign() 109 if (sig.algor->algorithm->length == 0) in RSA_sign() 116 sig.algor->parameter= ¶meter; in RSA_sign() 239 if(sig->algor->parameter in int_rsa_verify() 240 && ASN1_TYPE_get(sig->algor->parameter) != V_ASN1_NULL) in int_rsa_verify() 246 sigtype=OBJ_obj2nid(sig->algor->algorithm); in int_rsa_verify()
|
/external/openssl/crypto/asn1/ |
D | x_algor.c | 113 X509_ALGOR *algor) in X509_ALGOR_get0() argument 116 *paobj = algor->algorithm; in X509_ALGOR_get0() 119 if (algor->parameter == NULL) in X509_ALGOR_get0() 125 *pptype = algor->parameter->type; in X509_ALGOR_get0() 127 *ppval = algor->parameter->value.ptr; in X509_ALGOR_get0()
|
D | n_pkey.c | 75 X509_ALGOR *algor; member 101 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR), 140 pkey->algor->algorithm=OBJ_nid2obj(NID_rsaEncryption); in i2d_RSA_NET() 141 if ((pkey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; in i2d_RSA_NET() 142 pkey->algor->parameter->type=V_ASN1_NULL; in i2d_RSA_NET() 158 enckey->enckey->algor->algorithm=OBJ_nid2obj(NID_rc4); in i2d_RSA_NET() 159 if ((enckey->enckey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; in i2d_RSA_NET() 160 enckey->enckey->algor->parameter->type=V_ASN1_NULL; in i2d_RSA_NET() 268 if (OBJ_obj2nid(enckey->enckey->algor->algorithm) != NID_rc4) in d2i_RSA_NET()
|
D | x_pubkey.c | 84 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 153 if (!EVP_PKEY_set_type(ret, OBJ_obj2nid(key->algor->algorithm))) in X509_PUBKEY_get() 355 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param() 376 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param() 383 *pa = pub->algor; in X509_PUBKEY_get0_param()
|
D | 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))
|
D | x_sig.c | 65 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR),
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
D | x_algor.c | 113 X509_ALGOR *algor) in X509_ALGOR_get0() argument 116 *paobj = algor->algorithm; in X509_ALGOR_get0() 119 if (algor->parameter == NULL) in X509_ALGOR_get0() 125 *pptype = algor->parameter->type; in X509_ALGOR_get0() 127 *ppval = algor->parameter->value.ptr; in X509_ALGOR_get0()
|
D | n_pkey.c | 75 X509_ALGOR *algor; member 101 ASN1_SIMPLE(NETSCAPE_PKEY, algor, X509_ALGOR), 140 pkey->algor->algorithm=OBJ_nid2obj(NID_rsaEncryption); in i2d_RSA_NET() 141 if ((pkey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; in i2d_RSA_NET() 142 pkey->algor->parameter->type=V_ASN1_NULL; in i2d_RSA_NET() 158 enckey->enckey->algor->algorithm=OBJ_nid2obj(NID_rc4); in i2d_RSA_NET() 159 if ((enckey->enckey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; in i2d_RSA_NET() 160 enckey->enckey->algor->parameter->type=V_ASN1_NULL; in i2d_RSA_NET() 268 if (OBJ_obj2nid(enckey->enckey->algor->algorithm) != NID_rc4) in d2i_RSA_NET()
|
D | x_pubkey.c | 84 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 153 if (!EVP_PKEY_set_type(ret, OBJ_obj2nid(key->algor->algorithm))) in X509_PUBKEY_get() 355 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param() 376 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param() 383 *pa = pub->algor; in X509_PUBKEY_get0_param()
|
D | 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))
|
D | x_sig.c | 65 ASN1_SIMPLE(X509_SIG, algor, X509_ALGOR),
|
D | t_spki.c | 80 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm); in NETSCAPE_SPKI_print()
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | 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,
|
/external/openssl/include/openssl/ |
D | 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,
|