-rw-r--r-- 633 libmceliece-20240513/crypto_kem/348864/avx/transpose.h raw
/*
This file is for matrix transposition
*/
#ifndef TRANSPOSE_H
#define TRANSPOSE_H
#define transpose_64x128_sp_asm CRYPTO_SHARED_NAMESPACE(transpose_64x128_sp_asm)
#define transpose_64x256_sp_asm CRYPTO_SHARED_NAMESPACE(transpose_64x256_sp_asm)
#define transpose_64x64_asm CRYPTO_SHARED_NAMESPACE(transpose_64x64_asm)
#include "vec256.h"
#include <stdint.h>
extern void transpose_64x64_asm(uint64_t *);
static inline void transpose_64x64(uint64_t *in)
{
transpose_64x64_asm(in);
}
extern void transpose_64x256_sp_asm(vec256 *);
static inline void transpose_64x256_sp(vec256 *in)
{
transpose_64x256_sp_asm(in);
}
#endif