Home
last modified time | relevance | path

Searched refs:md_nid (Results 1 – 8 of 8) sorted by relevance

/external/openssl/crypto/evp/
Devp_pbe.c78 int md_nid; member
160 int cipher_nid, md_nid; in EVP_PBE_CipherInit() local
164 &cipher_nid, &md_nid, &keygen)) in EVP_PBE_CipherInit()
191 if (md_nid == -1) in EVP_PBE_CipherInit()
195 md = EVP_get_digestbynid(md_nid); in EVP_PBE_CipherInit()
235 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, int md_nid, in EVP_PBE_alg_add_type() argument
249 pbe_tmp->md_nid = md_nid; in EVP_PBE_alg_add_type()
260 int cipher_nid, md_nid; in EVP_PBE_alg_add() local
266 md_nid = EVP_MD_type(md); in EVP_PBE_alg_add()
268 md_nid = -1; in EVP_PBE_alg_add()
[all …]
Devp.h990 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, int md_nid,
/external/openssl/ssl/
Ds3_enc.c158 static int ssl3_handshake_mac(SSL *s, int md_nid,
645 int ssl3_cert_verify_mac(SSL *s, int md_nid, unsigned char *p) in ssl3_cert_verify_mac() argument
647 return(ssl3_handshake_mac(s,md_nid,NULL,0,p)); in ssl3_cert_verify_mac()
658 static int ssl3_handshake_mac(SSL *s, int md_nid, in ssl3_handshake_mac() argument
675 if (s->s3->handshake_dgst[i]&&EVP_MD_CTX_type(s->s3->handshake_dgst[i])==md_nid) in ssl3_handshake_mac()
Dssl_locl.h897 int ssl3_cert_verify_mac(SSL *s, int md_nid, unsigned char *p);
1063 int tls1_cert_verify_mac(SSL *s, int md_nid, unsigned char *p);
Dt1_enc.c904 int tls1_cert_verify_mac(SSL *s, int md_nid, unsigned char *out) in tls1_cert_verify_mac() argument
916 if (s->s3->handshake_dgst[i]&&EVP_MD_CTX_type(s->s3->handshake_dgst[i])==md_nid) in tls1_cert_verify_mac()
Dssl_lib.c2047 int signature_nid = 0, pk_nid = 0, md_nid = 0; in ssl_set_cert_masks() local
2179 OBJ_find_sigid_algs(signature_nid, &md_nid, &pk_nid); in ssl_set_cert_masks()
2250 int signature_nid = 0, md_nid = 0, pk_nid = 0; in ssl_check_srvr_ecc_cert_and_alg() local
2271 OBJ_find_sigid_algs(signature_nid, &md_nid, &pk_nid); in ssl_check_srvr_ecc_cert_and_alg()
/external/openssl/crypto/asn1/
Dasn_mime.c205 int i, have_unknown = 0, write_comma, ret = 0, md_nid; in asn1_write_micalg() local
213 md_nid = OBJ_obj2nid(sk_X509_ALGOR_value(mdalgs, i)->algorithm); in asn1_write_micalg()
214 md = EVP_get_digestbynid(md_nid); in asn1_write_micalg()
229 switch(md_nid) in asn1_write_micalg()
/external/openssl/include/openssl/
Devp.h990 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, int md_nid,