Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the BCrypt NTSTATUS code return values defined?

Tags:

c

windows

cng

The Windows CNG Cryptographic Primitive Functions have return values of type NTSTATUS. Several possible (symbolic) return values are mentioned, for example STATUS_AUTH_TAG_MISMATCH for the BCryptDecrypt function.

These symbols are not defined in bcrypt.h, nor in any other header file mentioned in the documentation. I can not use them in my code because they can not be resolved. Where are they located?

like image 364
Reinier Torenbeek Avatar asked Jun 09 '15 01:06

Reinier Torenbeek


1 Answers

They are defined in:

ntstatus.h
like image 129
Fiddling Bits Avatar answered Sep 17 '22 10:09

Fiddling Bits