Lines Matching refs:EVP_CIPHER_CTX_is_encrypting
289 if (arg <= 0 || arg > 16 || EVP_CIPHER_CTX_is_encrypting(c)) in aria_gcm_ctrl()
296 if (arg <= 0 || arg > 16 || !EVP_CIPHER_CTX_is_encrypting(c) in aria_gcm_ctrl()
317 if (EVP_CIPHER_CTX_is_encrypting(c) in aria_gcm_ctrl()
340 || EVP_CIPHER_CTX_is_encrypting(c)) in aria_gcm_ctrl()
362 if (!EVP_CIPHER_CTX_is_encrypting(c)) { in aria_gcm_ctrl()
412 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CIPHER_CTX_is_encrypting(ctx) ? in aria_gcm_tls_cipher()
424 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aria_gcm_tls_cipher()
472 } else if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aria_gcm_cipher()
481 if (!EVP_CIPHER_CTX_is_encrypting(ctx)) { in aria_gcm_cipher()
571 if (!EVP_CIPHER_CTX_is_encrypting(c)) { in aria_ccm_ctrl()
601 if (EVP_CIPHER_CTX_is_encrypting(c) && ptr) in aria_ccm_ctrl()
611 if (!EVP_CIPHER_CTX_is_encrypting(c) || !cctx->tag_set) in aria_ccm_ctrl()
647 if (EVP_CIPHER_CTX_is_encrypting(ctx)) in aria_ccm_tls_cipher()
664 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aria_ccm_tls_cipher()
720 if (!EVP_CIPHER_CTX_is_encrypting(ctx) && !cctx->tag_set) in aria_ccm_cipher()
729 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aria_ccm_cipher()