• Home
  • Raw
  • Download

Lines Matching refs:handshake_dgst

252   if (!s->s3->handshake_dgst) {  in ssl3_free_digest_list()
256 if (s->s3->handshake_dgst[i]) { in ssl3_free_digest_list()
257 EVP_MD_CTX_destroy(s->s3->handshake_dgst[i]); in ssl3_free_digest_list()
260 OPENSSL_free(s->s3->handshake_dgst); in ssl3_free_digest_list()
261 s->s3->handshake_dgst = NULL; in ssl3_free_digest_list()
272 if (s->s3->handshake_dgst[i] != NULL) { in ssl3_finish_mac()
273 EVP_DigestUpdate(s->s3->handshake_dgst[i], buf, len); in ssl3_finish_mac()
289 s->s3->handshake_dgst = OPENSSL_malloc(SSL_MAX_DIGEST * sizeof(EVP_MD_CTX *)); in ssl3_digest_cached_records()
290 if (s->s3->handshake_dgst == NULL) { in ssl3_digest_cached_records()
295 memset(s->s3->handshake_dgst, 0, SSL_MAX_DIGEST * sizeof(EVP_MD_CTX *)); in ssl3_digest_cached_records()
305 s->s3->handshake_dgst[i] = EVP_MD_CTX_create(); in ssl3_digest_cached_records()
306 if (s->s3->handshake_dgst[i] == NULL) { in ssl3_digest_cached_records()
310 if (!EVP_DigestInit_ex(s->s3->handshake_dgst[i], md, NULL)) { in ssl3_digest_cached_records()
311 EVP_MD_CTX_destroy(s->s3->handshake_dgst[i]); in ssl3_digest_cached_records()
312 s->s3->handshake_dgst[i] = NULL; in ssl3_digest_cached_records()
316 EVP_DigestUpdate(s->s3->handshake_dgst[i], hdata, hdatalen); in ssl3_digest_cached_records()
318 s->s3->handshake_dgst[i] = NULL; in ssl3_digest_cached_records()
368 if (s->s3->handshake_dgst[i] && in ssl3_handshake_mac()
369 EVP_MD_CTX_type(s->s3->handshake_dgst[i]) == md_nid) { in ssl3_handshake_mac()
370 d = s->s3->handshake_dgst[i]; in ssl3_handshake_mac()