mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
nts: add NTS-KE server and client
Add a client and server implementing the Network Time Security (NTS) Key Establishment. Use the GnuTLS library for TLS.
This commit is contained in:
26
stubs.c
26
stubs.c
@@ -40,6 +40,8 @@
|
||||
#include "ntp_io.h"
|
||||
#include "ntp_sources.h"
|
||||
#include "ntp_signd.h"
|
||||
#include "nts_ke_client.h"
|
||||
#include "nts_ke_server.h"
|
||||
#include "privops.h"
|
||||
#include "refclock.h"
|
||||
#include "sched.h"
|
||||
@@ -447,3 +449,27 @@ CMC_DestroyInstance(CMC_Instance inst)
|
||||
}
|
||||
|
||||
#endif /* !HAVE_CMAC */
|
||||
|
||||
#ifndef FEAT_NTS
|
||||
|
||||
void
|
||||
NKC_Initialise(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
NKC_Finalise(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
NKS_Initialise(int scfilter_level)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
NKS_Finalise(void)
|
||||
{
|
||||
}
|
||||
|
||||
#endif /* !FEAT_NTS */
|
||||
|
||||
Reference in New Issue
Block a user