Function report |
Source Code:lib\bch.c |
Create Date:2022-07-28 06:59:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:his function builds and solves a linear system for finding roots of a degree* 4 affine monic polynomial X^4+aX^2+bX+c over GF(2^m).
Proto:static int find_affine4_roots(struct bch_control *bch, unsigned int a, unsigned int b, unsigned int c, unsigned int *roots)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bch_control * | bch | |
unsigned int | a | |
unsigned int | b | |
unsigned int | c | |
unsigned int * | roots |
532 | rows[i + 1] = private: [4 * i] ^ If a Then private: [shorter and faster modulo function, only works when v < 2N.] Else 0 ^ If b Then private: [shorter and faster modulo function, only works when v < 2N.] Else 0 |
535 | j++ |
536 | k += 2 |
Name | Describe |
---|---|
find_poly_deg3_roots | mpute roots of a degree 3 polynomial over GF(2^m) |
find_poly_deg4_roots | mpute roots of a degree 4 polynomial over GF(2^m) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |