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

Function CRT

extra/yassl/taocrypt/src/integer.cpp:3879–3884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3877}
3878
3879Integer CRT(const Integer &xp, const Integer &p, const Integer &xq,
3880 const Integer &q, const Integer &u)
3881{
3882 // isn't operator overloading great?
3883 return p * (u * (xq-xp) % q) + xp;
3884}
3885
3886
3887#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION

Callers 1

ModularRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected