|
ReactOS 0.4.17-dev-1005-g171e1de
|
#include "precomp.h"
Go to the source code of this file.
Classes | |
| struct | _SYMCRYPT_LMS_PARAMETER_PREDEFINED |
| struct | _SYMCRYPT_LMS_OTS_PARAMETER_PREDEFINED |
Variables | |
| static const PCSYMCRYPT_HASH * | LmsHashObjects [] |
| static const SYMCRYPT_LMS_PARAMETER_PREDEFINED | LmsParametersPredefined [] |
| static const SYMCRYPT_LMS_OTS_PARAMETER_PREDEFINED | LmsOtsParametersPredefined [] |
| static const BYTE | SYMCRYPT_LMS_D_PBLC [] = { 0x80, 0x80 } |
| static const BYTE | SYMCRYPT_LMS_D_MESG [] = { 0x81, 0x81 } |
| static const BYTE | SYMCRYPT_LMS_D_LEAF [] = { 0x82, 0x82 } |
| static const BYTE | SYMCRYPT_LMS_D_INTR [] = { 0x83, 0x83 } |
|
static |
Definition at line 318 of file lms.c.
Referenced by SymCryptLmskeyGenerate(), SymCryptLmskeyVerifyRoot(), and SymCryptLmsSign().
|
static |
Definition at line 914 of file lms.c.
Referenced by SymCryptLmsVerifyInternal().
|
static |
Definition at line 997 of file lms.c.
Referenced by SymCryptLmsVerifyInternal().
|
static |
Definition at line 103 of file lms.c.
Referenced by LmsComputeOtsPubKeyCandidate(), and LmsOtskeySign().
|
static |
Definition at line 156 of file lms.c.
Referenced by SymCryptLmskeyGenerate(), and SymCryptLmskeySetValue().
|
static |
Definition at line 170 of file lms.c.
Referenced by LmsComputeOtsPubKeyCandidate(), and LmsOtskeySign().
|
static |
Definition at line 128 of file lms.c.
Referenced by LmsOtskeyComputePublic(), and LmsOtskeySign().
|
static |
Definition at line 274 of file lms.c.
|
static |
Definition at line 207 of file lms.c.
Referenced by SymCryptLmsSign().
|
static |
Definition at line 190 of file lms.c.
Referenced by LmsComputeOtsPubKeyCandidate(), LmsOtskeySign(), SymCryptLmsSign(), SymCryptLmsSizeofSignatureFromParams(), and SymCryptLmsVerifyInternal().
| PSYMCRYPT_LMS_KEY SYMCRYPT_CALL SymCryptLmskeyAllocate | ( | _In_ PCSYMCRYPT_LMS_PARAMS | pParams, |
| UINT32 | flags | ||
| ) |
Definition at line 543 of file lms.c.
| VOID SYMCRYPT_CALL SymCryptLmskeyFree | ( | _Inout_ PSYMCRYPT_LMS_KEY | pKey | ) |
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmskeyGenerate | ( | _Inout_ PSYMCRYPT_LMS_KEY | pKey, |
| UINT32 | flags | ||
| ) |
Definition at line 619 of file lms.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmskeyGetValue | ( | _In_ PCSYMCRYPT_LMS_KEY | pKey, |
| SYMCRYPT_LMSKEY_TYPE | keyType, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbBlob) PBYTE | pbBlob, | ||
| SIZE_T | cbBlob | ||
| ) |
Definition at line 667 of file lms.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmskeySetValue | ( | _In_reads_bytes_(cbBlob) PCBYTE | pbBlob, |
| SIZE_T | cbBlob, | ||
| SYMCRYPT_LMSKEY_TYPE | keyType, | ||
| UINT32 | flags, | ||
| _Inout_ PSYMCRYPT_LMS_KEY | pKey | ||
| ) |
Definition at line 729 of file lms.c.
|
static |
Definition at line 585 of file lms.c.
Referenced by SymCryptLmskeySetValue().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmsParamsFromAlgId | ( | SYMCRYPT_LMS_ALGID | lmsAlgID, |
| SYMCRYPT_LMS_OTS_ALGID | lmsOtsAlgID, | ||
| _Out_ PSYMCRYPT_LMS_PARAMS | pParams | ||
| ) |
Definition at line 365 of file lms.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmsSetParams | ( | _Out_ PSYMCRYPT_LMS_PARAMS | pParams, |
| UINT32 | lmsAlgID, | ||
| UINT32 | lmsOtsAlgID, | ||
| _In_ PCSYMCRYPT_HASH | pLmsHashFunction, | ||
| UINT32 | cbHashOutput, | ||
| UINT32 | nTreeHeight, | ||
| UINT32 | nWinternitzChainWidth | ||
| ) |
Definition at line 460 of file lms.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmsSign | ( | _Inout_ PSYMCRYPT_LMS_KEY | pKey, |
| _In_reads_bytes_(cbMessage) PCBYTE | pbMessage, | ||
| SIZE_T | cbMessage, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbSignature) PBYTE | pbSignature, | ||
| SIZE_T | cbSignature | ||
| ) |
Definition at line 821 of file lms.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmsSizeofKeyBlobFromParams | ( | _In_ PCSYMCRYPT_LMS_PARAMS | pParams, |
| SYMCRYPT_LMSKEY_TYPE | keyType, | ||
| _Out_ SIZE_T * | pcbKey | ||
| ) |
Definition at line 516 of file lms.c.
Referenced by SymCryptLmskeyGetValue(), and SymCryptLmskeySetValue().
| SIZE_T SYMCRYPT_CALL SymCryptLmsSizeofSignatureFromParams | ( | _In_ PCSYMCRYPT_LMS_PARAMS | pParams | ) |
Definition at line 446 of file lms.c.
Referenced by SymCryptLmsSign(), and SymCryptLmsVerifyInternal().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmsVerify | ( | _In_ PCSYMCRYPT_LMS_KEY | pKey, |
| _In_reads_bytes_(cbMessage) PCBYTE | pbMessage, | ||
| SIZE_T | cbMessage, | ||
| UINT32 | flags, | ||
| _In_reads_bytes_(cbSignature) PCBYTE | pbSignature, | ||
| SIZE_T | cbSignature | ||
| ) |
Definition at line 1139 of file lms.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptLmsVerifyInternal | ( | _In_ PCSYMCRYPT_LMS_KEY | pKey, |
| _In_reads_bytes_(cbMessage) PCBYTE | pbMessage, | ||
| SIZE_T | cbMessage, | ||
| UINT32 | flags, | ||
| _In_reads_bytes_(cbSignature) PCBYTE | pbSignature, | ||
| SIZE_T | cbSignature | ||
| ) |
Definition at line 1048 of file lms.c.
Referenced by SymCryptLmsVerify().
|
static |
Definition at line 12 of file lms.c.
Referenced by SymCryptLmsParamsFromAlgId().
|
static |
Definition at line 76 of file lms.c.
Referenced by SymCryptLmsParamsFromAlgId().
|
static |
Definition at line 35 of file lms.c.
Referenced by SymCryptLmsParamsFromAlgId().
Definition at line 99 of file lms.c.
Referenced by LmsComputeRootCandidate().
Definition at line 98 of file lms.c.
Referenced by LmsComputeRootCandidate().
Definition at line 97 of file lms.c.
Referenced by LmsHashMessage().
Definition at line 96 of file lms.c.
Referenced by LmsComputeOtsPubKeyCandidate(), and LmsOtskeyComputePublic().