Searched refs:md_size (Results 1 - 15 of 15) sorted by relevance

/external/openssl/crypto/evp/
H A Dbio_ok.c487 if(ctx->buf_len+ 2* md->digest->md_size > OK_BLOCK_SIZE) return 1;
494 RAND_pseudo_bytes(md->md_data, md->digest->md_size);
495 memcpy(&(ctx->buf[ctx->buf_len]), md->md_data, md->digest->md_size);
496 longswap(&(ctx->buf[ctx->buf_len]), md->digest->md_size);
497 ctx->buf_len+= md->digest->md_size;
503 ctx->buf_len+= md->digest->md_size;
522 if((int)(ctx->buf_len-ctx->buf_off) < 2*md->digest->md_size) return 1;
526 memcpy(md->md_data, &(ctx->buf[ctx->buf_off]), md->digest->md_size);
527 longswap(md->md_data, md->digest->md_size);
528 ctx->buf_off+= md->digest->md_size;
[all...]
H A Ddigest.c270 OPENSSL_assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE);
273 *size=ctx->digest->md_size;
H A Dbio_md.c259 if (size < ctx->digest->md_size)
H A Devp_lib.c273 return md->md_size;
H A Devp.h164 int md_size; member in struct:env_md_st
/external/openssl/crypto/pkcs12/
H A Dp12_mutl.c74 int md_size; local
91 md_size = EVP_MD_size(md_type);
92 if (md_size < 0)
95 md_size, key, md_type)) {
100 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL)
/external/openssl/ssl/
H A Ds2_lib.c455 int md_size; local
472 md_size = EVP_MD_size(md5);
473 if (md_size < 0)
475 for (i=0; i<s->s2->key_material_length; i += md_size)
477 if (((km - s->s2->key_material) + md_size) >
496 km += md_size;
H A Ds3_enc.c719 unsigned int md_size; local
741 md_size=t;
742 npad=(48/md_size)*md_size;
748 EVP_DigestUpdate(&md_ctx,mac_sec,md_size);
760 EVP_DigestUpdate(&md_ctx,mac_sec,md_size);
762 EVP_DigestUpdate(&md_ctx,md,md_size);
763 EVP_DigestFinal_ex( &md_ctx,md,&md_size);
768 return(md_size);
H A Dt1_enc.c993 size_t md_size; local
1015 md_size=t;
1048 t=EVP_DigestSignFinal(mac_ctx,md,&md_size);
1054 {unsigned int z; for (z=0; z<md_size; z++) printf("%02X ",mac_sec[z]); printf("\n"); }
1073 {unsigned int z; for (z=0; z<md_size; z++) printf("%02X ",md[z]); printf("\n"); }
1075 return(md_size);
/external/openssh/
H A Dmd-sha256.c74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_openssl.c2849 int md_size; local
2864 md_size = EVP_MD_size(h);
2867 md_size = conn->ssl->s3->tmp.new_mac_secret_size;
2873 "IV_len=%d", EVP_CIPHER_key_length(c), md_size,
2876 md_size +
/external/wpa_supplicant_8/src/crypto/
H A Dtls_openssl.c2849 int md_size; local
2864 md_size = EVP_MD_size(h);
2867 md_size = conn->ssl->s3->tmp.new_mac_secret_size;
2873 "IV_len=%d", EVP_CIPHER_key_length(c), md_size,
2876 md_size +
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dtls_openssl.c2849 int md_size; local
2864 md_size = EVP_MD_size(h);
2867 md_size = conn->ssl->s3->tmp.new_mac_secret_size;
2873 "IV_len=%d", EVP_CIPHER_key_length(c), md_size,
2876 md_size +
/external/openssl/crypto/engine/
H A Deng_cryptodev.c784 memcpy(md, state->digest_res, ctx->digest->md_size);
/external/openssl/include/openssl/
H A Devp.h164 int md_size; member in struct:env_md_st

Completed in 367 milliseconds