Lines Matching refs:MBEDTLS_DECRYPT
347 if (operation != MBEDTLS_ENCRYPT && operation != MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
355 MBEDTLS_DECRYPT == operation) { in mbedtls_cipher_setkey()
438 if (MBEDTLS_DECRYPT == operation) { in mbedtls_cipher_setkey()
443 if (operation == MBEDTLS_ENCRYPT || operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
529 if (ctx->operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_set_iv()
696 if ((ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()
698 (ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()
745 ctx->operation == MBEDTLS_DECRYPT && in mbedtls_cipher_update()
1150 if (MBEDTLS_DECRYPT == ctx->operation) { in mbedtls_cipher_finish()
1283 if (MBEDTLS_DECRYPT != ctx->operation) { in mbedtls_cipher_check_tag()
1376 if (ctx->operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_crypt()