Lines Matching refs:MBEDTLS_DECRYPT
307 if (operation != MBEDTLS_ENCRYPT && operation != MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
315 MBEDTLS_DECRYPT == operation) { in mbedtls_cipher_setkey()
398 if (MBEDTLS_DECRYPT == operation) { in mbedtls_cipher_setkey()
403 if (operation == MBEDTLS_ENCRYPT || operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
489 if (ctx->operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_set_iv()
656 if ((ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()
658 (ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()
705 ctx->operation == MBEDTLS_DECRYPT && in mbedtls_cipher_update()
1105 if (MBEDTLS_DECRYPT == ctx->operation) { in mbedtls_cipher_finish()
1238 if (MBEDTLS_DECRYPT != ctx->operation) { in mbedtls_cipher_check_tag()
1331 if (ctx->operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_crypt()