| /src/sys/netinet/ |
| sctp_hashdriver.c | 86 md5_ctxt tctx; local 87 MD5Init(&tctx); 88 MD5Update(&tctx, key, key_len); 89 MD5Final(tk, &tctx); 93 SHA1_CTX tctx; 94 SHA1Init(&tctx); 95 SHA1Update(&tctx, key, key_len); 96 SHA1Final(tk, &tctx); 173 MD5Context tctx; local 174 MD5Init(&tctx); [all...] |
| /src/external/mpl/bind/dist/bin/named/ |
| tkeyconf.c | 43 dns_tkeyctx_t *tctx = NULL; local 50 result = dns_tkeyctx_create(mctx, &tctx); 66 &tctx->gsscred)); 73 tctx->gssapi_keytab = isc_mem_strdup(mctx, s); 77 *tctxp = tctx; 81 dns_tkeyctx_destroy(&tctx);
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/ciphers/ |
| cipher_desx_hw.c | 30 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 33 DES_set_key_unchecked(deskey, &tctx->ks1); 34 memcpy(&tctx->ks2, &key[8], 8); 35 memcpy(&tctx->ks3, &key[16], 8); 53 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 56 DES_xcbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, 57 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, 64 DES_xcbc_encrypt(in, out, (long)inl, &tctx->ks1, 65 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3 [all...] |
| cipher_tdes_default_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : des_t4_ede3_cbc_decrypt; 41 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 42 DES_set_key_unchecked(&deskey[1], &tctx->ks2) 50 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 71 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 99 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 121 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| cipher_tdes_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 des_t4_key_expand(&deskey[2], &tctx->ks3); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : des_t4_ede3_cbc_decrypt; 41 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 42 DES_set_key_unchecked(&deskey[1], &tctx->ks2); 43 DES_set_key_unchecked(&deskey[2], &tctx->ks3); 60 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx local 84 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| cipher_tdes_common.c | 26 PROV_TDES_CTX *tctx; local 31 tctx = OPENSSL_zalloc(sizeof(*tctx)); 32 if (tctx != NULL) { 33 OSSL_FIPS_IND_INIT(tctx) 34 ossl_cipher_generic_initkey(tctx, kbits, blkbits, ivbits, mode, flags, 37 return tctx;
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
| cipher_desx_hw.c | 30 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 33 DES_set_key_unchecked(deskey, &tctx->ks1); 34 memcpy(&tctx->ks2, &key[8], 8); 35 memcpy(&tctx->ks3, &key[16], 8); 53 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 56 DES_xcbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, 57 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, 64 DES_xcbc_encrypt(in, out, (long)inl, &tctx->ks1, 65 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3 [all...] |
| cipher_tdes_common.c | 26 PROV_TDES_CTX *tctx; local 31 tctx = OPENSSL_zalloc(sizeof(*tctx)); 32 if (tctx != NULL) 33 ossl_cipher_generic_initkey(tctx, kbits, blkbits, ivbits, mode, flags, 35 return tctx;
|
| cipher_tdes_default_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 43 DES_set_key_unchecked(&deskey[1], &tctx->ks2) 51 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 72 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 100 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 121 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| cipher_tdes_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 des_t4_key_expand(&deskey[2], &tctx->ks3); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 43 DES_set_key_unchecked(&deskey[1], &tctx->ks2); 44 DES_set_key_unchecked(&deskey[2], &tctx->ks3); 61 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx local 85 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| /src/external/bsd/tcpdump/dist/ |
| signature.c | 66 MD5_CTX tctx; local 68 MD5_Init(&tctx); 69 MD5_Update(&tctx, key, key_len); 70 MD5_Final(tk, &tctx);
|
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| prof_inlines_b.h | 49 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 53 arena_prof_tctx_set(tsdn, ptr, usize, alloc_ctx, tctx); 57 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) { 61 arena_prof_tctx_reset(tsdn, ptr, tctx); 123 prof_tctx_t *tctx) { 128 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { 129 prof_malloc_sample_object(tsdn, ptr, usize, tctx); 137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, 143 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); 155 prof_alloc_rollback(tsd, tctx, true) 165 prof_malloc_sample_object(tsd_tsdn(tsd), ptr, usize, tctx); local 176 prof_tctx_reset(tsd_tsdn(tsd), ptr, tctx); local 196 prof_tctx_t *tctx = prof_tctx_get(tsd_tsdn(tsd), ptr, alloc_ctx); local [all...] |
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| prof_inlines_b.h | 49 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 53 arena_prof_tctx_set(tsdn, ptr, usize, alloc_ctx, tctx); 57 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) { 61 arena_prof_tctx_reset(tsdn, ptr, tctx); 123 prof_tctx_t *tctx) { 128 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { 129 prof_malloc_sample_object(tsdn, ptr, usize, tctx); 137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, 143 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); 155 prof_alloc_rollback(tsd, tctx, true) 165 prof_malloc_sample_object(tsd_tsdn(tsd), ptr, usize, tctx); local 176 prof_tctx_reset(tsd_tsdn(tsd), ptr, tctx); local 196 prof_tctx_t *tctx = prof_tctx_get(tsd_tsdn(tsd), ptr, alloc_ctx); local [all...] |
| /src/lib/libcrypt/ |
| hmac.c | 85 HASH_CTX tctx; local 87 HASH_Init(&tctx); 88 HASH_Update(&tctx, key, key_len); 89 HASH_Final(tk, &tctx);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_stats.cc | 77 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local 78 if (AsanThread *t = tctx->thread)
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_thread_registry.cc | 140 ThreadContextBase *tctx = QuarantinePop(); local 141 if (tctx) { 142 tid = tctx->tid; 146 tctx = context_factory_(tid); 147 threads_[tid] = tctx; 158 CHECK_NE(tctx, 0); 161 CHECK_EQ(tctx->status, ThreadStatusInvalid); 167 tctx->SetCreated(user_id, total_threads_++, detached, 176 ThreadContextBase *tctx = threads_[tid]; local 177 if (tctx == 0 186 ThreadContextBase *tctx = threads_[tid]; local 197 ThreadContextBase *tctx = threads_[tid]; local 218 ThreadContextBase *tctx = threads_[tid]; local 228 ThreadContextBase *tctx = threads_[tid]; local 240 ThreadContextBase *tctx = threads_[tid]; local 261 ThreadContextBase *tctx = threads_[tid]; local 287 ThreadContextBase *tctx = threads_[tid]; local 311 ThreadContextBase *tctx = threads_[tid]; local 344 ThreadContextBase *tctx = threads_[tid]; local [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_debugging.cc | 214 ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack); local 216 if (tctx) { 250 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid); local 251 *os_id = tctx->os_id;
|
| tsan_rtl_mutex.cc | 417 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 418 u64 epoch = tctx->epoch1; 419 if (tctx->status == ThreadStatusRunning) 420 epoch = tctx->thr->fast_state.epoch(); 421 thr->clock.set(&thr->proc()->clock_cache, tctx->tid, epoch); 460 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 461 u64 epoch = tctx->epoch1; 462 if (tctx->status == ThreadStatusRunning) 463 epoch = tctx->thr->fast_state.epoch(); 464 thr->last_sleep_clock.set(&thr->proc()->clock_cache, tctx->tid, epoch) [all...] |
| tsan_rtl_thread.cc | 158 ThreadContext *tctx; member in struct:__tsan::ThreadLeak 164 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 165 if (tctx->detached || tctx->status != ThreadStatusFinished) 168 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { 173 ThreadLeak leak = {tctx, 1}; 179 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { 180 if (tctx->tid == 0) { 184 " created at:\n", tctx->tid, tctx->name) [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/asan/ |
| asan_stats.cpp | 76 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local 77 if (AsanThread *t = tctx->thread)
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_thread_registry.cpp | 140 ThreadContextBase *tctx = QuarantinePop(); local 141 if (tctx) { 142 tid = tctx->tid; 146 tctx = context_factory_(tid); 147 threads_.push_back(tctx); 158 CHECK_NE(tctx, 0); 161 CHECK_EQ(tctx->status, ThreadStatusInvalid); 173 tctx->SetCreated(user_id, total_threads_++, detached, 182 ThreadContextBase *tctx = threads_[tid]; local 183 if (tctx == 0 192 ThreadContextBase *tctx = threads_[tid]; local 203 ThreadContextBase *tctx = threads_[tid]; local 223 ThreadContextBase *tctx = threads_[tid]; local 238 ThreadContextBase *tctx = threads_[tid]; local 260 ThreadContextBase *tctx = threads_[tid]; local 287 ThreadContextBase *tctx = threads_[tid]; local 314 ThreadContextBase *tctx = threads_[tid]; local 351 auto *tctx = threads_[tid]; local 359 ThreadContextBase *tctx = threads_[tid]; local [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| tsan_debugging.cpp | 221 ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack); local 223 if (tctx) { 257 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid); local 258 *os_id = tctx->os_id;
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| asan_stats.cpp | 76 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local 77 if (AsanThread *t = tctx->thread)
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_thread_registry.cpp | 138 ThreadContextBase *tctx = QuarantinePop(); local 139 if (tctx) { 140 tid = tctx->tid; 144 tctx = context_factory_(tid); 145 threads_.push_back(tctx); 156 CHECK_NE(tctx, 0); 159 CHECK_EQ(tctx->status, ThreadStatusInvalid); 165 tctx->SetCreated(user_id, total_threads_++, detached, 174 ThreadContextBase *tctx = threads_[tid]; local 175 if (tctx == 0 184 ThreadContextBase *tctx = threads_[tid]; local 195 ThreadContextBase *tctx = threads_[tid]; local 215 ThreadContextBase *tctx = threads_[tid]; local 225 ThreadContextBase *tctx = threads_[tid]; local 236 ThreadContextBase *tctx = threads_[tid]; local 256 ThreadContextBase *tctx = threads_[tid]; local 281 ThreadContextBase *tctx = threads_[tid]; local 306 ThreadContextBase *tctx = threads_[tid]; local 338 ThreadContextBase *tctx = threads_[tid]; local [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| tsan_debugging.cpp | 219 ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack); local 221 if (tctx) { 255 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid); local 256 *os_id = tctx->os_id;
|