Lines Matching refs:EVP_CIPHER_CTX_is_encrypting
185 ctx->iv, EVP_CIPHER_CTX_is_encrypting(ctx)); in aesni_cbc_cipher()
199 EVP_CIPHER_CTX_is_encrypting(ctx)); in aesni_ecb_cipher()
1145 const int enc = EVP_CIPHER_CTX_is_encrypting(ctx); in s390x_aes_cfb_cipher()
1484 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_gcm_ctrl()
1493 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_gcm_ctrl()
1517 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_gcm_ctrl()
1543 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_gcm_ctrl()
1569 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_gcm_ctrl()
1656 const int enc = EVP_CIPHER_CTX_is_encrypting(ctx); in s390x_aes_gcm_tls_cipher()
1745 enc = EVP_CIPHER_CTX_is_encrypting(ctx); in s390x_aes_gcm_cipher()
1968 const int enc = EVP_CIPHER_CTX_is_encrypting(ctx); in s390x_aes_ccm_tls_cipher()
2064 const int enc = EVP_CIPHER_CTX_is_encrypting(ctx); in s390x_aes_ccm_cipher()
2186 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_ccm_ctrl()
2224 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_ccm_ctrl()
2238 enc = EVP_CIPHER_CTX_is_encrypting(c); in s390x_aes_ccm_ctrl()
2510 EVP_CIPHER_CTX_is_encrypting(ctx)); in aes_cbc_cipher()
2511 else if (EVP_CIPHER_CTX_is_encrypting(ctx)) in aes_cbc_cipher()
2557 EVP_CIPHER_CTX_is_encrypting(ctx), dat->block); in aes_cfb_cipher()
2570 EVP_CIPHER_CTX_is_encrypting(ctx), dat->block); in aes_cfb8_cipher()
2584 EVP_CIPHER_CTX_is_encrypting(ctx), dat->block); in aes_cfb1_cipher()
2593 EVP_CIPHER_CTX_is_encrypting(ctx), dat->block); in aes_cfb1_cipher()
2603 EVP_CIPHER_CTX_is_encrypting(ctx), dat->block); in aes_cfb1_cipher()
2892 if (EVP_CIPHER_CTX_is_encrypting(ctx) && ++gctx->tls_enc_records == 0) { in aes_gcm_tls_cipher()
2902 EVP_CIPHER_CTX_is_encrypting(ctx) ? in aes_gcm_tls_cipher()
2914 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_gcm_tls_cipher()
3054 if (!EVP_CIPHER_CTX_is_encrypting(ctx) || !aes_gcm_iv_generate(gctx, 0)) in aes_gcm_cipher()
3069 } else if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_gcm_cipher()
3160 if (!EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_gcm_cipher()
3363 EVP_CIPHER_CTX_is_encrypting(ctx))) in aes_xts_cipher()
3410 if (!EVP_CIPHER_CTX_is_encrypting(c)) { in aes_ccm_ctrl()
3441 if (EVP_CIPHER_CTX_is_encrypting(c) && ptr) in aes_ccm_ctrl()
3451 if (!EVP_CIPHER_CTX_is_encrypting(c) || !cctx->tag_set) in aes_ccm_ctrl()
3538 if (EVP_CIPHER_CTX_is_encrypting(ctx)) in aes_ccm_tls_cipher()
3555 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_ccm_tls_cipher()
3613 if (!EVP_CIPHER_CTX_is_encrypting(ctx) && !cctx->tag_set) in aes_ccm_cipher()
3622 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_ccm_cipher()
3683 if (EVP_CIPHER_CTX_is_encrypting(ctx)) in aes_wrap_init_key()
3713 if (!EVP_CIPHER_CTX_is_encrypting(ctx) && (inlen < 16 || inlen & 0x7)) in aes_wrap_cipher()
3723 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_wrap_cipher()
3739 if (EVP_CIPHER_CTX_is_encrypting(ctx)) in aes_wrap_cipher()
3748 if (EVP_CIPHER_CTX_is_encrypting(ctx)) in aes_wrap_cipher()
3885 if (arg != octx->taglen || EVP_CIPHER_CTX_is_encrypting(c)) in aes_ocb_ctrl()
3891 if (arg != octx->taglen || !EVP_CIPHER_CTX_is_encrypting(c)) in aes_ocb_ctrl()
4053 } else if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_ocb_cipher()
4078 } else if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_ocb_cipher()
4104 if (EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_ocb_cipher()
4123 if (!EVP_CIPHER_CTX_is_encrypting(ctx)) { in aes_ocb_cipher()