/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_int.c | 2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 27 neg = x->type & V_ASN1_NEG; in ASN1_INTEGER_cmp() 28 if (neg != (y->type & V_ASN1_NEG)) { in ASN1_INTEGER_cmp() 30 return -1; in ASN1_INTEGER_cmp() 38 return -ret; in ASN1_INTEGER_cmp() 43 /*- 48 * the type: if type & V_ASN1_NEG is true it is negative, otherwise positive. 51 * encoding, except if the first byte is >= 0x80 we need to add a zero pad. 63 * Padding is a little trickier too. If the first bytes is > 0x80 then we pad 65 * is non-zero we pad with 0xff. The reason for this distinction is that 0x80 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A D | nvidia,tegra186-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra186 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
H A D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra124 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
H A D | nvidia,tegra194-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra194 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 16 is controlled by a HW block referred to as a "pad" in the Tegra hardware 17 documentation. Each such "pad" may control either one or multiple lanes, [all …]
|
H A D | nvidia,tegra210-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra210-xus [all...] |
/freebsd/contrib/bsddialog/lib/ |
H A D | menubox.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2021-2024 Alfonso Sabato Siciliano 52 enum menumode type; member 58 WINDOW *pad; /* pad for the private items */ member 59 int ypad; /* start pad lin [all...] |
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | EHStreamer.h | 1 //===- EHStreamer.h - Exception Handling Directive Streamer -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 38 /// How many leading type ids two landing pads have in common. 42 /// Structure holding a try-range and the associated landing pad. 44 // The index of the landing pad. 47 // The index of the begin and end labels in the landing pad's label lists. 55 int ValueForTypeID; // The value to write - may not be equal to the type id. 60 /// Structure describing an entry in the call-site table. [all …]
|
H A D | EHStreamer.cpp | 1 //===- CodeGen/AsmPrinter/EHStreamer.cpp - Exception Directive Streamer ---===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 37 EHStreamer::EHStreamer(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in EHStreamer() 41 /// How many leading type ids two landing pads have in common. 44 const std::vector<int> &LIds = L->TypeIds, &RIds = R->TypeIds; in sharedTypeIDs() 46 .first - in sharedTypeIDs() 51 /// pad site. 56 // The action table follows the call-site table in the LSDA. The individual in computeActionsTable() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mmc/ |
H A D | marvell,xenon-sdhci.txt | 11 - compatible: should be one of the following 12 - "marvell,armada-3700-sdhci": For controllers on Armada-3700 SoC. 13 Must provide a second register area and marvell,pad-type. 14 - "marvell,armada-ap806-sdhci": For controllers on Armada AP806. 15 - "marvell,armada-ap807-sdhci": For controllers on Armada AP807. 16 - "marvell,armada-cp110-sdhci": For controllers on Armada CP110. 18 - clocks: 23 - clock-names: 28 - reg: 29 * For "marvell,armada-3700-sdhci", two register areas. [all …]
|
H A D | marvell,xenon-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhc [all...] |
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_hs_client.t0 | 23 \ ---------------------------------------------------------------------- 40 * Generate the pre-master secret for RSA key exchange, and encrypt it 42 * data length (in bytes), or -x on error, with 'x' being an error code. 45 * was properly obtained by the X.509 engine, and it has the right type, 46 * i.e. it is of type RSA and suitable for encryption). 57 xc = ctx->eng.x509ctx; 58 pk = (*xc)->get_pkey(xc, NULL); 63 n = pk->key.rsa.n; 64 nlen = pk->key.rsa.nlen; 67 nlen --; [all …]
|
H A D | ssl_hs_server.t0 | 23 \ ---------------------------------------------------------------------- 40 * Decrypt the pre-master secret (RSA key exchange). 52 x = (*ctx->policy_vtable)->do_keyx(ctx->policy_vtable, epms, &len); 61 br_enc16be(epms, ctx->client_max_version); 65 * decryption failed. Note that we use a constant-time conditional 68 br_hmac_drbg_generate(&ctx->eng.rng, rpms, sizeof rpms); 74 br_ssl_engine_compute_master(&ctx->eng, prf_id, epms, 48); 77 * Clear the pre-master secret from RAM: it is normally a buffer 78 * in the context, hence potentially long-lived. 99 * decryption failed. Note that we use a constant-time conditional [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/allwinner/ |
H A D | sun50i-h700-anbernic-rg35xx-2024.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 6 /dts-v1/; 8 #include "sun50i-h616.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/leds/common.h> 17 chassis-type = "handset"; 18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700"; [all …]
|
/freebsd/sys/contrib/xen/hvm/ |
H A D | dm_op.h | 68 /* IN - should server handle buffered ioreqs */ 70 uint8_t pad[3]; member 71 /* OUT - server id */ 83 * specified in the per-CPU ioreq structures). 94 * op specifying resource type XENMEM_resource_ioreq_server. 99 /* IN - server id */ 101 /* IN - flags */ 107 /* OUT - buffered ioreq port */ 109 /* OUT - sync ioreq gfn (see block comment above) */ 111 /* OUT - buffered ioreq gfn (see block comment above)*/ [all …]
|
H A D | hvm_op.h | 35 uint16_t pad; member 44 uint8_t suppress_ve; /* Boolean type. */ 52 uint8_t suppress_ve; /* Boolean type. */ 80 /* ISA device identification, by ISA IRQ (0-15). */ 92 /* PCI link identifier (0-3). */ 94 /* ISA IRQ (1-15), or 0 (disable link). */ 114 HVMMEM_ram_ro, /* Read-only; writes are discarded */ 117 HVMMEM_mmio_write_dm, /* Read-only; writes go to the device model */ 119 HVMMEM_unused, /* Placeholder; setting memory to this type 122 HVMMEM_ioreq_server /* Memory type claimed by an ioreq server; type [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/tegra/ |
H A D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra30-pmc 18 - nvidia,tegra114-pmc 19 - nvidia,tegra124-pmc [all …]
|
/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_record.c | 3 * Copyright (c) 2006-2011, Jouni Malinen <j@w1.fi> 20 * tlsv1_record_set_cipher_suite - TLS record layer: Set cipher suite 23 * Returns: 0 on success, -1 on failure 38 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite() 42 return -1; in tlsv1_record_set_cipher_suite() 44 if (suite->hash == TLS_HASH_MD5) { in tlsv1_record_set_cipher_suite() 45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5; in tlsv1_record_set_cipher_suite() 46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite() 47 } else if (suite->hash == TLS_HASH_SHA) { in tlsv1_record_set_cipher_suite() 48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1; in tlsv1_record_set_cipher_suite() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/tegra/ |
H A D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra30-pmc 18 - nvidia,tegra114-pmc 19 - nvidia,tegra124-pmc [all …]
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | tegra210_xusbpadctl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 56 #define FUSE_SKU_CALIB_0_HS_CURR_LEVEL_123(x, i) (((x) >> (11 + ((i) - 1) * 6)) & 0x3F); 324 #define WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res, (_r), (_v)) 325 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, (_r)) 352 {"nvidia,tegra210-xusb-padctl", 1}, 365 enum padctl_port_type type; member 384 .type = t, \ 385 .name = n "-" #p, \ [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_crypto.in | 40 stat="--statistic-file=${objdir}/statfile" 53 ${hxtool} verify --missing-revoke \ 54 --time=2006-09-25 \ 55 cert:FILE:$srcdir/data/bleichenbacher-good.pem \ 56 anchor:FILE:$srcdir/data/bleichenbacher-good.pem > /dev/null || exit 1 59 ${hxtool} verify --missing-revoke \ 60 --time=2006-09-25 \ 61 cert:FILE:$srcdir/data/bleichenbacher-bad.pem \ 62 anchor:FILE:$srcdir/data/bleichenbacher-bad.pem > /dev/null && exit 1 65 ${hxtool} verify --missing-revoke \ [all …]
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_pmeth.c | 2 * Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved. 35 int pad; member 62 dctx->prime_len = 2048; in pkey_dh_init() 63 dctx->subprime_len = -1; in pkey_dh_init() 64 dctx->generator = 2; in pkey_dh_init() 65 dctx->kdf_type = EVP_PKEY_DH_KDF_NONE; in pkey_dh_init() 67 ctx->data = dctx; in pkey_dh_init() 68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init() 69 ctx->keygen_info_count = 2; in pkey_dh_init() 76 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_cleanup() [all …]
|
/freebsd/sys/netgraph/netflow/ |
H A D | netflow.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2010-2011 Alexander V. Chernikov <melifaro@ipfw.ru> 73 uint8_t engine_type; /* Type of flow switching engine (RP,VIP,etc.) */ 75 uint16_t pad; /* Pad to word boundary */ member 101 uint16_t pad1; /* Pad to word boundary */ 103 uint8_t tos; /* IP type of service */ 105 uint8_t pad2; /* Pad to word boundary */ 106 uint16_t pad3; /* Pad to word boundary */ 123 uint8_t pad1; /* Pad to word boundary */ [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-openflow-1.0.c | 3 * protocol 0x01). The decoder implements terse (default), detailed (-v) and 4 * full (-vv) output formats and, as much as each format implies, detects and 9 * [OF10] https://www.opennetworking.org/wp-content/uploads/2013/04/openflow-spec-v1.0.0.pdf 12 * * cp -- the pointer to the first octet to decode 13 * * len -- the declared length of the structure to decode 23 * messages is done only when the verbosity level set by command-line argument 24 * is "-vvv" or higher. In that case the verbosity level is temporarily 26 * tcpdump with "-vvvv" will do full decoding of OpenFlow and "-v" decoding of 64 #include "netdissect-stdinc.h" 122 * [OF10] lists all FPPS_ constants in one enum, but they mean a 1-bit bitmap [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | FormatVariadic.h | 1 //===- FormatVariadic.h - Efficient type-safe string formatting --*- C++-*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // subsystems to provide printf-like formatting, but with improved safety and 23 //===----------------------------------------------------------------------===// 51 : Type(ReplacementType::Literal), Spec(Literal) {} in ReplacementItem() 53 char Pad, StringRef Options) in ReplacementItem() 54 : Type(ReplacementType::Format), Spec(Spec), Index(Index), Align(Align), in ReplacementItem() 55 Where(Where), Pad(Pad), Options(Options) {} in ReplacementItem() 57 ReplacementType Type = ReplacementType::Empty; member [all …]
|
/freebsd/bin/pax/ |
H A D | ar_subs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 76 * figure out archive type; pass any format specific options to the in list() 82 if ((get_arc() < 0) || ((*frmt->options)() < 0) || in list() 83 ((*frmt->st_rd)() < 0)) in list() 123 if (rd_skip(arcn->skip + arcn->pad) == 1) in list() 131 (void)(*frmt->end_rd)(); in list() 156 * figure out archive type; pass any format specific options to the in extract() 160 if ((get_arc() < 0) || ((*frmt->options)() < 0) || in extract() 161 ((*frmt->st_rd)() < 0) || (dir_start() < 0)) in extract() [all …]
|