mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
cmac: enumerate cipher algorithms
Identify the CMAC ciphers with an enum instead of string.
This commit is contained in:
2
util.h
2
util.h
@@ -32,6 +32,7 @@
|
||||
#include "addressing.h"
|
||||
#include "ntp.h"
|
||||
#include "candm.h"
|
||||
#include "cmac.h"
|
||||
#include "hash.h"
|
||||
|
||||
/* Zero a timespec */
|
||||
@@ -165,6 +166,7 @@ extern void UTI_TimespecHostToNetwork(const struct timespec *src, Timespec *dest
|
||||
extern double UTI_FloatNetworkToHost(Float x);
|
||||
extern Float UTI_FloatHostToNetwork(double x);
|
||||
|
||||
extern CMC_Algorithm UTI_CmacNameToAlgorithm(const char *name);
|
||||
extern HSH_Algorithm UTI_HashNameToAlgorithm(const char *name);
|
||||
|
||||
/* Set FD_CLOEXEC on descriptor */
|
||||
|
||||
Reference in New Issue
Block a user