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

Re: identical input, different output?




Sent from my iPhone

> On Dec 5, 2014, at 3:24 PM, Colin Percival <cperciva@tarsnap.com> wrote:
> 
> On 12/05/14 07:59, danielw@emaildoge.com wrote:
>>> Which version of the scrypt code are you using?  If you're using the SSE2
>>> version, are you sure that you're running on an SSE2-enabled CPU?
>> 
>> Do you mean to say that if you run the crypto_scrypt-sse.c function on a
>> non-SSE CPU, you will get a different result than on a SSE CPU?
> 
> My understanding is that some non-SSE CPUs treat SSE instructions as NOPs.
> 
> -- 
> Colin Percival
> 

If so a quick trial SSE calculation would reveal the absence, allowing an error return. Seems prudent. 

Arnold Reinhold