| /freebsd-src/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-src/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-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra210 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 …]
|
| /freebsd-src/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 line */ 60 int ys, ye, xs, xe; /* pad pos */ 69 int sel; /* current focus item, can be -1 */ 77 if (group.type == BSDDIALOG_SEPARATOR) in getmode() 79 else if (group.type == BSDDIALOG_RADIOLIST) in getmode() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | EHStreamer.h | 1 //===- EHStreamer.h - Exception Handling Directive Streamer -----*- C++ -*- [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 //===- [all...] |
| /freebsd-src/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-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 mmc-controller.yaml and the properties used by the Xenon implementation. 20 - Ulf Hansson <ulf.hansson@linaro.org> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci 29 - items: [all …]
|
| /freebsd-src/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-src/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-src/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-pm [all...] |
| /freebsd-src/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-src/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-src/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-src/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-src/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-src/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-src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | FormatVariadic.h | 1 //===- FormatVariadic.h - Efficient type-safe string formatting --*- C++-*-===// 5 // SPDX-Licens 57 ReplacementType Type = ReplacementType::Empty; global() member 62 char Pad = 0; global() member [all...] |
| /freebsd-src/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-lin 1290 uint16_t type, alen, output_port; of10_actions_print() local 1605 uint16_t type; of10_stats_request_print() local 1945 uint16_t type; of10_stats_reply_print() local 2091 uint16_t type, code; of10_error_print() local 2295 of10_identify_msgtype(const uint8_t type) of10_identify_msgtype() argument [all...] |
| /freebsd-src/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 …]
|
| H A D | tar.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 64 * 0 if ok, -1 otherwise (what wr_skip returns) 93 * 0 if a valid trailer, -1 if not a valid trailer, or 1 if the block 114 return(-1); in tar_trail() 119 * out that we do not mis-identify file data as the trailer, so we do in tar_trail() 137 * 0 if the number fit into the string, - [all...] |