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

Method set_sizes

extra/yassl/src/crypto_wrapper.cpp:876–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874
875
876void DiffieHellman::set_sizes(int& pSz, int& gSz, int& pubSz) const
877{
878 using TaoCrypt::Integer;
879 Integer p = pimpl_->dh_.GetP();
880 Integer g = pimpl_->dh_.GetG();
881
882 pSz = p.ByteCount();
883 gSz = g.ByteCount();
884 pubSz = pimpl_->dh_.GetByteLength();
885}
886
887
888void DiffieHellman::get_parms(byte* bp, byte* bg, byte* bpub) const

Callers 1

buildMethod · 0.80

Calls 1

GetByteLengthMethod · 0.80

Tested by

no test coverage detected