1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-23 16:08:59 +00:00
pqcrypto/crypto_kem/hqc-192/avx2/gen_matrix.h

17 lines
44 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] = {0x9901f502cd17fcafUL, 0xd2f8231a9952fc37UL, 0xb2a55153e9eb5bffUL, 0xb1c0755014aa5204UL, 0xab021f07573805f1UL, 0x7708652fabf70458UL, 0xd7eff3f43a3dec00UL, 0xd2409ff03dfef60dUL, 0x56043e0eae700be2UL, 0xee10ca5f57ee08b1UL, 0xafdfe7e8747bd800UL, 0xa4813fe07bfdec1bUL, 0xac087c1d5ce017c4UL, 0xdc2194beafdc1162UL, 0x5fbfcfd0e8f7b001UL, 0x49027fc0f7fbd837UL, 0x5810f83ab9c02f88UL, 0xb843297d5fb822c5UL, 0xbf7f9fa1d1ef6003UL, 0x9204ff81eff7b06eUL, 0xb021f07573805f10UL, 0x708652fabf70458aUL, 0x7eff3f43a3dec007UL, 0x2409ff03dfef60ddUL, 0xf94215e82a17428fUL, 0x33f486efe7b27722UL, 0x4f5b2fd4ae56dbf1UL, 0xf9d38b57ab7493beUL, 0xf2842bd0542e851eUL, 0x67e90ddfcf64ee45UL, 0x9eb65fa95cadb7e2UL, 0xf3a716af56e9277cUL, 0xe50857a0a85d0a3cUL, 0xcfd21bbf9ec9dc8bUL, 0x3d6cbf52b95b6fc4UL, 0xe74e2d5eadd24ef9UL, 0x53115a439dade8d7UL, 0x4d5c1465a4c14520UL, 0xc87c2ff69b5d8476UL, 0x7f5c2fed4f0ecff6UL, 0x3f234185f64c2d01UL, 0x48400bd1d0d07677UL, 0x225d0ebedf505313UL, 0x4f782a8a8ab7cde9UL, 0x7e46830bec985a02UL, 0x908017a3a1a0eceeUL, 0x44ba1d7dbea0a626UL, 0x9ef05515156f9bd2UL, 0x658cf315142748abUL, 0xf3f80c5dda1325ebUL, 0x3bd16ba894aa17b2UL, 0x8c20df7a3e7565a0UL, 0x52181328e5596df9UL, 0x35083ba12d74b7e1UL, 0xc5078602c0bf749aUL, 0xa981cba468409944UL, 0xa4302651cab2dbf2UL, 0x6a1077425ae96fc2UL, 0x8a0f0c05817ee934UL, 0x53039748d0813289UL, 0xd161b9a158724b4bUL, 0x6d8cd9e2c8023b2UL, 0xa6bb4958eb168997UL, 0x17c75bc1b5a83717UL, 0xa2c37342b0e49696UL, 0xdb19b3c59004765UL, 0x4d7692b1d62d132eUL, 0x2f8eb7836b506e2fUL, 0xdc871387acded183UL, 0xc99b15622b5272fcUL, 0x2848743045b17da3UL, 0xeedd1a56c20a8e5aUL, 0x200fd20d94aa5fa9UL, 0x41ce09decff619ceUL, 0xe235b9336289a0b8UL, 0x6c7a41fd90bf4eb0UL, 0x401fa41b2954bf52UL, 0x839c13bd9fec339cUL, 0xc46b7266c5134170UL, 0xd8f483fb217e9d61UL, 0x803f483652a97ea4UL, 0x738277b3fd86738UL, 0x88d6e4cd8a2682e1UL, 0xb1e907f642fd3ac3UL, 0x997f656e684501e7UL, 0xdc886dece6e23246UL, 0xa30898c8fda65e3dUL, 0xd2127abc91502783UL, 0x32fecadcd08a03ceUL, 0xb910dbd9cdc4648dUL, 0x46113191fb4cbc7bUL, 0xa424f57922a04f07UL, 0x65fd95b9a114079cUL, 0x7221b7b39b88c91aUL, 0x8c226323f69978f7UL, 0x4849eaf245409e0eUL, 0x52fade718f3ff397UL, 0x36bb4c7dae436e03UL, 0xaae1971404d9aa11UL, 0x2153a0b49e2b6e19UL, 0x3cf449e1d3681b81UL, 0xbf8ebbe1c5d42031UL, 0xe7667f7be0580fddUL, 0xf367343928fc8e37UL, 0xe0e966c16bc7cbadUL, 0xade554d912fabc55UL, 0x7c69afa4295b4444UL, 0x570e1d2245534e6bUL, 0x58d338801a986bf5UL, 0x89328aa8bca7849cUL, 0x4a760e1bbb5dd376UL, 0x1fdc4f149e0cced2UL, 0x28a78402f8272b45UL, 0xc09d364be01df50fUL, 0x26494d649f50fd12UL, 0x8e78eb7928b3cfa0UL, 0xc84efd073d59aa25UL, 0x53c24f8d59691629UL, 0xfe37cb9ad74aa1daUL, 0xad31a3a245cdcd44UL, 0x909dfa0e7ab3544aUL, 0xa7849f1ab2d22c53UL, 0xfc6f9735ae9543b4UL, 0x5a6347448b9b9a89UL, 0x213bf41cf566a894UL, 0x4f093e3565a458a7UL, 0xf8df2e6b5d2a8769UL, 0xb4c68e8917373513UL, 0xdb761d3b27daad87UL, 0x4cea5f70521a4d79UL, 0x431b0d8553be552dUL, 0xd84d68423ac43823UL, 0x2fedcf7482a2a7a1UL, 0x4b2c9dfa3d6666c4UL, 0x34934a594e97f1a5UL, 0x15aa5d461222242UL, 0x5fdb9ee905454f42UL, 0x96593bf47acccd88UL, 0x692694b29d2fe34aUL, 0x2b54ba8c2444484UL, 0x26b6c8d0c79d622bUL, 0xfe4a54f26ccb6727UL, 0x60e87836d3b49d6aUL, 0xb4aae2019022db0cUL, 0xd46c64a3422d38f9UL, 0x2e6c8afe40c43279UL, 0x7375a13e4e82612aUL, 0xd895b15334efe41cUL, 0x31d93c44494d8d5dUL, 0x8e2136e618da98c4UL, 0x544e132f74ef99abUL, 0xeb17f67d759a3cUL, 0xfab38d8a5f8ce615UL, 0xceba4ed6a8e7cdbfUL, 0x1a39770d003468a8UL, 0xb0165abcee41667cUL, 0xf5671b14bf19cc2aUL, 0x9d749dad51cf9b7fUL, 0x3472ee1a0068d151UL, 0x602cb579dc82ccf8UL, 0x73cfc32bb32464fbUL, 0xe81118403acdcac8UL, 0xda408d67e93af95cUL, 0x71991fa3adafcbf4UL, 0x7e9e7355ab5f3559UL, 0x2da139aecc969a7UL, 0x6244b9c3b9ea946UL, 0x52f24a174ff5c5edUL, 0x643d13a99ba9961dUL, 0xd74c042f40c02f79UL, 0xbeedc66b9ed60973UL, 0x1424e17e8b41d9deUL, 0x517bd251fa44d095UL, 0x7c602b4418d2a2c5UL, 0xcf7edd84d4474918UL, 0x9989b7ad0229e1b9UL, 0xa2f7a4a3f489a12aUL, 0xf8c0568831a5458aUL, 0x9efdbb09a88e9230UL, 0x33136f5a0453c373UL, 0xdceebc452404befbUL, 0x23788e0afa187722UL, 0x8f5e2740b8f67f9eUL, 0xd7e6abe41c0dd4e3UL, 0xb9dd7
#endif