| /freebsd/crypto/openssl/test/ |
| H A D | dtlstest.c | 2 * Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved. 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 33 0, DTLS1_HM_HEADER_LENGTH + DUMMY_CERT_STATUS_LEN - 2, 38 0, 0, DUMMY_CERT_STATUS_LEN - 2, /* Fragment len */ 87 if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA"))) in test_dtls_unprocessed() 90 /* Default sigalgs are SHA1 based in <DTLS1.2 which is in security level 0 */ in test_dtls_unprocessed() 91 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0")) in test_dtls_unprocessed() 93 "AES128-SHA:@SECLEVEL=0"))) in test_dtls_unprocessed() 112 * Inject a dummy record from the next epoch. In test 0, this should never in test_dtls_unprocessed() [all …]
|
| /freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/ |
| H A D | lac_sym_partial.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2025 Intel Corporation */ 16 * <b>Partials In Flight</b>\n 22 * Maintain a SpinLock for partials in flight per session. Try and acquire this 24 * as there is already a partial in flight. There is no blocking in the data 27 * By preventing any other partials from coming in while a partial is in flight 29 * round it (dont want to have to lock and block in the data path). The state 34 * partial. By only allowing one partial packet to be in flight, there is no 39 * partial in ECB mode as the result of the previous partial has no impact on 40 * it. The API and our implementation only allows 1 partial packet to be in [all …]
|
| /freebsd/crypto/openssl/util/perl/TLSProxy/ |
| H A D | Record.pm | 1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved. 4 # this file except in compliance with the License. You can obtain a copy 5 # in the file LICENSE in the source distribution or at 66 my $flight = shift; 77 print " Record $recnum ", $server ? "(server -> client)\n" 78 : "(client -> server)\n"; 117 $record = TLSProxy::Record->new_dtls( 118 $flight, 131 $record = TLSProxy::Record->new( 132 $flight, [all …]
|
| H A D | Proxy.pm | 1 # Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved. 4 # this file except in compliance with the License. You can obtain a copy 5 # in the file LICENSE in the source distribution or at 42 my $s = IO::Socket::INET6->new( 48 $s->close(); 51 $IP_factory = sub { IO::Socket::INET6->new(Domain => AF_INET6, @_); }; 57 my $s = IO::Socket::IP->new( 63 $s->close(); 66 $IP_factory = sub { IO::Socket::IP->new(@_); }; 70 $IP_factory = sub { IO::Socket::INET->new(@_); }; [all …]
|
| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 70-test_sslextension.t | 2 # Copyright 2015-2024 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 23 if disabled("engine") || disabled("dynamic-engine"); 44 my $proxy = TLSProxy::Proxy->new( 56 if ($proxy->flight == 1) { 59 my $message = ${$proxy->message_list}[1]; 60 $message->random("\0"x32); 61 $message->repack(); 65 # We're only interested in the initial ClientHello [all …]
|
| H A D | 70-test_sslsignature.t | 2 # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 21 if disabled("engine") || disabled("dynamic-engine"); 29 my $proxy = TLSProxy::Proxy->new( 43 $proxy->filter(\&signature_filter); 47 $proxy->clientflags("-no_tls1_3") if disabled("ec") && disabled("dh"); 48 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 50 ok(TLSProxy::Message->success, "No corruption"); 56 #Test 2: Corrupting a server CertVerify signature in TLSv1.3 should fail [all …]
|
| H A D | 70-test_tls13hrr.t | 2 # Copyright 2017-2024 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 22 if disabled("engine") || disabled("dynamic-engine"); 30 my $proxy = TLSProxy::Proxy->new( 47 $proxy->filter(\&hrr_filter); 49 $proxy->serverflags("-curves ffdhe3072"); 51 $proxy->serverflags("-curves P-256"); 54 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 56 ok(TLSProxy::Message->fail(), "Server ciphersuite changes"); [all …]
|
| H A D | 70-test_tls13psk.t | 2 # Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 22 if disabled("engine") || disabled("dynamic-engine"); 30 my $proxy = TLSProxy::Proxy->new( 42 #Most PSK tests are done in test_ssl_new. This tests various failure scenarios 47 $proxy->clientflags("-sess_out ".$session); 48 $proxy->serverflags("-servername localhost"); 49 $proxy->sessionfile($session); 50 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; [all …]
|
| H A D | 70-test_sslrecords.t | 2 # Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 24 if disabled("engine") || disabled("dynamic-engine"); 56 $proxy = TLSProxy::Proxy->new_dtls( 63 $proxy = TLSProxy::Proxy->new( 75 $proxy->clear(); 79 $proxy->serverflags("-tls1_2"); 80 $proxy->clientflags("-no_tls1_3"); 81 $proxy_start_success = $proxy->start(); [all …]
|
| H A D | 70-test_tls13downgrade.t | 2 # Copyright 2017-2025 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 21 if disabled("engine") || disabled("dynamic-engine"); 30 my $proxy = TLSProxy::Proxy->new( 46 $proxy->filter(\&downgrade_filter); 48 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 53 $proxy->clear(); 55 $proxy->start(); 61 $proxy->clear(); [all …]
|
| H A D | 70-test_tls13cookie.t | 2 # Copyright 2017-2025 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 21 if disabled("engine") || disabled("dynamic-engine"); 34 my $proxy = TLSProxy::Proxy->new( 44 #Test 1: Inserting a cookie into an HRR should see it echoed in the ClientHello 47 $proxy->filter(\&cookie_filter); 49 $proxy->clientflags("-curves ffdhe3072:ffdhe2048"); 50 $proxy->serverflags("-curves ffdhe2048"); 52 $proxy->clientflags("-curves P-256:X25519"); [all …]
|
| H A D | 70-test_sslskewith0p.t | 2 # Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 21 if disabled("engine") || disabled("dynamic-engine"); 32 my $proxy = TLSProxy::Proxy->new( 40 $proxy->cipherc('ADH-AES128-SHA:@SECLEVEL=0'); 41 $proxy->ciphers('ADH-AES128-SHA:@SECLEVEL=0'); 43 $proxy->clientflags("-no_tls1_3"); 44 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 46 ok(TLSProxy::Message->fail, "ServerKeyExchange with 0 p"); [all …]
|
| H A D | 70-test_npn.t | 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 22 if disabled("engine") || disabled("dynamic-engine"); 33 my $proxy = TLSProxy::Proxy->new( 40 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 49 $proxy->clear(); 50 $proxy->filter(\&npn_filter); 51 $proxy->clientflags("-nextprotoneg foo -no_tls1_3"); 52 $proxy->serverflags("-nextprotoneg foo"); 53 $proxy->start(); [all …]
|
| H A D | 70-test_sslsigalgs.t | 2 # Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved. 5 # this file except in compliance with the License. You can obtain a copy 6 # in the file LICENSE in the source distribution or at 21 if disabled("engine") || disabled("dynamic-engine"); 29 my $proxy = TLSProxy::Proxy->new( 57 $alg =~ s{([a-zA-Z])}{chr(ord($1)^(int(rand(2.0)) * 32))}eg; 68 $proxy->clientflags("-no_tls1_3") if disabled("ec") && disabled("dh"); 69 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 71 ok(TLSProxy::Message->success, "Default sigalgs"); 78 $proxy->filter(\&sigalgs_filter); [all …]
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | quic_ackm.h | 2 * Copyright 2022-2025 The OpenSSL Project Authors. All Rights Reserved. 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 41 * Configures the RX-side maximum ACK delay. This is the maximum amount of time 43 * ACK-eliciting packet. The peer communicates this value via a transport 49 * Configures the TX-side maximum ACK delay. This is the maximum amount of time 50 * we are allowed to delay sending an ACK frame after receiving an ACK-eliciting 52 * it must be accurately reported in the transport parameters we send to our 62 /* The number of bytes in the packet which was sent. */ 87 * 1 if the packet is in flight. A packet is considered 'in flight' if it is [all …]
|
| /freebsd/sys/dev/qat/qat_api/qat_kernel/src/ |
| H A D | qat_transport.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 23 return data - mult; in adf_modulo() 51 error = adf_create_ring(adf->accel_dev, in icp_adf_transCreateHandle() 124 *ringNum = (uint32_t)(ring->ring_number); in icp_adf_transGetRingNum() 166 * XXX: The qat_direct version of this routine returns max - 1, not in icp_adf_getInflightRequests() 169 *numInflightRequests = (*(uint32_t *)ring->inflights); in icp_adf_getInflightRequests() 171 ADF_MAX_INFLIGHTS(ring->ring_size, ring->msg_size); in icp_adf_getInflightRequests() 216 bank = ring->bank; in icp_adf_pollInstance() 218 /* If the ring in question is empty try the next ring.*/ in icp_adf_pollInstance() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | sctp_kdtrace.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 5 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 7 * Redistribution and use in source and binary forms, with or without 13 * b) Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF [all …]
|
| H A D | sctp_kdtrace.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 5 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 7 * Redistribution and use in source and binary forms, with or without 13 * b) Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF [all …]
|
| /freebsd/sys/dev/qat/qat_api/include/ |
| H A D | icp_sal_user.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2025 Intel Corporation */ 20 * (SAL) - it registers SAL with ADF and initialises the ADF proxy. 35 * @param[in] pProcessName Process address space name described in 51 * If a config file in simplified format contains: 57 * icp_sal_userStartMultiProcess("SSL"). In this case the driver will 72 * @param[in] pProcessName Process address space name described in 76 * @param[in] limitDevAccess Specifies if the address space is limited 81 * @retval CPA_STATUS_FAIL Operation failed. In this case user 92 * - it deregisters SAL with ADF and shuts down ADF proxy [all …]
|
| /freebsd/sys/dev/mana/ |
| H A D | hw_channel.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Redistribution and use in source and binary forms, with or without 14 * 2. Redistributions in binary form must reproduce the above copyright 15 * notice, this list of conditions and the following disclaimer in the 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 137 /* hwc_dma_buf represents the array of in-flight WQEs. 139 * in-flight WQEs. [all …]
|
| /freebsd/share/man/man4/ |
| H A D | dtrace_sctp.4 | 3 .\" Redistribution and use in source and binary forms, with or without 8 .\" 2. Redistributions in binary form must reproduce the above copyright 9 .\" notice, this list of conditions and the following disclaimer in the 15 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 49 .Fn sctp:::state-change "void *" "csinfo_t *" "void *" "sctpsinfo_t *" \ 54 provider allows users to trace events in the 67 probes track changes in the congestion window on a netp. 70 probes track changes in the receiver window for an assoc. [all …]
|
| /freebsd/crypto/openssl/doc/designs/quic-design/ |
| H A D | glossary.md | 4 **ACKM:** ACK Manager. Responsible for tracking packets in flight and generating 14 **APL:** API Personality Layer. The QUIC API Personality Layer lives in 15 `quic_impl.c` and implements the libssl API personality (`SSL_read`, etc.) in 25 GCR strategy for frame in flight management. For details, see FIFM design 38 payload bytes we can put in the payload of another QUIC packet which is to be 45 **DCID:** Destination Connection ID. Found in all QUIC packet headers. 52 **DISPATCH:** Refers to the QUIC-specific dispatch code in `ssl_lib.c`. This 59 **Event Leader:** The QSO which is is the top-level QSO in a hierarchy of QSOs, 60 and which is responsible for event processing for all QSOs in that hierarchy. 62 design](server/quic-server-api.md). [all …]
|
| H A D | quic-fifm.md | 1 QUIC Frame-in-Flight Management 4 The QUIC frame-in-flight manager is responsible for tracking frames which were 7 packets, whereas the QUIC frame-in-flight manager (FIFM) works on the level of 12 - the Control Frame Queue (CFQ); 13 - the Transmitted Packet Information Manager (TXPIM); and 14 - the Frame-in-Flight Dispatcher (FIFD). 16  18 These are introduced in turn below, but first we discuss the various QUIC frame 22 -------------------------------------------------- 36 PATH_CHALLENGE - [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_iostat/ |
| H A D | zpool_iostat.kshlib | 1 # SPDX-License-Identifier: CDDL-1.0 7 # You may not use this file except in compliance with the License. 10 # or https://opensource.org/licenses/CDDL-1.0. 14 # When distributing Covered Code, include this CDDL HEADER in each 28 # disappear, we run it in the background and capture its output to a file. 33 # output for each step of the change; in fact, we want that to make sure we 39 # HEADER: three lines, starting with "capacity", "pool" and "----" respectively. 44 # "-----" respectively. (the pool stat output for multiple pools) 46 # (the parser may produce other chunks in a failed parse to assist with 51 # -T u option, which will output a numeric timestamp before each header or [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | FDRRecords.cpp | 1 //===- FDRRecords.cpp - XRay Flight Data Recorder Mode Records -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // of records we encounter in XRay flight data recorder mode traces. 12 //===----------------------------------------------------------------------===//
|