31 #ifdef __DEVELOPMENT_ASSERTIONS__
73 std::string sizehash_hash =
calcMAC(bundle, key);
83 verify(bundle, key, correlator);
92 verify(bundle, key, correlator);
96 while (it.next(bundle.
end()))
116 std::set<dtn::data::Number> correlators;
119 std::string our_hash_string = calcMAC(bundle, key);
122 while (it.next(bundle.end()))
130 if (correlators.find(bab.
_correlator) == correlators.end())
continue;
133 if (our_hash_string == bab_result)
161 std::string hmac_key = key.
getData();
162 ibrcommon::HMacStream hms((
const unsigned char*)hmac_key.c_str(),
static_cast<int>(hmac_key.length()));
177 size += EVP_MD_size(EVP_sha1());