2020-09-07 19:23:34 +01:00
|
|
|
#ifndef VECTOR_H
|
|
|
|
#define VECTOR_H
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file vector.h
|
|
|
|
* @brief Header file for vector.c
|
|
|
|
*/
|
|
|
|
#include "nistseedexpander.h"
|
|
|
|
#include "randombytes.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void PQCLEAN_HQCRMRS128_CLEAN_vect_set_random_fixed_weight_by_coordinates(AES_XOF_struct *ctx, uint32_t *v, uint16_t weight);
|
|
|
|
|
|
|
|
void PQCLEAN_HQCRMRS128_CLEAN_vect_set_random_fixed_weight(AES_XOF_struct *ctx, uint64_t *v, uint16_t weight);
|
|
|
|
|
|
|
|
void PQCLEAN_HQCRMRS128_CLEAN_vect_set_random(AES_XOF_struct *ctx, uint64_t *v);
|
|
|
|
|
|
|
|
|
|
|
|
void PQCLEAN_HQCRMRS128_CLEAN_vect_add(uint64_t *o, const uint64_t *v1, const uint64_t *v2, uint32_t size);
|
|
|
|
|
2020-09-14 21:44:09 +01:00
|
|
|
uint8_t PQCLEAN_HQCRMRS128_CLEAN_vect_compare(const uint8_t *v1, const uint8_t *v2, uint32_t size);
|
2020-09-07 19:23:34 +01:00
|
|
|
|
|
|
|
void PQCLEAN_HQCRMRS128_CLEAN_vect_resize(uint64_t *o, uint32_t size_o, const uint64_t *v, uint32_t size_v);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|