diff options
author | J.H.M. Dassen <jdassen@wi.leidenuniv.nl> | 1998-12-15 00:15:14 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 1998-12-15 00:15:14 +0100 |
commit | 9bce1dd6ee3f2643d45d137eff33960dad6f5f38 (patch) | |
tree | b10fc07fffa6f0b56bc568d60a98f67d08d5a095 | |
parent | 88f0f87c96249eafe87330971b065b642e6a93e2 (diff) | |
download | nettle-9bce1dd6ee3f2643d45d137eff33960dad6f5f38.tar.gz |
Added patent comment (jdassen@wi.leidenuniv.nl). Changed const to CONST.
Rev: src/symmetric/include/idea.h:1.3
-rw-r--r-- | include/idea.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/idea.h b/include/idea.h index 3328f8fd..b19cbaeb 100644 --- a/include/idea.h +++ b/include/idea.h @@ -2,6 +2,11 @@ * $Id$ */ +/* + * Please be aware that IDEA IS PATENT ENCUMBERED; see the note in idea.c. + * ------------------------- + */ + #ifndef IDEA_H_INCLUDED #define IDEA_H_INCLUDED @@ -14,13 +19,13 @@ #include "crypto_types.h" void idea_expand(UINT16 *ctx, - const UINT8 *key); + CONST UINT8 *key); void idea_invert(UINT16 *d, - const UINT16 *e); + CONST UINT16 *e); -void idea_crypt(const UINT16 *ctx, +void idea_crypt(CONST UINT16 *ctx, UINT8 *dest, - const UINT8 *src); + CONST UINT8 *src); #endif /* IDEA_H_INCLUDED */ |