MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / hashHandShake

Function hashHandShake

extra/yassl/src/handshake.cpp:88–95  ·  view source on GitHub ↗

add handshake from buffer into md5 and sha hashes, use handshake header

Source from the content-addressed store, hash-verified

86
87// add handshake from buffer into md5 and sha hashes, use handshake header
88void hashHandShake(SSL& ssl, const input_buffer& input, uint sz)
89{
90 const opaque* buffer = input.get_buffer() + input.get_current() -
91 HANDSHAKE_HEADER;
92 sz += HANDSHAKE_HEADER;
93 ssl.useHashes().use_MD5().update(buffer, sz);
94 ssl.useHashes().use_SHA().update(buffer, sz);
95}
96
97
98// locals

Callers 10

cipherFinishedFunction · 0.85
sendClientHelloFunction · 0.85
sendClientKeyExchangeFunction · 0.85
sendServerKeyExchangeFunction · 0.85
sendServerHelloFunction · 0.85
sendServerHelloDoneFunction · 0.85
sendCertificateFunction · 0.85
sendCertificateRequestFunction · 0.85
sendCertificateVerifyFunction · 0.85
ProcessMethod · 0.85

Calls 5

get_sizeMethod · 0.80
get_bufferMethod · 0.45
get_currentMethod · 0.45
updateMethod · 0.45
get_blockSizeMethod · 0.45

Tested by

no test coverage detected