diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-22 07:12:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-22 07:12:59 +0000 |
commit | 48c71e6db1e7b81fc9d92f8d028c62457668fad1 (patch) | |
tree | be86693dd82969e74ea4f781e71f4e5eea77c8b1 /lib/libc/crypt | |
parent | 1000160a2b09a1dd62377583a88600e59d4cacb4 (diff) |
doc UA faulting code
Diffstat (limited to 'lib/libc/crypt')
-rw-r--r-- | lib/libc/crypt/blowfish.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/crypt/blowfish.c b/lib/libc/crypt/blowfish.c index 96b4c06f000..261ace5c210 100644 --- a/lib/libc/crypt/blowfish.c +++ b/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 <provos@physnet.uni-hamburg.de> @@ -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); \ |