diff options
author | ian <ian> | 2000-05-31 00:58:53 +0000 |
---|---|---|
committer | ian <ian> | 2000-05-31 00:58:53 +0000 |
commit | ed509ebded419ce594b9c6a6942cf41033a7a16b (patch) | |
tree | 5f3f0ab483fc7a23fb527ace16d76a72e3c03926 /ipif/blowfishtest.c | |
parent | b18a1d7b97679cf304b8badd9d011dffd0e7bcdf (diff) | |
download | userv-utils-ed509ebded419ce594b9c6a6942cf41033a7a16b.tar.gz |
New encrypting tunnel seems to work !
Diffstat (limited to 'ipif/blowfishtest.c')
-rw-r--r-- | ipif/blowfishtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipif/blowfishtest.c b/ipif/blowfishtest.c index ad14194..5b2fe57 100644 --- a/ipif/blowfishtest.c +++ b/ipif/blowfishtest.c @@ -11,8 +11,8 @@ int main(void) { char buf[200], keybuf[200], plainbuf[200], cipherbuf[200], comparebuf[200], ivbuf[200]; char keytxt[sizeof(buf)+1], plaintxt[sizeof(buf)+1], ciphertxt[sizeof(buf)+1]; - uint8 key[BLOWFISH_MAXKEYBYTES*2], plain[100], cipher[100], compare[100]; - uint8 iv[BLOWFISH_BLOCKBYTES]; + uint8_t key[BLOWFISH_MAXKEYBYTES*2], plain[100], cipher[100], compare[100]; + uint8_t iv[BLOWFISH_BLOCKBYTES]; int keysz, plainsz, ciphersz, cskey, csiv, csplain, i; struct blowfish_expandedkey ek; struct blowfish_cbc_state cs; |