1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-12-04 05:14:04 +00:00
pqcrypto/crypto_kem/hqc-256/avx2/gen_matrix.h

17 lines
46 KiB
C
Raw Normal View History

2020-09-07 19:23:34 +01:00
#ifndef GEN_MATRIX_H
#define GEN_MATRIX_H
/**
* @file gen_matrix.h
* Header file that contain precomputed generator matrix of the BCH code defined in the file parameters.h
*/
#include "parameters.h"
#include "parameters.h"
uint64_t gen_matrix[(PARAM_N1 - PARAM_K) * 4] = {0xb559382d23cb5841UL, 0x6eb4069ac7109bfUL, 0x1e7e1471cb9ab712UL, 0x2217983e7d0d472cUL, 0xdfeb4877645de8c3UL, 0xb3dc0baf4931ac0UL, 0x22823c925cafd936UL, 0x6638a8428717c974UL, 0xbfd690eec8bbd186UL, 0x167b8175e9263581UL, 0x45047924b95fb26cUL, 0xcc7150850e2f92e8UL, 0xcaf419f0b2bcfb4dUL, 0x2a1c42827e3d62bcUL, 0x9476e638b925d3caUL, 0xbaf53934615262fcUL, 0x20b10bcc46b2aedbUL, 0x52d3c56d500bccc6UL, 0x3693d800b9d11086UL, 0x57fdea56bfa982d5UL, 0x416217988d655db6UL, 0xa5a78adaa017998cUL, 0x6d27b00173a2210cUL, 0xaffbd4ad7f5305aaUL, 0x379d171c3901e32dUL, 0x4da455dcec5e3aa7UL, 0xc43174732cdef50bUL, 0x7de0316483ab4c78UL, 0x6f3a2e387203c65aUL, 0x9b48abb9d8bc754eUL, 0x8862e8e659bdea16UL, 0xfbc062c9075698f1UL, 0xde745c70e4078cb4UL, 0x36915773b178ea9cUL, 0x10c5d1ccb37bd42dUL, 0xf780c5920ead31e3UL, 0xbce8b8e1c80f1968UL, 0x6d22aee762f1d539UL, 0x218ba39966f7a85aUL, 0xef018b241d5a63c6UL, 0x79d171c3901e32d0UL, 0xda455dcec5e3aa73UL, 0x43174732cdef50b4UL, 0xde0316483ab4c78cUL, 0x46fbdbaa03f73de1UL, 0xb261fbf427b65d59UL, 0x98509a145044167bUL, 0x9e11b4ae0864c834UL, 0x8df7b75407ee7bc2UL, 0x64c3f7e84f6cbab2UL, 0x30a13428a0882cf7UL, 0x3c23695c10c99069UL, 0xaeb656852c17afc5UL, 0xcf6cafb932a87cdaUL, 0x7f3c7c208a8aeefcUL, 0x5a514a865c9e67feUL, 0x5d6cad0a582f5f8aUL, 0x9ed95f726550f9b5UL, 0xfe78f8411515ddf9UL, 0xb4a2950cb93ccffcUL, 0xf8062399395e755UL, 0x3b59fe8d66d0fad5UL, 0xe28fe4f3e1b10ce1UL, 0x4b52b2270f74d8d5UL, 0xaa59fc5e04e096ebUL, 0x7058bd7361d0fc15UL, 0xdb61dd9608f8aed0UL, 0xb4b2fc7063e4f687UL, 0xe1eac0912a0a7597UL, 0xe65a3a8f6fd0f194UL, 0xa8bdaf5dda6beab2UL, 0x4b7260debac4aa23UL, 0x768cb90f77dfb36fUL, 0xca5f357773d0ea96UL, 0x4f054aca7f4d6277UL, 0xb4f359830884136bUL, 0x58404a33cc743e9fUL, 0x92552a874bd0dc93UL, 0x807481e5350073fdUL, 0x4bf12b386c0561faUL, 0x5d9ac4abb23257fUL, 0x224115673bd0b099UL, 0x1e9717bba19a50e9UL, 0xb5f5ce4ea50784d9UL, 0xbb3589576464afeUL, 0x44822ace77a16132UL, 0x3d2e2f774334a1d2UL, 0x6beb9c9d4a0f09b2UL, 0xa23f8907cf47cdbdUL, 0x8fef15f54333cbdbUL, 0x64224a9f4df3f4b6UL, 0xf5c0a104e9135448UL, 0xf1262a22bd44c33bUL, 0x19356b832a169e08UL, 0xd63a814f507d5e7fUL, 0xc996da37af2befbcUL, 0xe24c54457a898676UL, 0x326ad706542d3c11UL, 0xac75029ea0fabcfeUL, 0x932db46f5e57df79UL, 0x71c190a7d6d854adUL, 0x623eee65042b719cUL, 0x4694114c8a6fceeeUL, 0x44cf0e0c1a2f9dfUL, 0x56da19628e7bf11bUL, 0xc2969ca3a427ea87UL, 0x935636e8df452aceUL, 0x2a8e79fffe48b492UL, 0x18ed0ae83f3cba77UL, 0x83c6792ee43edcb1UL, 0x38d279a07510e28fUL, 0x770b6bc1819c2e09UL, 0x84832dfd5db22cafUL, 0x167b234640cb0ddUL, 0x6fdae73121bb720dUL, 0xcc014fbd7e351b3eUL, 0xbc5f63d798af011fUL, 0x424240164686804UL, 0xc1cbda1388ec5308UL, 0xba15074481677150UL, 0x78bec7af315e023eUL, 0x8484802c8d0d009UL, 0x8397b42711d8a610UL, 0x742a0e8902cee2a1UL, 0xf17d8f5e62bc047cUL, 0x1090900591a1a012UL, 0x72f684e23b14c20UL, 0xe8541d12059dc543UL, 0x57a22691e6b350b9UL, 0x27ca60628f32499aUL, 0x1020c4ed8cf82f52UL, 0xf2bfa21a7636cdaaUL, 0xaf444d23cd66a172UL, 0x4f94c0c51e649334UL, 0x204189db19f05ea4UL, 0xe57f4434ec6d9b54UL, 0x5e889a479acd42e4UL, 0x9f29818a3cc92669UL, 0x408313b633e0bd48UL, 0xcafe8869d8db36a8UL, 0x8480ca21651dd89UL, 0x38b8437dd5e3456dUL, 0x9f78331dac5bcd83UL, 0xb7ea88edccbb2a7cUL, 0x109019442ca3bb12UL, 0x717086fbabc68adaUL, 0x3ef0663b58b79b06UL, 0x6fd511db997654f9UL, 0x94790aa57a8c2e65UL, 0xe40a4d9efbfc1c0bUL, 0x639ed8077af5811eUL, 0xfdbdbb894fe1eedeUL, 0x9dab2d67d6d3048bUL, 0xceffdb545b8931a8UL, 0xd943a47f3e71b52fUL, 0xd96cef2ce2ce9a90UL, 0x3b565acfada60916UL, 0x9dffb6a8b7126351UL, 0xb28748fe7ce36a5fUL, 0xb2d9de59c59d3521UL, 0xc3f58db278874a6dUL, 0x3d142d38c255cf1dUL, 0x7b70858d325c63adUL, 0x47a4248df6372d6fUL, 0x87eb1b64f10e94daUL, 0x7a285a7184ab9e3bUL, 0xf6e10b1a64b8c75aUL, 0x8f48491bec6e5adeUL, 0xfd636c9e21d29b4UL, 0xf450b4e309573c77UL, 0xedc21634c9718eb4UL, 0x1e909237d8dcb5bdUL, 0xaaf555bee7f10b29UL, 0xee4a29afbedf7151UL, 0xc5fa38185979aa7bUL, 0x1f36bc51ccb42c57UL, 0xe0b39350ec294e13UL, 0xda7f1336d1cfeb1cUL, 0x958a64417969e3e5UL, 0x1c7ae09de4651f83UL, 0x743e1e8cfb99c467UL, 0xb21566040feedf86UL, 0x356adcf3394970d9UL, 0x1ae25905b5c7782bUL, 0xe87c3d19
#endif