/external/openssl/ssl/ |
s3_cbc.c | 199 /* ssl3_cbc_copy_mac copies |md_size| bytes from the end of |rec| to |out| in 207 * rec->orig_len >= md_size 208 * md_size <= EVP_MAX_MD_SIZE 220 unsigned md_size,unsigned orig_len) 231 unsigned mac_start = mac_end - md_size; 239 OPENSSL_assert(orig_len >= md_size); 240 OPENSSL_assert(md_size <= EVP_MAX_MD_SIZE); 247 if (orig_len > md_size + 255 + 1) 248 scan_start = orig_len - (md_size + 255 + 1); 249 /* div_spoiler contains a multiple of md_size that is used to cause th 416 unsigned md_size, md_block_size = 64; local [all...] |
s2_lib.c | 457 int md_size; local 474 md_size = EVP_MD_size(md5); 475 if (md_size < 0) 477 for (i=0; i<s->s2->key_material_length; i += md_size) 479 if (((km - s->s2->key_material) + md_size) > 498 km += md_size;
|
s3_enc.c | 719 size_t md_size, orig_len; local 741 md_size=t; 742 npad=(48/md_size)*md_size; 745 orig_len = rec->length+md_size+((unsigned int)rec->type>>8); 765 memcpy(header+j, mac_sec, md_size); 766 j += md_size; 777 md, &md_size, 779 rec->length + md_size, orig_len, 780 mac_sec, md_size, [all...] |
t1_enc.c | 983 size_t md_size, orig_len; local 1005 md_size=t; 1032 orig_len = rec->length+md_size+((unsigned int)rec->type>>8); 1051 md, &md_size, 1053 rec->length + md_size, orig_len, 1062 t=EVP_DigestSignFinal(mac_ctx,md,&md_size); 1092 {unsigned int z; for (z=0; z<md_size; z++) printf("%02X ",md[z]); printf("\n"); } 1094 return(md_size); [all...] |
ssl_locl.h | [all...] |
/external/chromium_org/third_party/boringssl/src/ssl/ |
s3_cbc.c | 208 /* ssl3_cbc_copy_mac copies |md_size| bytes from the end of |rec| to |out| in 216 * rec->orig_len >= md_size 217 * md_size <= EVP_MAX_MD_SIZE 229 unsigned md_size,unsigned orig_len) 240 unsigned mac_start = mac_end - md_size; 248 assert(orig_len >= md_size); 249 assert(md_size <= EVP_MAX_MD_SIZE); 256 if (orig_len > md_size + 255 + 1) 257 scan_start = orig_len - (md_size + 255 + 1); 258 /* div_spoiler contains a multiple of md_size that is used to cause th 401 unsigned md_size, md_block_size = 64; local [all...] |
s3_enc.c | 636 size_t md_size, orig_len; local 658 md_size=t; 659 npad=(48/md_size)*md_size; 662 orig_len = rec->length+md_size+((unsigned int)rec->type>>8); 682 memcpy(header+j, mac_sec, md_size); 683 j += md_size; 694 md, &md_size, 696 rec->length + md_size, orig_len, 697 mac_sec, md_size, [all...] |
t1_enc.c | 1079 size_t md_size, orig_len; local 1100 md_size=t; 1119 orig_len = rec->length+md_size+((unsigned int)rec->type>>8); [all...] |
ssl_locl.h | [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/digest/ |
internal.h | 72 /* md_size contains the size, in bytes, of the resulting digest. */ 73 unsigned md_size; member in struct:env_md_st 85 /* final completes the hash and writes |md_size| bytes of digest to |out|. */
|
digest.c | 75 size_t EVP_MD_size(const EVP_MD *md) { return md->md_size; } 209 assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); 212 *size = ctx->digest->md_size;
|
/external/openssl/crypto/evp/ |
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...] |
digest.c | 271 OPENSSL_assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); 274 *size=ctx->digest->md_size;
|
bio_md.c | 259 if (size < ctx->digest->md_size)
|
evp_lib.c | 273 return md->md_size;
|
evp.h | 164 int md_size; member in struct:env_md_st [all...] |
/external/openssl/crypto/pkcs12/ |
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/chromium_org/third_party/boringssl/src/crypto/evp/ |
p_hmac.c | 157 size_t md_size = EVP_MD_CTX_size(mctx); local 160 *siglen = md_size; 162 } else if (*siglen < md_size) {
|
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl.c | 3360 int md_size; local [all...] |
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 784 memcpy(md, state->digest_res, ctx->digest->md_size); [all...] |
/external/openssl/include/openssl/ |
evp.h | 164 int md_size; member in struct:env_md_st [all...] |