security: Generate random block in Tpm.
Change-Id: Ia65d32802ed0ebc76605ae7975ea02f4c2db737d
diff --git a/src/security/sec-tpm-file.hpp b/src/security/sec-tpm-file.hpp
index d0a68b8..7a92ec1 100644
--- a/src/security/sec-tpm-file.hpp
+++ b/src/security/sec-tpm-file.hpp
@@ -108,6 +108,8 @@
std::string
nameTransform(const std::string &keyName, const std::string &extension);
+ virtual bool
+ generateRandomBlock(uint8_t* res, size_t size);
private:
void
@@ -115,8 +117,9 @@
private:
class Impl;
- std::auto_ptr<Impl> impl_;
+ shared_ptr<Impl> m_impl;
};
+
}//ndn
#endif