24 #include <ndn-cpp/c/common.h>
25 #include <ndn-cpp/c/errors.h>
38 size_t oidIntegerListLength;
48 void ndn_digestSha256(
const uint8_t *data,
size_t dataLength, uint8_t *digest);
58 ndn_generateRandomBytes(uint8_t *buffer,
size_t bufferLength);
71 ndn_computeHmacWithSha256
72 (
const uint8_t *key,
size_t keyLength,
const uint8_t *data,
size_t dataLength,
89 ndn_verifyHmacWithSha256Signature
90 (
const uint8_t *key,
size_t keyLength,
const uint8_t *signature,
91 size_t signatureLength,
const uint8_t *data,
size_t dataLength);
102 ndn_verifyDigestSha256Signature
103 (
const uint8_t *signature,
size_t signatureLength,
const uint8_t *data,
111 ndn_getEcKeyInfoCount();
120 ndn_getEcKeyInfo(
int i);
Copyright (C) 2013-2018 Regents of the University of California.
Definition: crypto.h:34