Home
last modified time | relevance | path

Searched refs:handshake_dgst (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/boringssl/src/ssl/
Ds3_enc.c478 if (s->s3->handshake_dgst) ssl3_free_digest_list(s); in ssl3_init_finished_mac()
486 if (!s->s3->handshake_dgst) return; in ssl3_free_digest_list()
489 if (s->s3->handshake_dgst[i]) in ssl3_free_digest_list()
490 EVP_MD_CTX_destroy(s->s3->handshake_dgst[i]); in ssl3_free_digest_list()
492 OPENSSL_free(s->s3->handshake_dgst); in ssl3_free_digest_list()
493 s->s3->handshake_dgst=NULL; in ssl3_free_digest_list()
509 if (s->s3->handshake_dgst[i]!= NULL) in ssl3_finish_mac()
510 EVP_DigestUpdate(s->s3->handshake_dgst[i],buf,len); in ssl3_finish_mac()
525 s->s3->handshake_dgst = OPENSSL_malloc(SSL_MAX_DIGEST * sizeof(EVP_MD_CTX *)); in ssl3_digest_cached_records()
526 memset(s->s3->handshake_dgst,0,SSL_MAX_DIGEST *sizeof(EVP_MD_CTX *)); in ssl3_digest_cached_records()
[all …]
Dt1_enc.c976 if (s->s3->handshake_dgst[i]&&EVP_MD_CTX_type(s->s3->handshake_dgst[i])==md_nid) in tls1_cert_verify_mac()
978 d=s->s3->handshake_dgst[i]; in tls1_cert_verify_mac()
1012 EVP_MD_CTX *hdgst = s->s3->handshake_dgst[i]; in tls1_handshake_digest()
Ds3_lib.c1025 if (s->s3->handshake_dgst) ssl3_free_digest_list(s); in ssl3_free()
1066 if (s->s3->handshake_dgst) { in ssl3_clear()
Dt1_lib.c2827 if (s->s3->handshake_dgst[i] == NULL) in tls1_channel_id_hash()
2829 EVP_MD_CTX_copy_ex(&ctx, s->s3->handshake_dgst[i]); in tls1_channel_id_hash()
/external/openssl/ssl/
Ds3_enc.c550 if (s->s3->handshake_dgst) ssl3_free_digest_list(s); in ssl3_init_finished_mac()
558 if (!s->s3->handshake_dgst) return; in ssl3_free_digest_list()
561 if (s->s3->handshake_dgst[i]) in ssl3_free_digest_list()
562 EVP_MD_CTX_destroy(s->s3->handshake_dgst[i]); in ssl3_free_digest_list()
564 OPENSSL_free(s->s3->handshake_dgst); in ssl3_free_digest_list()
565 s->s3->handshake_dgst=NULL; in ssl3_free_digest_list()
581 if (s->s3->handshake_dgst[i]!= NULL) in ssl3_finish_mac()
582 EVP_DigestUpdate(s->s3->handshake_dgst[i],buf,len); in ssl3_finish_mac()
597 s->s3->handshake_dgst = OPENSSL_malloc(SSL_MAX_DIGEST * sizeof(EVP_MD_CTX *)); in ssl3_digest_cached_records()
598 memset(s->s3->handshake_dgst,0,SSL_MAX_DIGEST *sizeof(EVP_MD_CTX *)); in ssl3_digest_cached_records()
[all …]
Dt1_enc.c880 if (s->s3->handshake_dgst[i]&&EVP_MD_CTX_type(s->s3->handshake_dgst[i])==md_nid) in tls1_cert_verify_mac()
882 d=s->s3->handshake_dgst[i]; in tls1_cert_verify_mac()
916 EVP_MD_CTX *hdgst = s->s3->handshake_dgst[i]; in tls1_handshake_digest()
Dssl3.h458 EVP_MD_CTX **handshake_dgst; member
Ds3_srvr.c661 if (s->s3->handshake_dgst[dgst_num]) in IMPLEMENT_ssl3_meth_func()
665 …s->method->ssl3_enc->cert_verify_mac(s,EVP_MD_CTX_type(s->s3->handshake_dgst[dgst_num]),&(s->s3->t… in IMPLEMENT_ssl3_meth_func()
666 dgst_size=EVP_MD_CTX_size(s->s3->handshake_dgst[dgst_num]); in IMPLEMENT_ssl3_meth_func()
Dt1_lib.c2954 if (s->s3->handshake_dgst[i] == NULL) in tls1_channel_id_hash()
2956 EVP_MD_CTX_copy_ex(&ctx, s->s3->handshake_dgst[i]); in tls1_channel_id_hash()
Ds3_lib.c3033 if (s->s3->handshake_dgst) ssl3_free_digest_list(s); in ssl3_free()
3100 if (s->s3->handshake_dgst) { in ssl3_clear()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dssl3.h396 EVP_MD_CTX **handshake_dgst; member
/external/openssl/include/openssl/
Dssl3.h458 EVP_MD_CTX **handshake_dgst; member
/external/openssl/patches/
D0008-alpn.patch115 if (s->s3->handshake_dgst) ssl3_free_digest_list(s);
125 if (s->s3->handshake_dgst) {
D0004-channelid.patch1202 + EVP_MD_CTX *hdgst = s->s3->handshake_dgst[i];
1263 - EVP_MD_CTX *hdgst = s->s3->handshake_dgst[idx];
1408 + if (s->s3->handshake_dgst[i] == NULL)
1410 + EVP_MD_CTX_copy_ex(&ctx, s->s3->handshake_dgst[i]);