Revision 539576ec53104316dacac738fca7bc8fd967de62 authored by Son Ho on 26 February 2021, 12:56:35 UTC, committed by Son Ho on 26 February 2021, 12:56:35 UTC
1 parent 7fc6186
Raw File
EverCrypt_AutoConfig2.h
/* MIT License
 *
 * Copyright (c) 2016-2020 INRIA, CMU and Microsoft Corporation
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */


#ifndef __EverCrypt_AutoConfig2_H
#define __EverCrypt_AutoConfig2_H

#if defined(__cplusplus)
extern "C" {
#endif

#include "evercrypt_targetconfig.h"
#include "libintvector.h"
#include "kremlin/internal/types.h"
#include "kremlin/lowstar_endianness.h"
#include <string.h>
#include "kremlin/internal/target.h"


#include "Vale.h"

bool EverCrypt_AutoConfig2_has_shaext();

bool EverCrypt_AutoConfig2_has_aesni();

bool EverCrypt_AutoConfig2_has_pclmulqdq();

bool EverCrypt_AutoConfig2_has_avx2();

bool EverCrypt_AutoConfig2_has_avx();

bool EverCrypt_AutoConfig2_has_bmi2();

bool EverCrypt_AutoConfig2_has_adx();

bool EverCrypt_AutoConfig2_has_sse();

bool EverCrypt_AutoConfig2_has_movbe();

bool EverCrypt_AutoConfig2_has_rdrand();

bool EverCrypt_AutoConfig2_has_avx512();

bool EverCrypt_AutoConfig2_wants_vale();

bool EverCrypt_AutoConfig2_wants_hacl();

bool EverCrypt_AutoConfig2_wants_openssl();

bool EverCrypt_AutoConfig2_wants_bcrypt();

void EverCrypt_AutoConfig2_recall();

void EverCrypt_AutoConfig2_init();

typedef void (*EverCrypt_AutoConfig2_disabler)();

void EverCrypt_AutoConfig2_disable_avx2();

void EverCrypt_AutoConfig2_disable_avx();

void EverCrypt_AutoConfig2_disable_bmi2();

void EverCrypt_AutoConfig2_disable_adx();

void EverCrypt_AutoConfig2_disable_shaext();

void EverCrypt_AutoConfig2_disable_aesni();

void EverCrypt_AutoConfig2_disable_pclmulqdq();

void EverCrypt_AutoConfig2_disable_sse();

void EverCrypt_AutoConfig2_disable_movbe();

void EverCrypt_AutoConfig2_disable_rdrand();

void EverCrypt_AutoConfig2_disable_avx512();

void EverCrypt_AutoConfig2_disable_vale();

void EverCrypt_AutoConfig2_disable_hacl();

void EverCrypt_AutoConfig2_disable_openssl();

void EverCrypt_AutoConfig2_disable_bcrypt();

#if defined(__cplusplus)
}
#endif

#define __EverCrypt_AutoConfig2_H_DEFINED
#endif
back to top