summaryrefslogtreecommitdiff
path: root/blowfish.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2010-07-05 21:40:42 +0200
committerNiels Möller <nisse@lysator.liu.se>2010-07-05 21:40:42 +0200
commit994af7edb8a226e9c1ab6feea8fc10e20c2b0f4c (patch)
treec1570e75c332fd7e6fb2ad3fc5221773eafe5355 /blowfish.h
parentb43cab7b880989476d820b9146328116dbc01395 (diff)
downloadnettle-994af7edb8a226e9c1ab6feea8fc10e20c2b0f4c.tar.gz
(enum blowfish_error): Deleted.
(struct blowfish_ctx): Deleted status attribute. Rev: nettle/blowfish.h:1.2
Diffstat (limited to 'blowfish.h')
-rw-r--r--blowfish.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/blowfish.h b/blowfish.h
index 9e6175d6..768e15ef 100644
--- a/blowfish.h
+++ b/blowfish.h
@@ -48,13 +48,10 @@ extern "C" {
#define _BLOWFISH_ROUNDS 16
-enum blowfish_error { BLOWFISH_OK, BLOWFISH_WEAK_KEY };
-
struct blowfish_ctx
{
uint32_t s[4][256];
uint32_t p[_BLOWFISH_ROUNDS+2];
- enum blowfish_error status;
};
/* On success, returns 1 and sets ctx->status to BLOWFISH_OK (zero).