Searched refs:md_size (Results 1 - 15 of 15) sorted by relevance
/external/openssl/crypto/evp/ |
H A D | bio_ok.c | 487 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 D | digest.c | 270 OPENSSL_assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); 273 *size=ctx->digest->md_size;
|
H A D | bio_md.c | 259 if (size < ctx->digest->md_size)
|
H A D | evp_lib.c | 273 return md->md_size;
|
H A D | evp.h | 164 int md_size; member in struct:env_md_st
|
/external/openssl/crypto/pkcs12/ |
H A D | p12_mutl.c | 74 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 D | s2_lib.c | 455 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 D | s3_enc.c | 719 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 D | t1_enc.c | 993 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 D | md-sha256.c | 74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH;
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | tls_openssl.c | 2849 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 D | tls_openssl.c | 2849 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 D | tls_openssl.c | 2849 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 D | eng_cryptodev.c | 784 memcpy(md, state->digest_res, ctx->digest->md_size);
|
/external/openssl/include/openssl/ |
H A D | evp.h | 164 int md_size; member in struct:env_md_st
|
Completed in 367 milliseconds