Searched refs:spub1 (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dbench2.cpp186 SecByteBlock spub1(d.StaticPublicKeyLength()), spub2(d.StaticPublicKeyLength());
188 d.GenerateStaticKeyPair(rng, spriv1, spub1);
200 d.Agree(val, spriv2, epriv2, spub1, epub1);
H A Dvalidat2.cpp228 SecByteBlock spub1(d.StaticPublicKeyLength()), spub2(d.StaticPublicKeyLength());
232 d.GenerateStaticKeyPair(GlobalRNG(), spriv1, spub1); local
240 if (!(d.Agree(val1, spriv1, epriv1, spub2, epub2) && d.Agree(val2, spriv2, epriv2, spub1, epub1)))

Completed in 53 milliseconds