From a2a22f672bdfcd0f51626764a89457395559367e Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sat, 22 Aug 1998 07:12:58 +0000 Subject: doc UA faulting code --- src/lib/libc/crypt/blowfish.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/libc/crypt/blowfish.c b/src/lib/libc/crypt/blowfish.c index 96b4c06f00..261ace5c21 100644 --- a/src/lib/libc/crypt/blowfish.c +++ b/src/lib/libc/crypt/blowfish.c @@ -1,4 +1,4 @@ -/* $OpenBSD: blowfish.c,v 1.10 1998/08/21 23:31:28 deraadt Exp $ */ +/* $OpenBSD: blowfish.c,v 1.11 1998/08/22 07:12:58 deraadt Exp $ */ /* * Blowfish block cipher for OpenBSD * Copyright 1997 Niels Provos @@ -587,6 +587,9 @@ blf_dec(c, data, blocks) /* Repeating operations for little endian machines */ +/* + * XXX This code is NOT correct for unaligned-access faulting machines. + */ #define BLF_BLK_ENC l = ntohl (*(u_int32_t *)data); \ r = ntohl (*(u_int32_t *)(data+4)); \ Blowfish_encipher(c, &l, &r); \ -- cgit v1.2.3-55-g6feb