[gnutls-devel] GnuTLS | x86:add detection of instruction set on Zhaoxin CPU (!1335)
    Read-only notification of GnuTLS library development activities 
    gnutls-devel at lists.gnutls.org
       
    Wed Sep 23 04:44:54 CEST 2020
    
    
  
zzjianhui commented on a discussion on lib/accelerated/x86/x86-common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1335#note_417068872
>  #endif
>  
>  #ifdef ENABLE_PADLOCK
> -static unsigned capabilities_to_via_edx(unsigned capabilities)
> +static unsigned capabilities_to_zhaoxin_edx(unsigned capabilities)
>  {
>  	unsigned a,b,c,t;
>  
> -	memset(_gnutls_x86_cpuid_s, 0, sizeof(_gnutls_x86_cpuid_s));
I moved it to the beginning of register_x86_padlock_crypto(), because read_cpuid_vals() will use _gnutls_x86_cpuid_s.
-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1335#note_417068872
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200923/fba6636d/attachment.html>
    
    
More information about the Gnutls-devel
mailing list