/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 165 # define POLY1305_ctx(actx) ((POLY1305 *)(actx + 1)) 171 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); in chacha20_poly1305_init_key() local 176 actx->len.aad = 0; in chacha20_poly1305_init_key() 177 actx->len.text = 0; in chacha20_poly1305_init_key() 178 actx->aad = 0; in chacha20_poly1305_init_key() 179 actx->mac_inited = 0; in chacha20_poly1305_init_key() 180 actx->tls_payload_length = NO_TLS_PAYLOAD_LENGTH; in chacha20_poly1305_init_key() 186 if (actx->nonce_len <= CHACHA_CTR_SIZE) in chacha20_poly1305_init_key() 187 memcpy(temp + CHACHA_CTR_SIZE - actx in chacha20_poly1305_init_key() 217 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_tls_cipher() local 367 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_cipher() local 490 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_cleanup() local 499 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_ctrl() local [all...] |
/third_party/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 165 # define POLY1305_ctx(actx) ((POLY1305 *)(actx + 1)) 171 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); in chacha20_poly1305_init_key() local 176 actx->len.aad = 0; in chacha20_poly1305_init_key() 177 actx->len.text = 0; in chacha20_poly1305_init_key() 178 actx->aad = 0; in chacha20_poly1305_init_key() 179 actx->mac_inited = 0; in chacha20_poly1305_init_key() 180 actx->tls_payload_length = NO_TLS_PAYLOAD_LENGTH; in chacha20_poly1305_init_key() 186 if (actx->nonce_len <= CHACHA_CTR_SIZE) in chacha20_poly1305_init_key() 187 memcpy(temp + CHACHA_CTR_SIZE - actx in chacha20_poly1305_init_key() 217 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_tls_cipher() local 367 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_cipher() local 490 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_cleanup() local 499 EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx); chacha20_poly1305_ctrl() local [all...] |
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_afalg.c | 77 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, 405 static ossl_inline int afalg_set_key(afalg_ctx *actx, const unsigned char *key, in afalg_set_key() argument 409 ret = setsockopt(actx->bfd, SOL_ALG, ALG_SET_KEY, key, klen); in afalg_set_key() 418 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, in afalg_create_sk() argument 424 actx->bfd = actx->sfd = -1; in afalg_create_sk() 431 actx->bfd = socket(AF_ALG, SOCK_SEQPACKET, 0); in afalg_create_sk() 432 if (actx->bfd == -1) { in afalg_create_sk() 438 r = bind(actx->bfd, (struct sockaddr *)&sa, sizeof(sa)); in afalg_create_sk() 445 actx in afalg_create_sk() 463 afalg_start_cipher_sk(afalg_ctx *actx, const unsigned char *in, size_t inl, const unsigned char *iv, unsigned int enc) afalg_start_cipher_sk() argument 557 afalg_ctx *actx; afalg_cipher_init() local 627 afalg_ctx *actx; afalg_do_cipher() local 677 afalg_ctx *actx; afalg_cipher_cleanup() local [all...] |
/third_party/openssl/engines/ |
H A D | e_afalg.c | 77 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, 405 static ossl_inline int afalg_set_key(afalg_ctx *actx, const unsigned char *key, in afalg_set_key() argument 409 ret = setsockopt(actx->bfd, SOL_ALG, ALG_SET_KEY, key, klen); in afalg_set_key() 418 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, in afalg_create_sk() argument 424 actx->bfd = actx->sfd = -1; in afalg_create_sk() 431 actx->bfd = socket(AF_ALG, SOCK_SEQPACKET, 0); in afalg_create_sk() 432 if (actx->bfd == -1) { in afalg_create_sk() 438 r = bind(actx->bfd, (struct sockaddr *)&sa, sizeof(sa)); in afalg_create_sk() 445 actx in afalg_create_sk() 463 afalg_start_cipher_sk(afalg_ctx *actx, const unsigned char *in, size_t inl, const unsigned char *iv, unsigned int enc) afalg_start_cipher_sk() argument 557 afalg_ctx *actx; afalg_cipher_init() local 627 afalg_ctx *actx; afalg_do_cipher() local 677 afalg_ctx *actx; afalg_cipher_cleanup() local [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/crypto/openssl/ |
H A D | openssl.c | 204 EVP_CIPHER_CTX *actx; in ngtcp2_crypto_aead_ctx_encrypt_init() local 210 actx = EVP_CIPHER_CTX_new(); in ngtcp2_crypto_aead_ctx_encrypt_init() 211 if (actx == NULL) { in ngtcp2_crypto_aead_ctx_encrypt_init() 227 if (!EVP_EncryptInit_ex(actx, cipher, NULL, NULL, NULL) || in ngtcp2_crypto_aead_ctx_encrypt_init() 229 !EVP_CIPHER_CTX_set_params(actx, params) || in ngtcp2_crypto_aead_ctx_encrypt_init() 231 !EVP_CIPHER_CTX_ctrl(actx, EVP_CTRL_AEAD_SET_IVLEN, (int)noncelen, in ngtcp2_crypto_aead_ctx_encrypt_init() 234 !EVP_CIPHER_CTX_ctrl(actx, EVP_CTRL_AEAD_SET_TAG, (int)taglen, NULL)) || in ngtcp2_crypto_aead_ctx_encrypt_init() 236 !EVP_EncryptInit_ex(actx, NULL, NULL, key, NULL)) { in ngtcp2_crypto_aead_ctx_encrypt_init() 237 EVP_CIPHER_CTX_free(actx); in ngtcp2_crypto_aead_ctx_encrypt_init() 241 aead_ctx->native_handle = actx; in ngtcp2_crypto_aead_ctx_encrypt_init() 251 EVP_CIPHER_CTX *actx; ngtcp2_crypto_aead_ctx_decrypt_init() local 302 EVP_CIPHER_CTX *actx; ngtcp2_crypto_cipher_ctx_encrypt_init() local 496 EVP_CIPHER_CTX *actx = aead_ctx->native_handle; ngtcp2_crypto_encrypt() local 535 EVP_CIPHER_CTX *actx = aead_ctx->native_handle; ngtcp2_crypto_decrypt() local 580 EVP_CIPHER_CTX *actx = hp_ctx->native_handle; ngtcp2_crypto_hp_mask() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | mxs-dcp.c | 170 static int mxs_dcp_start_dma(struct dcp_async_ctx *actx) in mxs_dcp_start_dma() argument 174 const int chan = actx->chan; in mxs_dcp_start_dma() 177 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_start_dma() 219 static int mxs_dcp_run_aes(struct dcp_async_ctx *actx, in mxs_dcp_run_aes() argument 224 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_run_aes() 246 if (actx->fill % AES_BLOCK_SIZE) { in mxs_dcp_run_aes() 275 desc->size = actx->fill; in mxs_dcp_run_aes() 279 ret = mxs_dcp_start_dma(actx); in mxs_dcp_run_aes() 297 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt() local 319 actx in mxs_dcp_aes_block_crypt() 451 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); mxs_dcp_aes_enqueue() local 494 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_setkey() local 521 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_init_tfm() local 536 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_exit_tfm() local 550 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); mxs_dcp_run_sha() local 620 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_req_to_buf() local 725 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_init() local 755 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_update_fx() local 817 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_import() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | mxs-dcp.c | 171 static int mxs_dcp_start_dma(struct dcp_async_ctx *actx) in mxs_dcp_start_dma() argument 175 const int chan = actx->chan; in mxs_dcp_start_dma() 178 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_start_dma() 220 static int mxs_dcp_run_aes(struct dcp_async_ctx *actx, in mxs_dcp_run_aes() argument 225 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_run_aes() 247 if (actx->fill % AES_BLOCK_SIZE) { in mxs_dcp_run_aes() 276 desc->size = actx->fill; in mxs_dcp_run_aes() 280 ret = mxs_dcp_start_dma(actx); in mxs_dcp_run_aes() 298 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt() local 320 actx in mxs_dcp_aes_block_crypt() 452 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); mxs_dcp_aes_enqueue() local 495 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_setkey() local 522 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_init_tfm() local 537 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_exit_tfm() local 551 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); mxs_dcp_run_sha() local 621 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_req_to_buf() local 726 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_init() local 756 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_update_fx() local 818 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_import() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
H A D | napi_queue.cpp | 102 auto actx = static_cast<AsyncContext *>(data); in AsyncWork() 103 ASSERT_VOID(actx->ctx != nullptr, "napi_async_execute_callback nullptr"); in AsyncWork() 104 LOG_DEBUG("napi_async_execute_callback ctxt->status=%{public}d", actx->ctx->status); in AsyncWork() 105 if (actx->execute && actx->ctx->status == napi_ok) { in AsyncWork() 106 actx->execute(); in AsyncWork() 111 auto actx = static_cast<AsyncContext *>(data); in AsyncWork() 112 ASSERT_VOID(actx->ctx != nullptr, "napi_async_complete_callback nullptr"); in AsyncWork() 114 status, actx->ctx->status); in AsyncWork() 115 if ((status != napi_ok) && (actx in AsyncWork() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | napi_queue.cpp | 97 auto actx = reinterpret_cast<AsyncContext*>(data); in AsyncWork() 98 ZLOGD("napi_async_execute_callback ctxt->status=%{public}d", actx->ctx->status); in AsyncWork() 99 if (actx->execute && actx->ctx->status == napi_ok) { in AsyncWork() 100 actx->execute(); in AsyncWork() 105 auto actx = reinterpret_cast<AsyncContext*>(data); in AsyncWork() 106 ZLOGD("napi_async_complete_callback status=%{public}d, ctxt->status=%{public}d", status, actx->ctx->status); in AsyncWork() 107 if ((status != napi_ok) && (actx->ctx->status == napi_ok)) { in AsyncWork() 108 actx->ctx->status = status; in AsyncWork() 111 if ((actx in AsyncWork() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | napi_queue.cpp | 97 auto actx = reinterpret_cast<AsyncContext*>(data); in AsyncWork() 98 ZLOGD("napi_async_execute_callback ctxt->status=%{public}d", actx->ctx->status); in AsyncWork() 99 if (actx->execute && actx->ctx->status == napi_ok) { in AsyncWork() 100 actx->execute(); in AsyncWork() 105 auto actx = reinterpret_cast<AsyncContext*>(data); in AsyncWork() 106 ZLOGD("napi_async_complete_callback status=%{public}d, ctxt->status=%{public}d", status, actx->ctx->status); in AsyncWork() 107 if ((status != napi_ok) && (actx->ctx->status == napi_ok)) { in AsyncWork() 108 actx->ctx->status = status; in AsyncWork() 111 if ((actx in AsyncWork() [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | index.c | 47 if (ictx->actx) in ntfs_index_ctx_put() 48 ntfs_attr_put_search_ctx(ictx->actx); in ntfs_index_ctx_put() 118 ntfs_attr_search_ctx *actx; in ntfs_index_lookup() local 144 actx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_index_lookup() 145 if (unlikely(!actx)) { in ntfs_index_lookup() 151 CASE_SENSITIVE, 0, NULL, 0, actx); in ntfs_index_lookup() 161 ir = (INDEX_ROOT*)((u8*)actx->attr + in ntfs_index_lookup() 162 le16_to_cpu(actx->attr->data.resident.value_offset)); in ntfs_index_lookup() 173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup() 197 ictx->actx in ntfs_index_lookup() [all...] |
H A D | index.h | 28 * @actx: attribute search context if @is_in_root and NULL otherwise 40 * by the attribute search context @actx and the base inode @base_ni. @ia and 45 * is in, respectively. @ir, @actx and @base_ni are NULL in this case. 68 ntfs_attr_search_ctx *actx; member 100 flush_dcache_mft_record_page(ictx->actx->ntfs_ino); in ntfs_index_entry_flush_dcache_page() 126 mark_mft_record_dirty(ictx->actx->ntfs_ino); in ntfs_index_entry_mark_dirty()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | index.c | 47 if (ictx->actx) in ntfs_index_ctx_put() 48 ntfs_attr_put_search_ctx(ictx->actx); in ntfs_index_ctx_put() 118 ntfs_attr_search_ctx *actx; in ntfs_index_lookup() local 144 actx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_index_lookup() 145 if (unlikely(!actx)) { in ntfs_index_lookup() 151 CASE_SENSITIVE, 0, NULL, 0, actx); in ntfs_index_lookup() 161 ir = (INDEX_ROOT*)((u8*)actx->attr + in ntfs_index_lookup() 162 le16_to_cpu(actx->attr->data.resident.value_offset)); in ntfs_index_lookup() 173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup() 197 ictx->actx in ntfs_index_lookup() [all...] |
H A D | index.h | 28 * @actx: attribute search context if @is_in_root and NULL otherwise 40 * by the attribute search context @actx and the base inode @base_ni. @ia and 45 * is in, respectively. @ir, @actx and @base_ni are NULL in this case. 68 ntfs_attr_search_ctx *actx; member 100 flush_dcache_mft_record_page(ictx->actx->ntfs_ino); in ntfs_index_entry_flush_dcache_page() 126 mark_mft_record_dirty(ictx->actx->ntfs_ino); in ntfs_index_entry_mark_dirty()
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/picotls/ |
H A D | picotls.c | 178 ptls_aead_context_t *actx; in ngtcp2_crypto_aead_ctx_encrypt_init() local 184 actx = ptls_aead_new_direct(cipher, /* is_enc = */ 1, key, iv); in ngtcp2_crypto_aead_ctx_encrypt_init() 185 if (actx == NULL) { in ngtcp2_crypto_aead_ctx_encrypt_init() 189 aead_ctx->native_handle = actx; in ngtcp2_crypto_aead_ctx_encrypt_init() 199 ptls_aead_context_t *actx; in ngtcp2_crypto_aead_ctx_decrypt_init() local 205 actx = ptls_aead_new_direct(cipher, /* is_enc = */ 0, key, iv); in ngtcp2_crypto_aead_ctx_decrypt_init() 206 if (actx == NULL) { in ngtcp2_crypto_aead_ctx_decrypt_init() 210 aead_ctx->native_handle = actx; in ngtcp2_crypto_aead_ctx_decrypt_init() 224 ptls_cipher_context_t *actx; in ngtcp2_crypto_cipher_ctx_encrypt_init() local 226 actx in ngtcp2_crypto_cipher_ctx_encrypt_init() 303 ptls_aead_context_t *actx = aead_ctx->native_handle; ngtcp2_crypto_encrypt() local 322 ptls_aead_context_t *actx = aead_ctx->native_handle; ngtcp2_crypto_decrypt() local 342 ptls_cipher_context_t *actx = hp_ctx->native_handle; ngtcp2_crypto_hp_mask() local [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/crypto/wolfssl/ |
H A D | wolfssl.c | 152 WOLFSSL_EVP_CIPHER_CTX *actx; in ngtcp2_crypto_aead_ctx_encrypt_init() local 156 actx = wolfSSL_quic_crypt_new(cipher, key, iv, /* encrypt */ 1); in ngtcp2_crypto_aead_ctx_encrypt_init() 157 if (actx == NULL) { in ngtcp2_crypto_aead_ctx_encrypt_init() 161 aead_ctx->native_handle = actx; in ngtcp2_crypto_aead_ctx_encrypt_init() 169 WOLFSSL_EVP_CIPHER_CTX *actx; in ngtcp2_crypto_aead_ctx_decrypt_init() local 173 actx = wolfSSL_quic_crypt_new(cipher, key, iv, /* encrypt */ 0); in ngtcp2_crypto_aead_ctx_decrypt_init() 174 if (actx == NULL) { in ngtcp2_crypto_aead_ctx_decrypt_init() 178 aead_ctx->native_handle = actx; in ngtcp2_crypto_aead_ctx_decrypt_init() 191 WOLFSSL_EVP_CIPHER_CTX *actx; in ngtcp2_crypto_cipher_ctx_encrypt_init() local 193 actx in ngtcp2_crypto_cipher_ctx_encrypt_init() 278 WOLFSSL_EVP_CIPHER_CTX *actx = hp_ctx->native_handle; ngtcp2_crypto_hp_mask() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aria_ccm_hw.c | 19 PROV_ARIA_CCM_CTX *actx = (PROV_ARIA_CCM_CTX *)ctx; in ccm_aria_initkey() local 21 ossl_aria_set_encrypt_key(key, keylen * 8, &actx->ks.ks); in ccm_aria_initkey() 22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ks.ks, in ccm_aria_initkey()
|
H A D | cipher_aes_ccm_hw.c | 21 fn_set_enc_key(key, keylen * 8, &actx->ccm.ks.ks); \ 22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ccm.ks.ks, \ 30 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx; in ccm_generic_aes_initkey() local
|
H A D | cipher_aria_gcm_hw.c | 19 PROV_ARIA_GCM_CTX *actx = (PROV_ARIA_GCM_CTX *)ctx; in aria_gcm_initkey() local 20 ARIA_KEY *ks = &actx->ks.ks; in aria_gcm_initkey()
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_sm4_ccm_hw.c | 19 PROV_SM4_CCM_CTX *actx = (PROV_SM4_CCM_CTX *)ctx; in ccm_sm4_initkey() local 21 ossl_sm4_set_key(key, &actx->ks.ks); in ccm_sm4_initkey() 22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ks.ks, in ccm_sm4_initkey()
|
H A D | cipher_aria_ccm_hw.c | 19 PROV_ARIA_CCM_CTX *actx = (PROV_ARIA_CCM_CTX *)ctx; in ccm_aria_initkey() local 21 ossl_aria_set_encrypt_key(key, keylen * 8, &actx->ks.ks); in ccm_aria_initkey() 22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ks.ks, in ccm_aria_initkey()
|
H A D | cipher_aes_ccm_hw.c | 21 fn_set_enc_key(key, keylen * 8, &actx->ccm.ks.ks); \ 22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ccm.ks.ks, \ 30 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx; in ccm_generic_aes_initkey() local
|
H A D | cipher_aria_gcm_hw.c | 19 PROV_ARIA_GCM_CTX *actx = (PROV_ARIA_GCM_CTX *)ctx; in aria_gcm_initkey() local 20 ARIA_KEY *ks = &actx->ks.ks; in aria_gcm_initkey()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A 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() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A 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() [all...] |