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

Function get_xor

extra/yassl/src/handshake.cpp:459–464  ·  view source on GitHub ↗

calculate XOR for TLSv1 PRF

Source from the content-addressed store, hash-verified

457
458// calculate XOR for TLSv1 PRF
459void get_xor(byte *digest, uint digLen, output_buffer& md5,
460 output_buffer& sha)
461{
462 for (uint i = 0; i < digLen; i++)
463 digest[i] = md5[AUTO] ^ sha[AUTO];
464}
465
466
467// build MD5 part of certificate verify

Callers 1

PRFFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected