函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\bch.c Create Date:2022-07-27 07:57:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:gf_sqr

函数原型:static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a)

返回类型:unsigned int

参数:

类型参数名称
struct bch_control *bch
unsigned inta
314  返回:如果aprivate: [shorter and faster modulo function, only works when v < 2N.]否则0
调用者
名称描述
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