|
ReactOS 0.4.17-dev-1247-ge46f4bb
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
| #define | SYMCRYPT_FLAG_ECKEY_PUBLIC_KEY_ORDER_VALIDATION (0x1) |
| #define | SYMCRYPT_ECPOINT_SET_RANDOM_MAX_TRIES (1000) |
| #define SYMCRYPT_FLAG_ECKEY_PUBLIC_KEY_ORDER_VALIDATION (0x1) |
| PSYMCRYPT_ECKEY SYMCRYPT_CALL SymCryptEckeyAllocate | ( | _In_ PCSYMCRYPT_ECURVE | pCurve | ) |
Definition at line 12 of file eckey.c.
Referenced by alloc_ecc_key().
| VOID SymCryptEckeyCopy | ( | _In_ PCSYMCRYPT_ECKEY | pkSrc, |
| _Out_ PSYMCRYPT_ECKEY | pkDst | ||
| ) |
Definition at line 122 of file eckey.c.
| PSYMCRYPT_ECKEY SYMCRYPT_CALL SymCryptEckeyCreate | ( | _Out_writes_bytes_(cbBuffer) PBYTE | pbBuffer, |
| SIZE_T | cbBuffer, | ||
| PCSYMCRYPT_ECURVE | pCurve | ||
| ) |
Definition at line 58 of file eckey.c.
Referenced by SymCryptEckeyAllocate().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEckeyExtendKeyUsage | ( | _Inout_ PSYMCRYPT_ECKEY | pEckey, |
| UINT32 | flags | ||
| ) |
Definition at line 976 of file eckey.c.
| VOID SYMCRYPT_CALL SymCryptEckeyFree | ( | _Out_ PSYMCRYPT_ECKEY | pkObj | ) |
Definition at line 35 of file eckey.c.
Referenced by destroy_key().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEckeyGetValue | ( | _In_ PCSYMCRYPT_ECKEY | pEckey, |
| _Out_writes_bytes_(cbPrivateKey) PBYTE | pbPrivateKey, | ||
| SIZE_T | cbPrivateKey, | ||
| _Out_writes_bytes_(cbPublicKey) PBYTE | pbPublicKey, | ||
| SIZE_T | cbPublicKey, | ||
| SYMCRYPT_NUMBER_FORMAT | numFormat, | ||
| SYMCRYPT_ECPOINT_FORMAT | ecPointFormat, | ||
| UINT32 | flags | ||
| ) |
Definition at line 581 of file eckey.c.
Referenced by export_ecc_key().
| BOOLEAN SYMCRYPT_CALL SymCryptEckeyHasPrivateKey | ( | _In_ PCSYMCRYPT_ECKEY | pkEckey | ) |
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEckeyPerformPublicKeyValidation | ( | _In_ PCSYMCRYPT_ECKEY | pEckey, |
| _In_ UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 180 of file eckey.c.
Referenced by SymCryptEckeySetRandom(), and SymCryptEckeySetValue().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEckeySetRandom | ( | _In_ UINT32 | flags, |
| _Inout_ PSYMCRYPT_ECKEY | pEckey | ||
| ) |
Definition at line 733 of file eckey.c.
Referenced by finalize_key_pair().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEckeySetValue | ( | _In_reads_bytes_(cbPrivateKey) PCBYTE | pbPrivateKey, |
| SIZE_T | cbPrivateKey, | ||
| _In_reads_bytes_(cbPublicKey) PCBYTE | pbPublicKey, | ||
| SIZE_T | cbPublicKey, | ||
| SYMCRYPT_NUMBER_FORMAT | numFormat, | ||
| SYMCRYPT_ECPOINT_FORMAT | ecPointFormat, | ||
| UINT32 | flags, | ||
| _Inout_ PSYMCRYPT_ECKEY | pEckey | ||
| ) |
Definition at line 261 of file eckey.c.
Referenced by import_ecc_key().
| UINT32 SYMCRYPT_CALL SymCryptEckeySizeofPrivateKey | ( | _In_ PCSYMCRYPT_ECKEY | pkEckey | ) |
Definition at line 164 of file eckey.c.
Referenced by export_ecc_key(), and import_ecc_key().
| UINT32 SYMCRYPT_CALL SymCryptEckeySizeofPublicKey | ( | _In_ PCSYMCRYPT_ECKEY | pkEckey, |
| _In_ SYMCRYPT_ECPOINT_FORMAT | ecPointFormat | ||
| ) |
Definition at line 147 of file eckey.c.
Referenced by export_ecc_key(), import_ecc_key(), SymCryptEckeyGetValue(), and SymCryptEckeySetValue().
| VOID SYMCRYPT_CALL SymCryptEckeyWipe | ( | _Out_ PSYMCRYPT_ECKEY | pkDst | ) |
Definition at line 115 of file eckey.c.
Referenced by SymCryptEckeyFree().
| VOID SYMCRYPT_CALL SymCryptEckeyWipePrivateState | ( | _Inout_ PSYMCRYPT_ECKEY | pkEckey | ) |
Definition at line 106 of file eckey.c.
| UINT32 SYMCRYPT_CALL SymCryptSizeofEckeyFromCurve | ( | _In_ PCSYMCRYPT_ECURVE | pCurve | ) |
Definition at line 44 of file eckey.c.
Referenced by SymCryptEckeyAllocate(), SymCryptEckeyCreate(), and SymCryptEckeyWipe().