|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include <assert.h>#include <stdarg.h>#include <stdlib.h>#include "ntstatus.h"#include "windef.h"#include "winbase.h"#include "ntsecapi.h"#include "wincrypt.h"#include "winternl.h"#include "bcrypt.h"#include "symcrypt.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | object |
| struct | hash< _Key > |
| struct | algorithm |
| struct | aes_key |
| struct | gcm_key |
| struct | hkdf_key |
| struct | symmetric_key |
| struct | rsa_key |
| struct | ecc_key |
| struct | dsa_key |
| struct | asymmetric_key |
| struct | key |
| struct | secret |
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 | HASH_FLAG_HMAC 0x01 |
| #define | HASH_FLAG_REUSABLE 0x02 |
| #define | BLOCK_LENGTH_RC4 1 |
| #define | BLOCK_LENGTH_CHACHA20_POLY1305 1 |
| #define | BLOCK_LENGTH_3DES 8 |
| #define | BLOCK_LENGTH_AES 16 |
| #define | KEY_FLAG_PRIVATE 0x00000001 |
| #define | KEY_FLAG_FINALIZED 0x00000002 |
| #define | KEY_EXPORT_FLAG_PRIVATE 0x00000001 |
| #define | KEY_EXPORT_FLAG_RSA_FULL 0x00000002 |
| #define | MAX_HASH_OUTPUT_BYTES 64 |
| #define | HMAC_PAD_LEN 64 |
Enumerations | |
| enum | alg_id { ALG_ID_3DES , ALG_ID_CHACHA20_POLY1305 , ALG_ID_AES , ALG_ID_AES_GMAC , 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 , ALG_ID_ECDH_P256 , ALG_ID_ECDH_P384 , ALG_ID_ECDH_P521 , ALG_ID_RSA_SIGN , ALG_ID_ECDSA , ALG_ID_ECDSA_P256 , ALG_ID_ECDSA_P384 , ALG_ID_ECDSA_P521 , ALG_ID_DSA , ALG_ID_RNG , ALG_ID_PBKDF2 , ALG_ID_TLS1_1_KDF , ALG_ID_TLS1_2_KDF , ALG_ID_HKDF } |
| enum | chain_mode { CHAIN_MODE_CBC , CHAIN_MODE_ECB , CHAIN_MODE_CFB , CHAIN_MODE_CCM , CHAIN_MODE_GCM } |
| enum | ecc_curve_id { ECC_CURVE_INVALID = -1 , ECC_CURVE_NONE , ECC_CURVE_25519 , ECC_CURVE_BRAINPOOLP256R1 , ECC_CURVE_BRAINPOOLP384R1 , ECC_CURVE_P256R1 , ECC_CURVE_P384R1 , ECC_CURVE_P521R1 } |
| #define BLOCK_LENGTH_3DES 8 |
Definition at line 166 of file bcrypt_main.c.
| #define BLOCK_LENGTH_AES 16 |
Definition at line 167 of file bcrypt_main.c.
| #define BLOCK_LENGTH_CHACHA20_POLY1305 1 |
Definition at line 165 of file bcrypt_main.c.
| #define BLOCK_LENGTH_RC4 1 |
Definition at line 164 of file bcrypt_main.c.
| #define HASH_FLAG_HMAC 0x01 |
Definition at line 100 of file bcrypt_main.c.
| #define HASH_FLAG_REUSABLE 0x02 |
Definition at line 101 of file bcrypt_main.c.
| #define HMAC_PAD_LEN 64 |
Definition at line 4020 of file bcrypt_main.c.
| #define KEY_EXPORT_FLAG_PRIVATE 0x00000001 |
Definition at line 231 of file bcrypt_main.c.
| #define KEY_EXPORT_FLAG_RSA_FULL 0x00000002 |
Definition at line 232 of file bcrypt_main.c.
| #define KEY_FLAG_FINALIZED 0x00000002 |
Definition at line 217 of file bcrypt_main.c.
| #define KEY_FLAG_PRIVATE 0x00000001 |
Definition at line 216 of file bcrypt_main.c.
Definition at line 45 of file bcrypt_main.c.
Definition at line 42 of file bcrypt_main.c.
Definition at line 43 of file bcrypt_main.c.
Definition at line 46 of file bcrypt_main.c.
Definition at line 47 of file bcrypt_main.c.
Definition at line 48 of file bcrypt_main.c.
| #define MAX_HASH_OUTPUT_BYTES 64 |
Definition at line 349 of file bcrypt_main.c.
Definition at line 54 of file bcrypt_main.c.
| Enumerator | |
|---|---|
| CHAIN_MODE_CBC | |
| CHAIN_MODE_ECB | |
| CHAIN_MODE_CFB | |
| CHAIN_MODE_CCM | |
| CHAIN_MODE_GCM | |
Definition at line 117 of file bcrypt_main.c.
| Enumerator | |
|---|---|
| ECC_CURVE_INVALID | |
| ECC_CURVE_NONE | |
| ECC_CURVE_25519 | |
| ECC_CURVE_BRAINPOOLP256R1 | |
| ECC_CURVE_BRAINPOOLP384R1 | |
| ECC_CURVE_P256R1 | |
| ECC_CURVE_P384R1 | |
| ECC_CURVE_P521R1 | |
Definition at line 126 of file bcrypt_main.c.
|
static |
Definition at line 1612 of file bcrypt_main.c.
Referenced by duplicate_key(), generate_symmetric_key(), unwrap_aes(), and wrap_aes().
Definition at line 3217 of file bcrypt_main.c.
Referenced by import_dh_key(), import_dsa_key(), and import_legacy_dsa_key().
|
static |
Definition at line 3118 of file bcrypt_main.c.
Referenced by alloc_ecc_key().
|
static |
Definition at line 3165 of file bcrypt_main.c.
Referenced by finalize_key_pair(), and import_ecc_key().
Definition at line 1645 of file bcrypt_main.c.
Referenced by duplicate_key(), generate_key_pair(), generate_symmetric_key(), import_dh_key(), import_dsa_key(), import_ecc_key(), import_legacy_dsa_key(), import_legacy_rsa_key(), import_rsa_key(), unwrap_aes(), and wrap_aes().
Definition at line 2765 of file bcrypt_main.c.
Referenced by finalize_key_pair(), import_legacy_rsa_key(), and import_rsa_key().
| NTSTATUS WINAPI BCryptAddContextFunction | ( | ULONG | table, |
| const WCHAR * | ctx, | ||
| ULONG | iface, | ||
| const WCHAR * | func, | ||
| ULONG | pos | ||
| ) |
Definition at line 298 of file bcrypt_main.c.
| NTSTATUS WINAPI BCryptAddContextFunctionProvider | ( | ULONG | table, |
| const WCHAR * | ctx, | ||
| ULONG | iface, | ||
| const WCHAR * | func, | ||
| const WCHAR * | provider, | ||
| ULONG | pos | ||
| ) |
Definition at line 304 of file bcrypt_main.c.
| NTSTATUS WINAPI BCryptCloseAlgorithmProvider | ( | BCRYPT_ALG_HANDLE | handle, |
| DWORD | flags | ||
| ) |
Definition at line 684 of file bcrypt_main.c.
Referenced by CNG_CalcHash(), CryptHashCertificate2(), test_3des(), test_aes(), test_aes_vector(), test_aes_vector_property(), test_BCryptDecrypt(), test_BcryptDeriveKeyCapi(), test_BcryptDeriveKeyPBKDF2(), test_BCryptEncrypt(), test_BCryptGenerateSymmetricKey(), test_BCryptGenRandom(), test_BcryptHash(), test_BCryptSignHash(), test_CHACHA20_POLY1305(), test_DSA(), test_ECDH(), test_ECDH_alg(), test_ECDSA(), test_hash(), test_HKDF(), test_key_import_export(), test_PBKDF2(), test_RC4(), test_rng(), test_RSA(), test_RSA_SIGN(), test_SecretAgreement(), test_TLS_PRF(), and test_VerifySignature().
| NTSTATUS WINAPI BCryptCreateHash | ( | BCRYPT_ALG_HANDLE | handle, |
| BCRYPT_HASH_HANDLE * | ret_handle, | ||
| UCHAR * | object, | ||
| ULONG | object_len, | ||
| UCHAR * | secret, | ||
| ULONG | secret_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 1416 of file bcrypt_main.c.
Referenced by CNG_CalcHash(), CryptHashCertificate2(), test_BcryptDeriveKeyCapi(), test_hash(), and test_VerifySignature().
| NTSTATUS WINAPI BCryptDecrypt | ( | BCRYPT_KEY_HANDLE | handle, |
| UCHAR * | input, | ||
| ULONG | input_len, | ||
| void * | padding, | ||
| UCHAR * | iv, | ||
| ULONG | iv_len, | ||
| UCHAR * | output, | ||
| ULONG | output_len, | ||
| ULONG * | ret_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 1968 of file bcrypt_main.c.
Referenced by test_aes_vector_property(), test_BCryptDecrypt(), test_BCryptGenerateSymmetricKey(), and test_rsa_encrypt().
| NTSTATUS WINAPI BCryptDeriveKey | ( | BCRYPT_SECRET_HANDLE | handle, |
| const WCHAR * | kdf, | ||
| BCryptBufferDesc * | desc, | ||
| UCHAR * | output, | ||
| ULONG | output_len, | ||
| ULONG * | ret_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 4266 of file bcrypt_main.c.
Referenced by test_DH(), test_ECDH_alg(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptDeriveKeyCapi | ( | BCRYPT_HASH_HANDLE | handle, |
| BCRYPT_ALG_HANDLE | halg, | ||
| UCHAR * | key, | ||
| ULONG | keylen, | ||
| ULONG | flags | ||
| ) |
Definition at line 4021 of file bcrypt_main.c.
Referenced by test_BcryptDeriveKeyCapi().
| NTSTATUS WINAPI BCryptDeriveKeyPBKDF2 | ( | BCRYPT_ALG_HANDLE | handle, |
| UCHAR * | pwd, | ||
| ULONG | pwd_len, | ||
| UCHAR * | salt, | ||
| ULONG | salt_len, | ||
| ULONGLONG | iterations, | ||
| UCHAR * | key, | ||
| ULONG | key_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 4153 of file bcrypt_main.c.
Referenced by test_BcryptDeriveKeyPBKDF2().
| NTSTATUS WINAPI BCryptDestroyHash | ( | BCRYPT_HASH_HANDLE | handle | ) |
Definition at line 1483 of file bcrypt_main.c.
Referenced by CNG_CalcHash(), CryptHashCertificate2(), test_BcryptDeriveKeyCapi(), test_hash(), test_SecretAgreement(), and test_VerifySignature().
| NTSTATUS WINAPI BCryptDestroyKey | ( | BCRYPT_KEY_HANDLE | handle | ) |
Definition at line 4008 of file bcrypt_main.c.
Referenced by cng_verify_msg_signature(), CNG_VerifySignature(), free_key_object(), test_aes_vector(), test_aes_vector_property(), test_BCryptDecrypt(), test_BCryptEncrypt(), test_BCryptGenerateSymmetricKey(), test_BCryptSignHash(), test_DH(), test_DSA(), test_ECDH(), test_ECDH_alg(), test_ECDSA(), test_HKDF(), test_key_import_export(), test_PBKDF2(), test_RSA(), test_rsa_encrypt(), test_RSA_SIGN(), test_SecretAgreement(), test_TLS_PRF(), test_verify_ecc_signature(), test_VerifySignature(), and testImportPublicKey().
| NTSTATUS WINAPI BCryptDestroySecret | ( | BCRYPT_SECRET_HANDLE | handle | ) |
Definition at line 4127 of file bcrypt_main.c.
Referenced by test_DH(), test_ECDH_alg(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptDuplicateHash | ( | BCRYPT_HASH_HANDLE | handle, |
| BCRYPT_HASH_HANDLE * | handle_copy, | ||
| UCHAR * | object, | ||
| ULONG | object_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 1441 of file bcrypt_main.c.
| NTSTATUS WINAPI BCryptDuplicateKey | ( | BCRYPT_KEY_HANDLE | handle, |
| BCRYPT_KEY_HANDLE * | handle_copy, | ||
| UCHAR * | object, | ||
| ULONG | object_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 3717 of file bcrypt_main.c.
Referenced by test_BCryptGenerateSymmetricKey(), test_PBKDF2(), and test_TLS_PRF().
| NTSTATUS WINAPI BCryptEncrypt | ( | BCRYPT_KEY_HANDLE | handle, |
| UCHAR * | input, | ||
| ULONG | input_len, | ||
| void * | padding, | ||
| UCHAR * | iv, | ||
| ULONG | iv_len, | ||
| UCHAR * | output, | ||
| ULONG | output_len, | ||
| ULONG * | ret_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 2307 of file bcrypt_main.c.
Referenced by encrypt_race_thread(), NCryptEncrypt(), test_aes_vector(), test_aes_vector_property(), test_BCryptEncrypt(), test_BCryptGenerateSymmetricKey(), test_DH(), and test_rsa_encrypt().
| NTSTATUS WINAPI BCryptEnumAlgorithms | ( | ULONG | type, |
| ULONG * | ret_count, | ||
| BCRYPT_ALGORITHM_IDENTIFIER ** | ret_list, | ||
| ULONG | flags | ||
| ) |
Definition at line 424 of file bcrypt_main.c.
Referenced by NCryptIsAlgSupported(), and test_BCryptEnumAlgorithms().
| NTSTATUS WINAPI BCryptEnumContextFunctions | ( | ULONG | table, |
| const WCHAR * | ctx, | ||
| ULONG | iface, | ||
| ULONG * | buflen, | ||
| CRYPT_CONTEXT_FUNCTIONS ** | buffer | ||
| ) |
Definition at line 325 of file bcrypt_main.c.
Referenced by test_BCryptEnumContextFunctions().
| NTSTATUS WINAPI BCryptExportKey | ( | BCRYPT_KEY_HANDLE | export_key_handle, |
| BCRYPT_KEY_HANDLE | encrypt_key_handle, | ||
| const WCHAR * | type, | ||
| UCHAR * | output, | ||
| ULONG | output_len, | ||
| ULONG * | size, | ||
| ULONG | flags | ||
| ) |
Definition at line 2749 of file bcrypt_main.c.
Referenced by NCryptExportKey(), test_DH(), test_DSA(), test_ECDH(), test_ECDH_alg(), test_ECDSA(), test_key_import_export(), test_RSA(), test_RSA_SIGN(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptFinalizeKeyPair | ( | BCRYPT_KEY_HANDLE | handle, |
| ULONG | flags | ||
| ) |
Definition at line 3658 of file bcrypt_main.c.
Referenced by NCryptFinalizeKey(), test_BCryptSignHash(), test_DH(), test_DSA(), test_ECDH(), test_ECDH_alg(), test_ECDSA(), test_RSA(), test_rsa_encrypt(), test_RSA_SIGN(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptFinishHash | ( | BCRYPT_HASH_HANDLE | handle, |
| UCHAR * | output, | ||
| ULONG | size, | ||
| ULONG | flags | ||
| ) |
Definition at line 1525 of file bcrypt_main.c.
Referenced by CNG_CalcHash(), CryptHashCertificate2(), test_hash(), and test_VerifySignature().
Definition at line 332 of file bcrypt_main.c.
Referenced by NCryptIsAlgSupported(), test_BCryptEnumAlgorithms(), and test_BCryptEnumContextFunctions().
| NTSTATUS WINAPI BCryptGenerateKeyPair | ( | BCRYPT_ALG_HANDLE | handle, |
| BCRYPT_KEY_HANDLE * | ret_handle, | ||
| ULONG | bitlen, | ||
| ULONG | flags | ||
| ) |
Definition at line 3571 of file bcrypt_main.c.
Referenced by NCryptCreatePersistedKey(), test_BCryptSignHash(), test_DH(), test_DSA(), test_ECDH(), test_ECDH_alg(), test_ECDSA(), test_RSA(), test_rsa_encrypt(), test_RSA_SIGN(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptGenerateSymmetricKey | ( | BCRYPT_ALG_HANDLE | handle, |
| BCRYPT_KEY_HANDLE * | ret_handle, | ||
| UCHAR * | object, | ||
| ULONG | object_len, | ||
| UCHAR * | secret, | ||
| ULONG | secret_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 1737 of file bcrypt_main.c.
Referenced by test_BCryptDecrypt(), test_BCryptEncrypt(), test_BCryptGenerateSymmetricKey(), test_HKDF(), test_PBKDF2(), and test_TLS_PRF().
| NTSTATUS WINAPI BCryptGenRandom | ( | BCRYPT_ALG_HANDLE | handle, |
| UCHAR * | buffer, | ||
| ULONG | count, | ||
| ULONG | flags | ||
| ) |
Definition at line 574 of file bcrypt_main.c.
Referenced by test_BCryptGenRandom(), and test_rng().
Definition at line 696 of file bcrypt_main.c.
Referenced by test_BCryptGetFipsAlgorithmMode().
| NTSTATUS WINAPI BCryptGetProperty | ( | BCRYPT_HANDLE | handle, |
| const WCHAR * | prop, | ||
| UCHAR * | buffer, | ||
| ULONG | count, | ||
| ULONG * | res, | ||
| ULONG | flags | ||
| ) |
Definition at line 1325 of file bcrypt_main.c.
Referenced by _test_alg_name(), _test_hash_block_length(), _test_hash_length(), _test_object_length(), CNG_CalcHash(), CryptHashCertificate2(), test_3des(), test_aes(), test_BCryptDecrypt(), test_BCryptEncrypt(), test_BCryptGenerateSymmetricKey(), test_CHACHA20_POLY1305(), test_DSA(), test_ECDH(), test_ECDSA(), test_HKDF(), test_PBKDF2(), test_RC4(), test_rng(), test_RSA(), test_RSA_SIGN(), test_SecretAgreement(), test_TLS_PRF(), and test_VerifySignature().
| NTSTATUS WINAPI BCryptHash | ( | BCRYPT_ALG_HANDLE | handle, |
| UCHAR * | secret, | ||
| ULONG | secret_len, | ||
| UCHAR * | input, | ||
| ULONG | input_len, | ||
| UCHAR * | output, | ||
| ULONG | output_len | ||
| ) |
Definition at line 1555 of file bcrypt_main.c.
Referenced by assembly_get_pubkey_token().
| NTSTATUS WINAPI BCryptHashData | ( | BCRYPT_HASH_HANDLE | handle, |
| UCHAR * | input, | ||
| ULONG | size, | ||
| ULONG | flags | ||
| ) |
Definition at line 1503 of file bcrypt_main.c.
Referenced by CNG_CalcHash(), CryptHashCertificate2(), test_BcryptDeriveKeyCapi(), test_hash(), and test_VerifySignature().
| NTSTATUS WINAPI BCryptImportKey | ( | BCRYPT_ALG_HANDLE | handle, |
| BCRYPT_KEY_HANDLE | decrypt_key_handle, | ||
| const WCHAR * | type, | ||
| BCRYPT_KEY_HANDLE * | ret_handle, | ||
| UCHAR * | object, | ||
| ULONG | object_len, | ||
| UCHAR * | input, | ||
| ULONG | input_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 2101 of file bcrypt_main.c.
Referenced by test_aes_vector(), test_aes_vector_property(), and test_key_import_export().
| NTSTATUS WINAPI BCryptImportKeyPair | ( | BCRYPT_ALG_HANDLE | handle, |
| BCRYPT_KEY_HANDLE | decrypt_key_handle, | ||
| const WCHAR * | type, | ||
| BCRYPT_KEY_HANDLE * | ret_handle, | ||
| UCHAR * | input, | ||
| ULONG | input_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 3481 of file bcrypt_main.c.
Referenced by CNG_ImportECCPubKey(), CNG_ImportRSAPubKey(), NCryptImportKey(), test_BCryptSignHash(), test_DH(), test_DSA(), test_ECDH(), test_ECDH_alg(), test_ECDSA(), test_RSA(), test_rsa_encrypt(), test_RSA_SIGN(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptKeyDerivation | ( | BCRYPT_KEY_HANDLE | handle, |
| BCryptBufferDesc * | desc, | ||
| UCHAR * | output, | ||
| ULONG | output_len, | ||
| ULONG * | ret_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 4404 of file bcrypt_main.c.
Referenced by test_HKDF(), test_PBKDF2(), and test_TLS_PRF().
| NTSTATUS WINAPI BCryptOpenAlgorithmProvider | ( | BCRYPT_ALG_HANDLE * | handle, |
| const WCHAR * | id, | ||
| const WCHAR * | implementation, | ||
| DWORD | flags | ||
| ) |
Definition at line 629 of file bcrypt_main.c.
Referenced by CNG_CalcHash(), CryptHashCertificate2(), test_3des(), test_aes(), test_aes_vector(), test_aes_vector_property(), test_BCryptDecrypt(), test_BcryptDeriveKeyCapi(), test_BcryptDeriveKeyPBKDF2(), test_BCryptEncrypt(), test_BCryptGenerateSymmetricKey(), test_BcryptHash(), test_BCryptSignHash(), test_CHACHA20_POLY1305(), test_DSA(), test_ECDH(), test_ECDH_alg(), test_ECDSA(), test_hash(), test_HKDF(), test_key_import_export(), test_PBKDF2(), test_RC4(), test_rng(), test_RSA(), test_rsa_encrypt(), test_RSA_SIGN(), test_SecretAgreement(), test_TLS_PRF(), and test_VerifySignature().
| NTSTATUS WINAPI BCryptRegisterProvider | ( | const WCHAR * | provider, |
| ULONG | flags, | ||
| CRYPT_PROVIDER_REG * | reg | ||
| ) |
Definition at line 337 of file bcrypt_main.c.
| NTSTATUS WINAPI BCryptRemoveContextFunction | ( | ULONG | table, |
| const WCHAR * | ctx, | ||
| ULONG | iface, | ||
| const WCHAR * | func | ||
| ) |
Definition at line 312 of file bcrypt_main.c.
| NTSTATUS WINAPI BCryptRemoveContextFunctionProvider | ( | ULONG | table, |
| const WCHAR * | ctx, | ||
| ULONG | iface, | ||
| const WCHAR * | func, | ||
| const WCHAR * | provider | ||
| ) |
Definition at line 318 of file bcrypt_main.c.
| NTSTATUS WINAPI BCryptSecretAgreement | ( | BCRYPT_KEY_HANDLE | privkey_handle, |
| BCRYPT_KEY_HANDLE | pubkey_handle, | ||
| BCRYPT_SECRET_HANDLE * | ret_handle, | ||
| ULONG | flags | ||
| ) |
Definition at line 4071 of file bcrypt_main.c.
Referenced by test_DH(), test_ECDH_alg(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptSetProperty | ( | BCRYPT_HANDLE | handle, |
| const WCHAR * | prop, | ||
| UCHAR * | value, | ||
| ULONG | size, | ||
| ULONG | flags | ||
| ) |
Definition at line 1230 of file bcrypt_main.c.
Referenced by NCryptFinalizeKey(), test_3des(), test_aes(), test_aes_vector(), test_aes_vector_property(), test_BCryptDecrypt(), test_BCryptEncrypt(), test_BCryptGenerateSymmetricKey(), test_CHACHA20_POLY1305(), test_ECDH(), test_ECDSA(), test_HKDF(), test_RC4(), test_RSA(), and test_SecretAgreement().
| NTSTATUS WINAPI BCryptSignHash | ( | BCRYPT_KEY_HANDLE | handle, |
| void * | padding, | ||
| UCHAR * | hash, | ||
| ULONG | hash_len, | ||
| UCHAR * | signature, | ||
| ULONG | signature_len, | ||
| ULONG * | ret_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 3870 of file bcrypt_main.c.
Referenced by NCryptSignHash(), test_BCryptSignHash(), test_DH(), test_DSA(), test_ECDSA(), and test_RSA().
Definition at line 343 of file bcrypt_main.c.
| NTSTATUS WINAPI BCryptVerifySignature | ( | BCRYPT_KEY_HANDLE | handle, |
| void * | padding, | ||
| UCHAR * | hash, | ||
| ULONG | hash_len, | ||
| UCHAR * | signature, | ||
| ULONG | signature_len, | ||
| ULONG | flags | ||
| ) |
Definition at line 3975 of file bcrypt_main.c.
Referenced by cng_verify_msg_signature(), CNG_VerifySignature(), NCryptVerifySignature(), test_BCryptSignHash(), test_DSA(), test_ECDSA(), test_RSA(), test_RSA_SIGN(), and test_VerifySignature().
Definition at line 617 of file bcrypt_main.c.
Referenced by BCryptOpenAlgorithmProvider().
|
static |
Definition at line 1385 of file bcrypt_main.c.
Referenced by BCryptCreateHash(), and hash_single().
|
static |
Definition at line 3506 of file bcrypt_main.c.
Referenced by generate_key_pair().
|
static |
Definition at line 3149 of file bcrypt_main.c.
Referenced by alloc_ecc_key(), and generate_key_pair().
|
static |
Definition at line 1756 of file bcrypt_main.c.
Referenced by decrypt_symmetric(), and unwrap_aes().
|
static |
Definition at line 1791 of file bcrypt_main.c.
Referenced by decrypt_symmetric().
|
static |
Definition at line 1818 of file bcrypt_main.c.
Referenced by decrypt_symmetric().
|
static |
Definition at line 1922 of file bcrypt_main.c.
Referenced by BCryptDecrypt().
|
static |
Definition at line 1876 of file bcrypt_main.c.
Referenced by BCryptDecrypt().
|
static |
Definition at line 4199 of file bcrypt_main.c.
Referenced by BCryptDeriveKey().
|
static |
Definition at line 4249 of file bcrypt_main.c.
Referenced by BCryptDeriveKey().
Definition at line 1476 of file bcrypt_main.c.
Referenced by BCryptDestroyHash(), and hash_single().
Definition at line 1568 of file bcrypt_main.c.
Referenced by BCryptDestroyKey(), duplicate_key(), generate_key_pair(), generate_symmetric_key(), import_dh_key(), import_dsa_key(), import_ecc_key(), import_legacy_dsa_key(), import_legacy_rsa_key(), import_rsa_key(), unwrap_aes(), and wrap_aes().
Definition at line 678 of file bcrypt_main.c.
Referenced by BCryptCloseAlgorithmProvider(), destroy_hash(), and destroy_secret().
Definition at line 4063 of file bcrypt_main.c.
Referenced by BCryptDestroySecret(), and BCryptSecretAgreement().
Definition at line 4435 of file bcrypt_main.c.
Definition at line 3669 of file bcrypt_main.c.
Referenced by BCryptDuplicateKey().
|
static |
Definition at line 2124 of file bcrypt_main.c.
Referenced by encrypt_symmetric(), and wrap_aes().
|
static |
Definition at line 2152 of file bcrypt_main.c.
Referenced by encrypt_symmetric().
|
static |
Definition at line 2174 of file bcrypt_main.c.
Referenced by encrypt_symmetric().
|
static |
Definition at line 2255 of file bcrypt_main.c.
Referenced by BCryptEncrypt().
|
static |
Definition at line 2222 of file bcrypt_main.c.
Referenced by BCryptEncrypt().
|
static |
Definition at line 2695 of file bcrypt_main.c.
Referenced by BCryptExportKey().
|
static |
Definition at line 2658 of file bcrypt_main.c.
Referenced by export_asymmetric_key().
|
static |
Definition at line 2565 of file bcrypt_main.c.
Referenced by export_asymmetric_key().
|
static |
Definition at line 2534 of file bcrypt_main.c.
Referenced by export_asymmetric_key().
|
static |
Definition at line 2604 of file bcrypt_main.c.
Referenced by export_asymmetric_key().
|
static |
Definition at line 2442 of file bcrypt_main.c.
Referenced by export_asymmetric_key().
|
static |
Definition at line 2382 of file bcrypt_main.c.
Referenced by BCryptExportKey().
Definition at line 3590 of file bcrypt_main.c.
Referenced by BCryptFinalizeKeyPair().
Definition at line 1515 of file bcrypt_main.c.
Referenced by BCryptDeriveKeyCapi(), and BCryptFinishHash().
|
static |
Definition at line 3522 of file bcrypt_main.c.
Referenced by BCryptGenerateKeyPair().
|
static |
Definition at line 1684 of file bcrypt_main.c.
Referenced by BCryptGenerateSymmetricKey(), and import_key().
|
static |
Definition at line 746 of file bcrypt_main.c.
Referenced by get_alg_property(), and get_key_property().
|
static |
Definition at line 784 of file bcrypt_main.c.
Referenced by get_alg_property(), and get_key_property().
|
inlinestatic |
Definition at line 554 of file bcrypt_main.c.
Referenced by BCryptCreateHash(), BCryptDeriveKeyPBKDF2(), BCryptGenerateKeyPair(), BCryptGenerateSymmetricKey(), BCryptGenRandom(), BCryptHash(), BCryptImportKey(), BCryptImportKeyPair(), and get_hash_from_desc().
|
static |
Definition at line 935 of file bcrypt_main.c.
Referenced by BCryptGetProperty(), and generate_symmetric_key().
|
static |
|
static |
Definition at line 1266 of file bcrypt_main.c.
Referenced by get_key_property().
|
static |
|
static |
Definition at line 707 of file bcrypt_main.c.
Referenced by get_3des_property(), get_aes_property(), get_chacha20_poly1305_property(), get_generic_alg_property(), get_key_property(), get_rc4_property(), and get_rsa_property().
|
static |
Definition at line 2908 of file bcrypt_main.c.
Referenced by import_ecc_key().
Definition at line 2977 of file bcrypt_main.c.
Referenced by import_ecc_key().
Definition at line 2515 of file bcrypt_main.c.
Referenced by export_ecc_key().
|
static |
Definition at line 715 of file bcrypt_main.c.
Referenced by get_alg_property(), and get_hash_property().
|
static |
Definition at line 1368 of file bcrypt_main.c.
Referenced by create_hash().
|
static |
Definition at line 4171 of file bcrypt_main.c.
Referenced by derive_key_hash().
|
static |
Definition at line 1909 of file bcrypt_main.c.
Referenced by decrypt_rsa(), encrypt_rsa(), sign_hash_rsa(), and verify_signature_rsa().
|
inlinestatic |
Definition at line 559 of file bcrypt_main.c.
Referenced by BCryptDeriveKeyCapi(), BCryptDestroyHash(), BCryptDuplicateHash(), BCryptFinishHash(), and BCryptHashData().
|
static |
Definition at line 3737 of file bcrypt_main.c.
Referenced by sign_hash_rsa(), and verify_signature_rsa().
|
static |
Definition at line 1257 of file bcrypt_main.c.
Referenced by BCryptGetProperty().
|
static |
Definition at line 906 of file bcrypt_main.c.
Referenced by get_alg_property().
|
static |
Definition at line 1135 of file bcrypt_main.c.
Referenced by key_derivation_pbkdf2(), key_derivation_tls_prf(), and set_key_property().
|
inlinestatic |
Definition at line 564 of file bcrypt_main.c.
Referenced by BCryptDecrypt(), BCryptDestroyKey(), BCryptDuplicateKey(), BCryptEncrypt(), BCryptExportKey(), BCryptFinalizeKeyPair(), BCryptImportKey(), BCryptKeyDerivation(), BCryptSecretAgreement(), BCryptSignHash(), and BCryptVerifySignature().
|
static |
Definition at line 1292 of file bcrypt_main.c.
Referenced by BCryptGetProperty().
|
static |
Definition at line 4139 of file bcrypt_main.c.
Referenced by BCryptDeriveKeyPBKDF2().
|
static |
Definition at line 532 of file bcrypt_main.c.
Referenced by Array_concat(), Array_every(), Array_filter(), Array_forEach(), Array_map(), Array_reduce(), Array_some(), Array_sort(), array_this(), arraybuf_this(), ArrayConstr_isArray(), BCryptGetProperty(), BCryptSetProperty(), bind_event_target(), boolval_this(), create_enumerator(), create_regexp_var(), create_signature(), dataview_this(), date_this(), debugstr_jsval(), disp_call_value_with_caller(), DispatchEx_GetTypeInfo(), enumerator_this(), Error_toString(), exprval_call(), Function_apply(), function_this(), gc_process_linked_val(), gc_run(), get_alg_object(), get_hash_object(), get_key_object(), get_map_this(), get_secret_object(), get_set_this(), get_weakmap_this(), HostFunction_call(), init_dispex_from_constr(), interp_call(), interp_call_eval(), interp_carray_set(), interp_forin(), interp_in(), interp_instanceof(), interp_new(), interp_obj_prop(), InterpretedFunction_call(), invoke_prop_func(), is_function_prop(), iterate_map(), jsdisp_define_properties(), JSON_parse(), JSON_stringify(), jsval_copy(), jsval_map_compare(), jsval_release(), jsval_strict_equal(), jsval_to_variant(), maybe_to_primitive(), numberval_this(), Object_create(), Object_defineGetter(), Object_defineProperties(), Object_defineProperty(), Object_defineSetter(), Object_freeze(), Object_getOwnPropertyDescriptor(), Object_getPrototypeOf(), Object_isExtensible(), Object_isFrozen(), Object_isPrototypeOf(), Object_isSealed(), object_keys(), Object_preventExtensions(), Object_seal(), Object_set_proto_(), regexp_this(), RegExpConstr_value(), set_error_value(), stack_pop_object(), stack_topn_exprval(), String_match(), String_replace(), String_search(), String_split(), string_this(), stringify(), to_locale_string(), to_object(), to_primitive(), to_property_descriptor(), transform_json_object(), typeof_string(), unwind_exception(), vbarray_this(), WeakMap_delete(), WeakMap_get(), WeakMap_has(), and WeakMap_set().
|
static |
Definition at line 866 of file bcrypt_main.c.
Referenced by get_alg_property().
|
static |
|
static |
Definition at line 850 of file bcrypt_main.c.
Referenced by get_alg_property().
|
inlinestatic |
Definition at line 569 of file bcrypt_main.c.
Referenced by BCryptDeriveKey(), and BCryptDestroySecret().
|
static |
Definition at line 886 of file bcrypt_main.c.
Referenced by get_alg_property().
Definition at line 1495 of file bcrypt_main.c.
|
static |
Definition at line 1538 of file bcrypt_main.c.
Referenced by BCryptHash(), and derive_key_hash().
Definition at line 1147 of file bcrypt_main.c.
Referenced by set_key_property().
|
static |
Definition at line 3353 of file bcrypt_main.c.
Referenced by import_key_pair().
|
static |
Definition at line 3225 of file bcrypt_main.c.
Referenced by import_key_pair().
|
static |
Definition at line 3174 of file bcrypt_main.c.
Referenced by import_key_pair().
|
static |
Definition at line 2045 of file bcrypt_main.c.
Referenced by BCryptImportKey().
|
static |
Definition at line 3406 of file bcrypt_main.c.
Referenced by BCryptImportKeyPair().
|
static |
Definition at line 3285 of file bcrypt_main.c.
Referenced by import_key_pair().
|
static |
Definition at line 2843 of file bcrypt_main.c.
Referenced by import_key_pair().
|
static |
Definition at line 2779 of file bcrypt_main.c.
Referenced by import_key_pair().
|
inlinestatic |
Definition at line 527 of file bcrypt_main.c.
Referenced by BCryptCloseAlgorithmProvider(), BCryptGenRandom(), BCryptSetProperty(), and get_object().
Definition at line 401 of file bcrypt_main.c.
Referenced by BCryptDecrypt(), BCryptEncrypt(), BCryptExportKey(), destroy_key(), get_key_property(), and set_key_property().
|
static |
Definition at line 4375 of file bcrypt_main.c.
Referenced by BCryptKeyDerivation().
|
static |
Definition at line 4290 of file bcrypt_main.c.
Referenced by BCryptKeyDerivation().
|
static |
Definition at line 4330 of file bcrypt_main.c.
Referenced by BCryptKeyDerivation().
Definition at line 293 of file bcrypt_main.c.
Referenced by BCryptSecretAgreement(), decrypt_rsa(), encrypt_rsa(), export_dh_key(), export_dsa_key(), export_ecc_key(), export_legacy_dsa_key(), get_dh_parameters(), import_legacy_dsa_key(), import_legacy_rsa_key(), set_dh_parameters(), sign_hash_ecc(), sign_hash_rsa(), verify_signature_ecc(), and verify_signature_rsa().
Definition at line 407 of file bcrypt_main.c.
Referenced by BCryptEnumAlgorithms().
Definition at line 1358 of file bcrypt_main.c.
Referenced by BCryptDeriveKeyCapi(), create_hash(), and finish_hash().
|
static |
Definition at line 3451 of file bcrypt_main.c.
Referenced by BCryptImportKeyPair().
Definition at line 673 of file bcrypt_main.c.
Referenced by destroy_key(), destroy_object(), and destroy_secret().
|
static |
Definition at line 982 of file bcrypt_main.c.
Referenced by BCryptSetProperty().
Definition at line 1111 of file bcrypt_main.c.
Referenced by set_key_property().
|
static |
Definition at line 1161 of file bcrypt_main.c.
Referenced by BCryptSetProperty().
|
static |
Definition at line 3850 of file bcrypt_main.c.
Referenced by BCryptSignHash().
|
static |
Definition at line 3830 of file bcrypt_main.c.
Referenced by BCryptSignHash().
|
static |
Definition at line 3779 of file bcrypt_main.c.
Referenced by BCryptSignHash().
| SYMCRYPT_ENVIRONMENT_DEFS | ( | WindowsUsermodeWin8_1nLater | ) |
| void *SYMCRYPT_CALL SymCryptCallbackAlloc | ( | SIZE_T | size | ) |
Definition at line 241 of file bcrypt_main.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptAesKwDecrypt(), SymCryptAesKwEncrypt(), SymCryptAesKwpDecrypt(), SymCryptAesKwpEncrypt(), SymCryptDhSecretAgreement(), SymCryptDlgroupAllocate(), SymCryptDlgroupGenerate(), SymCryptDlgroupGetValue(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptDlkeyAllocate(), SymCryptDlkeyGenerate(), SymCryptDlkeyGetValue(), SymCryptDlkeySetValue(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDhSecretAgreement(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyAllocate(), SymCryptEckeyGetValue(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointAllocate(), SymCryptEcurveAllocate(), SymCryptFdefCreateTrialDivisionContext(), SymCryptFdefDivisorAllocate(), SymCryptFdefIntAllocate(), SymCryptFdefModElementAllocate(), SymCryptFdefModulusAllocate(), SymCryptGenerateSmallPrimes(), SymCryptLmskeyAllocate(), SymCryptMlDsakeyAllocate(), SymCryptMlDsakeyGenerate(), SymCryptMlDsaTemporariesAllocateAndInitialize(), SymCryptMlKemDecapsulate(), SymCryptMlKemEncapsulateEx(), SymCryptMlKemkeyAllocate(), SymCryptMlKemkeyGenerate(), SymCryptMlKemkeySetValue(), SymCryptRsakeyAllocate(), SymCryptRsakeyGenerate(), SymCryptRsakeyGetCrtValue(), SymCryptRsakeySetValueInternal(), SymCryptRsaOaepDecrypt(), SymCryptRsaOaepEncrypt(), SymCryptRsaPkcs1Decrypt(), SymCryptRsaPkcs1Encrypt(), SymCryptRsaPkcs1Sign(), SymCryptRsaPkcs1Verify(), SymCryptRsaPssSign(), SymCryptRsaPssVerify(), SymCryptRsaRawDecrypt(), SymCryptRsaRawEncrypt(), SymCryptXmssComputePublicRoot(), SymCryptXmsskeyAllocate(), SymCryptXmssSign(), and SymCryptXmssVerifyInternal().
| void SYMCRYPT_CALL SymCryptCallbackFree | ( | void * | ptr | ) |
Definition at line 246 of file bcrypt_main.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptAesKwDecrypt(), SymCryptAesKwEncrypt(), SymCryptAesKwpDecrypt(), SymCryptAesKwpEncrypt(), SymCryptDhSecretAgreement(), SymCryptDivisorFree(), SymCryptDlgroupFree(), SymCryptDlgroupGenerate(), SymCryptDlgroupGetValue(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptDlkeyFree(), SymCryptDlkeyGenerate(), SymCryptDlkeyGetValue(), SymCryptDlkeySetValue(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDhSecretAgreement(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyFree(), SymCryptEckeyGetValue(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointFree(), SymCryptEcurveAllocate(), SymCryptEcurveFree(), SymCryptFdefCreateTrialDivisionContext(), SymCryptFdefFreeTrialDivisionContext(), SymCryptFdefModElementFree(), SymCryptFdefModulusFree(), SymCryptGenerateSmallPrimes(), SymCryptIntFree(), SymCryptLmskeyFree(), SymCryptMlDsakeyAllocate(), SymCryptMlDsakeyFree(), SymCryptMlDsakeyGenerate(), SymCryptMlDsaTemporariesFree(), SymCryptMlKemDecapsulate(), SymCryptMlKemEncapsulateEx(), SymCryptMlKemkeyAllocate(), SymCryptMlKemkeyFree(), SymCryptMlKemkeyGenerate(), SymCryptMlKemkeySetValue(), SymCryptRsakeyFree(), SymCryptRsakeyGenerate(), SymCryptRsakeyGetCrtValue(), SymCryptRsakeySetValueInternal(), SymCryptRsaOaepDecrypt(), SymCryptRsaOaepEncrypt(), SymCryptRsaPkcs1Decrypt(), SymCryptRsaPkcs1Encrypt(), SymCryptRsaPkcs1Sign(), SymCryptRsaPkcs1Verify(), SymCryptRsaPssSign(), SymCryptRsaPssVerify(), SymCryptRsaRawDecrypt(), SymCryptRsaRawEncrypt(), SymCryptXmssComputePublicRoot(), SymCryptXmsskeyFree(), SymCryptXmssSign(), and SymCryptXmssVerifyInternal().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptCallbackRandom | ( | BYTE * | buf, |
| SIZE_T | size | ||
| ) |
Definition at line 251 of file bcrypt_main.c.
Referenced by SymCryptDlgroupGenerate(), SymCryptDlgroupSetValue(), SymCryptDlkeyGenerate(), SymCryptExternalMuMlDsaSign(), SymCryptFdefModSetRandomGeneric(), SymCryptHashMlDsaSign(), SymCryptIntGenerateRandomPrime(), SymCryptLmskeyGenerate(), SymCryptLmsSign(), SymCryptMlDsakeyGenerate(), SymCryptMlDsaSign(), SymCryptMlKemEncapsulate(), SymCryptMlKemkeyGenerate(), SymCryptRsaOaepApplyEncryptionPadding(), SymCryptRsaPkcs1ApplyEncryptionPadding(), SymCryptRsaPssApplySignaturePadding(), and SymCryptXmsskeyGenerate().
| void SYMCRYPT_CALL SymCryptDhSecretAgreementSelftest | ( | void | ) |
Definition at line 283 of file bcrypt_main.c.
Referenced by SymCryptDlkeyGenerate(), and SymCryptDlkeySetValue().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptDsaPct | ( | const SYMCRYPT_DLKEY * | key | ) |
Definition at line 261 of file bcrypt_main.c.
Referenced by SymCryptDlkeyGenerate().
| void SYMCRYPT_CALL SymCryptDsaSelftest | ( | void | ) |
Definition at line 275 of file bcrypt_main.c.
Referenced by SymCryptDlkeyGenerate(), and SymCryptDlkeySetValue().
| void SYMCRYPT_CALL SymCryptEcDhSecretAgreementSelftest | ( | void | ) |
Definition at line 287 of file bcrypt_main.c.
Referenced by SymCryptEckeySetRandom(), and SymCryptEckeySetValue().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEcDsaPct | ( | const SYMCRYPT_ECKEY * | key | ) |
Definition at line 270 of file bcrypt_main.c.
Referenced by SymCryptEcDsaSign(), and SymCryptEckeyGetValue().
| void SYMCRYPT_CALL SymCryptEcDsaSelftest | ( | void | ) |
Definition at line 279 of file bcrypt_main.c.
Referenced by SymCryptEckeySetRandom(), and SymCryptEckeySetValue().
| void SYMCRYPT_CALL SymCryptRsaSelftest | ( | void | ) |
Definition at line 266 of file bcrypt_main.c.
Referenced by SymCryptRsakeyGenerate(), and SymCryptRsakeySetValueInternal().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaSignVerifyPct | ( | const SYMCRYPT_RSAKEY * | key | ) |
Definition at line 256 of file bcrypt_main.c.
Referenced by SymCryptRsakeyGenerate().
|
static |
Definition at line 2000 of file bcrypt_main.c.
Referenced by import_key().
|
static |
Definition at line 1659 of file bcrypt_main.c.
Referenced by generate_symmetric_key().
|
static |
Definition at line 3960 of file bcrypt_main.c.
Referenced by BCryptVerifySignature().
|
static |
Definition at line 3945 of file bcrypt_main.c.
Referenced by BCryptVerifySignature().
|
static |
Definition at line 3904 of file bcrypt_main.c.
Referenced by BCryptVerifySignature().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | bcrypt | ) |
|
static |
Definition at line 2339 of file bcrypt_main.c.
Referenced by export_symmetric_key().
Definition at line 3004 of file bcrypt_main.c.
Definition at line 3055 of file bcrypt_main.c.
| const struct { ... } builtin_algorithms[] |
Definition at line 360 of file bcrypt_main.c.
| ULONG class |
Definition at line 355 of file bcrypt_main.c.
| enum ecc_curve_id curve_id |
Definition at line 359 of file bcrypt_main.c.
Referenced by alloc_ecc_curve(), alloc_ecc_key(), curve_size(), curve_strength(), and get_ecc_blob_curve().
| UINT32 g_SymCryptFipsSelftestsPerformed |
Definition at line 291 of file bcrypt_main.c.
| ULONG hash_block_length |
Definition at line 358 of file bcrypt_main.c.
Referenced by get_generic_alg_property().
| ULONG hash_length |
Definition at line 357 of file bcrypt_main.c.
Referenced by get_generic_alg_property().
Definition at line 354 of file bcrypt_main.c.
| ULONG object_length |
Definition at line 356 of file bcrypt_main.c.
Referenced by get_generic_alg_property().
Definition at line 461 of file bcrypt_main.c.
Referenced by get_object().
| const SYMCRYPT_ECURVE_PARAMS* SymCryptEcurveParamsBrainpoolP256r1 = (const SYMCRYPT_ECURVE_PARAMS *)brainpoolP256r1 |
Definition at line 3053 of file bcrypt_main.c.
Referenced by alloc_ecc_curve().
| const SYMCRYPT_ECURVE_PARAMS* SymCryptEcurveParamsBrainpoolP384r1 = (const SYMCRYPT_ECURVE_PARAMS *)brainpoolP384r1 |
Definition at line 3116 of file bcrypt_main.c.
Referenced by alloc_ecc_curve().