/* Copyright (c) 2022 tevador * * This file is part of mx25519, which is released under LGPLv3. * See LICENSE for full license details. */ #ifndef CPU_H #define CPU_H typedef enum x25519_cpu_cap { X25519_CPU_CAP_RDTSCP = 1, X25519_CPU_CAP_AVX = 2, X25519_CPU_CAP_AVX2 = 4, X25519_CPU_CAP_MULX = 8, X25519_CPU_CAP_ADX = 16, } x25519_cpu_cap; x25519_cpu_cap mx25519_get_cpu_cap(void); #endif