X-Git-Url: https://www.flypig.org.uk/git/?p=libcontrac.git;a=blobdiff_plain;f=include%2Fcontrac%2Fdtk.h;h=459fb523bb68775279e3ad66b80a7c60890c3d67;hp=ee621e5b8a82be74292033d0880ee6245b6bb4df;hb=e48c390a86b448137a87d0d0a5863c202ba66abd;hpb=f8c83387f5abffa94e59332382441a71f5b95545 diff --git a/include/contrac/dtk.h b/include/contrac/dtk.h index ee621e5..459fb52 100644 --- a/include/contrac/dtk.h +++ b/include/contrac/dtk.h @@ -11,9 +11,9 @@ * @brief Daily Tracing Key functionality * @section DESCRIPTION * - * This class is used to generate and manage the Daily Tracing Key. It's + * This class is used to generate and manage the Daily Tracing Key (DTK). It's * largely internal. The functionality from \ref Contrac should generally be - * used instead of these functions. + * used in preference to this. * */ @@ -56,7 +56,7 @@ Dtk * dtk_new(); void dtk_delete(Dtk * data); bool dtk_generate_daily_key(Dtk * data, Contrac const * contrac, uint32_t day_number); -const unsigned char * dtk_get_daily_key(Dtk const * data); +unsigned char const * dtk_get_daily_key(Dtk const * data); uint32_t dtk_get_day_number(Dtk const * data); void dtk_assign(Dtk * data, unsigned char const * dtk_bytes, uint32_t day_number);