Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd/crypto/openssl/crypto/evp/
H A Dexchange.c33 EVP_KEYEXCH *exchange = OPENSSL_zalloc(sizeof(EVP_KEYEXCH)); in evp_keyexch_new() local
35 if (exchange == NULL) in evp_keyexch_new()
38 if (!CRYPTO_NEW_REF(&exchange->refcnt, 1) in evp_keyexch_new()
40 CRYPTO_FREE_REF(&exchange->refcnt); in evp_keyexch_new()
41 OPENSSL_free(exchange); in evp_keyexch_new()
44 exchange->prov = prov; in evp_keyexch_new()
46 return exchange; in evp_keyexch_new()
54 EVP_KEYEXCH *exchange = NULL; in evp_keyexch_from_algorithm() local
57 if ((exchange = evp_keyexch_new(prov)) == NULL) { in evp_keyexch_from_algorithm()
62 exchange->name_id = name_id; in evp_keyexch_from_algorithm()
[all …]
H A Dpmeth_lib.c367 if (ctx->op.kex.algctx != NULL && ctx->op.kex.exchange != NULL) in evp_pkey_ctx_free_old_ops()
368 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
369 EVP_KEYEXCH_free(ctx->op.kex.exchange); in evp_pkey_ctx_free_old_ops()
371 ctx->op.kex.exchange = NULL; in evp_pkey_ctx_free_old_ops()
489 if (pctx->op.kex.exchange != NULL) { in EVP_PKEY_CTX_dup()
490 rctx->op.kex.exchange = pctx->op.kex.exchange; in EVP_PKEY_CTX_dup()
491 if (!EVP_KEYEXCH_up_ref(rctx->op.kex.exchange)) in EVP_PKEY_CTX_dup()
495 if (!ossl_assert(pctx->op.kex.exchange != NULL)) in EVP_PKEY_CTX_dup()
498 if (pctx->op.kex.exchange->dupctx != NULL) in EVP_PKEY_CTX_dup()
500 = 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.pod33 support key exchange or key encapsulation.
78 performing a key exchange operation.
80 =head2 Set up a peer's EVP_PKEY ready for a key exchange operation
84 int exchange(EVP_PKEY *ourkey, unsigned char *peer_pub, size_t peer_pub_len)
95 /* 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
/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.cpp174 Interp = std::exchange(RHS.Interp, nullptr); in Value()
175 OpaqueType = std::exchange(RHS.OpaqueType, nullptr); in Value()
177 ValueKind = std::exchange(RHS.ValueKind, K_Unspecified); in Value()
178 IsManuallyAlloc = std::exchange(RHS.IsManuallyAlloc, false); in Value()
205 Interp = std::exchange(RHS.Interp, nullptr); in operator =()
206 OpaqueType = std::exchange(RHS.OpaqueType, nullptr); in operator =()
207 ValueKind = std::exchange(RHS.ValueKind, K_Unspecified); in operator =()
208 IsManuallyAlloc = std::exchange(RHS.IsManuallyAlloc, false); in operator =()
/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/libcxx/modules/std/
H A Dutility.cppm
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h77 : Thread(std::exchange(Other.Thread, native_handle_type())) {} in thread()
96 Thread = std::exchange(Other.Thread, native_handle_type());
169 : Thread(std::exchange(Other.Thread, std::thread())) {}
184 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/libc/src/__support/threads/linux/
H A Draw_mutex.h83 futex.exchange(IN_CONTENTION, cpp::MemoryOrder::ACQUIRE) == UNLOCKED) in lock_slow()
114 FutexWordType prev = futex.exchange(UNLOCKED, cpp::MemoryOrder::RELEASE);
H A Dcallonce.cpp25 auto status = futex_word->exchange(FINISH); in callonce_slowpath()
/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/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/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc114 if (FileToRemoveList *N = Next.exchange(nullptr))
116 if (char *F = Filename.exchange(nullptr))
147 OldFilename = Current->Filename.exchange(nullptr);
180 FileToRemoveList *OldHead = Head.exchange(nullptr);
186 if (char *path = currentFile->Filename.exchange(nullptr)) {
190 currentFile->Filename.exchange(path);
195 Head.exchange(OldHead);
206 FileToRemoveList *Head = FilesToRemove.exchange(nullptr);
394 OneShotPipeSignalFunction.exchange(nullptr))
399 if (auto OldInterruptFunction = InterruptFunction.exchange(nullptr))
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTrieRawHashMap.cpp186 S->Next.exchange(CurrentHead); in save()
355 ImplPtr = RHS.ImplPtr.exchange(nullptr); in ThreadSafeTrieRawHashMapBase()
364 std::unique_ptr<ImplType> Impl(ImplPtr.exchange(nullptr)); in destroyImpl()
383 TrieSubtrie *Next = Trie->Next.exchange(nullptr); in destroyImpl()
/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.in34 [B<-key-exchange-algorithms>]
100 =item Key exchange algorithms (KEX)
182 The options B<key-exchange-algorithms>, B<kem-algorithms>,
197 =item B<-key-exchange-algorithms>
199 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/krb5/src/appl/gss-sample/
H A DREADME27 with the server. Each exchange with the server consists primarily of
50 that the exchange is finished.
55 The client also supports the -v1 flag which uses an older exchange
70 -once Tells the server to exit after a single exchange, rather than

12345678910>>...12