Debian Codegraph @

crypto_kem/348864pcf/avx/transpose.h

raw
1 /*
2 This file is for matrix transposition
3 */
4
5 #ifndef TRANSPOSE_H
6 #define TRANSPOSE_H
7 #define transpose_64x128_sp_asm CRYPTO_SHARED_NAMESPACE(transpose_64x128_sp_asm)
8 #define transpose_64x256_sp_asm CRYPTO_SHARED_NAMESPACE(transpose_64x256_sp_asm)
9 #define transpose_64x64_asm CRYPTO_SHARED_NAMESPACE(transpose_64x64_asm)
10
11 #include "vec256.h"
12
13 #include <stdint.h>
14
15 extern void transpose_64x64_asm(uint64_t *);
16
17 static inline void transpose_64x64(uint64_t *in)
18 {
19 transpose_64x64_asm(in);
20 }
21
22 extern void transpose_64x256_sp_asm(vec256 *);
23
24 static inline void transpose_64x256_sp(vec256 *in)
25 {
26 transpose_64x256_sp_asm(in);
27 }
28
29 #endif
30