cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

serpent-avx.h (518B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef ASM_X86_SERPENT_AVX_H
      3#define ASM_X86_SERPENT_AVX_H
      4
      5#include <crypto/b128ops.h>
      6#include <crypto/serpent.h>
      7#include <linux/types.h>
      8
      9struct crypto_skcipher;
     10
     11#define SERPENT_PARALLEL_BLOCKS 8
     12
     13asmlinkage void serpent_ecb_enc_8way_avx(const void *ctx, u8 *dst,
     14					 const u8 *src);
     15asmlinkage void serpent_ecb_dec_8way_avx(const void *ctx, u8 *dst,
     16					 const u8 *src);
     17
     18asmlinkage void serpent_cbc_dec_8way_avx(const void *ctx, u8 *dst,
     19					 const u8 *src);
     20
     21#endif