Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\bch.c Create Date:2022-07-28 06:59:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:gf_sqr

Proto:static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a)

Type:unsigned int

Parameter:

TypeParameterName
struct bch_control *bch
unsigned inta
314  Return If a Then private: [shorter and faster modulo function, only works when v < 2N.] Else 0
Caller
NameDescribe
compute_syndromesmpute 2t syndromes of ecc polynomial, i.e. ecc(a^j) for j=1..2t
find_poly_deg2_rootsmpute roots of a degree 2 polynomial over GF(2^m)
find_poly_deg3_rootsmpute roots of a degree 3 polynomial over GF(2^m)
compute_trace_bk_modGiven a polynomial f and an integer k, compute Tr(a^kX) mod f* This is used in Berlekamp Trace algorithm for splitting polynomials
build_deg2_baseld a base for factoring degree 2 polynomials