/third_party/openssl/crypto/evp/ |
D | e_chacha20_poly1305.c | 163 # define POLY1305_ctx(actx) ((POLY1305 *)(actx + 1)) argument 169 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); in chacha20_poly1305_init_key() local 174 actx->len.aad = 0; in chacha20_poly1305_init_key() 175 actx->len.text = 0; in chacha20_poly1305_init_key() 176 actx->aad = 0; in chacha20_poly1305_init_key() 177 actx->mac_inited = 0; in chacha20_poly1305_init_key() 178 actx->tls_payload_length = NO_TLS_PAYLOAD_LENGTH; in chacha20_poly1305_init_key() 184 if (actx->nonce_len <= CHACHA_CTR_SIZE) in chacha20_poly1305_init_key() 185 memcpy(temp + CHACHA_CTR_SIZE - actx->nonce_len, iv, in chacha20_poly1305_init_key() 186 actx->nonce_len); in chacha20_poly1305_init_key() [all …]
|
/third_party/openssl/engines/ |
D | e_afalg.c | 74 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, 348 static ossl_inline int afalg_set_key(afalg_ctx *actx, const unsigned char *key, in afalg_set_key() argument 352 ret = setsockopt(actx->bfd, SOL_ALG, ALG_SET_KEY, key, klen); in afalg_set_key() 361 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, in afalg_create_sk() argument 367 actx->bfd = actx->sfd = -1; in afalg_create_sk() 374 actx->bfd = socket(AF_ALG, SOCK_SEQPACKET, 0); in afalg_create_sk() 375 if (actx->bfd == -1) { in afalg_create_sk() 381 r = bind(actx->bfd, (struct sockaddr *)&sa, sizeof(sa)); in afalg_create_sk() 388 actx->sfd = accept(actx->bfd, NULL, 0); in afalg_create_sk() 389 if (actx->sfd < 0) { in afalg_create_sk() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_nettle.c | 263 struct aes_ctx *actx = ctx; in aes_encrypt() local 264 nettle_aes_encrypt(actx, AES_BLOCK_SIZE, crypt, plain); in aes_encrypt() 271 struct aes_ctx *actx = ctx; in aes_encrypt_deinit() local 272 bin_clear_free(actx, sizeof(*actx)); in aes_encrypt_deinit() 294 struct aes_ctx *actx = ctx; in aes_decrypt() local 295 nettle_aes_decrypt(actx, AES_BLOCK_SIZE, plain, crypt); in aes_decrypt() 302 struct aes_ctx *actx = ctx; in aes_decrypt_deinit() local 303 bin_clear_free(actx, sizeof(*actx)); in aes_decrypt_deinit()
|
D | crypto_openssl.c | 506 AES_KEY actx; in aes_wrap() local 511 if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) in aes_wrap() 513 res = AES_wrap_key(&actx, NULL, cipher, plain, n * 8); in aes_wrap() 514 OPENSSL_cleanse(&actx, sizeof(actx)); in aes_wrap() 522 AES_KEY actx; in aes_unwrap() local 527 if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) in aes_unwrap() 529 res = AES_unwrap_key(&actx, NULL, plain, cipher, (n + 1) * 8); in aes_unwrap() 530 OPENSSL_cleanse(&actx, sizeof(actx)); in aes_unwrap()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_nettle.c | 263 struct aes_ctx *actx = ctx; in aes_encrypt() local 264 nettle_aes_encrypt(actx, AES_BLOCK_SIZE, crypt, plain); in aes_encrypt() 271 struct aes_ctx *actx = ctx; in aes_encrypt_deinit() local 272 bin_clear_free(actx, sizeof(*actx)); in aes_encrypt_deinit() 294 struct aes_ctx *actx = ctx; in aes_decrypt() local 295 nettle_aes_decrypt(actx, AES_BLOCK_SIZE, plain, crypt); in aes_decrypt() 302 struct aes_ctx *actx = ctx; in aes_decrypt_deinit() local 303 bin_clear_free(actx, sizeof(*actx)); in aes_decrypt_deinit()
|
D | crypto_openssl.c | 433 AES_KEY actx; in aes_wrap() local 438 if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) in aes_wrap() 440 res = AES_wrap_key(&actx, NULL, cipher, plain, n * 8); in aes_wrap() 441 OPENSSL_cleanse(&actx, sizeof(actx)); in aes_wrap() 449 AES_KEY actx; in aes_unwrap() local 454 if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) in aes_unwrap() 456 res = AES_unwrap_key(&actx, NULL, plain, cipher, (n + 1) * 8); in aes_unwrap() 457 OPENSSL_cleanse(&actx, sizeof(actx)); in aes_unwrap()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | dir.c | 1908 ntfs_attr_search_ctx *actx = NULL; in ntfs_delete() local 1943 actx = ntfs_attr_get_search_ctx(ni, NULL); in ntfs_delete() 1944 if (!actx) in ntfs_delete() 1948 CASE_SENSITIVE, 0, NULL, 0, actx))) { in ntfs_delete() 1954 fn = (FILE_NAME_ATTR*)((u8*)actx->attr + in ntfs_delete() 1955 le16_to_cpu(actx->attr->value_offset)); in ntfs_delete() 1996 ntfs_attr_reinit_search_ctx(actx); in ntfs_delete() 2011 ntfs_attr_reinit_search_ctx(actx); in ntfs_delete() 2020 if (ntfs_index_remove(dir_ni, ni, fn, le32_to_cpu(actx->attr->value_length))) in ntfs_delete() 2028 if ((ni->mrec->link_count == const_cpu_to_le16(1)) && !actx->base_ntfs_ino) { in ntfs_delete() [all …]
|
D | index.c | 68 ntfs_inode_mark_dirty(ictx->actx->ntfs_ino); in ntfs_index_entry_mark_dirty() 149 if (icx->actx) in ntfs_index_ctx_free() 150 ntfs_attr_put_search_ctx(icx->actx); in ntfs_index_ctx_free() 786 ir = ntfs_ir_lookup(ni, icx->name, icx->name_len, &icx->actx); in ntfs_index_lookup() 882 if (icx->actx) { in ntfs_index_lookup() 883 ntfs_attr_put_search_ctx(icx->actx); in ntfs_index_lookup() 884 icx->actx = NULL; in ntfs_index_lookup() 1602 ntfs_inode_mark_dirty(icx->actx->ntfs_ino); in ntfs_ie_add() 1691 ntfs_inode_mark_dirty(icx->actx->ntfs_ino); in ntfs_ih_takeout() 1982 ntfs_inode_mark_dirty(icx->actx->ntfs_ino); in ntfs_index_remove() [all …]
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | swapchain9.c | 65 This->actx = pCTX; in NineSwapChain9_ctor() 74 params2.AllowDISCARDDelayedRelease = This->actx->discard_delayed_release; in NineSwapChain9_ctor() 75 params2.TearFreeDISCARD = This->actx->tearfree_discard; in NineSwapChain9_ctor() 239 This->desired_fences = This->actx->throttling ? This->actx->throttling_value + 1 : 0; in NineSwapChain9_Resize() 244 if (This->actx->vblank_mode == 0) in NineSwapChain9_Resize() 246 else if (This->actx->vblank_mode == 3) in NineSwapChain9_Resize() 283 if (This->actx->linear_framebuffer || in NineSwapChain9_Resize() 288 (This->actx->ref && This->actx->ref == This->screen)) in NineSwapChain9_Resize() 328 …This->enable_threadpool = This->actx->thread_submit && (pParams->SwapEffect != D3DSWAPEFFECT_COPY); in NineSwapChain9_Resize() 396 if (This->actx->linear_framebuffer) in NineSwapChain9_Resize() [all …]
|
D | swapchain9.h | 52 struct d3dadapter9_context *actx; member
|
D | device9.c | 960 tmplt->actx, in NineDevice9_CreateAdditionalSwapChain()
|
/third_party/openssl/crypto/cms/ |
D | cms_env.c | 634 AES_KEY actx; in cms_RecipientInfo_kekri_encrypt() local 648 if (AES_set_encrypt_key(kekri->key, kekri->keylen << 3, &actx)) { in cms_RecipientInfo_kekri_encrypt() 661 wkeylen = AES_wrap_key(&actx, NULL, wkey, ec->key, ec->keylen); in cms_RecipientInfo_kekri_encrypt() 676 OPENSSL_cleanse(&actx, sizeof(actx)); in cms_RecipientInfo_kekri_encrypt() 689 AES_KEY actx; in cms_RecipientInfo_kekri_decrypt() local 718 if (AES_set_decrypt_key(kekri->key, kekri->keylen << 3, &actx)) { in cms_RecipientInfo_kekri_decrypt() 731 ukeylen = AES_unwrap_key(&actx, NULL, ukey, in cms_RecipientInfo_kekri_decrypt() 750 OPENSSL_cleanse(&actx, sizeof(actx)); in cms_RecipientInfo_kekri_decrypt()
|
/third_party/ntfs-3g/src/ |
D | ntfs-3g_common.c | 690 int ntfs_fuse_listxattr_common(ntfs_inode *ni, ntfs_attr_search_ctx *actx, argument 702 0, NULL, 0, actx)) { 706 if (!actx->attr->name_length) 709 (ntfschar *)((u8*)actx->attr + 710 le16_to_cpu(actx->attr->name_offset)), 711 actx->attr->name_length, &tmp_name, 0);
|
D | ntfs-3g.c | 3149 ntfs_attr_search_ctx *actx = NULL; in ntfs_fuse_listxattr() local 3176 actx = ntfs_attr_get_search_ctx(ni, NULL); in ntfs_fuse_listxattr() 3177 if (!actx) { in ntfs_fuse_listxattr() 3184 ret = ntfs_fuse_listxattr_common(ni, actx, list, size, in ntfs_fuse_listxattr() 3192 if (actx) in ntfs_fuse_listxattr() 3193 ntfs_attr_put_search_ctx(actx); in ntfs_fuse_listxattr() 3202 ntfs_attr_search_ctx *actx = NULL; in ntfs_fuse_getxattr_windows() local 3229 actx = ntfs_attr_get_search_ctx(ni, NULL); in ntfs_fuse_getxattr_windows() 3230 if (!actx) { in ntfs_fuse_getxattr_windows() 3235 0, NULL, 0, actx)) { in ntfs_fuse_getxattr_windows() [all …]
|
D | ntfs-3g_common.h | 209 int ntfs_fuse_listxattr_common(ntfs_inode *ni, ntfs_attr_search_ctx *actx,
|
D | lowntfs-3g.c | 3465 ntfs_attr_search_ctx *actx = NULL; in ntfs_fuse_listxattr() local 3491 actx = ntfs_attr_get_search_ctx(ni, NULL); in ntfs_fuse_listxattr() 3492 if (!actx) { in ntfs_fuse_listxattr() 3506 ret = ntfs_fuse_listxattr_common(ni, actx, list, size, in ntfs_fuse_listxattr() 3514 if (actx) in ntfs_fuse_listxattr() 3515 ntfs_attr_put_search_ctx(actx); in ntfs_fuse_listxattr()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | index.h | 125 ntfs_attr_search_ctx *actx; member
|