named-data-iot/ndn-lite

Support incremental SHA256 computation in NDN-Lite security

Closed this issue · 1 comments

To better support the digest computation in NDN Packet encoding/decoding, the security frontend should support SHA256 computation in an incremental manner.
Specifically, the frontend should support functions:

ndn_sha256_init
ndn_sha256_update
ndn_sha256_finish

And we implement the current ndn_sha256 with the abovementioned three functions without invoking the backend impl.

New SHA256 frontend and backend has been updated. NDN-Lite now supports incremental SHA256 computation.