ReactOS 0.4.16-dev-927-g467dec4
|
#include <stdio.h>
#include <ntstatus.h>
#include <windows.h>
#include <bcrypt.h>
#include "wine/test.h"
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | test_hash_length(a, b) _test_hash_length(__LINE__,a,b) |
#define | test_alg_name(a, b) _test_alg_name(__LINE__,a,b) |
Functions | |
static | NTSTATUS (WINAPI *pBCryptOpenAlgorithmProvider)(BCRYPT_ALG_HANDLE * |
static void | test_BCryptGenRandom (void) |
static void | test_BCryptGetFipsAlgorithmMode (void) |
static void | format_hash (const UCHAR *bytes, ULONG size, char *buf) |
static int | strcmp_wa (const WCHAR *strw, const char *stra) |
static void | _test_hash_length (unsigned line, void *handle, ULONG exlen) |
static void | _test_alg_name (unsigned line, void *handle, const char *exname) |
static void | test_sha1 (void) |
static void | test_sha256 (void) |
static void | test_sha384 (void) |
static void | test_sha512 (void) |
static void | test_md5 (void) |
static void | test_BcryptHash (void) |
static void | test_rng (void) |
START_TEST (bcrypt) | |
Variables | |
static | LPCWSTR |
static | ULONG |
static BCRYPT_HASH_HANDLE | PUCHAR |
Definition at line 149 of file bcrypt.c.
Definition at line 118 of file bcrypt.c.
Referenced by test_BcryptHash(), test_md5(), test_sha1(), test_sha256(), test_sha384(), and test_sha512().
START_TEST | ( | bcrypt | ) |
Definition at line 768 of file bcrypt.c.
Definition at line 40 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 70 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 698 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 591 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 741 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 162 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 267 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 374 of file bcrypt.c.
Referenced by START_TEST().
Definition at line 481 of file bcrypt.c.
Referenced by START_TEST().