summaryrefslogtreecommitdiff
path: root/des.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2001-06-15 18:32:35 +0200
committerNiels Möller <nisse@lysator.liu.se>2001-06-15 18:32:35 +0200
commitabd17ec3bc86206e17cab71578fe9e03b1edc6ef (patch)
tree06e9587a4a45efd723e2f67d12a990896a7e5595 /des.h
parent3ac3edad216895815753091ba317fd4d1a6d14a9 (diff)
downloadnettle-abd17ec3bc86206e17cab71578fe9e03b1edc6ef.tar.gz
Minor fixes.
Rev: src/nettle/blowfish.c:1.2 Rev: src/nettle/blowfish.h:1.2 Rev: src/nettle/des.h:1.2 Rev: src/nettle/serpent.c:1.2
Diffstat (limited to 'des.h')
-rw-r--r--des.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/des.h b/des.h
index 3b713429..2976a0b7 100644
--- a/des.h
+++ b/des.h
@@ -51,8 +51,8 @@ struct des_ctx
enum des_error status;
};
-/* On success, returns 1 and sets ctx->status to DES_OK. On error,
- * returns 0 and sets ctx->status accordingly. */
+/* On success, returns 1 and sets ctx->status to DES_OK (zero). On
+ * error, returns 0 and sets ctx->status accordingly. */
int
des_set_key(struct des_ctx *ctx, const uint8_t *key);