HKDS: Heirarchal Key Derivation System 1.0.0.2 (A2)
A fast post-quantum secure replacement for DUKPT
utils_cpu_features Struct Reference

Contains the CPU feature availability. More...

#include <utils.h>

Data Fields

bool adx
 
bool aesni
 
bool pcmul
 
bool armv7
 
bool neon
 
bool sha256
 
bool sha512
 
bool sha3
 
bool avx
 
bool avx2
 
bool avx512f
 
bool hyperthread
 
bool rdrand
 
bool rdtcsp
 
uint32_t cacheline
 
uint32_t cores
 
uint32_t cpus
 
uint32_t freqbase
 
uint32_t freqmax
 
uint32_t freqref
 
uint32_t l1cache
 
uint32_t l1cacheline
 
uint32_t l2associative
 
uint32_t l2cache
 
char serial [UTILS_CPUIDEX_SERIAL_SIZE]
 
char vendor [UTILS_CPUIDEX_VENDOR_SIZE]
 
utils_cpu_maker cputype
 

Detailed Description

Contains the CPU feature availability.

Field Documentation

◆ adx

bool adx

The ADX flag

◆ aesni

bool aesni

The AESNI flag

◆ armv7

bool armv7

ARMv7 cpu flag

◆ avx

bool avx

The AVX flag

◆ avx2

bool avx2

The AVX2 flag

◆ avx512f

bool avx512f

The AVX512F flag

◆ cacheline

uint32_t cacheline

The number of cache lines

◆ cores

uint32_t cores

The number of cores

◆ cpus

uint32_t cpus

The number of CPUs

◆ cputype

utils_cpu_maker cputype

The CPU manufacturer

◆ freqbase

uint32_t freqbase

The frequency base

◆ freqmax

uint32_t freqmax

The frequency maximum

◆ freqref

uint32_t freqref

The frequency reference

◆ hyperthread

bool hyperthread

The hyper-thread flag

◆ l1cache

uint32_t l1cache

The L1 cache size

◆ l1cacheline

uint32_t l1cacheline

The L1 cache line size

◆ l2associative

uint32_t l2associative

The L2 associative size

◆ l2cache

uint32_t l2cache

The L2 cache size

◆ neon

bool neon

Neon instructions flag

◆ pcmul

bool pcmul

The PCLMULQDQ flag

◆ rdrand

bool rdrand

The RDRAND flag

◆ rdtcsp

bool rdtcsp

The RDTCSP flag

◆ serial

char serial[UTILS_CPUIDEX_SERIAL_SIZE]

The CPU serial number

◆ sha256

bool sha256

SHA2-256 flag

◆ sha3

bool sha3

SHA3 flag

◆ sha512

bool sha512

SHA2-512 flag

◆ vendor

char vendor[UTILS_CPUIDEX_VENDOR_SIZE]

The CPU vendor name


The documentation for this struct was generated from the following file: