Home
last modified time | relevance | path

Searched refs:poly (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/crypto/
Dchacha20poly1305.c29 struct crypto_ahash_spawn poly; member
35 struct crypto_ahash *poly; member
71 struct poly_req poly; member
180 struct poly_req *preq = &rctx->u.poly; in poly_tail()
193 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_tail()
213 struct poly_req *preq = &rctx->u.poly; in poly_cipherpad()
224 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_cipherpad()
243 struct poly_req *preq = &rctx->u.poly; in poly_cipher()
255 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_cipher()
274 struct poly_req *preq = &rctx->u.poly; in poly_adpad()
[all …]
/Linux-v4.19/lib/
Dbch.c113 struct gf_poly poly; member
285 static inline int deg(unsigned int poly) in deg() argument
288 return fls(poly)-1; in deg()
352 uint32_t poly; in compute_syndromes() local
365 poly = *ecc++; in compute_syndromes()
367 while (poly) { in compute_syndromes()
368 i = deg(poly); in compute_syndromes()
372 poly ^= (1 << i); in compute_syndromes()
555 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly, in find_poly_deg1_roots() argument
560 if (poly->c[0]) in find_poly_deg1_roots()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/mfd/
Daxp20x.txt116 DCDC2 : DC-DC buck : vin2-supply : poly-phase capable
117 DCDC3 : DC-DC buck : vin3-supply : poly-phase capable
119 DCDC5 : DC-DC buck : vin5-supply : poly-phase capable
120 DCDC6 : DC-DC buck : vin6-supply : poly-phase capable
143 DCDCA : DC-DC buck : vina-supply : poly-phase capable
144 DCDCB : DC-DC buck : vinb-supply : poly-phase capable
145 DCDCC : DC-DC buck : vinc-supply : poly-phase capable
146 DCDCD : DC-DC buck : vind-supply : poly-phase capable
147 DCDCE : DC-DC buck : vine-supply : poly-phase capable
160 Additionally, the AXP806 DC-DC regulators support poly-phase arrangements
[all …]
/Linux-v4.19/lib/xz/
Dxz_crc32.c32 const uint32_t poly = CRC32_POLY_LE; in xz_crc32_init() local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1)); in xz_crc32_init()
/Linux-v4.19/arch/x86/crypto/
Daesni-intel_avx-x86_64.S117 ## poly = x^128 + x^127 + x^126 + x^121 + 1
188 # u8 shifted_hkey_1[16] store HashKey <<1 mod poly here
189 # u8 shifted_hkey_2[16] store HashKey^2 <<1 mod poly here
190 # u8 shifted_hkey_3[16] store HashKey^3 <<1 mod poly here
191 # u8 shifted_hkey_4[16] store HashKey^4 <<1 mod poly here
192 # u8 shifted_hkey_5[16] store HashKey^5 <<1 mod poly here
193 # u8 shifted_hkey_6[16] store HashKey^6 <<1 mod poly here
194 # u8 shifted_hkey_7[16] store HashKey^7 <<1 mod poly here
195 # u8 shifted_hkey_8[16] store HashKey^8 <<1 mod poly here
196 # u8 shifted_hkey_1_k[16] store XOR HashKey <<1 mod poly here (for Karatsuba purposes)
[all …]
Daesni-intel_asm.S210 # precompute HashKey<<1 mod poly from the HashKey (required for GHASH)
234 # TMP5 = HashKey^2<<1 (mod poly)
236 # HashKey_2 = HashKey^2<<1 (mod poly)
242 # TMP5 = HashKey^3<<1 (mod poly)
249 # TMP5 = HashKey^3<<1 (mod poly)
/Linux-v4.19/drivers/crypto/stm32/
Dstm32_crc32.c57 u32 poly; member
70 mctx->poly = CRC32_POLY_LE; in stm32_crc32_cra_init()
79 mctx->poly = CRC32C_POLY_LE; in stm32_crc32c_cra_init()
114 writel_relaxed(bitrev32(mctx->poly), ctx->crc->regs + CRC_POL); in stm32_crc_init()
188 put_unaligned_le32(mctx->poly == CRC32C_POLY_LE ? in stm32_crc_final()
/Linux-v4.19/drivers/mtd/nand/raw/atmel/
Dpmecc.c189 static inline int deg(unsigned int poly) in deg() argument
192 return fls(poly) - 1; in deg()
195 static int atmel_pmecc_build_gf_tables(int mm, unsigned int poly, in atmel_pmecc_build_gf_tables() argument
199 const unsigned int k = BIT(deg(poly)); in atmel_pmecc_build_gf_tables()
214 x ^= poly; in atmel_pmecc_build_gf_tables()
226 unsigned int poly, degree, table_size; in atmel_pmecc_create_gf_tables() local
231 poly = PMECC_GF_13_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
235 poly = PMECC_GF_14_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
248 ret = atmel_pmecc_build_gf_tables(degree, poly, gf_tables); in atmel_pmecc_create_gf_tables()
/Linux-v4.19/include/linux/
Dpstore_ram.h41 int poly; member
/Linux-v4.19/arch/m68k/fpsp040/
Dslogn.S35 | log(1+u) = poly.
38 | by k*log(2) + (log(F) + poly). The values of log(F) are calculated
47 | k*log(2) + log(F) + poly where poly approximates log(1+u),
Dsatan.S30 | Step 3. Approximate arctan(u) by a polynomial poly.
32 | Step 4. Return arctan(F) + poly, arctan(F) is fetched from a table of values
/Linux-v4.19/fs/pstore/
Dram_core.c201 prz->ecc_info.poly = ecc_info->poly ?: 0x11d; in persistent_ram_init_ecc()
223 prz->rs_decoder = init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, in persistent_ram_init_ecc()
/Linux-v4.19/drivers/scsi/libsas/
Dsas_init.c90 const u32 poly = 0x00DB2777; in sas_hash_addr() local
100 r ^= poly; in sas_hash_addr()
102 r ^= poly; in sas_hash_addr()
/Linux-v4.19/drivers/char/hw_random/
Dn2-drv.c484 static u64 advance_polynomial(u64 poly, u64 val, int count) in advance_polynomial() argument
493 val ^= poly; in advance_polynomial()
/Linux-v4.19/drivers/net/ethernet/amd/
Dnmclan_cs.c1291 static const int poly[]={ in updateCRC() local
1309 CRC[j] ^= poly[j]; in updateCRC()
/Linux-v4.19/Documentation/hwmon/
Dltc297871 LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-power189 Valid values: "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe",
/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.c4409 static DRIVER_ATTR_RW(poly);
/Linux-v4.19/arch/m68k/ifpsp060/src/
Dfplsp.S7991 # polynomial in u, log(1+u) = poly. #
7995 # by k*log(2) + (log(F) + poly). The values of log(F) are #
8005 # log(1+X) as k*log(2) + log(F) + poly where poly #
Dfpsp.S6168 # Step 3. Approximate arctan(u) by a polynomial poly. #
6170 # Step 4. Return arctan(F) + poly, arctan(F) is fetched from a #