commit | 197e5659507305a995597f8e6c3fd2b0648ad051 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Jun 13 16:56:31 2014 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Jun 13 20:14:30 2014 -0700 |
tree | 8147e39badfbe756ac771a8113002c93a5c36e0c | |
parent | b578ab33591cdb5f987a70368ce6884bfc3c407e [diff] |
data: Optimize Data signing As of this commit, KeyChain::sign pre-allocates EncodingBuffer, requests unsigned portion of Data using Data::wireEncode(EncodingBuffer, true), and then appends the resulting signature and prepends Data packet header. This way there is no extra memory allocation after Data packet is signed. Change-Id: I670e9a2f1d6f5e9b049f41b47f011af384f32c95
ndn-cxx is a C++ library, implementing Named Data Networking (NDN) primitives that can be used to implement various NDN applications. The library is currently being used as part of the following projects:
See the file docs/INSTALL.rst
for build and install instructions.
Please submit any bugs or issues to the ndn-cxx issue tracker: http://redmine.named-data.net/projects/ndn-cxx/issues
Extensive documentation of the library is available on the library's homepage: http://www.named-data.net/doc/ndn-cxx/
ndn-cxx is an open source project licensed under LGPL 3.0 license. For more information about the license, refer to COPYING
.