[PATCH 1/1] Add support for using DRNG random number generator

Jussi Kivilinna jussi.kivilinna at mbnet.fi
Tue Dec 18 11:16:22 CET 2012


Quoting Werner Koch <wk at gnupg.org>:

> On Mon, 17 Dec 2012 16:24, jussi.kivilinna at mbnet.fi said:
>
>> handle this automatically. IMHO, hwfeatures.c needs some clean-up,
>> moving cpuid assembler to separate function and handling flag checking
>> in C instead of asm.
>
> I can see that this makes sense.  In particular if we assume that we may
> support more features in the future.

This would also allow same main x86-64/i386 features function to be  
used, with i386/x86-64 specific asm functions in get_cpuid() and  
is_cpuid_available().

I can do this, only problem being that I don't have access to device  
with VIA CPU to (easily) verify padlock parts.

-Jussi

>
>
> Salam-Shalom,
>
>    Werner
>
> --
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>
>
>






More information about the Gcrypt-devel mailing list