/external/openssl/crypto/rsa/ |
D | rsa_sign.c | 77 X509_ALGOR algor; in RSA_sign() local 93 sig.algor= &algor; in RSA_sign() 94 sig.algor->algorithm=OBJ_nid2obj(type); in RSA_sign() 95 if (sig.algor->algorithm == NULL) in RSA_sign() 100 if (sig.algor->algorithm->length == 0) in RSA_sign() 107 sig.algor->parameter= ¶meter; in RSA_sign() 198 if(sig->algor->parameter in RSA_verify() 199 && ASN1_TYPE_get(sig->algor->parameter) != V_ASN1_NULL) in RSA_verify() 205 sigtype=OBJ_obj2nid(sig->algor->algorithm); in RSA_verify()
|
/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() 113 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i() argument 121 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i() 150 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt() argument 166 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt()
|
D | p12_mutl.c | 86 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { in PKCS12_gen_mac() 173 p12->mac->dinfo->algor->algorithm = OBJ_nid2obj(EVP_MD_type(md_type)); in PKCS12_setup_mac() 174 if (!(p12->mac->dinfo->algor->parameter = ASN1_TYPE_new())) { in PKCS12_setup_mac() 178 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 | pkcs12.h | 211 unsigned char *PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, 214 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, 216 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it,
|
D | p12_p8d.c | 65 return PKCS12_item_decrypt_d2i(p8->algor, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass, in PKCS8_decrypt()
|
D | p12_npas.c | 196 alg_get(bag->value.shkeybag->algor, &p8_nid, &p8_iter, &p8_saltlen); in newpass_bag()
|
/external/openssl/crypto/asn1/ |
D | p5_pbe.c | 81 X509_ALGOR *algor; variable 118 if (!(algor = X509_ALGOR_new())) { 122 ASN1_OBJECT_free(algor->algorithm); 123 algor->algorithm = al; 124 algor->parameter = astype; 126 return (algor);
|
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), 139 pkey->algor->algorithm=OBJ_nid2obj(NID_rsaEncryption); in i2d_RSA_NET() 140 if ((pkey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; in i2d_RSA_NET() 141 pkey->algor->parameter->type=V_ASN1_NULL; in i2d_RSA_NET() 157 enckey->enckey->algor->algorithm=OBJ_nid2obj(NID_rc4); in i2d_RSA_NET() 158 if ((enckey->enckey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; in i2d_RSA_NET() 159 enckey->enckey->algor->parameter->type=V_ASN1_NULL; in i2d_RSA_NET() 263 if (OBJ_obj2nid(enckey->enckey->algor->algorithm) != NID_rc4) in d2i_RSA_NET()
|
D | x_pubkey.c | 82 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 99 a=pk->algor; 279 type=OBJ_obj2nid(key->algor->algorithm); in X509_PUBKEY_get() 290 a=key->algor; in X509_PUBKEY_get()
|
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()
|
D | t_req.c | 140 if (i2a_ASN1_OBJECT(bp, ri->pubkey->algor->algorithm) <= 0) in X509_REQ_print_ex()
|
D | t_x509.c | 206 if (i2a_ASN1_OBJECT(bp, ci->key->algor->algorithm) <= 0) in X509_print_ex()
|
/external/openssl/include/openssl/ |
D | pkcs12.h | 211 unsigned char *PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, 214 void * PKCS12_item_decrypt_d2i(X509_ALGOR *algor, const ASN1_ITEM *it, 216 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it,
|
D | x509.h | 161 X509_ALGOR *algor; member 168 X509_ALGOR *algor; member 870 X509_ALGOR *algor);
|
D | safestack.h | 148 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 149 (STACK_OF(type) *)PKCS12_decrypt_d2i(algor, \ 213 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 214 …((STACK *)PKCS12_decrypt_d2i(algor,(char *(*)())d2i_func, (void(*)(void *))free_func,pass,passlen,… 1979 #define PKCS12_decrypt_d2i_PKCS12_SAFEBAG(algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 1980 …SKM_PKCS12_decrypt_d2i(PKCS12_SAFEBAG, (algor), (d2i_func), (free_func), (pass), (passlen), (oct),… 1982 #define PKCS12_decrypt_d2i_PKCS7(algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 1983 SKM_PKCS12_decrypt_d2i(PKCS7, (algor), (d2i_func), (free_func), (pass), (passlen), (oct), (seq))
|
/external/openssl/crypto/x509/ |
D | x509.h | 161 X509_ALGOR *algor; member 168 X509_ALGOR *algor; member 870 X509_ALGOR *algor);
|
/external/openssl/crypto/pkcs7/ |
D | pk7_lib.c | 539 if (!(p7i->key_enc_algor= X509_ALGOR_dup(x509->cert_info->key->algor))) in PKCS7_RECIP_INFO_set()
|
/external/openssl/crypto/stack/ |
D | safestack.h | 148 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 149 (STACK_OF(type) *)PKCS12_decrypt_d2i(algor, \ 213 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 214 …((STACK *)PKCS12_decrypt_d2i(algor,(char *(*)())d2i_func, (void(*)(void *))free_func,pass,passlen,… 1979 #define PKCS12_decrypt_d2i_PKCS12_SAFEBAG(algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 1980 …SKM_PKCS12_decrypt_d2i(PKCS12_SAFEBAG, (algor), (d2i_func), (free_func), (pass), (passlen), (oct),… 1982 #define PKCS12_decrypt_d2i_PKCS7(algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument 1983 SKM_PKCS12_decrypt_d2i(PKCS7, (algor), (d2i_func), (free_func), (pass), (passlen), (oct), (seq))
|
/external/openssl/apps/ |
D | pkcs12.c | 768 alg_print (bio_err, bag->value.shkeybag->algor); in dump_certs_pkeys_bag()
|