HWCAP for SHA-1 and SHA-256

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

 



Hi Everyone,

I'm having trouble finding the HWCAP_* or HWCAP2_* for SHA-1 and
SHA-256 on x86 machines.

Poking around Torvald's GitHub does not reveal them in either auxvec.h
or hwcap2.h. Also see
https://github.com/torvalds/linux/tree/master/arch/x86/include/uapi/asm.
Grepping my local machine (x86_64) provides them for arm64, but not
x86 (WTF?):

   $ grep -IR HWCAP2_ /usr/include
   /usr/include/x86_64-linux-gnu/asm/hwcap2.h:#ifndef _ASM_X86_HWCAP2_H
   /usr/include/x86_64-linux-gnu/asm/hwcap2.h:#define _ASM_X86_HWCAP2_H
   /usr/include/x86_64-linux-gnu/asm/hwcap2.h:#define
HWCAP2_RING3MWAIT        (1 << 0)

What are the HWCAP_* or HWCAP2_* to use for SHA-1 and SHA-256 on x86 machines?

Thanks in advance.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux