Home
last modified time | relevance | path

Searched refs:exchange (Results 1 – 25 of 246) sorted by relevance

12345678910

/freebsd/crypto/openssl/crypto/evp/
H A Dexchange.c23 EVP_KEYEXCH *exchange = OPENSSL_zalloc(sizeof(EVP_KEYEXCH)); in evp_keyexch_new() local
25 if (exchange == NULL) { in evp_keyexch_new()
30 exchange->lock = CRYPTO_THREAD_lock_new(); in evp_keyexch_new()
31 if (exchange->lock == NULL) { in evp_keyexch_new()
33 OPENSSL_free(exchange); in evp_keyexch_new()
36 exchange->prov = prov; in evp_keyexch_new()
38 exchange->refcnt = 1; in evp_keyexch_new()
40 return exchange; in evp_keyexch_new()
48 EVP_KEYEXCH *exchange = NULL; in evp_keyexch_from_algorithm() local
51 if ((exchange = evp_keyexch_new(prov)) == NULL) { in evp_keyexch_from_algorithm()
[all …]
H A Dpmeth_lib.c387 if (ctx->op.kex.algctx != NULL && ctx->op.kex.exchange != NULL) in evp_pkey_ctx_free_old_ops()
388 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
389 EVP_KEYEXCH_free(ctx->op.kex.exchange); in evp_pkey_ctx_free_old_ops()
391 ctx->op.kex.exchange = NULL; in evp_pkey_ctx_free_old_ops()
505 if (pctx->op.kex.exchange != NULL) { in EVP_PKEY_CTX_dup()
506 rctx->op.kex.exchange = pctx->op.kex.exchange; in EVP_PKEY_CTX_dup()
507 if (!EVP_KEYEXCH_up_ref(rctx->op.kex.exchange)) in EVP_PKEY_CTX_dup()
511 if (!ossl_assert(pctx->op.kex.exchange != NULL)) in EVP_PKEY_CTX_dup()
514 if (pctx->op.kex.exchange->dupctx != NULL) in EVP_PKEY_CTX_dup()
516 = pctx->op.kex.exchange->dupctx(pctx->op.kex.algctx); in EVP_PKEY_CTX_dup()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DEVP_KEYEXCH_free.pod17 void EVP_KEYEXCH_free(EVP_KEYEXCH *exchange);
18 int EVP_KEYEXCH_up_ref(EVP_KEYEXCH *exchange);
19 OSSL_PROVIDER *EVP_KEYEXCH_get0_provider(const EVP_KEYEXCH *exchange);
20 int EVP_KEYEXCH_is_a(const EVP_KEYEXCH *exchange, const char *name);
21 const char *EVP_KEYEXCH_get0_name(const EVP_KEYEXCH *exchange);
23 void (*fn)(EVP_KEYEXCH *exchange, void *arg),
25 int EVP_KEYEXCH_names_do_all(const EVP_KEYEXCH *exchange,
34 EVP_KEYEXCH_fetch() fetches the key exchange implementation for the given
49 EVP_KEYEXCH_get0_provider() returns the provider that I<exchange> was
52 EVP_KEYEXCH_is_a() checks if I<exchange> is an implementation of an
[all …]
H A DEVP_PKEY_set1_encoded_public_key.pod31 currently only works for those that support key exchange. Parameters are not
72 performing a key exchange operation.
74 =head2 Set up a peer's EVP_PKEY ready for a key exchange operation
78 int exchange(EVP_PKEY *ourkey, unsigned char *peer_pub, size_t peer_pub_len)
89 /* Do the key exchange here */
H A DSSL_CIPHER_get_name.pod75 SSL_CIPHER_get_kx_nid() returns the key exchange NID corresponding to the method
76 used by B<c>. If there is no key exchange, then B<NID_undef> is returned.
77 If any appropriate key exchange algorithm can be used (as in the case of TLS 1.3
132 =item Kx=<key exchange>
134 Key exchange method such as B<RSA>, B<ECDHE>, etc.
H A DSSL_CTX_set_tmp_dh_callback.pod8 - handle DH keys for ephemeral key exchange
37 Some ciphersuites may use ephemeral Diffie-Hellman (DH) key exchange. In these
43 Using ephemeral DH key exchange yields forward secrecy as the connection
50 In order to perform a DH key exchange the server must use a DH group
H A DDH_generate_key.pod6 Diffie-Hellman key exchange
29 exchange by generating private and public DH values. By calling
/freebsd/crypto/openssl/doc/man7/
H A Dprovider-keyexch.pod45 The key exchange (OSSL_OP_KEYEXCH) operation enables providers to implement key
46 exchange algorithms and make them available to applications via
82 A key exchange algorithm implementation may not implement all of these functions.
87 A key exchange algorithm must also implement some mechanism for generating,
94 structure for holding context information during a key exchange operation.
96 exchange operation function calls.
100 OSSL_FUNC_keyexch_freectx() is passed a pointer to the provider side key exchange
104 OSSL_FUNC_keyexch_dupctx() should duplicate the provider side key exchange context in
109 OSSL_FUNC_keyexch_init() initialises a key exchange operation given a provider side key
110 exchange context in the I<ctx> parameter, and a pointer to a provider key object
[all …]
H A DEVP_KEYEXCH-DH.pod10 Key exchange support for the B<DH> and B<DHX> key types.
12 Please note that although both key types support the same key exchange
13 operations, they cannot be used together in a single key exchange. It
14 is not possible to use a private key of the B<DH> type in key exchange
17 =head2 DH and DHX key exchange parameters
23 Sets the padding mode for the associated key exchange ctx.
H A DEVP_KEYEXCH-ECDH.pod9 Key exchange support for the B<ECDH> key type.
17 Sets or gets the ECDH mode of operation for the associated key exchange ctx.
19 In the context of an Elliptic Curve Diffie-Hellman key exchange, this parameter
21 Diffie-Hellman (CDH) variants of the key exchange algorithm.
25 given key exchange ctx.
H A DEVP_KEYEXCH-X25519.pod11 Key exchange support for the B<X25519> and B<X448> key types.
13 =head2 Key exchange parameters
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp177 Interp = std::exchange(RHS.Interp, nullptr); in Value()
178 OpaqueType = std::exchange(RHS.OpaqueType, nullptr); in Value()
180 ValueKind = std::exchange(RHS.ValueKind, K_Unspecified); in Value()
181 IsManuallyAlloc = std::exchange(RHS.IsManuallyAlloc, false); in Value()
208 Interp = std::exchange(RHS.Interp, nullptr); in operator =()
209 OpaqueType = std::exchange(RHS.OpaqueType, nullptr); in operator =()
210 ValueKind = std::exchange(RHS.ValueKind, K_Unspecified); in operator =()
211 IsManuallyAlloc = std::exchange(RHS.IsManuallyAlloc, false); in operator =()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dutility.cppm
/freebsd/crypto/openssh/
H A DPROTOCOL.agent10 exchange (as per RFC4253 section 7.2) and the host key used for that
11 exchange. This binding is verifiable at the agent by including the
24 identifier' is the exchange hash derived from the initial key
25 exchange, 'signature' is the server's signature of the session
28 exchange. 'is_forwarding' is a flag indicating whether this connection
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h74 : Thread(std::exchange(Other.Thread, native_handle_type())) {} in thread()
93 Thread = std::exchange(Other.Thread, native_handle_type());
166 : Thread(std::exchange(Other.Thread, std::thread())) {}
181 Thread = std::exchange(Other.Thread, std::thread());
/freebsd/contrib/libcxxrt/
H A Datomic.h80 T exchange(T v, memory_order order = memory_order::seqcst)
82 return ATOMIC_BUILTIN(exchange)(&val, v, order);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DLazyAtomicPointer.h50 void store(T *Value) { return (void)exchange(Value); } in store()
54 T *exchange(T *Value) { in exchange() function
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc112 if (FileToRemoveList *N = Next.exchange(nullptr))
114 if (char *F = Filename.exchange(nullptr))
145 OldFilename = Current->Filename.exchange(nullptr);
160 FileToRemoveList *OldHead = Head.exchange(nullptr);
166 if (char *path = currentFile->Filename.exchange(nullptr)) {
184 currentFile->Filename.exchange(path);
189 Head.exchange(OldHead);
200 FileToRemoveList *Head = FilesToRemove.exchange(nullptr);
388 OneShotPipeSignalFunction.exchange(nullptr))
393 if (auto OldInterruptFunction = InterruptFunction.exchange(nullptr))
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DMapLattice.h121 Os << std::exchange(Separator, ", ") << E.first << " => " << E.second;
134 Os << std::exchange(Separator, ", ") << E.first->getName().str() << " => "
/freebsd/crypto/openssl/providers/implementations/
H A Dbuild.info1 SUBDIRS=digests ciphers rands macs kdfs exchange keymgmt signature asymciphers \
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-list.pod.in32 [B<-key-exchange-algorithms>]
139 The options B<key-exchange-algorithms>, B<kem-algorithms>,
150 =item B<-key-exchange-algorithms>
152 Display a list of key exchange algorithms.
/freebsd/contrib/llvm-project/libcxx/include/__utility/
H A Dexchange.h29 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _T1 exchange(_T1& __obj, _T2&& __new_val… in exchange() function
/freebsd/crypto/openssl/doc/internal/man3/
H A Devp_md_get_number.pod19 int evp_keyexch_get_number(const EVP_KEYEXCH *exchange);
57 Returns the internal dynamic number assigned to the I<exchange>.
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DLLDBAssert.cpp63 g_lldb_assert_callback.exchange(callback); in SetLLDBAssertCallback()
/freebsd/contrib/netbsd-tests/ipf/input/
H A Dn9_62 # ICMP ECHO (ping) exchange

12345678910