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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Ddatatest.cpp410 member_ptr<AuthenticatedSymmetricCipher> asc1, asc2; local
411 asc1.reset(ObjectFactoryRegistry<AuthenticatedSymmetricCipher, ENCRYPTION>::Registry().CreateObject(name.c_str()));
413 asc1->SetKey((const byte *)key.data(), key.size(), pairs);
417 AuthenticatedEncryptionFilter ef(*asc1, new StringSink(encrypted));
421 if (asc1->NeedsPrespecifiedDataLengths())
423 asc1->SpecifyDataLengths(header.size(), plaintext.size(), footer.size());
463 if (ciphertext.size()+mac.size()-plaintext.size() != asc1->DigestSize())

Completed in 55 milliseconds