[sheepdog] [PATCH] tests: Implement fast random on AES

MORITA Kazutaka morita.kazutaka at gmail.com
Tue May 14 18:56:46 CEST 2013


At Tue, 14 May 2013 09:48:29 -0700,
Joseph Glanville wrote:
>  
> +_random()
> +{
> +	openssl enc -aes-256-ctr -pass pass:"$(date)" -nosalt < /dev/zero
> +}

Needs "2>/dev/null" like the following to silent error messages.

_random()
{
	openssl enc -aes-256-ctr -pass pass:"$(date)" -nosalt < /dev/zero 2>/dev/null
}



More information about the sheepdog mailing list