Home | History | Annotate | Download | only in ssl

Lines Matching refs:md

151 static int tls1_P_hash(const EVP_MD *md, const unsigned char *sec,
168 chunk=EVP_MD_size(md);
173 if (!HMAC_Init_ex(&ctx,sec,sec_len,md, NULL))
175 if (!HMAC_Init_ex(&ctx_tmp,sec,sec_len,md, NULL))
251 const EVP_MD *md;
256 for (idx=0;ssl_get_handshake_digest(idx,&m,&md);idx++) {
262 for (idx=0;ssl_get_handshake_digest(idx,&m,&md);idx++) {
264 if (!md) {
269 if (!tls1_P_hash(md ,S1,len+(slen&1),
836 const EVP_MD *md;
846 for (idx=0;ssl_get_handshake_digest(idx,&mask,&md);idx++)
850 int hashsize = EVP_MD_size(md);
880 int tls1_mac(SSL *ssl, unsigned char *md, int send)
942 t=EVP_DigestSignFinal(mac_ctx,md,&md_size);
967 {unsigned int z; for (z=0; z<md_size; z++) printf("%02X ",md[z]); printf("\n"); }