#include <cuda_runtime.h>
#include <stdbool.h>

#ifndef _{{toUpper .Field}}_FIELD_H
#define _{{toUpper .Field}}_FIELD_H

#ifdef __cplusplus
extern "C" {
#endif

typedef struct scalar_t scalar_t;
typedef struct DeviceContext DeviceContext;

void {{.Field}}_generate_scalars(scalar_t* scalars, int size);
cudaError_t {{.Field}}_scalar_convert_montgomery(scalar_t* d_inout, size_t n, bool is_into, DeviceContext* ctx);

#ifdef __cplusplus
}
#endif

#endif
