| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MD5.cpp | 4 * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc. 5 * MD5 Message-Digest Algorithm (RFC 1321). 8 * http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 25 * (This is a heavily cut-down "BSD license".) 28 * no exactly 32-bit integer data type is required (any 32-bit or wider 29 * unsigned integer data type will do), there's no compile-time endianness 36 * optimizations are not included to reduce source code size and avoid 37 * compile-time configuration. 53 // architectures that lack an AND-NOT instruction, just like in Colin Plumb's 61 #define STEP(f, a, b, c, d, x, t, s) \ macro [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_md5.cpp | 1 //===-- tsan_md5.cpp ------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 21 #define STEP(f, a, b, c, d, x, t, s) \ macro 23 (a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); \ 41 static const void *body(MD5_CTX *ctx, const void *data, ulong_t size) { in body() argument 46 a = ctx->a; in body() 47 b = ctx->b; in body() 48 c = ctx->c; in body() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | Delinearization.h | 1 //===---- Delinearization.h - MultiDimensional Index Delinearization ------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // use the on-demand SCEVAddRecExpr::delinearize() function. 14 //===----------------------------------------------------------------------===// 30 /// the memory access function of this SCEVAddRecExpr (second step of 37 /// Collect parametric terms occurring in step expressions (first step of 43 /// (third step of delinearization). 50 /// The delinearization is a 3 step process: the first two steps compute the 51 /// sizes of each subscript and the third step computes the access functions [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mtd/ |
| H A D | hisi504-nand.txt | 5 - compatible: Should be "hisilicon,504-nfc". 6 - reg: The first contains base physical address and size of 8 physical address and size of NAND controller's buffer. 9 - interrupts: Interrupt number for nfc. 10 - nand-bus-width: See nand-controller.yaml. 11 - nand-ecc-mode: Support none and hw ecc mode. 12 - #address-cells: Partition address, should be set 1. 13 - #size-cells: Partition size, should be set 1. 17 - nand-ecc-strength: Number of bits to correct per ECC step. 18 - nand-ecc-step-size: Number of data bytes covered by a single ECC step. [all …]
|
| H A D | mtk-nand.txt | 15 - compatible: Should be one of 16 "mediatek,mt2701-nfc", 17 "mediatek,mt2712-nfc", 18 "mediatek,mt7622-nfc". 19 - reg: Base physical address and size of NFI. 20 - interrupts: Interrupts of NFI. 21 - clocks: NFI required clocks. 22 - clock-names: NFI clocks internal name. 23 - ecc-engine: Required ECC Engine node. 24 - #address-cells: NAND chip index, should be 1. [all …]
|
| H A D | amlogic,meson-nand.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/amlogic,meson-nand.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: nand-controller.yaml 13 - liang.yang@amlogic.com 18 - amlogic,meson-gxl-nfc 19 - amlogic,meson-axg-nfc 24 reg-names: 26 - const: nfc [all …]
|
| H A D | mediatek,mtk-nfc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/mediatek,mtk-nfc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xiangsheng Hou <xiangsheng.hou@mediatek.com> 15 - mediatek,mt2701-nfc 16 - mediatek,mt2712-nfc 17 - mediatek,mt7622-nfc 21 - description: Base physical address and size of NFI. 25 - description: NFI interrupt [all …]
|
| H A D | vf610-nfc.txt | 7 - compatible: Should be set to "fsl,vf610-nfc". 8 - reg: address range of the NFC. 9 - interrupts: interrupt of the NFC. 10 - #address-cells: shall be set to 1. Encode the nand CS. 11 - #size-cells : shall be set to 0. 12 - assigned-clocks: main clock from the SoC, for Vybrid <&clks VF610_CLK_NFC>; 13 - assigned-clock-rates: The NAND bus timing is derived from this clock 19 - #address-cells, #size-cells : Must be present if the device has sub-nodes 27 - compatible: Should be set to "fsl,vf610-nfc-cs". 28 - nand-bus-width: see nand-controller.yaml [all …]
|
| H A D | brcm,brcmnand.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <computersforpeace@gmail.com> 11 - Kamal Dasu <kdasu.kdev@gmail.com> 12 - William Zhang <william.zhang@broadcom.com> 15 The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND 16 flash chips. It has a memory-mapped register interface for both control 27 -- Additional SoC-specific NAND controller properties -- 35 interesting ways, sometimes with registers that lump multiple NAND-related [all …]
|
| H A D | marvell-nand.txt | 4 - compatible: can be one of the following: 5 * "marvell,armada-8k-nand-controller" 6 * "marvell,armada370-nand-controller" 7 * "marvell,pxa3xx-nand-controller" 8 * "marvell,armada-8k-nand" (deprecated) 9 * "marvell,armada370-nand" (deprecated) 10 * "marvell,pxa3xx-nand" (deprecated) 13 - reg: NAND flash controller memory area. 14 - #address-cells: shall be set to 1. Encode the NAND CS. 15 - #size-cells: shall be set to 0. [all …]
|
| H A D | denali,nand.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 15 - altr,socfpga-denali-nand 16 - socionext,uniphier-denali-nand-v5a 17 - socionext,uniphier-denali-nand-v5b 19 reg-names: 25 - const: nand_data 26 - const: denali_reg [all …]
|
| H A D | brcm,brcmnand.txt | 3 The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND 4 flash chips. It has a memory-mapped register interface for both control 15 - compatible : May contain an SoC-specific compatibility string (see below) 16 to account for any SoC-specific hardware bits that may be 21 string, like "brcm,brcmnand-v7.0" 23 brcm,brcmnand-v2.1 24 brcm,brcmnand-v2.2 25 brcm,brcmnand-v4.0 26 brcm,brcmnand-v5.0 27 brcm,brcmnand-v6.0 [all …]
|
| /freebsd/contrib/bsddialog/lib/ |
| H A D | slider.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #define NULLWIN -1 68 unsigned long step; member 83 int i, step, tmpstep; in handlesliderctl() local 84 unsigned long x, y, size, old_start, old_end; in handlesliderctl() local 87 step = sliderctl->step; in handlesliderctl() 88 old_start = *(sliderctl->start); in handlesliderctl() 90 old_end = *(sliderctl->end); in handlesliderctl() 92 size = old_end - old_start + 1; in handlesliderctl() [all …]
|
| /freebsd/lib/libnv/ |
| H A D | msgio.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 60 /* Linux: arbitrary size, but must be lower than SCM_MAX_FD. */ 61 #define PKG_MAX_SIZE ((64U - 1) * CMSG_SPACE(sizeof(int))) 64 * To work around limitations in 32-bit emulation on 64-bit kernels, use a 65 * machine-independent limit on the number of FDs per message. Each control 78 cmsg->cmsg_level = SOL_SOCKET; in msghdr_add_fd() 79 cmsg->cmsg_type = SCM_RIGHTS; in msghdr_add_fd() 80 cmsg->cmsg_len = CMSG_LEN(sizeof(fd)); in msghdr_add_fd() 114 if (recvmsg(sock, msg, flags) == -1) { in msg_recv() [all …]
|
| /freebsd/crypto/openssl/crypto/rsa/ |
| H A D | rsa_sp800_56b_gen.c | 2 * Copyright 2018-2024 The OpenSSL Project Authors. All Rights Reserved. 3 * Copyright (c) 2018-2019, Oracle and/or its affiliates. All rights reserved. 24 * Generate probable primes 'p' & 'q'. See FIPS 186-4 Section B.3.6 45 * nbits The key size in bits (The size of the modulus n). 71 Xp1 = test->Xp1; in ossl_rsa_fips186_4_gen_prob_primes() 72 Xp2 = test->Xp2; in ossl_rsa_fips186_4_gen_prob_primes() 73 Xq1 = test->Xq1; in ossl_rsa_fips186_4_gen_prob_primes() 74 Xq2 = test->Xq2; in ossl_rsa_fips186_4_gen_prob_primes() 75 Xp = test->Xp; in ossl_rsa_fips186_4_gen_prob_primes() 76 Xq = test->Xq; in ossl_rsa_fips186_4_gen_prob_primes() [all …]
|
| /freebsd/crypto/openssl/doc/man7/ |
| H A D | EVP_SIGNATURE-ML-DSA.pod | 5 EVP_SIGNATURE-ML-DSA, 6 EVP_SIGNATURE-ML-DSA-44, EVP_SIGNATURE-ML-DSA-65, EVP_SIGNATURE-ML-DSA-87, 7 - EVP_SIGNATURE ML-DSA support 11 The B<ML-DSA-44>, B<ML-DSA-65> and B<ML-DSA-87> EVP_PKEY implementations 12 support key generation, and one-shot sign and verify using the ML-DSA 17 (The signatures range in size from ~2.5K to ~4.5K depending on the type chosen). 23 L<EVP_PKEY_verify(3)> to perform one-shot message signing or signature verification. 25 The normal signing process (called Pure ML-DSA Signature Generation) 27 where B<ctx> is some optional value of size 0x00..0xFF. This process is 29 step 10 and Algorithm 3 step 5. [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCWin64EH.cpp | 1 //===- lib/MC/MCWin64EH.cpp - MCWin64EH implementation -------- 1861 int Step = 0; tryARMPackedUnwind() local [all...] |
| /freebsd/secure/lib/libcrypto/man/man7/ |
| H A D | EVP_SIGNATURE-ML-DSA.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 57 .IX Title "EVP_SIGNATURE-ML-DSA 7ossl" 58 .TH EVP_SIGNATURE-ML-DSA 7ossl 2025-09-30 3.5.4 OpenSSL 64 EVP_SIGNATURE\-ML\-DSA, 65 EVP_SIGNATURE\-ML\-DSA\-44, EVP_SIGNATURE\-ML\-DSA\-65, EVP_SIGNATURE\-ML\-DSA\-87, 66 \&\- EVP_SIGNATURE ML\-DSA support 69 The \fBML\-DSA\-44\fR, \fBML\-DSA\-65\fR and \fBML\-DSA\-87\fR EVP_PKEY implementations 70 support key generation, and one-shot sign and verify using the ML-DSA 75 (The signatures range in size from ~2.5K to ~4.5K depending on the type chosen). 81 \&\fBEVP_PKEY_verify\fR\|(3) to perform one-shot message signing or signature verification. [all …]
|
| /freebsd/usr.sbin/diskinfo/ |
| H A D | diskinfo.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2003 Poul-Henning Kamp 61 fprintf(stderr, "usage: diskinfo [-ciStvw] disk ...\n" in usage() 62 " diskinfo [-l] -p disk ...\n" in usage() 63 " diskinfo [-l] -s disk ...\n" in usage() 94 while ((ch = getopt(argc, argv, "cilpsStvw")) != -1) { in main() 131 argc -= optind; in main() 138 warnx("-p or -s cannot be used with other options"); in main() 143 warnx("-S require also -w"); in main() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadPlanStepRange.cpp | 1 //===-- ThreadPlanStepRange.cpp -------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 29 // ThreadPlanStepRange: Step through a stack range, either stepping over or 45 m_stack_id = thread.GetStackFrameAtIndex(0)->GetStackID(); in ThreadPlanStepRange() 48 m_parent_stack_id = parent_stack->GetStackID(); in ThreadPlanStepRange() 61 error->PutCString( in ValidatePlan() 69 Log *log = GetLog(LLDBLog::Step); in ShouldReportStop() 85 // the work to disassemble this range if I don't step into it. in AddRange() 90 size_t num_ranges = m_address_ranges.size(); in DumpRanges() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.h | 1 //===- FuzzerTracePC.h - Internal header for the Fuzzer ---------*- C++ -* ===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 54 void Add(const uint8_t *Data, size_t Size) { in Add() 55 if (Size <= 2) return; in Add() 56 Size = std::min(Size, Word::GetMaxSize()); in Add() 57 auto Idx = SimpleFastHash(Data, Size) % kSize; in Add() 58 MemMemWords[Idx].Set(Data, Size); in Add() 63 if (W.size()) return W; in Get() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/sound/ |
| H A D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 23 a value of 1 and will increase at a step size of 100mV until a maximum of 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. [all …]
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_rsa_fips186_4.c | 2 * Copyright 2018-2023 The OpenSSL Project Authors. All Rights Reserved. 3 * Copyright (c) 2018-2019, Oracle and/or its affiliates. All rights reserved. 12 * According to NIST SP800-131A "Transitioning the use of cryptographic 18 * FIPS 186-4 relies on the use of the auxiliary primes p1, p2, q1 and q2 that 20 * Table B.1 in FIPS 186-4 specifies RSA modulus lengths of 2048 and 22 * FIPS 186-5 Table A.1 includes an additional entry for 4096 which has been 52 * Refer to FIPS 186-5 Table B.1 for minimum rounds of Miller Rabin 67 * Refer to FIPS 186-5 Table B.1 for minimum rounds of Miller Rabin 80 * FIPS 186-5 Table A.1. "Min length of auxiliary primes p1, p2, q1, q2". 81 * (FIPS 186-5 has an entry for >= 4096 bits). [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Delinearization.cpp | 1 //===---- Delinearization.cpp - MultiDimensional Index Delinearization ----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // use the on-demand SCEVAddRecExpr::delinearize() function. 14 //===----------------------------------------------------------------------===// 40 return isa<UndefValue>(SU->getValue()); in containsUndefs() 57 Strides.push_back(AR->getStepRecurrence(SE)); in follow() 116 // that contains the AddRec {0, +, 1}_loop. %p * %q are likely to be array size 119 // This collector expects all array size parameters to be in the same MulExpr. 134 for (const auto *Op : Mul->operands()) { in follow() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 1 //===- RISCVGatherScatterLowering.cpp - Gather/Scatter lowering -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // RISC-V intrinsics. 12 //===----------------------------------------------------------------------===// 32 #define DEBUG_TYPE "riscv-gather-scatter-lowering" 63 return "RISC-V gather/scatter lowering"; in getPassName() 83 "RISC-V gather/scatter lowering pass", false, false) 91 if (!isa<FixedVectorType>(StartC->getType())) in matchStridedConstant() 94 unsigned NumElts = cast<FixedVectorType>(StartC->getType())->getNumElements(); in matchStridedConstant() [all …]
|