From: Mark Wooding Date: Wed, 18 Mar 2015 09:58:21 +0000 (+0000) Subject: symm/safer.[ch]: Correct description for `safer_setup'. X-Git-Tag: 2.2.0~7^2 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/7e21b65f43dcdb5fa98c919b14429d697d876230 symm/safer.[ch]: Correct description for `safer_setup'. --- diff --git a/symm/safer.c b/symm/safer.c index 8dd31cbf..a75e6147 100644 --- a/symm/safer.c +++ b/symm/safer.c @@ -59,8 +59,8 @@ extern const octet safer_s[256], safer_si[256]; * * Returns: --- * - * Use: Initializes an SAFER expanded key. A default number of - * rounds is chosen, based on the key length. + * Use: Initializes an SAFER expanded key, with lots of options + * controlling how to do it. */ struct ksched { @@ -252,7 +252,6 @@ void safersk_init(safer_ctx *k, const void *buf, size_t sz) KXS(k, a, b, c, d, e, f, g, h); \ } while (0) - void safer_eblk(const safer_ctx *k, const uint32 *src, uint32 *dst) { octet a, b, c, d, e, f, g, h; diff --git a/symm/safer.h b/symm/safer.h index 6186d966..1ed1f17d 100644 --- a/symm/safer.h +++ b/symm/safer.h @@ -85,8 +85,8 @@ typedef struct safer_ctx { * * Returns: --- * - * Use: Initializes an SAFER expanded key. A default number of - * rounds is chosen, based on the key length. + * Use: Initializes an SAFER expanded key, with lots of options + * controlling how to do it. */ #define SAFER_SK 1u