/** * Configures the irreducible polynomial of the binary field. * * @param[in] f - the new irreducible polynomial. */ static void fb_poly_set(const fb_t f) { fb_copy(core_get()->fb_poly, f); #if FB_TRC == QUICK || !defined(STRIP) find_trace(); #endif #if FB_SLV == QUICK || !defined(STRIP) find_solve(); #endif #if FB_SRT == QUICK || !defined(STRIP) find_srz(); #endif #if FB_INV == ITOHT || !defined(STRIP) find_chain(); #endif }
/** * Configures the irreducible polynomial of the binary field. * * @param[in] f - the new irreducible polynomial. */ static void fb_poly_set(fb_t f) { fb_copy(fb_poly, f); #if FB_TRC == QUICK || !defined(STRIP) find_trace(); #endif #if FB_SLV == QUICK || !defined(STRIP) find_solve(); #endif #if FB_SRT == QUICK || !defined(STRIP) find_srz(); #endif #if FB_INV == ITOHT || FB_INV == LOWER || !defined(STRIP) find_chain(); #endif #ifdef WITH_PB /* Refresh configuration on pairing module. */ pb_map_init(); #endif }