Lines Matching refs:EVP_CIPHER_CTX_buf_noconst
187 EVP_CIPHER_CTX_buf_noconst(ctx), &num, in aria_ctr_cipher()
291 memcpy(EVP_CIPHER_CTX_buf_noconst(c), ptr, arg); in aria_gcm_ctrl()
299 memcpy(ptr, EVP_CIPHER_CTX_buf_noconst(c), arg); in aria_gcm_ctrl()
351 memcpy(EVP_CIPHER_CTX_buf_noconst(c), ptr, arg); in aria_gcm_ctrl()
355 EVP_CIPHER_CTX_buf_noconst(c)[arg - 2] << 8 in aria_gcm_ctrl()
356 | EVP_CIPHER_CTX_buf_noconst(c)[arg - 1]; in aria_gcm_ctrl()
367 EVP_CIPHER_CTX_buf_noconst(c)[arg - 2] = len >> 8; in aria_gcm_ctrl()
368 EVP_CIPHER_CTX_buf_noconst(c)[arg - 1] = len & 0xff; in aria_gcm_ctrl()
417 if (CRYPTO_gcm128_aad(&gctx->gcm, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_gcm_tls_cipher()
437 CRYPTO_gcm128_tag(&gctx->gcm, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_gcm_tls_cipher()
440 if (CRYPTO_memcmp(EVP_CIPHER_CTX_buf_noconst(ctx), in + len, in aria_gcm_tls_cipher()
485 EVP_CIPHER_CTX_buf_noconst(ctx), in aria_gcm_cipher()
491 CRYPTO_gcm128_tag(&gctx->gcm, EVP_CIPHER_CTX_buf_noconst(ctx), 16); in aria_gcm_cipher()
560 memcpy(EVP_CIPHER_CTX_buf_noconst(c), ptr, arg); in aria_ccm_ctrl()
564 EVP_CIPHER_CTX_buf_noconst(c)[arg - 2] << 8 in aria_ccm_ctrl()
565 | EVP_CIPHER_CTX_buf_noconst(c)[arg - 1]; in aria_ccm_ctrl()
576 EVP_CIPHER_CTX_buf_noconst(c)[arg - 2] = len >> 8; in aria_ccm_ctrl()
577 EVP_CIPHER_CTX_buf_noconst(c)[arg - 1] = len & 0xff; in aria_ccm_ctrl()
605 memcpy(EVP_CIPHER_CTX_buf_noconst(c), ptr, arg); in aria_ccm_ctrl()
648 memcpy(out, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_ccm_tls_cipher()
659 CRYPTO_ccm128_aad(ccm, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_ccm_tls_cipher()
742 if (!CRYPTO_memcmp(tag, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_ccm_cipher()