diff options
author | Niels Möller <nisse@lysator.liu.se> | 1998-12-31 05:34:24 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 1998-12-31 05:34:24 +0100 |
commit | 077695fe763a3c58564fc6ad0da04ad71773d772 (patch) | |
tree | f60c15f6596bc2843f2e13ea769be9359a7e1713 /desKerb.c | |
parent | 2d429c0f1b5a0258979660151b99eefe320b625e (diff) | |
download | nettle-077695fe763a3c58564fc6ad0da04ad71773d772.tar.gz |
Constified.
Rev: src/symmetric/desCode.h:1.4
Rev: src/symmetric/desKerb.c:1.3
Rev: src/symmetric/desTest.c:1.6
Rev: src/symmetric/desUtil.c:1.3
Diffstat (limited to 'desKerb.c')
-rw-r--r-- | desKerb.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* * des - fast & portable DES encryption & decryption. * Copyright (C) 1992 Dana L. How - * Please see the file `README' for the complete copyright notice. + * Please see the file `descore.README' for the complete copyright notice. */ #include "des.h" @@ -16,7 +16,7 @@ DesFunc *DesCryptFuncs[2] = { DesSmallFipsDecrypt, DesSmallFipsEncrypt }; /* kerberos-compatible key schedule function */ int -des_key_sched(UINT8 *k, UINT32 *s) +des_key_sched(const UINT8 *k, UINT32 *s) { return DesMethod(s, k); } @@ -24,7 +24,7 @@ des_key_sched(UINT8 *k, UINT32 *s) /* kerberos-compatible des coding function */ int -des_ecb_encrypt(UINT8 *s, UINT8 *d, UINT32 *r, int e) +des_ecb_encrypt(const UINT8 *s, UINT8 *d, const UINT32 *r, int e) { (*DesCryptFuncs[e])(d, r, s); return 0; |