Function report |
Source Code:lib\bch.c |
Create Date:2022-07-28 06:59:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mpute polynomial Euclidean division remainder in GF(2^m)[X]
Proto:static void gf_poly_mod(struct bch_control *bch, struct gf_poly *a, const struct gf_poly *b, int *rep)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bch_control * | bch | |
| struct gf_poly * | a | |
| const struct gf_poly * | b | |
| int * | rep |
| 726 | c = polynomial terms |
| 727 | d = polynomial degree |
| 729 | If polynomial degree < d Then Return |
| 733 | If Not rep Then |
| 750 | polynomial degree = d - 1 |
| 751 | When Not c[polynomial degree ] && polynomial degree cycle |
| 752 | polynomial degree -- |
| Name | Describe |
|---|---|
| gf_poly_div | mpute polynomial Euclidean division quotient in GF(2^m)[X] |
| gf_poly_gcd | mpute polynomial GCD (Greatest Common Divisor) in GF(2^m)[X] |
| compute_trace_bk_mod | Given a polynomial f and an integer k, compute Tr(a^kX) mod f* This is used in Berlekamp Trace algorithm for splitting polynomials |
| 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 |