|
Message-ID: <032701cf6b01$061f2f00$125d8d00$@net>
Date: Thu, 8 May 2014 16:03:55 -0500
From: "jfoug" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
Subject: Core on sparc i.e. requires alignment hmac format (and possibly others)
I have been doing work on autoconf, working on getting my ancient sparc
working. Surprisingly, it built pretty easily. I had to hand edit my
makefile some, since my autoconf scripts are not 'ready' yet, but I know
where in that I need to add probes (mostly for CPU architectures, etc).
I ended up having to remove 17 formats due to cores, 23 formats that fail,
and about 6 due to openssl 'assumptions', and there were
formats.c:
int fmt_default_binary_hash_0(void * binary)
{
return *(ARCH_WORD_32 *) binary & 0xF;
}
hmacSHA224_fmt_plug.c (and probably many others)
static void *binary(char *ciphertext)
{
static unsigned char realcipher[BINARY_SIZE];
int i,pos;
I thought we had tests that would fail in the format/test/benchmarking stage
for binary not being aligned (at least not aligned on CPU's requiring it).
I can/will easily fix the formats where this is an issue, BUT this looks
like some oversight or code not working on our internal testing code, and
something that should be added.
Jim.
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.