diff options
author | Niels Möller <nisse@lysator.liu.se> | 2001-06-15 18:32:35 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2001-06-15 18:32:35 +0200 |
commit | abd17ec3bc86206e17cab71578fe9e03b1edc6ef (patch) | |
tree | 06e9587a4a45efd723e2f67d12a990896a7e5595 /blowfish.h | |
parent | 3ac3edad216895815753091ba317fd4d1a6d14a9 (diff) | |
download | nettle-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 'blowfish.h')
-rw-r--r-- | blowfish.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -51,7 +51,9 @@ struct blowfish_ctx enum blowfish_error status; }; -void +/* On success, returns 1 and sets ctx->status to BLOWFISH_OK (zero). + * On error, returns 0 and sets ctx->status to BLOWFISH_WEAK_KEY. */ +int blowfish_set_key(struct blowfish_ctx *ctx, unsigned length, const uint8_t *key); |