diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-02-06 15:03:47 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-02-06 15:03:47 +0100 |
commit | a66c79ac1b1905a111b725d6bc4c2f857060281a (patch) | |
tree | b1f40a9566aab653dc70ecc9b471269f59f0b03d /blowfish.c | |
parent | 62e582899298d127a97ce5d5fd3fdb31d2974263 (diff) | |
download | nettle-a66c79ac1b1905a111b725d6bc4c2f857060281a.tar.gz |
New function blowfish128_set_key.
Diffstat (limited to 'blowfish.c')
-rw-r--r-- | blowfish.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -9,6 +9,7 @@ /* nettle, low-level cryptographics library * + * Copyright (C) 2014 Niels Möller * Copyright (C) 2010 Simon Josefsson * Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc. * @@ -412,3 +413,9 @@ blowfish_set_key (struct blowfish_ctx *ctx, return 1; } + +int +blowfish128_set_key(struct blowfish_ctx *ctx, const uint8_t *key) +{ + return blowfish_set_key (ctx, BLOWFISH128_KEY_SIZE, key); +} |