serpent-avx.h 558 B

12345678910111213141516171819
  1. #ifndef ASM_X86_SERPENT_AVX_H
  2. #define ASM_X86_SERPENT_AVX_H
  3. #include <linux/crypto.h>
  4. #include <crypto/serpent.h>
  5. #define SERPENT_PARALLEL_BLOCKS 8
  6. asmlinkage void serpent_ecb_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst,
  7. const u8 *src);
  8. asmlinkage void serpent_ecb_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
  9. const u8 *src);
  10. asmlinkage void serpent_cbc_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
  11. const u8 *src);
  12. asmlinkage void serpent_ctr_8way_avx(struct serpent_ctx *ctx, u8 *dst,
  13. const u8 *src, le128 *iv);
  14. #endif