We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In ndn_gen_encrypted_payload, the used_size output parameter is calculated as:
ndn_gen_encrypted_payload
used_size
ndn-lite/encode/encrypted-payload.c
Lines 38 to 42 in d60a114
However, ndn_probe_encrypted_payload_length calculates its result differently:
ndn_probe_encrypted_payload_length
Lines 28 to 30 in d60a114
They differ in + NDN_AES_BLOCK_SIZE on the last line. Please explain why there's this difference.
+ NDN_AES_BLOCK_SIZE
The text was updated successfully, but these errors were encountered:
I don't know the detail of this piece @Zhiyi-Zhang . But I suppose ndn_gen_encrypted_payload doesn't calculate used_size correctly.
Sorry, something went wrong.
tianyuan129
No branches or pull requests
In
ndn_gen_encrypted_payload
, theused_size
output parameter is calculated as:ndn-lite/encode/encrypted-payload.c
Lines 38 to 42 in d60a114
However,
ndn_probe_encrypted_payload_length
calculates its result differently:ndn-lite/encode/encrypted-payload.c
Lines 28 to 30 in d60a114
They differ in
+ NDN_AES_BLOCK_SIZE
on the last line.Please explain why there's this difference.
The text was updated successfully, but these errors were encountered: