Home
last modified time | relevance | path

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

/external/openssl/crypto/evp/
Dbio_ok.c466 if(ctx->buf_len+ 2* md->digest->md_size > OK_BLOCK_SIZE) return; in sig_out()
472 RAND_pseudo_bytes(md->md_data, md->digest->md_size); in sig_out()
473 memcpy(&(ctx->buf[ctx->buf_len]), md->md_data, md->digest->md_size); in sig_out()
474 longswap(&(ctx->buf[ctx->buf_len]), md->digest->md_size); in sig_out()
475 ctx->buf_len+= md->digest->md_size; in sig_out()
479 ctx->buf_len+= md->digest->md_size; in sig_out()
494 if((int)(ctx->buf_len-ctx->buf_off) < 2*md->digest->md_size) return; in sig_in()
497 memcpy(md->md_data, &(ctx->buf[ctx->buf_off]), md->digest->md_size); in sig_in()
498 longswap(md->md_data, md->digest->md_size); in sig_in()
499 ctx->buf_off+= md->digest->md_size; in sig_in()
[all …]
Ddigest.c230 OPENSSL_assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex()
233 *size=ctx->digest->md_size; in EVP_DigestFinal_ex()
Devp_lib.c258 return md->md_size; in EVP_MD_size()
Dbio_md.c255 if (size < ctx->digest->md_size) in md_gets()
Devp.h227 int md_size; member
/external/openssl/ssl/
Ds3_enc.c588 unsigned int md_size; in ssl3_mac() local
606 md_size=EVP_MD_size(hash); in ssl3_mac()
607 npad=(48/md_size)*md_size; in ssl3_mac()
613 EVP_DigestUpdate(&md_ctx,mac_sec,md_size); in ssl3_mac()
625 EVP_DigestUpdate(&md_ctx,mac_sec,md_size); in ssl3_mac()
627 EVP_DigestUpdate(&md_ctx,md,md_size); in ssl3_mac()
628 EVP_DigestFinal_ex( &md_ctx,md,&md_size); in ssl3_mac()
633 return(md_size); in ssl3_mac()
Dt1_enc.c718 unsigned int md_size; in tls1_mac() local
738 md_size=EVP_MD_size(hash); in tls1_mac()
772 HMAC_Final(&hmac,md,&md_size); in tls1_mac()
777 {unsigned int z; for (z=0; z<md_size; z++) printf("%02X ",mac_sec[z]); printf("\n"); } in tls1_mac()
796 {unsigned int z; for (z=0; z<md_size; z++) printf("%02X ",md[z]); printf("\n"); } in tls1_mac()
798 return(md_size); in tls1_mac()
/external/openssl/include/openssl/
Devp.h227 int md_size; member