|
ReactOS 0.4.17-dev-1037-g720d112
|
#include <stdarg.h>#include <stdlib.h>#include "ntstatus.h"#include "windef.h"#include "winbase.h"#include "ncrypt.h"#include "bcrypt.h"#include "ncrypt_internal.h"#include "wine/debug.h"
Go to the source code of this file.
Definition at line 81 of file main.c.
Referenced by set_object_property().
|
static |
Definition at line 55 of file main.c.
Referenced by create_key_object(), and NCryptOpenStorageProvider().
|
static |
Definition at line 138 of file main.c.
Referenced by NCryptCreatePersistedKey(), and NCryptImportKey().
|
static |
Definition at line 337 of file main.c.
Referenced by NCryptFreeObject().
|
static |
Definition at line 70 of file main.c.
Referenced by NCryptFinalizeKey(), NCryptGetProperty(), and set_object_property().
|
static |
Definition at line 37 of file main.c.
Referenced by free_key_object(), NCryptCreatePersistedKey(), NCryptEncrypt(), NCryptExportKey(), NCryptFinalizeKey(), NCryptImportKey(), NCryptIsAlgSupported(), NCryptSignHash(), and NCryptVerifySignature().
| SECURITY_STATUS WINAPI NCryptCreatePersistedKey | ( | NCRYPT_PROV_HANDLE | provider, |
| NCRYPT_KEY_HANDLE * | key, | ||
| const WCHAR * | algid, | ||
| const WCHAR * | name, | ||
| DWORD | keyspec, | ||
| DWORD | flags | ||
| ) |
Definition at line 184 of file main.c.
Referenced by test_create_persisted_key(), test_finalize_key(), test_NCryptEncrypt(), test_NCryptExportKey(), and test_set_property().
| SECURITY_STATUS WINAPI NCryptDecrypt | ( | NCRYPT_KEY_HANDLE | key, |
| BYTE * | input, | ||
| DWORD | insize, | ||
| void * | padding, | ||
| BYTE * | output, | ||
| DWORD | outsize, | ||
| DWORD * | result, | ||
| DWORD | flags | ||
| ) |
| SECURITY_STATUS WINAPI NCryptDeleteKey | ( | NCRYPT_KEY_HANDLE | key, |
| DWORD | flags | ||
| ) |
| SECURITY_STATUS WINAPI NCryptEncrypt | ( | NCRYPT_KEY_HANDLE | key, |
| BYTE * | input, | ||
| DWORD | insize, | ||
| void * | padding, | ||
| BYTE * | output, | ||
| DWORD | outsize, | ||
| DWORD * | result, | ||
| DWORD | flags | ||
| ) |
Definition at line 260 of file main.c.
Referenced by test_NCryptEncrypt().
| SECURITY_STATUS WINAPI NCryptEnumAlgorithms | ( | NCRYPT_PROV_HANDLE | provider, |
| DWORD | alg_ops, | ||
| DWORD * | alg_count, | ||
| NCryptAlgorithmName ** | alg_list, | ||
| DWORD | flags | ||
| ) |
| SECURITY_STATUS WINAPI NCryptEnumKeys | ( | NCRYPT_PROV_HANDLE | provider, |
| const WCHAR * | scope, | ||
| NCryptKeyName ** | key_name, | ||
| PVOID * | enum_state, | ||
| DWORD | flags | ||
| ) |
| SECURITY_STATUS WINAPI NCryptExportKey | ( | NCRYPT_KEY_HANDLE | key, |
| NCRYPT_KEY_HANDLE | encrypt_key, | ||
| const WCHAR * | type, | ||
| NCryptBufferDesc * | params, | ||
| BYTE * | output, | ||
| DWORD | output_len, | ||
| DWORD * | ret_len, | ||
| DWORD | flags | ||
| ) |
Definition at line 475 of file main.c.
Referenced by test_NCryptExportKey().
| SECURITY_STATUS WINAPI NCryptFinalizeKey | ( | NCRYPT_KEY_HANDLE | handle, |
| DWORD | flags | ||
| ) |
Definition at line 301 of file main.c.
Referenced by test_create_persisted_key(), test_finalize_key(), test_NCryptEncrypt(), and test_NCryptExportKey().
| SECURITY_STATUS WINAPI NCryptFreeBuffer | ( | PVOID | buf | ) |
| SECURITY_STATUS WINAPI NCryptFreeObject | ( | NCRYPT_HANDLE | handle | ) |
Definition at line 342 of file main.c.
Referenced by check_property(), NCryptFreeObject(), test_create_persisted_key(), test_finalize_key(), test_free_object(), test_get_property(), test_key_import_rsa(), test_NCryptEncrypt(), test_NCryptExportKey(), test_NCryptIsAlgSupported(), test_set_property(), and test_verify_signature().
| SECURITY_STATUS WINAPI NCryptGetProperty | ( | NCRYPT_HANDLE | handle, |
| const WCHAR * | name, | ||
| BYTE * | output, | ||
| DWORD | outsize, | ||
| DWORD * | result, | ||
| DWORD | flags | ||
| ) |
Definition at line 386 of file main.c.
Referenced by check_property(), and test_get_property().
| SECURITY_STATUS WINAPI NCryptImportKey | ( | NCRYPT_PROV_HANDLE | provider, |
| NCRYPT_KEY_HANDLE | decrypt_key, | ||
| const WCHAR * | type, | ||
| NCryptBufferDesc * | params, | ||
| NCRYPT_KEY_HANDLE * | handle, | ||
| BYTE * | data, | ||
| DWORD | datasize, | ||
| DWORD | flags | ||
| ) |
Definition at line 408 of file main.c.
Referenced by test_free_object(), test_get_property(), test_key_import_rsa(), test_set_property(), and test_verify_signature().
| SECURITY_STATUS WINAPI NCryptIsAlgSupported | ( | NCRYPT_PROV_HANDLE | provider, |
| const WCHAR * | algid, | ||
| DWORD | flags | ||
| ) |
Definition at line 502 of file main.c.
Referenced by test_NCryptIsAlgSupported().
| BOOL WINAPI NCryptIsKeyHandle | ( | NCRYPT_KEY_HANDLE | hKey | ) |
| SECURITY_STATUS WINAPI NCryptOpenKey | ( | NCRYPT_PROV_HANDLE | provider, |
| NCRYPT_KEY_HANDLE * | key, | ||
| const WCHAR * | name, | ||
| DWORD | keyspec, | ||
| DWORD | flags | ||
| ) |
| SECURITY_STATUS WINAPI NCryptOpenStorageProvider | ( | NCRYPT_PROV_HANDLE * | provider, |
| const WCHAR * | name, | ||
| DWORD | flags | ||
| ) |
Definition at line 561 of file main.c.
Referenced by test_create_persisted_key(), test_finalize_key(), test_free_object(), test_get_property(), test_key_import_rsa(), test_NCryptEncrypt(), test_NCryptExportKey(), test_NCryptIsAlgSupported(), test_set_property(), and test_verify_signature().
| SECURITY_STATUS WINAPI NCryptSetProperty | ( | NCRYPT_HANDLE | handle, |
| const WCHAR * | name, | ||
| BYTE * | input, | ||
| DWORD | insize, | ||
| DWORD | flags | ||
| ) |
Definition at line 576 of file main.c.
Referenced by test_NCryptExportKey(), and test_set_property().
| SECURITY_STATUS WINAPI NCryptSignHash | ( | NCRYPT_KEY_HANDLE | handle, |
| void * | padding, | ||
| BYTE * | value, | ||
| DWORD | value_len, | ||
| BYTE * | sig, | ||
| DWORD | sig_len, | ||
| DWORD * | ret_len, | ||
| DWORD | flags | ||
| ) |
Definition at line 588 of file main.c.
| SECURITY_STATUS WINAPI NCryptVerifySignature | ( | NCRYPT_KEY_HANDLE | handle, |
| void * | padding, | ||
| BYTE * | hash, | ||
| DWORD | hash_size, | ||
| BYTE * | signature, | ||
| DWORD | signature_size, | ||
| DWORD | flags | ||
| ) |
Definition at line 602 of file main.c.
Referenced by test_verify_signature().
|
static |
Definition at line 64 of file main.c.
Referenced by create_key_object(), and NCryptGetProperty().
|
static |
Definition at line 116 of file main.c.
Referenced by create_key_object(), NCryptCreatePersistedKey(), NCryptImportKey(), and NCryptSetProperty().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | ncrypt | ) |