|
ReactOS 0.4.17-dev-1005-g171e1de
|

Go to the source code of this file.
Classes | |
| struct | _SYMCRYPT_SCSTABLE |
Enumerations | |
| enum | _SYMCRYPT_802_11_SAE_GROUP { SYMCRYPT_SAE_GROUP_19 = 19 , SYMCRYPT_SAE_GROUP_20 } |
| #define SYMCRYPT_ECURVE_MULTI_SCALAR_MUL_MAX_NPOINTS (2) |
Definition at line 2678 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_DATA_PUBLIC (0x01) |
Definition at line 100 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_ECC_LL_COFACTOR_MUL (0x20) |
Definition at line 2422 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_ECPOINT_EQUAL (0x01) |
Definition at line 2463 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_ECPOINT_NEG_EQUAL (0x02) |
Definition at line 2464 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_GCD_INPUTS_NOT_BOTH_EVEN (0x02) |
Definition at line 1204 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_GCD_PUBLIC (0x04) |
Definition at line 1205 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_MODRANDOM_ALLOW_MINUSONE (0x04) |
Definition at line 1693 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_MODRANDOM_ALLOW_ONE (0x02) |
Definition at line 1692 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_MODRANDOM_ALLOW_ZERO (0x01) |
Definition at line 1691 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_MODULUS_ADDITIVE_ONLY (0x04) |
Definition at line 1502 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_MODULUS_PARITY_PUBLIC (0x02) |
Definition at line 1501 of file symcrypt_low_level.h.
| #define SYMCRYPT_FLAG_MODULUS_PRIME (0x08) |
Definition at line 1503 of file symcrypt_low_level.h.
| #define SYMCRYPT_MODMULTIEXP_MAX_NBASES (8) |
Definition at line 1879 of file symcrypt_low_level.h.
| #define SYMCRYPT_MODMULTIEXP_MAX_NBITSEXP (SYMCRYPT_INT_MAX_BITS) |
Definition at line 1880 of file symcrypt_low_level.h.
| #define SYMCRYPT_RNG_AES_INTERNAL_SEED_SIZE (32 + 16) |
Definition at line 2721 of file symcrypt_low_level.h.
| #define SYMCRYPT_SAE_MAX_EC_POINT_SIZE_BYTES ( 2 * SYMCRYPT_SAE_MAX_MOD_SIZE_BYTES ) |
Definition at line 2881 of file symcrypt_low_level.h.
| #define SYMCRYPT_SAE_MAX_HMAC_OUTPUT_SIZE_BYTES SYMCRYPT_BYTES_FROM_BITS( 384 ) |
Definition at line 2882 of file symcrypt_low_level.h.
| #define SYMCRYPT_SAE_MAX_MOD_SIZE_BITS 384 |
Definition at line 2879 of file symcrypt_low_level.h.
| #define SYMCRYPT_SAE_MAX_MOD_SIZE_BYTES SYMCRYPT_BYTES_FROM_BITS( SYMCRYPT_SAE_MAX_MOD_SIZE_BITS ) |
Definition at line 2880 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_COMMON_ECURVE_OPERATIONS | ( | _pCurve | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_COMMON_ECURVE_OPERATIONS( _pCurve ) |
Definition at line 2428 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_COMMON_MOD_OPERATIONS | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_COMMON_MOD_OPERATIONS( _nDigits ) |
Definition at line 1505 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_CRT_GENERATION | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_CRT_GENERATION( _nDigits ) |
Definition at line 1226 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_CRT_SOLUTION | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_CRT_SOLUTION( _nDigits ) |
Definition at line 1266 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_EXTENDED_GCD | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_EXTENDED_GCD( _nDigits ) |
Definition at line 1154 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_GETSET_VALUE_ECURVE_OPERATIONS | ( | _pCurve | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_GETSET_VALUE_ECURVE_OPERATIONS( _pCurve ) |
Definition at line 2335 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_INT_DIVMOD | ( | _nSrcDigits, | |
| _nDivisorDigits | |||
| ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_INT_DIVMOD( _nSrcDigits, _nDivisorDigits ) |
Definition at line 1131 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_INT_IS_PRIME | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_INT_IS_PRIME( _nDigits ) |
Definition at line 1343 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_INT_MUL | ( | _nResultDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_INT_MUL( _nResultDigits ) |
Definition at line 1020 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_INT_PRIME_GEN | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_INT_PRIME_GEN( _nDigits ) |
Definition at line 1383 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_INT_TO_DIVISOR | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_INT_TO_DIVISOR( _nDigits ) |
Definition at line 1100 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_INT_TO_MODULUS | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_INT_TO_MODULUS( _nDigits ) |
Definition at line 1461 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_MODEXP | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_MODEXP( _nDigits ) |
Definition at line 1835 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_MODINV | ( | _nDigits | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_MODINV( _nDigits ) |
Definition at line 1804 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_MODMULTIEXP | ( | _nDigits, | |
| _nBases, | |||
| _nBitsExp | |||
| ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_MODMULTIEXP( _nDigits, _nBases, _nBitsExp ) |
Definition at line 1882 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_MULTI_SCALAR_ECURVE_OPERATIONS | ( | _pCurve, | |
| _nPoints | |||
| ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_SCALAR_ECURVE_OPERATIONS( (_pCurve), (_nPoints) ) |
Definition at line 2618 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_RSA_OAEP | ( | _hashAlgorithm, | |
| _nBytesOAEP | |||
| ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_RSA_OAEP( _hashAlgorithm, _nBytesOAEP ) |
Definition at line 2122 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_RSA_PKCS1 | ( | _nBytesPKCS1 | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_RSA_PKCS1( _nBytesPKCS1 ) |
Definition at line 2185 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_RSA_PSS | ( | _hashAlgorithm, | |
| _nBytesMessage, | |||
| _nBytesPSS | |||
| ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_RSA_PSS( _hashAlgorithm, _nBytesMessage, _nBytesPSS ) |
Definition at line 2234 of file symcrypt_low_level.h.
| #define SYMCRYPT_SCRATCH_BYTES_FOR_SCALAR_ECURVE_OPERATIONS | ( | _pCurve | ) | SYMCRYPT_INTERNAL_SCRATCH_BYTES_FOR_SCALAR_ECURVE_OPERATIONS( (_pCurve), 1 ) |
Definition at line 2617 of file symcrypt_low_level.h.
| #define SYMCRYPT_SIZEOF_DIVISOR_FROM_BITS | ( | _bitsize | ) | SYMCRYPT_INTERNAL_SIZEOF_DIVISOR_FROM_BITS( _bitsize ) |
Definition at line 370 of file symcrypt_low_level.h.
| #define SYMCRYPT_SIZEOF_INT_FROM_BITS | ( | _bitsize | ) | SYMCRYPT_INTERNAL_SIZEOF_INT_FROM_BITS( _bitsize ) |
Definition at line 306 of file symcrypt_low_level.h.
| #define SYMCRYPT_SIZEOF_MODELEMENT_FROM_BITS | ( | _bitsize | ) | SYMCRYPT_INTERNAL_SIZEOF_MODELEMENT_FROM_BITS( _bitsize ) |
Definition at line 451 of file symcrypt_low_level.h.
| #define SYMCRYPT_SIZEOF_MODULUS_FROM_BITS | ( | _bitsize | ) | SYMCRYPT_INTERNAL_SIZEOF_MODULUS_FROM_BITS( _bitsize ) |
Definition at line 408 of file symcrypt_low_level.h.
Definition at line 2886 of file symcrypt_low_level.h.
Definition at line 1301 of file symcrypt_low_level.h.
Definition at line 2885 of file symcrypt_low_level.h.
| typedef struct _SYMCRYPT_SCSTABLE * PSYMCRYPT_SCSTABLE |
Definition at line 2885 of file symcrypt_low_level.h.
| Enumerator | |
|---|---|
| SYMCRYPT_SAE_GROUP_19 | |
| SYMCRYPT_SAE_GROUP_20 | |
Definition at line 2872 of file symcrypt_low_level.h.
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomCommitCreate | ( | _In_ PCSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState, |
| _Out_writes_(32) PBYTE | pbCommitScalar, | ||
| _Out_writes_(64) PBYTE | pbCommitElement | ||
| ) |
Definition at line 1384 of file IEEE802_11SaeCustom.c.
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomCommitCreateGeneric | ( | _In_ PCSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState, |
| _Out_writes_(cbCommitScalar) PBYTE | pbCommitScalar, | ||
| SIZE_T | cbCommitScalar, | ||
| _Out_writes_(cbCommitElement) PBYTE | pbCommitElement, | ||
| SIZE_T | cbCommitElement | ||
| ) |
Definition at line 1282 of file IEEE802_11SaeCustom.c.
Referenced by SymCrypt802_11SaeCustomCommitCreate().
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomCommitProcess | ( | _In_ PCSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState, |
| _In_reads_(32) PCBYTE | pbPeerCommitScalar, | ||
| _In_reads_(64) PCBYTE | pbPeerCommitElement, | ||
| _Out_writes_(32) PBYTE | pbSharedSecret, | ||
| _Out_writes_(32) PBYTE | pbScalarSum | ||
| ) |
Definition at line 1569 of file IEEE802_11SaeCustom.c.
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomCommitProcessGeneric | ( | _In_ PCSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState, |
| _In_reads_(cbPeerCommitScalar) PCBYTE | pbPeerCommitScalar, | ||
| SIZE_T | cbPeerCommitScalar, | ||
| _In_reads_(cbPeerCommitElement) PCBYTE | pbPeerCommitElement, | ||
| SIZE_T | cbPeerCommitElement, | ||
| _Out_writes_(cbSharedSecret) PBYTE | pbSharedSecret, | ||
| SIZE_T | cbSharedSecret, | ||
| _Out_writes_(cbScalarSum) PBYTE | pbScalarSum, | ||
| SIZE_T | cbScalarSum | ||
| ) |
Definition at line 1397 of file IEEE802_11SaeCustom.c.
Referenced by SymCrypt802_11SaeCustomCommitProcess().
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomCreatePT | ( | _In_reads_(cbSsid) PCBYTE | pbSsid, |
| SIZE_T | cbSsid, | ||
| _In_reads_(cbPassword) PCBYTE | pbPassword, | ||
| SIZE_T | cbPassword, | ||
| _In_reads_opt_(cbPasswordIdentifier) PCBYTE | pbPasswordIdentifier, | ||
| SIZE_T | cbPasswordIdentifier, | ||
| _Out_writes_(64) PBYTE | pbPT | ||
| ) |
Definition at line 981 of file IEEE802_11SaeCustom.c.
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomCreatePTGeneric | ( | SYMCRYPT_802_11_SAE_GROUP | group, |
| _In_reads_(cbSsid) PCBYTE | pbSsid, | ||
| SIZE_T | cbSsid, | ||
| _In_reads_(cbPassword) PCBYTE | pbPassword, | ||
| SIZE_T | cbPassword, | ||
| _In_reads_opt_(cbPasswordIdentifier) PCBYTE | pbPasswordIdentifier, | ||
| SIZE_T | cbPasswordIdentifier, | ||
| _Out_writes_(cbPT) PBYTE | pbPT, | ||
| SIZE_T | cbPT | ||
| ) |
Definition at line 755 of file IEEE802_11SaeCustom.c.
Referenced by SymCrypt802_11SaeCustomCreatePT().
| VOID SymCrypt802_11SaeCustomDestroy | ( | _Inout_ PSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState | ) |
Definition at line 1253 of file IEEE802_11SaeCustom.c.
Referenced by SymCrypt802_11SaeCustomInit(), and SymCrypt802_11SaeCustomInitH2EGeneric().
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomInit | ( | _Out_ PSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState, |
| _In_reads_(6) PCBYTE | pbMacA, | ||
| _In_reads_(6) PCBYTE | pbMacB, | ||
| _In_reads_(cbPassword) PCBYTE | pbPassword, | ||
| SIZE_T | cbPassword, | ||
| _Out_opt_ PBYTE | pbCounter, | ||
| _Inout_updates_opt_(32) PBYTE | pbRand, | ||
| _Inout_updates_opt_(32) PBYTE | pbMask | ||
| ) |
Definition at line 467 of file IEEE802_11SaeCustom.c.
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomInitH2E | ( | _Out_ PSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState, |
| _In_reads_(64) PCBYTE | pbPT, | ||
| _In_reads_(6) PCBYTE | pbMacA, | ||
| _In_reads_(6) PCBYTE | pbMacB, | ||
| _Inout_updates_opt_(32) PBYTE | pbRand, | ||
| _Inout_updates_opt_(32) PBYTE | pbMask | ||
| ) |
Definition at line 1231 of file IEEE802_11SaeCustom.c.
| SYMCRYPT_ERROR SymCrypt802_11SaeCustomInitH2EGeneric | ( | _Out_ PSYMCRYPT_802_11_SAE_CUSTOM_STATE | pState, |
| SYMCRYPT_802_11_SAE_GROUP | group, | ||
| _In_reads_(cbPT) PCBYTE | pbPT, | ||
| SIZE_T | cbPT, | ||
| _In_reads_(6) PCBYTE | pbMacA, | ||
| _In_reads_(6) PCBYTE | pbMacB, | ||
| _Inout_updates_opt_(cbRand) PBYTE | pbRand, | ||
| SIZE_T | cbRand, | ||
| _Inout_updates_opt_(cbMask) PBYTE | pbMask, | ||
| SIZE_T | cbMask | ||
| ) |
Definition at line 1003 of file IEEE802_11SaeCustom.c.
Referenced by SymCrypt802_11SaeCustomInitH2E().
| VOID SymCrypt802_11SaeGetGroupSizes | ( | SYMCRYPT_802_11_SAE_GROUP | group, |
| _Out_opt_ SIZE_T * | pcbScalar, | ||
| _Out_opt_ SIZE_T * | pcbPoint | ||
| ) |
Definition at line 58 of file IEEE802_11SaeCustom.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptCompositeMlKemEncapsulateEx | ( | _In_ PCSYMCRYPT_COMPOSITE_MLKEMKEY | pkCompositeMlKemkey, |
| _In_reads_bytes_opt_(cbMlKemRandom) PCBYTE | pbMlKemRandom, | ||
| SIZE_T | cbMlKemRandom, | ||
| _In_reads_bytes_opt_(cbTradRandom) PCBYTE | pbTradRandom, | ||
| SIZE_T | cbTradRandom, | ||
| _Out_writes_bytes_(cbAgreedSecret) PBYTE | pbAgreedSecret, | ||
| SIZE_T | cbAgreedSecret, | ||
| _Out_writes_bytes_(cbCiphertext) PBYTE | pbCiphertext, | ||
| SIZE_T | cbCiphertext | ||
| ) |
| PCSYMCRYPT_TRIALDIVISION_CONTEXT SYMCRYPT_CALL SymCryptCreateTrialDivisionContext | ( | UINT32 | nDigits | ) |
Definition at line 1007 of file a_dispatch.c.
Referenced by SymCryptDlgroupGenerate(), SymCryptDlgroupSetValue(), and SymCryptIntGenerateRandomPrime().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptCrtGenerateInverses | ( | UINT32 | nCoprimes, |
| _In_reads_(nCoprimes) PCSYMCRYPT_MODULUS * | ppmCoprimes, | ||
| UINT32 | flags, | ||
| _Out_writes_(nCoprimes) PSYMCRYPT_MODELEMENT * | ppeCrtInverses, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 90 of file crt.c.
Referenced by SymCryptRsakeyCalculatePrivateFields().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptCrtSolve | ( | UINT32 | nCoprimes, |
| _In_reads_(nCoprimes) PCSYMCRYPT_MODULUS * | ppmCoprimes, | ||
| _In_reads_(nCoprimes) PCSYMCRYPT_MODELEMENT * | ppeCrtInverses, | ||
| _In_reads_(nCoprimes) PCSYMCRYPT_MODELEMENT * | ppeCrtRemainders, | ||
| UINT32 | flags, | ||
| _Out_ PSYMCRYPT_INT | piSolution, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 123 of file crt.c.
Referenced by rsa_decrypt(), and SymCryptRsaCoreDecCrt().
Definition at line 111 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupCreate(), SymCryptDlgroupGenerate(), SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptDlgroupScratchSpace_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaVerify(), SymCryptEcurveDigitsofScalarMultiplier(), SymCryptEcurveValidateAndComputeSizes(), SymCryptFdefDecideModulusType(), SymCryptIntGenerateRandomPrime(), SymCryptModSqrt(), SymCryptMontgomeryFillScratchSpaces(), SymCryptMontgomeryPointScalarMul(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCalculatePrivateFields(), SymCryptRsakeyCreate(), SymCryptRsakeyGenerate(), SymCryptRsakeySetValueInternal(), SymCryptShortWeierstrassFillScratchSpaces(), SymCryptSizeofRsakeyFromParams(), SymCryptSswu(), and SymCryptTwistedEdwardsFillScratchSpaces().
| PSYMCRYPT_DIVISOR SYMCRYPT_CALL SymCryptDivisorAllocate | ( | UINT32 | nDigits | ) |
Definition at line 497 of file a_dispatch.c.
| VOID SymCryptDivisorCopy | ( | _In_ PCSYMCRYPT_DIVISOR | pdSrc, |
| _Out_ PSYMCRYPT_DIVISOR | pdDst | ||
| ) |
Definition at line 537 of file a_dispatch.c.
| PSYMCRYPT_DIVISOR SYMCRYPT_CALL SymCryptDivisorCreate | ( | _Out_writes_bytes_(cbBuffer) PBYTE | pbBuffer, |
| SIZE_T | cbBuffer, | ||
| UINT32 | nDigits | ||
| ) |
Definition at line 519 of file a_dispatch.c.
Referenced by SymCryptDlgroupGenerate(), SymCryptDlgroupSetValue(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), SymCryptRsakeyGenerate(), and SymCryptRsakeySetValueInternal().
| UINT32 SYMCRYPT_CALL SymCryptDivisorDigitsizeOfObject | ( | _In_ PCSYMCRYPT_DIVISOR | pdSrc | ) |
Definition at line 546 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS().
| VOID SYMCRYPT_CALL SymCryptDivisorFree | ( | _Out_ PSYMCRYPT_DIVISOR | pdObj | ) |
Definition at line 504 of file a_dispatch.c.
| PSYMCRYPT_DIVISOR SYMCRYPT_CALL SymCryptDivisorFromModulus | ( | _In_ PSYMCRYPT_MODULUS | pmSrc | ) |
Definition at line 703 of file a_dispatch.c.
Referenced by rsa_decrypt(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEckeyGetValue(), SymCryptEckeySetValue(), SymCryptRsaCoreDecCrt(), and SymCryptRsakeyCalculatePrimesFromPrivateExponent().
| VOID SYMCRYPT_CALL SymCryptDivisorWipe | ( | _Out_ PSYMCRYPT_DIVISOR | pdObj | ) |
Definition at line 529 of file a_dispatch.c.
Referenced by SymCryptDivisorFree().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEcDsaSignEx | ( | _In_ PCSYMCRYPT_ECKEY | pKey, |
| _In_reads_bytes_(cbHashValue) PCBYTE | pbHashValue, | ||
| SIZE_T | cbHashValue, | ||
| _In_opt_ PCSYMCRYPT_INT | piK, | ||
| SYMCRYPT_NUMBER_FORMAT | format, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbSignature) PBYTE | pbSignature, | ||
| SIZE_T | cbSignature | ||
| ) |
Definition at line 146 of file ec_dsa.c.
Referenced by SymCryptEcDsaSign().
| VOID SYMCRYPT_CALL SymCryptEcpointAdd | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc1, | ||
| _In_ PCSYMCRYPT_ECPOINT | poSrc2, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 202 of file ec_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), and SymCryptEcpointScalarMulFixedWindow().
| VOID SYMCRYPT_CALL SymCryptEcpointAddDiffNonZero | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc1, | ||
| _In_ PCSYMCRYPT_ECPOINT | poSrc2, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 218 of file ec_dispatch.c.
Referenced by SymCryptEcpointScalarMulFixedWindow(), and SymCryptPrecomputation().
| PSYMCRYPT_ECPOINT SYMCRYPT_CALL SymCryptEcpointAllocate | ( | _In_ PCSYMCRYPT_ECURVE | pCurve | ) |
Definition at line 49 of file ecpoint.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), and SymCrypt802_11SaeCustomInitH2EGeneric().
| VOID SymCryptEcpointCopy | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst | ||
| ) |
Definition at line 173 of file ecpoint.c.
Referenced by SymCryptEckeyCopy(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcpointTransform(), SymCryptMontgomerySetDistinguished(), SymCryptShortWeierstrassAdd(), SymCryptShortWeierstrassAddSideChannelUnsafe(), SymCryptShortWeierstrassSetDistinguished(), and SymCryptTwistedEdwardsSetDistinguished().
| PSYMCRYPT_ECPOINT SYMCRYPT_CALL SymCryptEcpointCreate | ( | _Out_writes_bytes_(cbBuffer) PBYTE | pbBuffer, |
| SIZE_T | cbBuffer, | ||
| _In_ PCSYMCRYPT_ECURVE | pCurve | ||
| ) |
Definition at line 142 of file ecpoint.c.
Referenced by SymCryptEcDhSecretAgreement(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyCreate(), SymCryptEckeyPerformPublicKeyValidation(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointAllocate(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcurveInitialize(), SymCryptOfflinePrecomputation(), and SymCryptShortWeierstrassAdd().
| VOID SYMCRYPT_CALL SymCryptEcpointDouble | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 233 of file ec_dispatch.c.
Referenced by SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptPrecomputation(), and SymCryptShortWeierstrassAdd().
| VOID SYMCRYPT_CALL SymCryptEcpointFree | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _Out_ PSYMCRYPT_ECPOINT | poDst | ||
| ) |
Definition at line 75 of file ecpoint.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomDestroy(), SymCrypt802_11SaeCustomInit(), and SymCrypt802_11SaeCustomInitH2EGeneric().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEcpointGetValue | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc, | ||
| SYMCRYPT_NUMBER_FORMAT | nformat, | ||
| SYMCRYPT_ECPOINT_FORMAT | eformat, | ||
| _Out_writes_bytes_(cbDst) PBYTE | pbDst, | ||
| SIZE_T | cbDst, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 705 of file ecpoint.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCryptEcDhSecretAgreement(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), and SymCryptEckeyGetValue().
| UINT32 SYMCRYPT_CALL SymCryptEcpointIsEqual | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc1, | ||
| _In_ PCSYMCRYPT_ECPOINT | poSrc2, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 161 of file ec_dispatch.c.
Referenced by SymCryptEckeySetRandom(), and SymCryptEckeySetValue().
| UINT32 SYMCRYPT_CALL SymCryptEcpointIsZero | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 176 of file ec_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCryptEcDhSecretAgreement(), SymCryptEcDsaVerify(), SymCryptEckeyPerformPublicKeyValidation(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), and SymCryptEcpointScalarMulFixedWindow().
| VOID SymCryptEcpointMaskedCopy | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| UINT32 | mask | ||
| ) |
Definition at line 190 of file ecpoint.c.
Referenced by SymCrypt802_11SaeCustomInit(), SymCryptEcpointScalarMulFixedWindow(), and SymCryptShortWeierstrassAdd().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEcpointMultiScalarMul | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_INT * | piSrcScalarArray, | ||
| _In_ PCSYMCRYPT_ECPOINT * | poSrcEcpointArray, | ||
| UINT32 | nPoints, | ||
| UINT32 | flags, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 279 of file ec_dispatch.c.
Referenced by SymCryptEcDsaVerify().
| VOID SYMCRYPT_CALL SymCryptEcpointNegate | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _Inout_ PSYMCRYPT_ECPOINT | poSrc, | ||
| UINT32 | mask, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 248 of file ec_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), and SymCryptEcpointScalarMulFixedWindow().
| UINT32 SYMCRYPT_CALL SymCryptEcpointOnCurve | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_ECPOINT | poSrc, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 189 of file ec_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitProcessGeneric(), and SymCryptEckeyPerformPublicKeyValidation().
| PSYMCRYPT_ECPOINT SYMCRYPT_CALL SymCryptEcpointRetrieveHandle | ( | _In_ PBYTE | pbBuffer | ) |
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEcpointScalarMul | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_ PCSYMCRYPT_INT | piScalar, | ||
| _In_opt_ PCSYMCRYPT_ECPOINT | poSrc, | ||
| UINT32 | flags, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 262 of file ec_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptEcDhSecretAgreement(), SymCryptEcDsaSignEx(), SymCryptEckeyPerformPublicKeyValidation(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), and SymCryptEcpointGenericSetRandom().
| VOID SYMCRYPT_CALL SymCryptEcpointSetDistinguishedPoint | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 134 of file ec_dispatch.c.
| VOID SYMCRYPT_CALL SymCryptEcpointSetRandom | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _Out_ PSYMCRYPT_INT | piScalar, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptEcpointSetValue | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _In_reads_bytes_(cbSrc) PCBYTE | pbSrc, | ||
| SIZE_T | cbSrc, | ||
| SYMCRYPT_NUMBER_FORMAT | nformat, | ||
| SYMCRYPT_ECPOINT_FORMAT | eformat, | ||
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 605 of file ecpoint.c.
Referenced by SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptEckeySetValue(), SymCryptEcurveInitialize(), and SymCryptSswu().
| VOID SYMCRYPT_CALL SymCryptEcpointSetZero | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _Out_ PSYMCRYPT_ECPOINT | poDst, | ||
| _Out_writes_bytes_opt_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 121 of file ec_dispatch.c.
Referenced by SymCryptEcpointMultiScalarMulWnafWithInterleaving(), and SymCryptEcpointScalarMulFixedWindow().
| VOID SYMCRYPT_CALL SymCryptEcpointWipe | ( | _In_ PCSYMCRYPT_ECURVE | pCurve, |
| _Out_ PSYMCRYPT_ECPOINT | poDst | ||
| ) |
Definition at line 164 of file ecpoint.c.
Referenced by SymCryptEcpointFree().
| BOOLEAN SYMCRYPT_CALL SymCryptEcurveBufferSizesFromParams | ( | _In_ PCSYMCRYPT_ECURVE_PARAMS | pParams, |
| _Out_ SIZE_T * | pcbCurve, | ||
| _Out_ SIZE_T * | pcbScratch | ||
| ) |
Definition at line 160 of file ecurve.c.
| PSYMCRYPT_ECURVE SYMCRYPT_CALL SymCryptEcurveCreate | ( | _In_ PSYMCRYPT_ECURVE_PARAMS | pParams, |
| _In_ UINT32 | flags, | ||
| _Out_writes_bytes_(cbCurve) PBYTE | pbCurve, | ||
| SIZE_T | cbCurve, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 571 of file ecurve.c.
| UINT32 SYMCRYPT_CALL SymCryptEcurveDigitsofFieldElement | ( | _In_ PCSYMCRYPT_ECURVE | pCurve | ) |
Definition at line 682 of file ecurve.c.
Referenced by SymCrypt802_11SaeCustomCreatePTGeneric(), and SymCryptEcpointSetValue().
| UINT32 SYMCRYPT_CALL SymCryptEcurveDigitsofScalarMultiplier | ( | _In_ PCSYMCRYPT_ECURVE | pCurve | ) |
Definition at line 710 of file ecurve.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyCreate(), SymCryptEckeyGetValue(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptMontgomeryFillScratchSpaces(), SymCryptShortWeierstrassFillScratchSpaces(), SymCryptSizeofEckeyFromCurve(), and SymCryptTwistedEdwardsFillScratchSpaces().
| PCSYMCRYPT_MODULUS SYMCRYPT_CALL SymCryptEcurveGroupOrder | ( | _In_ PCSYMCRYPT_ECURVE | pCurve | ) |
| VOID SYMCRYPT_CALL SymCryptFreeTrialDivisionContext | ( | PCSYMCRYPT_TRIALDIVISION_CONTEXT | pContext | ) |
Definition at line 1025 of file a_dispatch.c.
Referenced by SymCryptDlgroupGenerate(), SymCryptDlgroupSetValue(), and SymCryptIntGenerateRandomPrime().
| UINT32 SYMCRYPT_CALL SymCryptIntAddMixedSize | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 304 of file a_dispatch.c.
Referenced by SymCryptCrtSolve(), and SymCryptIntExtendedGcd().
| UINT32 SYMCRYPT_CALL SymCryptIntAddSameSize | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 294 of file a_dispatch.c.
| UINT32 SYMCRYPT_CALL SymCryptIntAddUint32 | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| UINT32 | u32Src2, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 284 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptFixedWindowRecoding(), SymCryptModSqrt(), and SymCryptWidthNafRecoding().
| PSYMCRYPT_INT SYMCRYPT_CALL SymCryptIntAllocate | ( | UINT32 | nDigits | ) |
Definition at line 119 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptModSqrt(), and SymCryptSswu().
| UINT32 SYMCRYPT_CALL SymCryptIntBitsizeOfObject | ( | _In_ PCSYMCRYPT_INT | piSrc | ) |
Definition at line 200 of file a_dispatch.c.
Referenced by SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), SymCryptModExpWindowed(), and SymCryptPositiveWidthNafRecoding().
| UINT32 SYMCRYPT_CALL SymCryptIntBitsizeOfValue | ( | _In_ PCSYMCRYPT_INT | piSrc | ) |
Definition at line 223 of file a_dispatch.c.
Referenced by rsa_encrypt(), SymCryptDlgroupSetValue(), SymCryptDlkeySetValue(), SymCryptDsaTruncateHash(), SymCryptEcurveInitialize(), SymCryptFdefDecideModulusType(), SymCryptFdefIntToDivisor(), SymCryptIntGenerateRandomPrime(), SymCryptIntMillerRabinPrimalityTest(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreEnc(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyGenerate(), and SymCryptRsakeySetValueInternal().
| VOID SYMCRYPT_CALL SymCryptIntConditionalCopy | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Inout_ PSYMCRYPT_INT | piDst, | ||
| UINT32 | cond | ||
| ) |
Definition at line 180 of file a_dispatch.c.
Referenced by SymCryptIntExtendedGcd().
| VOID SYMCRYPT_CALL SymCryptIntConditionalSwap | ( | _Inout_ PSYMCRYPT_INT | piSrc1, |
| _Inout_ PSYMCRYPT_INT | piSrc2, | ||
| UINT32 | cond | ||
| ) |
Definition at line 190 of file a_dispatch.c.
Referenced by SymCryptIntExtendedGcd().
| VOID SYMCRYPT_CALL SymCryptIntCopy | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 161 of file a_dispatch.c.
Referenced by SymCryptDlkeyCopy(), SymCryptEcDsaSignEx(), SymCryptEckeyCopy(), SymCryptEckeyGetValue(), SymCryptEckeySetValue(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptFdefModInvGeneric(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModSqrt(), and SymCryptRsakeyGenerate().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptIntCopyMixedSize | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 214 of file a_dispatch.c.
Referenced by SymCryptCrtSolve(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptDlgroupSetValue(), SymCryptDsaTruncateHash(), SymCryptDsaVerify(), SymCryptIntExtendedGcd(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCalculatePrivateFields(), and SymCryptRsakeyGenerate().
| PSYMCRYPT_INT SYMCRYPT_CALL SymCryptIntCreate | ( | _Out_writes_bytes_(cbBuffer) PBYTE | pbBuffer, |
| SIZE_T | cbBuffer, | ||
| UINT32 | nDigits | ||
| ) |
Definition at line 141 of file a_dispatch.c.
Referenced by rsa_decrypt(), rsa_encrypt(), SymCryptCrtGenerateForTwoCoprimes(), SymCryptCrtSolve(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlkeyGenerate(), SymCryptDlkeySetValue(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyCreate(), SymCryptEckeyGetValue(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcpointSetValue(), SymCryptEcurveInitialize(), SymCryptFdefDivisorCreate(), SymCryptFdefIntAllocate(), SymCryptFdefModInvGeneric(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), SymCryptIntMillerRabinPrimalityTest(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreEnc(), SymCryptRsaCoreVerifyInput(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCalculatePrivateFields(), SymCryptRsakeyCreateAllObjects(), SymCryptRsakeyGenerate(), SymCryptRsakeySetValueInternal(), and verify_input().
| UINT32 SYMCRYPT_CALL SymCryptIntDigitsizeOfObject | ( | _In_ PCSYMCRYPT_INT | piSrc | ) |
Definition at line 207 of file a_dispatch.c.
Referenced by SymCryptDsaSignEx(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), and SymCryptIntMillerRabinPrimalityTest().
| VOID SYMCRYPT_CALL SymCryptIntDivMod | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _In_ PCSYMCRYPT_DIVISOR | pdDivisor, | ||
| _Out_opt_ PSYMCRYPT_INT | piQuotient, | ||
| _Out_opt_ PSYMCRYPT_INT | piRemainder, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 573 of file a_dispatch.c.
Referenced by rsa_decrypt(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEckeyGetValue(), SymCryptEckeySetValue(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), SymCryptRsaCoreDecCrt(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and SymCryptRsakeyCalculatePrivateFields().
| VOID SYMCRYPT_CALL SymCryptIntDivPow2 | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| SIZE_T | exp, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 364 of file a_dispatch.c.
Referenced by SymCryptDsaTruncateHash(), SymCryptEcDsaTruncateHash(), SymCryptEckeySetValue(), SymCryptFdefModInvGeneric(), SymCryptFixedWindowRecoding(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModSqrt(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyGenerate(), and SymCryptWidthNafRecoding().
| VOID SYMCRYPT_CALL SymCryptIntExtendedGcd | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2, | ||
| UINT32 | flags, | ||
| _Out_opt_ PSYMCRYPT_INT | piGcd, | ||
| _Out_opt_ PSYMCRYPT_INT | piLcm, | ||
| _Out_opt_ PSYMCRYPT_INT | piInvSrc1ModSrc2, | ||
| _Out_opt_ PSYMCRYPT_INT | piInvSrc2ModSrc1, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 176 of file gen_int.c.
Referenced by SymCryptCrtGenerateForTwoCoprimes(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and SymCryptRsakeyCalculatePrivateFields().
| UINT32 SYMCRYPT_CALL SymCryptIntFindSmallDivisor | ( | _In_ PCSYMCRYPT_TRIALDIVISION_CONTEXT | pContext, |
| _In_ PCSYMCRYPT_INT | piSrc, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 1014 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupGeneratePrimeQ_FIPS(), and SymCryptIntGenerateRandomPrime().
| VOID SYMCRYPT_CALL SymCryptIntFree | ( | _Out_ PSYMCRYPT_INT | piObj | ) |
Definition at line 126 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptModSqrt(), and SymCryptSswu().
| PSYMCRYPT_INT SYMCRYPT_CALL SymCryptIntFromDivisor | ( | _In_ PSYMCRYPT_DIVISOR | pdSrc | ) |
Definition at line 553 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), and SymCryptRsakeyCalculatePrivateFields().
| PSYMCRYPT_INT SYMCRYPT_CALL SymCryptIntFromModulus | ( | _In_ PSYMCRYPT_MODULUS | pmSrc | ) |
Definition at line 720 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptCrtGenerateForTwoCoprimes(), SymCryptCrtSolve(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupGenerate(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupGetValue(), SymCryptDlgroupIsSame(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptDlkeyPerformPublicKeyValidation(), SymCryptDlkeySetValue(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyPerformPublicKeyValidation(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcpointSetValue(), SymCryptEcurveInitialize(), SymCryptEcurveIsSame(), SymCryptFdefModInvGeneric(), SymCryptModSqrt(), SymCryptRsaCoreVerifyInput(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCalculatePrivateFields(), SymCryptRsakeyGenerate(), SymCryptRsakeyGetValue(), SymCryptRsakeySetValueInternal(), SymCryptSswu(), and verify_input().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptIntGenerateRandomPrime | ( | _In_ PCSYMCRYPT_INT | piLow, |
| _In_ PCSYMCRYPT_INT | piHigh, | ||
| _In_reads_opt_(nPubExp) PCUINT64 | pu64PubExp, | ||
| UINT32 | nPubExp, | ||
| UINT32 | nTries, | ||
| UINT32 | flags, | ||
| _Inout_ PSYMCRYPT_INT | piDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 170 of file primes.c.
Referenced by SymCryptRsakeyGenerate().
| UINT32 SYMCRYPT_CALL SymCryptIntGetBit | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| UINT32 | iBit | ||
| ) |
Definition at line 394 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptEcpointScalarMulFixedWindow(), SymCryptIntMillerRabinPrimalityTest(), and SymCryptMontgomeryPointScalarMul().
| UINT32 SYMCRYPT_CALL SymCryptIntGetBits | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| UINT32 | iBit, | ||
| UINT32 | nBits | ||
| ) |
Definition at line 403 of file a_dispatch.c.
Referenced by SymCryptEckeySetValue(), SymCryptModExpWindowed(), and SymCryptPositiveWidthNafRecoding().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptIntGetValue | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Out_writes_bytes_(cbDst) PBYTE | pbDst, | ||
| SIZE_T | cbDst, | ||
| SYMCRYPT_NUMBER_FORMAT | format | ||
| ) |
Definition at line 259 of file a_dispatch.c.
Referenced by rsa_decrypt(), SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptDlgroupGetValue(), SymCryptDlkeyGetValue(), SymCryptEckeyGetValue(), SymCryptRsaCoreDecCrt(), SymCryptRsakeyGetCrtValue(), and SymCryptRsakeyGetValue().
| UINT32 SYMCRYPT_CALL SymCryptIntGetValueLsbits32 | ( | _In_ PCSYMCRYPT_INT | piSrc | ) |
Definition at line 270 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInit(), SymCryptCrtGenerateForTwoCoprimes(), SymCryptDlgroupSetValue(), SymCryptEcurveInitialize(), SymCryptFdefDecideModulusType(), SymCryptFdefModInvGeneric(), SymCryptFixedWindowRecoding(), SymCryptIntExtendedGcd(), SymCryptIntToModulus(), SymCryptModExpSquareAndMultiply32(), SymCryptModSqrt(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeySetValueInternal(), SymCryptSswu(), and SymCryptWidthNafRecoding().
| UINT64 SYMCRYPT_CALL SymCryptIntGetValueLsbits64 | ( | _In_ PCSYMCRYPT_INT | piSrc | ) |
Definition at line 277 of file a_dispatch.c.
Referenced by SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptFdefIntToModulus(), SymCryptIntGenerateRandomPrime(), and SymCryptRsakeyCalculatePrimesFromPrivateExponent().
| UINT32 SYMCRYPT_CALL SymCryptIntIsEqual | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2 | ||
| ) |
Definition at line 433 of file a_dispatch.c.
Referenced by SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupIsSame(), SymCryptDlgroupSetValue(), SymCryptEcurveIsSame(), SymCryptRsaCoreDecCrt(), and SymCryptRsakeyCalculatePrivateFields().
| UINT32 SYMCRYPT_CALL SymCryptIntIsEqualUint32 | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ UINT32 | u32Src2 | ||
| ) |
Definition at line 424 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCryptCrtGenerateForTwoCoprimes(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlkeySetValue(), SymCryptEcDsaSignEx(), SymCryptEckeyPerformPublicKeyValidation(), SymCryptEckeySetValue(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcurveInitialize(), SymCryptFdefModInvGeneric(), SymCryptIntExtendedGcd(), SymCryptIntToModulus(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and SymCryptRsakeyCalculatePrivateFields().
| UINT32 SYMCRYPT_CALL SymCryptIntIsLessThan | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2 | ||
| ) |
Definition at line 442 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomInit(), SymCryptDlkeySetValue(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcpointSetValue(), SymCryptIntGenerateRandomPrime(), SymCryptRsaCoreVerifyInput(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and verify_input().
| VOID SYMCRYPT_CALL SymCryptIntMaskedCopy | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Inout_ PSYMCRYPT_INT | piDst, | ||
| UINT32 | mask | ||
| ) |
Definition at line 170 of file a_dispatch.c.
Referenced by SymCryptEcpointScalarMulFixedWindow(), and SymCryptFixedWindowRecoding().
| UINT32 SYMCRYPT_CALL SymCryptIntMillerRabinPrimalityTest | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| UINT32 | nBitsSrc, | ||
| UINT32 | nIterations, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 12 of file primes.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupGeneratePrimeQ_FIPS(), and SymCryptIntGenerateRandomPrime().
| VOID SYMCRYPT_CALL SymCryptIntModPow2 | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| SIZE_T | exp, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 384 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupGeneratePrimeQ_FIPS(), and SymCryptIntGenerateRandomPrime().
| VOID SYMCRYPT_CALL SymCryptIntMulMixedSize | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2, | ||
| _Out_ PSYMCRYPT_INT | piDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 485 of file a_dispatch.c.
Referenced by SymCryptCrtSolve(), SymCryptIntExtendedGcd(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCalculatePrivateFields(), and SymCryptRsakeyGenerate().
| VOID SYMCRYPT_CALL SymCryptIntMulPow2 | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| SIZE_T | exp, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 354 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptEckeyGetValue(), and SymCryptRsakeyGenerate().
| VOID SYMCRYPT_CALL SymCryptIntMulSameSize | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2, | ||
| _Out_ PSYMCRYPT_INT | piDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 461 of file a_dispatch.c.
| UINT32 SYMCRYPT_CALL SymCryptIntMulUint32 | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| UINT32 | Src2, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 451 of file a_dispatch.c.
| VOID SYMCRYPT_CALL SymCryptIntNeg | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 344 of file a_dispatch.c.
Referenced by SymCryptFdefModInvGeneric().
| VOID SYMCRYPT_CALL SymCryptIntSetBits | ( | _In_ PSYMCRYPT_INT | piDst, |
| UINT32 | value, | ||
| UINT32 | iBit, | ||
| UINT32 | nBits | ||
| ) |
Definition at line 413 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptEckeySetRandom(), and SymCryptIntGenerateRandomPrime().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptIntSetValue | ( | _In_reads_bytes_(cbSrc) PCBYTE | pbSrc, |
| SIZE_T | cbSrc, | ||
| SYMCRYPT_NUMBER_FORMAT | format, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 248 of file a_dispatch.c.
Referenced by rsa_decrypt(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptDlkeyGenerate(), SymCryptDlkeySetValue(), SymCryptDsaTruncateHash(), SymCryptDsaVerify(), SymCryptEcDsaTruncateHash(), SymCryptEcDsaVerify(), SymCryptEckeySetValue(), SymCryptEcpointSetValue(), SymCryptEcurveInitialize(), SymCryptIntGenerateRandomPrime(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreVerifyInput(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeySetValueInternal(), and verify_input().
| VOID SYMCRYPT_CALL SymCryptIntSetValueUint32 | ( | UINT32 | u32Src, |
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 230 of file a_dispatch.c.
Referenced by SymCryptEckeyWipePrivateState(), SymCryptFdefIntToDivisor(), SymCryptIntExtendedGcd(), SymCryptRsakeyCalculatePrivateFields(), SymCryptRsakeyGenerate(), and SymCryptSswu().
| VOID SYMCRYPT_CALL SymCryptIntSetValueUint64 | ( | UINT64 | u64Src, |
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 239 of file a_dispatch.c.
Referenced by rsa_encrypt(), SymCryptIntGenerateRandomPrime(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreEnc(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and SymCryptRsakeyCalculatePrivateFields().
| VOID SYMCRYPT_CALL SymCryptIntShr1 | ( | UINT32 | highestBit, |
| _In_ PCSYMCRYPT_INT | piSrc, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 374 of file a_dispatch.c.
Referenced by SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupSetValueSafePrime(), and SymCryptIntExtendedGcd().
| VOID SYMCRYPT_CALL SymCryptIntSquare | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Out_ PSYMCRYPT_INT | piDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 474 of file a_dispatch.c.
| UINT32 SYMCRYPT_CALL SymCryptIntSubMixedSize | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 334 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeP_FIPS(), and SymCryptIntExtendedGcd().
| UINT32 SYMCRYPT_CALL SymCryptIntSubSameSize | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| _In_ PCSYMCRYPT_INT | piSrc2, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 324 of file a_dispatch.c.
Referenced by SymCryptEcpointScalarMulFixedWindow(), SymCryptFdefModInvGeneric(), and SymCryptIntExtendedGcd().
| UINT32 SYMCRYPT_CALL SymCryptIntSubUint32 | ( | _In_ PCSYMCRYPT_INT | piSrc1, |
| UINT32 | Src2, | ||
| _Out_ PSYMCRYPT_INT | piDst | ||
| ) |
Definition at line 314 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptFixedWindowRecoding(), SymCryptIntMillerRabinPrimalityTest(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCalculatePrivateFields(), SymCryptRsakeyGenerate(), SymCryptSswu(), and SymCryptWidthNafRecoding().
| VOID SYMCRYPT_CALL SymCryptIntToDivisor | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Out_ PSYMCRYPT_DIVISOR | pdDst, | ||
| UINT32 | totalOperations, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 560 of file a_dispatch.c.
Referenced by SymCryptDlgroupGeneratePrimeQ_FIPS(), SymCryptFdefIntToModulus(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), and SymCryptRsakeyCalculatePrivateFields().
| VOID SYMCRYPT_CALL SymCryptIntToModElement | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _In_ PCSYMCRYPT_MODULUS | pmMod, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 749 of file a_dispatch.c.
Referenced by rsa_decrypt(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCryptCrtGenerateForTwoCoprimes(), SymCryptCrtSolve(), SymCryptDsaSignEx(), SymCryptDsaTruncateHash(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaTruncateHash(), SymCryptEcDsaVerify(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptRsaCoreDecCrt(), and SymCryptSswu().
| VOID SYMCRYPT_CALL SymCryptIntToModulus | ( | _In_ PCSYMCRYPT_INT | piSrc, |
| _Out_ PSYMCRYPT_MODULUS | pmDst, | ||
| UINT32 | averageOperations, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 727 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupGenerate(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptEcurveInitialize(), SymCryptIntMillerRabinPrimalityTest(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyGenerate(), and SymCryptRsakeySetValueInternal().
| VOID SYMCRYPT_CALL SymCryptIntWipe | ( | _Out_ PSYMCRYPT_INT | piObj | ) |
Definition at line 151 of file a_dispatch.c.
Referenced by SymCryptIntFree(), and SymCryptRsaCoreEnc().
| UINT32 SYMCRYPT_CALL SymCryptMask32EqU32 | ( | UINT32 | a, |
| UINT32 | b | ||
| ) |
| UINT32 SYMCRYPT_CALL SymCryptMask32IsNonzeroU31 | ( | UINT32 | v | ) |
Definition at line 28 of file scsTools.c.
Referenced by SymCryptMask32NeqU31(), SymCryptPaddingPkcs7Remove(), SymCryptRsaOaepRemoveEncryptionPadding(), and SymCryptRsaPkcs1RemoveEncryptionPadding().
| UINT32 SYMCRYPT_CALL SymCryptMask32IsZeroU31 | ( | UINT32 | v | ) |
Definition at line 36 of file scsTools.c.
Referenced by SymCryptPaddingPkcs7Remove(), SymCryptRsaOaepRemoveEncryptionPadding(), and SymCryptRsaPkcs1RemoveEncryptionPadding().
| UINT32 SYMCRYPT_CALL SymCryptMask32LtU31 | ( | UINT32 | a, |
| UINT32 | b | ||
| ) |
Definition at line 53 of file scsTools.c.
Referenced by SymCryptAesKwpDecrypt(), SymCryptPaddingPkcs7Remove(), SymCryptRsaPkcs1RemoveEncryptionPadding(), and SymCryptScsCopy().
| UINT32 SYMCRYPT_CALL SymCryptMask32NeqU31 | ( | UINT32 | a, |
| UINT32 | b | ||
| ) |
Definition at line 43 of file scsTools.c.
Referenced by SymCryptRsaPkcs1RemoveEncryptionPadding().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptMlKemEncapsulateEx | ( | _In_ PCSYMCRYPT_MLKEMKEY | pkMlKemkey, |
| _In_reads_bytes_(cbRandom) PCBYTE | pbRandom, | ||
| SIZE_T | cbRandom, | ||
| _Out_writes_bytes_(cbAgreedSecret) PBYTE | pbAgreedSecret, | ||
| SIZE_T | cbAgreedSecret, | ||
| _Out_writes_bytes_(cbCiphertext) PBYTE | pbCiphertext, | ||
| SIZE_T | cbCiphertext | ||
| ) |
Definition at line 952 of file mlkem.c.
Referenced by SymCryptMlKemEncapsulate().
| VOID SYMCRYPT_CALL SymCryptModAdd | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc1, | ||
| _In_ PCSYMCRYPT_MODELEMENT | peSrc2, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 838 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptDsaSignEx(), SymCryptEcDsaSignEx(), SymCryptEckeySetRandom(), SymCryptEcurveInitialize(), SymCryptMontgomeryDoubleAndAdd(), SymCryptShortWeierstrassAddDiffNonZero(), SymCryptShortWeierstrassAddSideChannelUnsafe(), SymCryptShortWeierstrassDouble(), SymCryptShortWeierstrassDoubleSpecializedAm3(), SymCryptShortWeierstrassOnCurve(), SymCryptSswu(), SymCryptTwistedEdwardsAdd(), SymCryptTwistedEdwardsDouble(), and SymCryptTwistedEdwardsOnCurve().
| VOID SYMCRYPT_CALL SymCryptModDivPow2 | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| UINT32 | exp, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 934 of file a_dispatch.c.
Referenced by SymCryptEckeySetRandom(), SymCryptEckeySetValue(), and SymCryptEcurveInitialize().
| PSYMCRYPT_MODELEMENT SYMCRYPT_CALL SymCryptModElementAllocate | ( | _In_ PCSYMCRYPT_MODULUS | pmMod | ) |
Definition at line 642 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptModSqrt(), and SymCryptSswu().
| VOID SymCryptModElementConditionalSwap | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _Inout_ PSYMCRYPT_MODELEMENT | peData1, | ||
| _Inout_ PSYMCRYPT_MODELEMENT | peData2, | ||
| _In_ UINT32 | cond | ||
| ) |
Definition at line 709 of file a_dispatch.c.
Referenced by SymCryptMontgomeryPointScalarMul().
| VOID SymCryptModElementCopy | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst | ||
| ) |
Definition at line 683 of file a_dispatch.c.
Referenced by SymCryptDlkeyCopy(), SymCryptEcpointTransform(), SymCryptFdefModInvGeneric(), SymCryptModExpSquareAndMultiply32(), SymCryptModExpWindowed(), SymCryptModMultiExpGeneric(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptModSqrt(), SymCryptMontgomeryPointScalarMul(), and SymCryptShortWeierstrassAddSideChannelUnsafe().
| PSYMCRYPT_MODELEMENT SYMCRYPT_CALL SymCryptModElementCreate | ( | _Out_writes_bytes_(cbBuffer) PBYTE | pbBuffer, |
| SIZE_T | cbBuffer, | ||
| _In_ PCSYMCRYPT_MODULUS | pmMod | ||
| ) |
Definition at line 665 of file a_dispatch.c.
Referenced by rsa_decrypt(), rsa_encrypt(), SymCryptCrtSolve(), SymCryptDhSecretAgreement(), SymCryptDlgroupCreate(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlkeyCreate(), SymCryptDlkeyGenerate(), SymCryptDlkeyPerformPublicKeyValidation(), SymCryptDlkeySetValue(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyGetValue(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointCreateEx(), SymCryptEcpointGenericSetRandom(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcpointTransform(), SymCryptEcurveInitialize(), SymCryptFdefModInvGeneric(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModExpSquareAndMultiply32(), SymCryptModExpWindowed(), SymCryptModMultiExpGeneric(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptMontgomeryIsEqual(), SymCryptMontgomeryPointScalarMul(), SymCryptRsaCoreDec(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreEnc(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCreateAllObjects(), SymCryptShortWeierstrassAddDiffNonZero(), SymCryptShortWeierstrassAddSideChannelUnsafe(), SymCryptShortWeierstrassDouble(), SymCryptShortWeierstrassDoubleSpecializedAm3(), SymCryptShortWeierstrassIsEqual(), SymCryptShortWeierstrassNegate(), SymCryptShortWeierstrassOnCurve(), SymCryptTwistedEdwardsAdd(), SymCryptTwistedEdwardsDouble(), SymCryptTwistedEdwardsIsEqual(), SymCryptTwistedEdwardsNegate(), and SymCryptTwistedEdwardsOnCurve().
| VOID SYMCRYPT_CALL SymCryptModElementFree | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _Out_ PSYMCRYPT_MODELEMENT | peObj | ||
| ) |
Definition at line 649 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomCreatePTGeneric(), SymCrypt802_11SaeCustomDestroy(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptModSqrt(), and SymCryptSswu().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptModElementGetValue | ( | PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| _Out_writes_bytes_(cbDst) PBYTE | pbDst, | ||
| SIZE_T | cbDst, | ||
| SYMCRYPT_NUMBER_FORMAT | format, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 804 of file a_dispatch.c.
Referenced by rsa_encrypt(), SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomSetRandMask(), SymCryptDhSecretAgreement(), SymCryptDlgroupGetValue(), SymCryptDlkeyGetValue(), SymCryptDsaSignEx(), SymCryptEcDsaSignEx(), SymCryptEcpointGetValue(), SymCryptRsaCoreDec(), SymCryptRsaCoreEnc(), SymCryptRsakeyGetCrtValue(), and SymCryptSswu().
| UINT32 SYMCRYPT_CALL SymCryptModElementIsEqual | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc1, | ||
| _In_ PCSYMCRYPT_MODELEMENT | peSrc2 | ||
| ) |
Definition at line 818 of file a_dispatch.c.
Referenced by SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupIsSame(), SymCryptDlgroupSetValue(), SymCryptDlkeyGenerate(), SymCryptDlkeyPerformPublicKeyValidation(), SymCryptDlkeySetValue(), SymCryptDsaVerify(), SymCryptEcDsaVerify(), SymCryptEcurveInitialize(), SymCryptEcurveIsSame(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptModSqrt(), SymCryptMontgomeryIsEqual(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptShortWeierstrassIsEqual(), SymCryptShortWeierstrassOnCurve(), SymCryptTwistedEdwardsIsEqual(), SymCryptTwistedEdwardsIsZero(), and SymCryptTwistedEdwardsOnCurve().
| UINT32 SYMCRYPT_CALL SymCryptModElementIsZero | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc | ||
| ) |
Definition at line 828 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomSetRandMask(), SymCryptDhSecretAgreement(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlkeyPerformPublicKeyValidation(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEcpointTransform(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptMontgomeryIsZero(), SymCryptShortWeierstrassAddSideChannelUnsafe(), SymCryptShortWeierstrassIsZero(), SymCryptSswu(), and SymCryptTwistedEdwardsIsZero().
| VOID SymCryptModElementMaskedCopy | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| UINT32 | mask | ||
| ) |
Definition at line 692 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInit(), SymCryptShortWeierstrassNegate(), SymCryptSswu(), and SymCryptTwistedEdwardsNegate().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptModElementSetValue | ( | _In_reads_bytes_(cbSrc) PCBYTE | pbSrc, |
| SIZE_T | cbSrc, | ||
| SYMCRYPT_NUMBER_FORMAT | format, | ||
| PCSYMCRYPT_MODULUS | pmMod, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 781 of file a_dispatch.c.
Referenced by rsa_encrypt(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCrypt802_11SaeCustomSetRandMask(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlkeySetValue(), SymCryptEcDsaSignEx(), SymCryptEcpointSetValue(), SymCryptEcurveInitialize(), SymCryptRsaCoreDec(), and SymCryptRsaCoreEnc().
| VOID SYMCRYPT_CALL SymCryptModElementSetValueNegUint32 | ( | UINT32 | value, |
| _In_ PCSYMCRYPT_MODULUS | pmMod, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 922 of file a_dispatch.c.
Referenced by SymCryptDlkeyPerformPublicKeyValidation(), SymCryptEcurveInitialize(), SymCryptIntMillerRabinPrimalityTest(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and SymCryptSswu().
| VOID SYMCRYPT_CALL SymCryptModElementSetValueUint32 | ( | UINT32 | value, |
| _In_ PCSYMCRYPT_MODULUS | pmMod, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 908 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInitH2EGeneric(), SymCrypt802_11SaeCustomSetRandMask(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptDlkeyPerformPublicKeyValidation(), SymCryptEcpointTransform(), SymCryptEcurveInitialize(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModExpSquareAndMultiply32(), SymCryptModExpWindowed(), SymCryptModMultiExpGeneric(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptMontgomeryPointScalarMul(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptShortWeierstrassSetZero(), SymCryptSswu(), and SymCryptTwistedEdwardsSetZero().
| VOID SYMCRYPT_CALL SymCryptModElementToInt | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| _Out_ PSYMCRYPT_INT | piDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 762 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomCommitCreateGeneric(), SymCrypt802_11SaeCustomCommitProcessGeneric(), SymCrypt802_11SaeCustomInit(), SymCrypt802_11SaeCustomInitH2EGeneric(), SymCryptCrtSolve(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlkeyGenerate(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaVerify(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointGenericSetRandom(), SymCryptRsaCoreDecCrt(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and SymCryptSswu().
| VOID SYMCRYPT_CALL SymCryptModElementWipe | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _Out_ PSYMCRYPT_MODELEMENT | peDst | ||
| ) |
Definition at line 675 of file a_dispatch.c.
| VOID SYMCRYPT_CALL SymCryptModExp | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peBase, | ||
| _In_ PCSYMCRYPT_INT | piExp, | ||
| UINT32 | nBitsExp, | ||
| UINT32 | flags, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 961 of file a_dispatch.c.
Referenced by rsa_decrypt(), rsa_encrypt(), SymCryptDhSecretAgreement(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlkeyGenerate(), SymCryptDlkeyPerformPublicKeyValidation(), SymCryptDlkeySetValue(), SymCryptDsaSignEx(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModSqrt(), SymCryptRsaCoreDec(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreEnc(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), and SymCryptSswu().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptModInv | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 948 of file a_dispatch.c.
Referenced by SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEcpointTransform(), and SymCryptSswu().
| VOID SYMCRYPT_CALL SymCryptModMul | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc1, | ||
| _In_ PCSYMCRYPT_MODELEMENT | peSrc2, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 867 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInit(), SymCryptCrtSolve(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEcpointTransform(), SymCryptFdefModInvGeneric(), SymCryptModExpPrecomputation(), SymCryptModExpSquareAndMultiply32(), SymCryptModExpWindowed(), SymCryptModMultiExpGeneric(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptMontgomeryDoubleAndAdd(), SymCryptMontgomeryIsEqual(), SymCryptShortWeierstrassAddDiffNonZero(), SymCryptShortWeierstrassAddSideChannelUnsafe(), SymCryptShortWeierstrassDouble(), SymCryptShortWeierstrassDoubleSpecializedAm3(), SymCryptShortWeierstrassIsEqual(), SymCryptShortWeierstrassOnCurve(), SymCryptSswu(), SymCryptTwistedEdwardsAdd(), SymCryptTwistedEdwardsDouble(), SymCryptTwistedEdwardsIsEqual(), and SymCryptTwistedEdwardsOnCurve().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptModMultiExp | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_reads_(nBases) PCSYMCRYPT_MODELEMENT * | peBaseArray, | ||
| _In_reads_(nBases) PCSYMCRYPT_INT * | piExpArray, | ||
| UINT32 | nBases, | ||
| UINT32 | nBitsExp, | ||
| UINT32 | flags, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 976 of file a_dispatch.c.
Referenced by SymCryptDsaVerify().
| VOID SYMCRYPT_CALL SymCryptModNeg | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 895 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInit(), SymCryptShortWeierstrassIsEqual(), SymCryptShortWeierstrassNegate(), SymCryptSswu(), SymCryptTwistedEdwardsIsEqual(), and SymCryptTwistedEdwardsNegate().
| VOID SYMCRYPT_CALL SymCryptModSetRandom | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 993 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomSetRandMask(), SymCryptDlkeyGenerate(), SymCryptDsaSignEx(), SymCryptEckeySetRandom(), SymCryptEcpointGenericSetRandom(), SymCryptFdefModInvGeneric(), SymCryptIntMillerRabinPrimalityTest(), and SymCryptRsakeyCalculatePrimesFromPrivateExponent().
| VOID SYMCRYPT_CALL SymCryptModSquare | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 881 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInit(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModExpPrecomputation(), SymCryptModExpSquareAndMultiply32(), SymCryptModExpWindowed(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptModSqrt(), SymCryptMontgomeryDoubleAndAdd(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptShortWeierstrassAddDiffNonZero(), SymCryptShortWeierstrassAddSideChannelUnsafe(), SymCryptShortWeierstrassDouble(), SymCryptShortWeierstrassDoubleSpecializedAm3(), SymCryptShortWeierstrassIsEqual(), SymCryptShortWeierstrassOnCurve(), SymCryptSswu(), SymCryptTwistedEdwardsDouble(), and SymCryptTwistedEdwardsOnCurve().
| VOID SYMCRYPT_CALL SymCryptModSub | ( | _In_ PCSYMCRYPT_MODULUS | pmMod, |
| _In_ PCSYMCRYPT_MODELEMENT | peSrc1, | ||
| _In_ PCSYMCRYPT_MODELEMENT | peSrc2, | ||
| _Out_ PSYMCRYPT_MODELEMENT | peDst, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 852 of file a_dispatch.c.
Referenced by SymCryptCrtSolve(), SymCryptFdefModInvGeneric(), SymCryptMontgomeryDoubleAndAdd(), SymCryptShortWeierstrassAddDiffNonZero(), SymCryptShortWeierstrassAddSideChannelUnsafe(), SymCryptShortWeierstrassDouble(), SymCryptShortWeierstrassDoubleSpecializedAm3(), SymCryptTwistedEdwardsAdd(), and SymCryptTwistedEdwardsDouble().
| PSYMCRYPT_MODULUS SYMCRYPT_CALL SymCryptModulusAllocate | ( | UINT32 | nDigits | ) |
Definition at line 587 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInitH2EGeneric().
| VOID SymCryptModulusCopy | ( | _In_ PCSYMCRYPT_MODULUS | pmSrc, |
| _Out_ PSYMCRYPT_MODULUS | pmDst | ||
| ) |
Definition at line 626 of file a_dispatch.c.
| PSYMCRYPT_MODULUS SYMCRYPT_CALL SymCryptModulusCreate | ( | _Out_writes_bytes_(cbBuffer) PBYTE | pbBuffer, |
| SIZE_T | cbBuffer, | ||
| UINT32 | nDigits | ||
| ) |
Definition at line 608 of file a_dispatch.c.
Referenced by SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupCreate(), SymCryptDlgroupGenerate(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptEcurveInitialize(), SymCryptIntMillerRabinPrimalityTest(), SymCryptRsakeyCreate(), and SymCryptRsakeyCreateAllObjects().
| UINT32 SYMCRYPT_CALL SymCryptModulusDigitsizeOfObject | ( | _In_ PCSYMCRYPT_MODULUS | pmSrc | ) |
Definition at line 635 of file a_dispatch.c.
Referenced by SymCryptCrtGenerateForTwoCoprimes(), SymCryptCrtSolve(), SymCryptDsaVerify(), SymCryptModMultiExpGeneric(), and SymCryptModMultiExpWnafWithInterleaving().
| VOID SYMCRYPT_CALL SymCryptModulusFree | ( | _Out_ PSYMCRYPT_MODULUS | pmObj | ) |
Definition at line 594 of file a_dispatch.c.
Referenced by SymCrypt802_11SaeCustomInitH2EGeneric().
| VOID SYMCRYPT_CALL SymCryptModulusWipe | ( | _Out_ PSYMCRYPT_MODULUS | pmObj | ) |
Definition at line 618 of file a_dispatch.c.
Referenced by SymCryptDlgroupSetValue(), and SymCryptFdefModulusFree().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRngAesGenerateSmall | ( | _Inout_ PSYMCRYPT_RNG_AES_STATE | pRngState, |
| _Out_writes_(cbRandom) PBYTE | pbRandom, | ||
| SIZE_T | cbRandom, | ||
| _In_reads_opt_(cbAdditionalInput) PCBYTE | pbAdditionalInput, | ||
| SIZE_T | cbAdditionalInput | ||
| ) |
Definition at line 436 of file aesCtrDrbg.c.
Referenced by SymCryptRngAesGenerate(), and SymCryptRngAesTestGenerate().
| SIZE_T SYMCRYPT_CALL SymCryptRoundUpPow2Sizet | ( | SIZE_T | v | ) |
Definition at line 76 of file scsTools.c.
Referenced by SymCryptRsaPkcs1Decrypt(), and SymCryptTlsCbcHmacVerifyCore().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaOaepApplyEncryptionPadding | ( | _In_reads_bytes_(cbPlaintext) PCBYTE | pbPlaintext, |
| SIZE_T | cbPlaintext, | ||
| _In_ PCSYMCRYPT_HASH | hashAlgorithm, | ||
| _In_reads_bytes_(cbLabel) PCBYTE | pbLabel, | ||
| SIZE_T | cbLabel, | ||
| _In_reads_bytes_opt_(cbSeed) PCBYTE | pbSeed, | ||
| SIZE_T | cbSeed, | ||
| _Out_writes_bytes_(cbOaepFormat) PBYTE | pbOaepFormat, | ||
| SIZE_T | cbOaepFormat, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 364 of file rsa_padding.c.
Referenced by SymCryptRsaOaepEncrypt().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaOaepRemoveEncryptionPadding | ( | _In_reads_bytes_(cbOAEPFormat) PCBYTE | pbOAEPFormat, |
| SIZE_T | cbOAEPFormat, | ||
| _In_ PCSYMCRYPT_HASH | hashAlgorithm, | ||
| _In_reads_bytes_(cbLabel) PCBYTE | pbLabel, | ||
| SIZE_T | cbLabel, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbPlaintext) PBYTE | pbPlaintext, | ||
| SIZE_T | cbPlaintext, | ||
| _Out_ SIZE_T * | pcbPlaintext, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 480 of file rsa_padding.c.
Referenced by SymCryptRsaOaepDecrypt().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaPkcs1ApplyEncryptionPadding | ( | _In_reads_bytes_(cbPlaintext) PCBYTE | pbPlaintext, |
| SIZE_T | cbPlaintext, | ||
| _Out_writes_bytes_(cbPkcs1Format) PBYTE | pbPkcs1Format, | ||
| SIZE_T | cbPkcs1Format | ||
| ) |
Definition at line 180 of file rsa_padding.c.
Referenced by SymCryptRsaPkcs1Encrypt().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaPkcs1ApplySignaturePadding | ( | _In_reads_bytes_(cbHash) PCBYTE | pbHash, |
| SIZE_T | cbHash, | ||
| _In_reads_bytes_(cbHashOid) PCBYTE | pbHashOid, | ||
| SIZE_T | cbHashOid, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbPKCS1Format) PBYTE | pbPKCS1Format, | ||
| SIZE_T | cbPKCS1Format | ||
| ) |
Definition at line 651 of file rsa_padding.c.
Referenced by SymCryptRsaPkcs1CheckSignaturePadding(), and SymCryptRsaPkcs1Sign().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaPkcs1RemoveEncryptionPadding | ( | _Inout_updates_bytes_(cbPkcs1Buffer) PBYTE | pbPkcs1Format, |
| SIZE_T | cbPkcs1Format, | ||
| SIZE_T | cbPkcs1Buffer, | ||
| _Out_writes_bytes_opt_(cbPlaintext) PBYTE | pbPlaintext, | ||
| SIZE_T | cbPlaintext, | ||
| _Out_ SIZE_T * | pcbPlaintext | ||
| ) |
Definition at line 237 of file rsa_padding.c.
Referenced by SymCryptRsaPkcs1Decrypt().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaPkcs1VerifySignaturePadding | ( | _In_reads_bytes_(cbHash) PCBYTE | pbHash, |
| SIZE_T | cbHash, | ||
| _In_reads_(nOIDCount) PCSYMCRYPT_OID | pHashOIDs, | ||
| _In_ SIZE_T | nOIDCount, | ||
| _In_reads_bytes_(cbPKCS1Format) PCBYTE | pbPKCS1Format, | ||
| SIZE_T | cbPKCS1Format, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 827 of file rsa_padding.c.
Referenced by SymCryptRsaPkcs1Verify().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaPssApplySignaturePadding | ( | _In_reads_bytes_(cbHash) PCBYTE | pbHash, |
| SIZE_T | cbHash, | ||
| _In_ PCSYMCRYPT_HASH | hashAlgorithm, | ||
| _In_reads_bytes_opt_(cbSalt) PCBYTE | pbSalt, | ||
| _In_range_(0, cbPSSFormat) SIZE_T | cbSalt, | ||
| UINT32 | nBitsOfModulus, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbPSSFormat) PBYTE | pbPSSFormat, | ||
| SIZE_T | cbPSSFormat, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 918 of file rsa_padding.c.
Referenced by SymCryptRsaPssSign().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptRsaPssVerifySignaturePadding | ( | _In_reads_bytes_(cbHash) PCBYTE | pbHash, |
| SIZE_T | cbHash, | ||
| _In_ PCSYMCRYPT_HASH | hashAlgorithm, | ||
| _In_range_(0, cbPSSFormat) SIZE_T | cbSalt, | ||
| _In_reads_bytes_(cbPSSFormat) PCBYTE | pbPSSFormat, | ||
| SIZE_T | cbPSSFormat, | ||
| UINT32 | nBitsOfModulus, | ||
| UINT32 | flags, | ||
| _Out_writes_bytes_(cbScratch) PBYTE | pbScratch, | ||
| SIZE_T | cbScratch | ||
| ) |
Definition at line 1051 of file rsa_padding.c.
Referenced by SymCryptRsaPssVerify().
| VOID SYMCRYPT_CALL SymCryptScsCopy | ( | _In_reads_(cbDst) PCBYTE | pbSrc, |
| SIZE_T | cbSrc, | ||
| _Out_writes_(cbDst) PBYTE | pbDst, | ||
| SIZE_T | cbDst | ||
| ) |
Definition at line 108 of file scsTools.c.
Referenced by SymCryptMlKemDecapsulate(), and SymCryptRsaPkcs1RemoveEncryptionPadding().
| VOID SYMCRYPT_CALL SymCryptScsRotateBuffer | ( | _Inout_updates_(cbBuffer) PBYTE | pbBuffer, |
| SIZE_T | cbBuffer, | ||
| SIZE_T | lshift | ||
| ) |
Definition at line 179 of file scsTools.c.
Referenced by SymCryptRsaPkcs1RemoveEncryptionPadding(), and SymCryptTlsCbcHmacVerifyCore().
| UINT32 SYMCRYPT_CALL SymCryptScsTableInit | ( | _Out_ PSYMCRYPT_SCSTABLE | pScsTable, |
| UINT32 | nElements, | ||
| UINT32 | elementSize | ||
| ) |
Definition at line 56 of file ScsTable.c.
Referenced by SymCryptModExpWindowed().
| VOID SYMCRYPT_CALL SymCryptScsTableLoad | ( | _In_ PSYMCRYPT_SCSTABLE | pScsTable, |
| UINT32 | iIndex, | ||
| _Out_writes_bytes_(cbData) PBYTE | pbData, | ||
| UINT32 | cbData | ||
| ) |
Definition at line 358 of file ScsTable.c.
Referenced by SymCryptModExpWindowed().
| VOID SYMCRYPT_CALL SymCryptScsTableSetBuffer | ( | _Inout_ PSYMCRYPT_SCSTABLE | pScsTable, |
| _Inout_updates_bytes_(cbBuffer) PBYTE | pbBuffer, | ||
| UINT32 | cbBuffer | ||
| ) |
Definition at line 98 of file ScsTable.c.
Referenced by SymCryptModExpWindowed().
| VOID SYMCRYPT_CALL SymCryptScsTableStore | ( | _Inout_ PSYMCRYPT_SCSTABLE | pScsTable, |
| UINT32 | iIndex, | ||
| _In_reads_bytes_(cbData) PCBYTE | pbData, | ||
| UINT32 | cbData | ||
| ) |
Definition at line 334 of file ScsTable.c.
Referenced by SymCryptModExpWindowed().
| VOID SYMCRYPT_CALL SymCryptScsTableWipe | ( | _Inout_ PSYMCRYPT_SCSTABLE | pScsTable | ) |
Definition at line 384 of file ScsTable.c.
| UINT32 SYMCRYPT_CALL SymCryptSizeofDivisorFromDigits | ( | UINT32 | nDigits | ) |
Definition at line 512 of file a_dispatch.c.
Referenced by SymCryptDlgroupGenerate(), SymCryptDlgroupScratchSpace_FIPS(), SymCryptDlgroupSetValue(), SymCryptFdefDivisorCreate(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), SymCryptRsakeyGenerate(), and SymCryptRsakeySetValueInternal().
| UINT32 SYMCRYPT_CALL SymCryptSizeofEcpointFromCurve | ( | PCSYMCRYPT_ECURVE | pCurve | ) |
Definition at line 41 of file ecpoint.c.
Referenced by SymCryptEcDhSecretAgreement(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyCreate(), SymCryptEckeyPerformPublicKeyValidation(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointAllocate(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcpointWipe(), SymCryptMontgomeryFillScratchSpaces(), SymCryptOfflinePrecomputation(), SymCryptShortWeierstrassAdd(), SymCryptShortWeierstrassFillScratchSpaces(), SymCryptSizeofEckeyFromCurve(), and SymCryptTwistedEdwardsFillScratchSpaces().
| UINT32 SYMCRYPT_CALL SymCryptSizeofIntFromDigits | ( | UINT32 | nDigits | ) |
Definition at line 134 of file a_dispatch.c.
Referenced by rsa_decrypt(), SymCryptCrtGenerateForTwoCoprimes(), SymCryptCrtSolve(), SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupGeneratePrimeP_FIPS(), SymCryptDlgroupScratchSpace_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlkeyGenerate(), SymCryptDlkeySetValue(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptEckeyCreate(), SymCryptEckeyGetValue(), SymCryptEckeySetRandom(), SymCryptEckeySetValue(), SymCryptEcpointMultiScalarMulWnafWithInterleaving(), SymCryptEcpointScalarMulFixedWindow(), SymCryptEcpointSetValue(), SymCryptEcurveValidateAndComputeSizes(), SymCryptFdefModInvGeneric(), SymCryptIntExtendedGcd(), SymCryptIntGenerateRandomPrime(), SymCryptIntMillerRabinPrimalityTest(), SymCryptMontgomeryFillScratchSpaces(), SymCryptMontgomeryPointScalarMul(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreDecCrtScratchSpace(), SymCryptRsaCoreVerifyInput(), SymCryptRsakeyCalculatePrimesFromPrivateExponent(), SymCryptRsakeyCreate(), SymCryptRsakeyCreateAllObjects(), SymCryptRsakeyGenerate(), SymCryptRsakeySetValueInternal(), SymCryptShortWeierstrassFillScratchSpaces(), SymCryptSizeofDlkeyFromDlgroup(), SymCryptSizeofEckeyFromCurve(), SymCryptSizeofRsakeyFromParams(), SymCryptTwistedEdwardsFillScratchSpaces(), and verify_input().
| UINT32 SYMCRYPT_CALL SymCryptSizeofModElementFromModulus | ( | PCSYMCRYPT_MODULUS | pmMod | ) |
Definition at line 658 of file a_dispatch.c.
Referenced by rsa_encrypt(), SymCryptCrtSolve(), SymCryptDhSecretAgreement(), SymCryptDlgroupCreate(), SymCryptDlgroupGenerateGenG_FIPS(), SymCryptDlgroupSetValue(), SymCryptDlkeyCreate(), SymCryptDlkeyGenerate(), SymCryptDlkeyPerformPublicKeyValidation(), SymCryptDlkeySetValue(), SymCryptDsaSignEx(), SymCryptDsaVerify(), SymCryptEcDsaSignEx(), SymCryptEcDsaVerify(), SymCryptFdefModInvGeneric(), SymCryptIntMillerRabinPrimalityTest(), SymCryptModExpSquareAndMultiply32(), SymCryptModExpWindowed(), SymCryptModMultiExpGeneric(), SymCryptModMultiExpWnafWithInterleaving(), SymCryptMontgomeryFillScratchSpaces(), SymCryptMontgomeryIsEqual(), SymCryptMontgomeryPointScalarMul(), SymCryptRsaCoreDec(), SymCryptRsaCoreDecCrt(), SymCryptRsaCoreDecScratchSpace(), SymCryptRsaCoreEnc(), SymCryptRsaCoreEncScratchSpace(), SymCryptRsakeyCreateAllObjects(), SymCryptSizeofDlkeyFromDlgroup(), SymCryptTwistedEdwardsAdd(), SymCryptTwistedEdwardsDouble(), SymCryptTwistedEdwardsIsEqual(), and SymCryptTwistedEdwardsOnCurve().
| UINT32 SYMCRYPT_CALL SymCryptSizeofModulusFromDigits | ( | UINT32 | nDigits | ) |
Definition at line 601 of file a_dispatch.c.
Referenced by SymCryptDlgroupAutoCompleteNamedSafePrimeGroup(), SymCryptDlgroupCreate(), SymCryptDlgroupGenerate(), SymCryptDlgroupSetValue(), SymCryptDlgroupSetValueSafePrime(), SymCryptEcurveValidateAndComputeSizes(), SymCryptIntMillerRabinPrimalityTest(), SymCryptRsakeyCreate(), SymCryptRsakeyCreateAllObjects(), and SymCryptSizeofRsakeyFromParams().
| UINT64 SYMCRYPT_CALL SymCryptUint64Gcd | ( | UINT64 | a, |
| UINT64 | b, | ||
| UINT32 | flags | ||
| ) |
Definition at line 12 of file gen_int.c.
Referenced by SymCryptIntGenerateRandomPrime().