Home
last modified time | relevance | path

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

12345678910>>...18

/third_party/openssl/crypto/evp/
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 …]
Dpmeth_lib.c386 if (ctx->op.kex.algctx != NULL && ctx->op.kex.exchange != NULL) in evp_pkey_ctx_free_old_ops()
387 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
388 EVP_KEYEXCH_free(ctx->op.kex.exchange); in evp_pkey_ctx_free_old_ops()
390 ctx->op.kex.exchange = NULL; in evp_pkey_ctx_free_old_ops()
504 if (pctx->op.kex.exchange != NULL) { in EVP_PKEY_CTX_dup()
505 rctx->op.kex.exchange = pctx->op.kex.exchange; in EVP_PKEY_CTX_dup()
506 if (!EVP_KEYEXCH_up_ref(rctx->op.kex.exchange)) in EVP_PKEY_CTX_dup()
510 if (!ossl_assert(pctx->op.kex.exchange != NULL)) in EVP_PKEY_CTX_dup()
513 = pctx->op.kex.exchange->dupctx(pctx->op.kex.algctx); in EVP_PKEY_CTX_dup()
515 EVP_KEYEXCH_free(rctx->op.kex.exchange); in EVP_PKEY_CTX_dup()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_dhm.data1 Diffie-Hellman full exchange: tiny x_size
4 Diffie-Hellman full exchange: 5-bit, x_size=3
7 Diffie-Hellman full exchange: 5-bit, x_size=2
12 Diffie-Hellman full exchange: 5-bit #1
15 Diffie-Hellman full exchange: 5-bit #2
18 Diffie-Hellman full exchange: 5-bit #3
21 Diffie-Hellman full exchange: 5-bit #4
24 Diffie-Hellman full exchange: 5-bit #5
31 Diffie-Hellman full exchange: 97-bit, x_size=14
34 Diffie-Hellman full exchange: 97-bit #1
[all …]
/third_party/openssl/doc/man3/
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 …]
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 */
/third_party/openssl/doc/man7/
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 …]
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.
/third_party/vk-gl-cts/framework/delibs/dethread/
DdeAtomic.h100 …t32 deAtomicCompareExchangeUint32 (volatile deUint32* dstAddr, deUint32 compare, deUint32 exchange) in deAtomicCompareExchangeUint32() argument
103 return _InterlockedCompareExchange((volatile long*)dstAddr, exchange, compare); in deAtomicCompareExchangeUint32()
105 return __sync_val_compare_and_swap(dstAddr, compare, exchange); in deAtomicCompareExchangeUint32()
184 …t64 deAtomicCompareExchangeUint64 (volatile deUint64* dstAddr, deUint64 compare, deUint64 exchange) in deAtomicCompareExchangeUint64() argument
187 return _InterlockedCompareExchange64((volatile long long*)dstAddr, exchange, compare); in deAtomicCompareExchangeUint64()
189 return __sync_val_compare_and_swap(dstAddr, compare, exchange); in deAtomicCompareExchangeUint64()
243 DE_INLINE void* deAtomicCompareExchangePtr (void* volatile* dstAddr, void* compare, void* exchange) in deAtomicCompareExchangePtr() argument
246 …)deAtomicCompareExchangeUint64((volatile deUint64*)dstAddr, (deUint64)compare, (deUint64)exchange); in deAtomicCompareExchangePtr()
248 …)deAtomicCompareExchangeUint32((volatile deUint32*)dstAddr, (deUint32)compare, (deUint32)exchange); in deAtomicCompareExchangePtr()
/third_party/nghttp2/src/
Dmemchunk.h126 head{std::exchange(other.head, nullptr)},
127 tail{std::exchange(other.tail, nullptr)},
128 len{std::exchange(other.len, 0)},
129 mark{std::exchange(other.mark, nullptr)},
130 mark_pos{std::exchange(other.mark_pos, nullptr)},
131 mark_offset{std::exchange(other.mark_offset, 0)} {}
141 head = std::exchange(other.head, nullptr);
142 tail = std::exchange(other.tail, nullptr);
143 len = std::exchange(other.len, 0);
144 mark = std::exchange(other.mark, nullptr);
[all …]
Dtemplate.h93 : head{std::exchange(other.head, nullptr)}, in DList()
94 tail{std::exchange(other.tail, nullptr)},
95 len{std::exchange(other.len, 0)} {}
101 head = std::exchange(other.head, nullptr);
102 tail = std::exchange(other.tail, nullptr);
103 len = std::exchange(other.len, 0);
250 : len{std::exchange(other.len, 0)}, base{std::exchange(other.base, "")} {} in ImmutableString()
275 len = std::exchange(other.len, 0);
276 base = std::exchange(other.base, "");
Dallocator.h69 : retain{std::exchange(other.retain, nullptr)}, in BlockAllocator()
70 head{std::exchange(other.head, nullptr)},
77 retain = std::exchange(other.retain, nullptr);
78 head = std::exchange(other.head, nullptr);
/third_party/vulkan-headers/include/vulkan/
Dvulkan_raii.hpp26 VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_INLINE T exchange( T & obj, U && newValue ) in exchange() function
29 return std::exchange<T>( obj, std::forward<U>( newValue ) ); in exchange()
2574 … : m_instance( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_instance, {} ) ) in Instance()
2575 … , m_allocator( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_allocator, {} ) )
2585 … m_instance = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_instance, {} ); in operator =()
2586 … m_allocator = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_allocator, {} ); in operator =()
2814 …: m_physicalDevice( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_physicalDevic… in PhysicalDevice()
2815 …, m_dispatcher( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_dispatcher, nullp…
2828 …m_physicalDevice = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_physicalDevice… in operator =()
2829 …m_dispatcher = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_dispatcher, nu… in operator =()
[all …]
/third_party/rust/crates/once_cell/src/
Drace.rs58 let exchange = in set() localVariable
60 match exchange { in set()
99 let exchange = in get_or_try_init() localVariable
101 if let Err(old) = exchange { in get_or_try_init()
325 let exchange = self.inner.compare_exchange( in set() localVariable
331 if let Err(_) = exchange { in set()
371 let exchange = self.inner.compare_exchange( in get_or_try_init() localVariable
377 if let Err(old) = exchange { in get_or_try_init()
/third_party/vk-gl-cts/android/cts/main/vk-master-2022-03-01/
Dprotected-memory.txt277 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.static.atomic_exc…
278 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.static.atomic_exc…
279 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.static.atomic_exc…
280 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.static.atomic_exc…
281 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.random.atomic_exc…
282 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.random.atomic_exc…
283 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.random.atomic_exc…
284 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.random.atomic_exc…
285 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.random.atomic_exc…
286 dEQP-VK.protected_memory.ssbo.ssbo_atomic.fragment.protected_access.none.exchange.random.atomic_exc…
[all …]
/third_party/cef/include/base/
Dcef_auto_reset.h63 std::exchange(*scoped_variable_, std::forward<U>(new_value))) {} in AutoReset()
66 : scoped_variable_(std::exchange(other.scoped_variable_, nullptr)), in AutoReset()
70 scoped_variable_ = std::exchange(rhs.scoped_variable_, nullptr);
/third_party/ffmpeg/libavcodec/
Dmqcdec.c45 static int exchange(MqcState *mqc, uint8_t *cxstate, int lps) in exchange() function
102 return exchange(mqc, cxstate, 0); in ff_mqc_decode()
105 return exchange(mqc, cxstate, 1); in ff_mqc_decode()
/third_party/vk-gl-cts/android/cts/main/vk-master-2021-03-01/
Dimage.txt5281 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r32f_end_result
5282 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r32f_intermediate_val…
5283 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64ui_end_result
5284 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64ui_intermediate_va…
5285 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64i_end_result
5286 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64i_intermediate_val…
5287 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32ui_end_result
5288 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32ui_intermediate_valu…
5289 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32i_end_result
5290 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32i_intermediate_values
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumrange_fluent.cpp243 auto* stolen = _src.fAtomicFormatter.exchange(nullptr); in LocalizedNumberRangeFormatter()
244 delete fAtomicFormatter.exchange(stolen); in LocalizedNumberRangeFormatter()
251 delete fAtomicFormatter.exchange(nullptr); in operator =()
258 auto* stolen = src.fAtomicFormatter.exchange(nullptr); in operator =()
259 delete fAtomicFormatter.exchange(stolen); in operator =()
265 delete fAtomicFormatter.exchange(nullptr); in ~LocalizedNumberRangeFormatter()
/third_party/icu/icu4c/source/i18n/
Dnumrange_fluent.cpp243 auto* stolen = _src.fAtomicFormatter.exchange(nullptr); in LocalizedNumberRangeFormatter()
244 delete fAtomicFormatter.exchange(stolen); in LocalizedNumberRangeFormatter()
251 delete fAtomicFormatter.exchange(nullptr); in operator =()
258 auto* stolen = src.fAtomicFormatter.exchange(nullptr); in operator =()
259 delete fAtomicFormatter.exchange(stolen); in operator =()
265 delete fAtomicFormatter.exchange(nullptr); in ~LocalizedNumberRangeFormatter()
/third_party/node/deps/icu-small/source/i18n/
Dnumrange_fluent.cpp243 auto* stolen = _src.fAtomicFormatter.exchange(nullptr); in LocalizedNumberRangeFormatter()
244 delete fAtomicFormatter.exchange(stolen); in LocalizedNumberRangeFormatter()
251 delete fAtomicFormatter.exchange(nullptr); in operator =()
258 auto* stolen = src.fAtomicFormatter.exchange(nullptr); in operator =()
259 delete fAtomicFormatter.exchange(stolen); in operator =()
265 delete fAtomicFormatter.exchange(nullptr); in ~LocalizedNumberRangeFormatter()
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/
Dimage.txt3115 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r32f_end_result
3116 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r32f_intermediate_val…
3117 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64ui_end_result
3118 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64ui_intermediate_va…
3119 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64i_end_result
3120 dEQP-VK.image.atomic_operations.exchange.1d.notransfer.normal_read.normal_img.r64i_intermediate_val…
3121 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32ui_end_result
3122 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32ui_intermediate_valu…
3123 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32i_end_result
3124 dEQP-VK.image.atomic_operations.exchange.1d.transfer.normal_read.normal_img.r32i_intermediate_values
[all …]
/third_party/flutter/skia/include/private/
DSkSpinlock.h21 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire()
30 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
/third_party/skia/include/private/
DSkSpinlock.h21 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire()
30 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
/third_party/skia/third_party/externals/angle2/src/common/
DSpinlock.h48 !mLock.exchange(true, std::memory_order_acquire); in try_lock()
53 while (mLock.exchange(true, std::memory_order_acquire)) in lock()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumrange_fluent.cpp232 auto* stolen = _src.fAtomicFormatter.exchange(nullptr); in LocalizedNumberRangeFormatter()
233 delete fAtomicFormatter.exchange(stolen); in LocalizedNumberRangeFormatter()
239 delete fAtomicFormatter.exchange(nullptr); in operator =()
246 auto* stolen = src.fAtomicFormatter.exchange(nullptr); in operator =()
247 delete fAtomicFormatter.exchange(stolen); in operator =()
253 delete fAtomicFormatter.exchange(nullptr); in ~LocalizedNumberRangeFormatter()

12345678910>>...18