6060/*
6161** User Prototypes
6262*/
63- uint8_t gf_mul (uint8_t a , uint8_t b );
63+ uint8_t Crypto_gf_mul (uint8_t a , uint8_t b );
6464
6565// Crypto Library Configuration functions
6666extern int32_t Crypto_Config_CryptoLib (uint8_t key_type , uint8_t mc_type , uint8_t sa_type , uint8_t cryptography_type ,
@@ -363,11 +363,11 @@ extern uint32_t crc32Table[CRC32TBL_SIZE];
363363extern uint16_t crc16Table [CRC16TBL_SIZE ];
364364
365365// GF(2^4) field and logarithm tables
366- static const uint8_t gf_exp [15 ] = {1 , 2 , 4 , 8 , 3 , 6 , 12 , 11 , 5 , 10 , 7 , 14 , 15 , 13 , 9 };
366+ static const uint8_t crypto_gf_exp [15 ] = {1 , 2 , 4 , 8 , 3 , 6 , 12 , 11 , 5 , 10 , 7 , 14 , 15 , 13 , 9 };
367367
368- static const uint8_t gf_log [GF_SIZE ] = {0 , 0 , 1 , 4 , 2 , 8 , 5 , 10 , 3 , 14 , 9 , 7 , 6 , 13 , 11 , 12 };
368+ static const uint8_t crypto_gf_log [GF_SIZE ] = {0 , 0 , 1 , 4 , 2 , 8 , 5 , 10 , 3 , 14 , 9 , 7 , 6 , 13 , 11 , 12 };
369369
370370// Generator polynomial coefficients for g(x) = x^4 + a^3x^3 + ax^2 + a^3x + 1
371- static const uint8_t gen_poly [RS_PARITY + 1 ] = {1 , 8 , 2 , 8 , 1 };
371+ static const uint8_t crypto_gen_poly [RS_PARITY + 1 ] = {1 , 8 , 2 , 8 , 1 };
372372
373373#endif // CRYPTO_H
0 commit comments