我如何使用Botan :: MemoryRegion?

时间:2015-06-26 15:22:12

标签: c++ botan

有没有人知道如何创建一个Botan :: MemoryRegion类型的对象用于此方法?

BigInt BOTAN_DLL fe1_encrypt(const BigInt& n, const BigInt& X,
                         const SymmetricKey& key,
                         const MemoryRegion<byte>& tweak);

1 个答案:

答案 0 :(得分:2)

bin/aclocalCan't locate Automake/Config.pm in @INC (@INC contains: /home/v/varun/local/share/automake-1.15 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at bin/aclocal line 37. BEGIN failed--compilation aborted at bin/aclocal line 37. 都继承自MemoryVector,可以与SecureVector非常相似。

MemoryRegion

std::vector采取一些预防措施来防止数据传播(例如,在删除前覆盖并抑制一些交换到磁盘的情况)