2019-09-09 12:40:40 +01:00
|
|
|
#ifndef _BLAS_H_
|
|
|
|
#define _BLAS_H_
|
|
|
|
/// @file blas.h
|
2019-09-24 12:21:05 +01:00
|
|
|
/// @brief Functions for implementing basic linear algebra functions.
|
2019-09-09 12:40:40 +01:00
|
|
|
///
|
|
|
|
|
|
|
|
#include "rainbow_config.h"
|
2019-09-24 12:21:05 +01:00
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
2019-09-09 12:40:40 +01:00
|
|
|
|
2019-09-24 12:21:05 +01:00
|
|
|
void PQCLEAN_RAINBOWIACYCLICCOMPRESSED_CLEAN_gf256v_predicated_add(uint8_t *accu_b, uint8_t predicate, const uint8_t *a, size_t _num_byte);
|
|
|
|
void PQCLEAN_RAINBOWIACYCLICCOMPRESSED_CLEAN_gf256v_add(uint8_t *accu_b, const uint8_t *a, size_t _num_byte);
|
2019-09-09 12:40:40 +01:00
|
|
|
|
|
|
|
|
2019-09-24 12:21:05 +01:00
|
|
|
void PQCLEAN_RAINBOWIACYCLICCOMPRESSED_CLEAN_gf16v_madd(uint8_t *accu_c, const uint8_t *a, uint8_t gf16_b, size_t _num_byte);
|
|
|
|
void PQCLEAN_RAINBOWIACYCLICCOMPRESSED_CLEAN_gf16v_mul_scalar(uint8_t *a, uint8_t gf16_b, size_t _num_byte);
|
|
|
|
uint8_t PQCLEAN_RAINBOWIACYCLICCOMPRESSED_CLEAN_gf16v_dot(const uint8_t *a, const uint8_t *b, size_t _num_byte);
|
2019-09-09 12:40:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif // _BLAS_H_
|