Re: cryptoloop 2.6 "backport" for 2.4.22-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Aug 2003 16:32:27 +0100, Dale Amon wrote:
> Some build problems, I wonder if this is a version dependency in the
> developer packages. I'm using the debian woody dist on this machine.
> 
>  sundries.c: In function `use_keygen_prog':
>  sundries.c:343: unknown field `sa_handler' specified in initializer
>  sundries.c:343: warning: missing braces around initializer
>  sundries.c:343: warning: (near initialization for `sa.__sigaction_handler')
>  sundries.c:344: unknown field `sa_flags' specified in initializer
>  sundries.c:370: warning: assignment discards qualifiers from pointer target type
>  make: *** [sundries.o] Error 1
> 

Works fine for me on Gentoo 1.4... try replacing lines 342-345 with a
non-C99 initializer, and see if that helps:

	struct sigaction sa = {
		sa_handler: child_handler,
		sa_flags: SA_NOCLDSTOP
	};

> This works:
> 
>   ./ripemd160 | ./losetup -p0 -e aes-cbc-256 /dev/loop3 /dma/home/amon/data
>   mount /dev/loop3 /mnt
> 
> This doesn't:
>   ./hashalot rmd160 | \
> 	./losetup -p0 -e aes-cbc-256 /dev/loop3 /dma/home/amon/data
>   unknown hash type requested
>   USAGE:
>                 hashalot _hashtype_
>         OR
>                 _hashtype_

Hashalot is kinda picky about the "ipe" in "ripemd160". Is it better 
to use the abbreviated spelling, or make both spellings work?

> Question: is proper care taken in hashalot to ensure plaintext
>           security? Is memory containing plaintext locked in
>           memory so it cannot be swapped out?

Not at all... I'll see what I can do about that.

-- 
Ben Slusky                      | People who do stupid things
sluskyb@xxxxxxxxxxxxxx          | with hazardous materials often
sluskyb@xxxxxxxxxx              | die.
PGP keyID ADA44B3B              |               -Jim Davidson
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux