/linux-6.3-rc2/crypto/ |
A D | chacha20poly1305.c | 21 struct crypto_ahash_spawn poly; member 27 struct crypto_ahash *poly; member 65 struct poly_req poly; member 506 struct crypto_ahash *poly; in chachapoly_init() local 509 poly = crypto_spawn_ahash(&ictx->poly); in chachapoly_init() 510 if (IS_ERR(poly)) in chachapoly_init() 511 return PTR_ERR(poly); in chachapoly_init() 515 crypto_free_ahash(poly); in chachapoly_init() 520 ctx->poly = poly; in chachapoly_init() 542 crypto_free_ahash(ctx->poly); in chachapoly_exit() [all …]
|
/linux-6.3-rc2/lib/ |
A D | bch.c | 113 struct gf_poly poly; member 409 uint32_t poly; in compute_syndromes() local 422 poly = *ecc++; in compute_syndromes() 424 while (poly) { in compute_syndromes() 425 i = deg(poly); in compute_syndromes() 617 if (poly->c[0]) in find_poly_deg1_roots() 633 if (poly->c[0] && poly->c[1]) { in find_poly_deg2_roots() 675 if (poly->c[0]) { in find_poly_deg3_roots() 677 e3 = poly->c[3]; in find_poly_deg3_roots() 712 e4 = poly->c[4]; in find_poly_deg4_roots() [all …]
|
A D | gen_crc64table.c | 25 static void generate_reflected_crc64_table(uint64_t table[256], uint64_t poly) in generate_reflected_crc64_table() argument 35 crc = (crc >> 1) ^ poly; in generate_reflected_crc64_table() 43 static void generate_crc64_table(uint64_t table[256], uint64_t poly) in generate_crc64_table() argument 53 crc = (crc << 1) ^ poly; in generate_crc64_table()
|
A D | polynomial.c | 79 long polynomial_calc(const struct polynomial *poly, long data) in polynomial_calc() argument 81 const struct polynomial_term *term = poly->terms; in polynomial_calc() 82 long total_divider = poly->total_divider ?: 1; in polynomial_calc()
|
/linux-6.3-rc2/drivers/crypto/stm32/ |
A D | stm32-crc32.c | 65 u32 poly; member 77 mctx->poly = CRC32_POLY_LE; in stm32_crc32_cra_init() 86 mctx->poly = CRC32C_POLY_LE; in stm32_crc32c_cra_init() 132 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in stm32_crc_init() 162 if (mctx->poly == CRC32_POLY_LE) in burst_update() 177 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL); in burst_update() 248 put_unaligned_le32(mctx->poly == CRC32C_POLY_LE ? in stm32_crc_final()
|
/linux-6.3-rc2/lib/xz/ |
A D | xz_crc32.c | 32 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-6.3-rc2/arch/x86/crypto/ |
A D | aesni-intel_avx-x86_64.S | 117 ## poly = x^128 + x^127 + x^126 + x^121 + 1 192 HashKey = 16*6 # store HashKey <<1 mod poly here 193 HashKey_2 = 16*7 # store HashKey^2 <<1 mod poly here 194 HashKey_3 = 16*8 # store HashKey^3 <<1 mod poly here 195 HashKey_4 = 16*9 # store HashKey^4 <<1 mod poly here 881 # Output: C = A*B*x mod poly, (i.e. >>1 ) 882 # To compute GH = GH*HashKey mod poly, give HK = HashKey<<1 mod poly as input 883 # GH = GH * HK * x mod poly which is equivalent to GH*HashKey mod poly. 1863 # Output: C = A*B*x mod poly, (i.e. >>1 ) 1864 # To compute GH = GH*HashKey mod poly, give HK = HashKey<<1 mod poly as input [all …]
|
A D | aesni-intel_asm.S | 201 # precompute HashKey<<1 mod poly from the HashKey (required for GHASH) 225 # TMP5 = HashKey^2<<1 (mod poly) 227 # HashKey_2 = HashKey^2<<1 (mod poly) 233 # TMP5 = HashKey^3<<1 (mod poly) 240 # TMP5 = HashKey^3<<1 (mod poly)
|
/linux-6.3-rc2/drivers/mtd/nand/raw/atmel/ |
A D | pmecc.c | 186 static inline int deg(unsigned int poly) in deg() argument 189 return fls(poly) - 1; in deg() 192 static int atmel_pmecc_build_gf_tables(int mm, unsigned int poly, in atmel_pmecc_build_gf_tables() argument 196 const unsigned int k = BIT(deg(poly)); in atmel_pmecc_build_gf_tables() 211 x ^= poly; in atmel_pmecc_build_gf_tables() 223 unsigned int poly, degree, table_size; in atmel_pmecc_create_gf_tables() local 228 poly = PMECC_GF_13_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables() 232 poly = PMECC_GF_14_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables() 245 ret = atmel_pmecc_build_gf_tables(degree, poly, gf_tables); in atmel_pmecc_create_gf_tables()
|
/linux-6.3-rc2/include/linux/ |
A D | polynomial.h | 33 long polynomial_calc(const struct polynomial *poly, long data);
|
A D | pstore_ram.h | 17 int poly; member
|
/linux-6.3-rc2/arch/m68k/fpsp040/ |
A D | slogn.S | 35 | 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),
|
A D | satan.S | 30 | 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-6.3-rc2/fs/pstore/ |
A D | ram_core.c | 203 prz->ecc_info.poly = ecc_info->poly ?: 0x11d; in persistent_ram_init_ecc() 225 prz->rs_decoder = init_rs(prz->ecc_info.symsize, prz->ecc_info.poly, in persistent_ram_init_ecc()
|
/linux-6.3-rc2/drivers/net/dsa/sja1105/ |
A D | sja1105_dynamic_config.c | 660 sja1105_packing(buf, &entry->poly, 7, 0, in sja1105et_l2_lookup_params_entry_packing() 1377 static u8 sja1105_crc8_add(u8 crc, u8 byte, u8 poly) in sja1105_crc8_add() argument 1384 crc ^= poly; in sja1105_crc8_add() 1403 u64 input, poly_koopman = l2_lookup_params->poly; in sja1105et_fdb_hash() 1405 u8 poly = (u8)(1 + (poly_koopman << 1)); in sja1105et_fdb_hash() local 1415 crc = sja1105_crc8_add(crc, byte, poly); in sja1105et_fdb_hash()
|
A D | sja1105_static_config.h | 288 u64 poly; /* E/T only */ member
|
A D | sja1105_static_config.c | 295 sja1105_packing(buf, &entry->poly, 13, 6, size, op); in sja1105et_l2_lookup_params_entry_packing()
|
A D | sja1105_main.c | 395 .poly = 0x97, in sja1105_init_l2_lookup_params()
|
/linux-6.3-rc2/drivers/scsi/libsas/ |
A D | sas_init.c | 70 const u32 poly = 0x00DB2777; in sas_hash_addr() local 81 r ^= poly; in sas_hash_addr() 83 r ^= poly; in sas_hash_addr()
|
/linux-6.3-rc2/drivers/char/hw_random/ |
A D | n2-drv.c | 485 static u64 advance_polynomial(u64 poly, u64 val, int count) in advance_polynomial() argument 494 val ^= poly; in advance_polynomial()
|
/linux-6.3-rc2/drivers/net/ethernet/amd/ |
A D | nmclan_cs.c | 1289 static const int poly[]={ in updateCRC() local 1307 CRC[j] ^= poly[j]; in updateCRC()
|
/linux-6.3-rc2/Documentation/hwmon/ |
A D | ltc2978.rst | 214 - LTC3880, LTC3882, LTC3886, and LTC3887 are dual output poly-phase step-down
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-class-power | 490 "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe",
|
/linux-6.3-rc2/tools/perf/scripts/python/ |
A D | exported-sql-viewer.py | 1849 poly = view.mapFromScene(scene_rectf) 1850 self.rubber_band.setGeometry(poly.boundingRect())
|
/linux-6.3-rc2/drivers/dma/ppc4xx/ |
A D | adma.c | 4397 static DRIVER_ATTR_RW(poly);
|