|
ReactOS 0.4.17-dev-736-g75e91de
|
#include "precomp.h"

Go to the source code of this file.
Classes | |
| struct | object |
| struct | algorithm |
| struct | key_symmetric |
| struct | key_asymmetric |
| struct | key |
| struct | secret |
| struct | key_symmetric_set_auth_data_params |
| struct | key_symmetric_encrypt_params |
| struct | key_symmetric_decrypt_params |
| struct | key_symmetric_get_tag_params |
| struct | key_asymmetric_decrypt_params |
| struct | key_asymmetric_encrypt_params |
| struct | key_asymmetric_duplicate_params |
| struct | key_asymmetric_sign_params |
| struct | key_asymmetric_verify_params |
| struct | key_asymmetric_export_params |
| struct | key_asymmetric_import_params |
| struct | key_asymmetric_derive_key_params |
| struct | hash< _Key > |
Macros | |
| #define | MAGIC_DSS1 ('D' | ('S' << 8) | ('S' << 16) | ('1' << 24)) |
| #define | MAGIC_DSS2 ('D' | ('S' << 8) | ('S' << 16) | ('2' << 24)) |
| #define | MAGIC_ALG (('A' << 24) | ('L' << 16) | ('G' << 8) | '0') |
| #define | MAGIC_HASH (('H' << 24) | ('A' << 16) | ('S' << 8) | 'H') |
| #define | MAGIC_KEY (('K' << 24) | ('E' << 16) | ('Y' << 8) | '0') |
| #define | MAGIC_SECRET (('S' << 24) | ('C' << 16) | ('R' << 8) | 'T') |
| #define | BLOCK_LENGTH_RC4 1 |
| #define | BLOCK_LENGTH_3DES 8 |
| #define | BLOCK_LENGTH_AES 16 |
| #define | KEY_FLAG_LEGACY_DSA_V2 0x00000001 |
| #define | KEY_FLAG_FINALIZED 0x00000002 |
| #define | PRIVATE_DATA_SIZE 64 |
| #define | KEY_EXPORT_FLAG_PUBLIC 0x00000001 |
| #define | KEY_EXPORT_FLAG_RSA_FULL 0x00000002 |
| #define | KEY_EXPORT_FLAG_DH_PARAMETERS 0x00000004 |
| #define | KEY_IMPORT_FLAG_PUBLIC 0x00000001 |
| #define | KEY_IMPORT_FLAG_DH_PARAMETERS 0x00000002 |
| #define | HASH_FLAG_HMAC 0x01 |
| #define | HASH_FLAG_REUSABLE 0x02 |
| #define | ARRAY_SIZE ARRAYSIZE |
Enumerations | |
| enum | alg_id { ALG_ID_3DES , ALG_ID_AES , ALG_ID_RC4 , ALG_ID_SHA256 , ALG_ID_SHA384 , ALG_ID_SHA512 , ALG_ID_SHA1 , ALG_ID_MD5 , ALG_ID_MD4 , ALG_ID_MD2 , ALG_ID_RSA , ALG_ID_DH , ALG_ID_ECDH_P256 , ALG_ID_ECDH_P384 , ALG_ID_RSA_SIGN , ALG_ID_ECDSA_P256 , ALG_ID_ECDSA_P384 , ALG_ID_DSA , ALG_ID_RNG , ALG_ID_PBKDF2 } |
| enum | chain_mode { CHAIN_MODE_CBC , CHAIN_MODE_ECB , CHAIN_MODE_CFB , CHAIN_MODE_CCM , CHAIN_MODE_GCM } |
Definition at line 309 of file bcrypt_internal.h.
| #define BLOCK_LENGTH_3DES 8 |
Definition at line 76 of file bcrypt_internal.h.
| #define BLOCK_LENGTH_AES 16 |
Definition at line 77 of file bcrypt_internal.h.
| #define BLOCK_LENGTH_RC4 1 |
Definition at line 75 of file bcrypt_internal.h.
| #define HASH_FLAG_HMAC 0x01 |
Definition at line 243 of file bcrypt_internal.h.
| #define HASH_FLAG_REUSABLE 0x02 |
Definition at line 244 of file bcrypt_internal.h.
| #define KEY_EXPORT_FLAG_DH_PARAMETERS 0x00000004 |
Definition at line 211 of file bcrypt_internal.h.
| #define KEY_EXPORT_FLAG_PUBLIC 0x00000001 |
Definition at line 209 of file bcrypt_internal.h.
| #define KEY_EXPORT_FLAG_RSA_FULL 0x00000002 |
Definition at line 210 of file bcrypt_internal.h.
| #define KEY_FLAG_FINALIZED 0x00000002 |
Definition at line 91 of file bcrypt_internal.h.
| #define KEY_FLAG_LEGACY_DSA_V2 0x00000001 |
Definition at line 90 of file bcrypt_internal.h.
| #define KEY_IMPORT_FLAG_DH_PARAMETERS 0x00000002 |
Definition at line 223 of file bcrypt_internal.h.
| #define KEY_IMPORT_FLAG_PUBLIC 0x00000001 |
Definition at line 222 of file bcrypt_internal.h.
Definition at line 12 of file bcrypt_internal.h.
Definition at line 9 of file bcrypt_internal.h.
Definition at line 10 of file bcrypt_internal.h.
Definition at line 13 of file bcrypt_internal.h.
Definition at line 14 of file bcrypt_internal.h.
Definition at line 15 of file bcrypt_internal.h.
| #define PRIVATE_DATA_SIZE 64 |
Definition at line 100 of file bcrypt_internal.h.
Definition at line 21 of file bcrypt_internal.h.
| Enumerator | |
|---|---|
| CHAIN_MODE_CBC | |
| CHAIN_MODE_ECB | |
| CHAIN_MODE_CFB | |
| CHAIN_MODE_CCM | |
| CHAIN_MODE_GCM | |
Definition at line 58 of file bcrypt_internal.h.
Referenced by BCryptDeriveKeyCapi(), hash_finalize(), and hash_prepare().
Referenced by BCryptDeriveKeyCapi(), BCryptFinishHash(), hash_finalize(), and hash_prepare().
Referenced by hash_prepare().
Referenced by BCryptDeriveKeyCapi(), BCryptHashData(), hash_prepare(), hash_single(), and pbkdf2().
Referenced by hash_finalize().
Referenced by hash_prepare().
Referenced by hash_finalize(), and hash_prepare().
Referenced by BCryptDecrypt().
Referenced by derive_key_hash(), and derive_key_raw().
Referenced by key_destroy().
Referenced by key_duplicate().
Referenced by BCryptEncrypt().
Referenced by get_dh_property(), and key_export().
Referenced by BCryptFinalizeKeyPair().
Referenced by key_import_pair(), and set_key_property().
Referenced by BCryptSignHash().
Referenced by BCryptVerifySignature().
Referenced by key_symmetric_decrypt().
Referenced by key_destroy().
Referenced by key_symmetric_encrypt().
Referenced by key_symmetric_decrypt(), and key_symmetric_encrypt().
Referenced by key_symmetric_decrypt(), and key_symmetric_encrypt().
Referenced by key_symmetric_set_vector().