1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2015, Linaro Limited 4 */ 5 #ifndef TOMCRYPT_ARM_NEON_H 6 #define TOMCRYPT_ARM_NEON_H 7 8 #include <tomcrypt_macros.h> 9 10 struct tomcrypt_arm_neon_state { 11 ulong32 state; 12 }; 13 14 /* Temporarily enables neon instructions */ 15 void tomcrypt_arm_neon_enable(struct tomcrypt_arm_neon_state *state); 16 /* Disables neon instructions after a call to tomcrypt_arm_neon_enable() */ 17 void tomcrypt_arm_neon_disable(struct tomcrypt_arm_neon_state *state); 18 19 #endif /*TOMCRYPT_ARM_NEON_H*/ 20