|
ReactOS 0.4.17-dev-1005-g171e1de
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
| #define | SYMCRYPT_TLS_MAX_LABEL_AND_SEED_SIZE (SYMCRYPT_TLS_MAX_LABEL_SIZE + SYMCRYPT_TLS_MAX_SEED_SIZE) |
| #define | SYMCRYPT_TLS_1_1_CHUNK_SIZE 80 |
| #define SYMCRYPT_TLS_MAX_LABEL_AND_SEED_SIZE (SYMCRYPT_TLS_MAX_LABEL_SIZE + SYMCRYPT_TLS_MAX_SEED_SIZE) |
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptTlsPrf1_1 | ( | _In_reads_(cbKey) PCBYTE | pbKey, |
| _In_ SIZE_T | cbKey, | ||
| _In_reads_opt_(cbLabel) PCBYTE | pbLabel, | ||
| _In_ SIZE_T | cbLabel, | ||
| _In_reads_(cbSeed) PCBYTE | pbSeed, | ||
| _In_ SIZE_T | cbSeed, | ||
| _Out_writes_(cbResult) PBYTE | pbResult, | ||
| SIZE_T | cbResult | ||
| ) |
Definition at line 484 of file tlsprf.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptTlsPrf1_1Derive | ( | _In_ PCSYMCRYPT_TLSPRF1_1_EXPANDED_KEY | pExpandedKey, |
| _In_reads_opt_(cbLabel) PCBYTE | pbLabel, | ||
| _In_ SIZE_T | cbLabel, | ||
| _In_reads_(cbSeed) PCBYTE | pbSeed, | ||
| _In_ SIZE_T | cbSeed, | ||
| _Out_writes_(cbResult) PBYTE | pbResult, | ||
| SIZE_T | cbResult | ||
| ) |
Definition at line 299 of file tlsprf.c.
Referenced by SymCryptTlsPrf1_1().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptTlsPrf1_1ExpandKey | ( | _Out_ PSYMCRYPT_TLSPRF1_1_EXPANDED_KEY | pExpandedKey, |
| _In_reads_(cbKey) PCBYTE | pbKey, | ||
| SIZE_T | cbKey | ||
| ) |
Definition at line 58 of file tlsprf.c.
Referenced by SymCryptTlsPrf1_1().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptTlsPrf1_2 | ( | _In_ PCSYMCRYPT_MAC | pMacAlgorithm, |
| _In_reads_(cbKey) PCBYTE | pbKey, | ||
| _In_ SIZE_T | cbKey, | ||
| _In_reads_opt_(cbLabel) PCBYTE | pbLabel, | ||
| _In_ SIZE_T | cbLabel, | ||
| _In_reads_(cbSeed) PCBYTE | pbSeed, | ||
| _In_ SIZE_T | cbSeed, | ||
| _Out_writes_(cbResult) PBYTE | pbResult, | ||
| SIZE_T | cbResult | ||
| ) |
Definition at line 530 of file tlsprf.c.
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptTlsPrf1_2Derive | ( | _In_ PCSYMCRYPT_TLSPRF1_2_EXPANDED_KEY | pExpandedKey, |
| _In_reads_opt_(cbLabel) PCBYTE | pbLabel, | ||
| _In_ SIZE_T | cbLabel, | ||
| _In_reads_(cbSeed) PCBYTE | pbSeed, | ||
| _In_ SIZE_T | cbSeed, | ||
| _Out_writes_(cbResult) PBYTE | pbResult, | ||
| SIZE_T | cbResult | ||
| ) |
Definition at line 426 of file tlsprf.c.
Referenced by SymCryptTlsPrf1_2().
| SYMCRYPT_ERROR SYMCRYPT_CALL SymCryptTlsPrf1_2ExpandKey | ( | _Out_ PSYMCRYPT_TLSPRF1_2_EXPANDED_KEY | pExpandedKey, |
| _In_ PCSYMCRYPT_MAC | macAlgorithm, | ||
| _In_reads_(cbKey) PCBYTE | pbKey, | ||
| SIZE_T | cbKey | ||
| ) |
Definition at line 137 of file tlsprf.c.
Referenced by SymCryptTlsPrf1_2().
| VOID SYMCRYPT_CALL SymCryptTlsPrfMac | ( | _In_ PCSYMCRYPT_MAC | pMacAlgorithm, |
| _In_ PCSYMCRYPT_MAC_EXPANDED_KEY | pMacExpandedKey, | ||
| _In_reads_(cbAi) PCBYTE | pbAi, | ||
| _In_ SIZE_T | cbAi, | ||
| _In_reads_opt_(cbSeed) PCBYTE | pbSeed, | ||
| _In_ SIZE_T | cbSeed, | ||
| _Out_ PBYTE | pbResult | ||
| ) |
Definition at line 160 of file tlsprf.c.
Referenced by SymCryptTlsPrf1_1Derive(), and SymCryptTlsPrfPHash().
| VOID SYMCRYPT_CALL SymCryptTlsPrfPHash | ( | _In_ PCSYMCRYPT_MAC | pMacAlgorithm, |
| _In_ PCSYMCRYPT_MAC_EXPANDED_KEY | pMacExpandedKey, | ||
| _In_reads_(cbSeed) PCBYTE | pbSeed, | ||
| _In_ SIZE_T | cbSeed, | ||
| _In_reads_opt_(cbAiIn) PCBYTE | pbAiIn, | ||
| _In_ SIZE_T | cbAiIn, | ||
| _Out_writes_(cbResult) PBYTE | pbResult, | ||
| SIZE_T | cbResult, | ||
| _Out_writes_opt_(cbAiOut) PBYTE | pbAiOut, | ||
| SIZE_T | cbAiOut | ||
| ) |
Definition at line 204 of file tlsprf.c.
Referenced by SymCryptTlsPrf1_1Derive(), and SymCryptTlsPrf1_2Derive().