Skip to content
Snippets Groups Projects
Commit 23ffbb9c authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

in progress: NSEC: refactor, add comments, fix memory leaks

parent 86c5a783
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,18 @@
#define KNOT_NSEC3_SHA_USE_EVP 0
/*----------------------------------------------------------------------------*/
/*!
* \brief Length of raw NSEC3 hash in bytes.
*/
#define KNOT_NSEC3_HASH_LENGTH 20
/*!
* \brief Length of the a NSEC3 hash encoded in Base32 encoding.
*/
#define KNOT_NSEC3_HASH_B32_LENGTH 32
/*----------------------------------------------------------------------------*/
/*!
* \brief Structure representing the NSEC3PARAM resource record.
......
This diff is collapsed.
......@@ -18,6 +18,13 @@
#include "zone.h"
/*!
* \brief Create NSEC or NSEC3 chain in the zone.
*
* \param zone Zone for which the NSEC(3) chain will be created.
*
* \return Error code, KNOT_EOK if successful.
*/
int knot_zone_create_nsec_chain(knot_zone_t *zone);
#endif // _KNOT_ZONE_NSEC_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment