Searched defs:DigestSize (Results 1 - 9 of 9) sorted by relevance
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
H A D | CryptPkcs5Pbkdf2.c | 32 @param[in] DigestSize Size of the message digest to be used (eg. SHA256_DIGEST_SIZE).
33 NOTE: DigestSize will be used to determine the hash algorithm.
52 IN UINTN DigestSize,
76 switch (DigestSize) {
46 Pkcs5HashPassword( IN UINTN PasswordLength, IN CONST CHAR8 *Password, IN UINTN SaltLength, IN CONST UINT8 *Salt, IN UINTN IterationCount, IN UINTN DigestSize, IN UINTN KeyLength, OUT UINT8 *OutKey ) argument
|
H A D | CryptPkcs5Pbkdf2Null.c | 32 @param[in] DigestSize Size of the message digest to be used (eg. SHA256_DIGEST_SIZE).
33 NOTE: DigestSize will be used to determine the hash algorithm.
49 IN UINTN DigestSize,
43 Pkcs5HashPassword( IN UINTN PasswordLength, IN CONST CHAR8 *Password, IN UINTN SaltLength, IN CONST UINT8 *Salt, IN UINTN IterationCount, IN UINTN DigestSize, IN UINTN KeyLength, OUT UINT8 *OutKey ) argument
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
H A D | Tpm2Help.c | 257 UINT16 DigestSize;
local 271 DigestSize = GetHashSizeFromAlgo (DigestList->digests[Index].hashAlg);
272 CopyMem (Buffer, &DigestList->digests[Index].digest, DigestSize);
273 Buffer = (UINT8 *)Buffer + DigestSize;
295 UINT16 DigestSize;
local 300 DigestSize = GetHashSizeFromAlgo (DigestList->digests[Index].hashAlg);
301 TotalSize += sizeof(DigestList->digests[Index].hashAlg) + DigestSize;
326 UINT16 DigestSize;
local 328 DigestSize = GetHashSizeFromAlgo (HashAlg);
334 DigestSize
[all...] |
H A D | Tpm2Sequences.c | 303 UINT16 DigestSize;
local 384 DigestSize = GetHashSizeFromAlgo (Results->digests[Index].hashAlg);
385 if (DigestSize == 0) {
392 DigestSize
394 BufferPtr += DigestSize;
|
H A D | Tpm2Integrity.c | 112 UINT16 DigestSize;
local 137 DigestSize = GetHashSizeFromAlgo (Digests->digests[Index].hashAlg);
138 if (DigestSize == 0) {
145 DigestSize
147 Buffer += DigestSize;
222 UINT16 DigestSize;
local 286 DigestSize = GetHashSizeFromAlgo (Digests->digests[Index].hashAlg);
287 if (DigestSize == 0) {
294 DigestSize
296 Buffer += DigestSize;
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
H A D | Sa.c | 1681 UINTN DigestSize;
local 1733 DigestSize = IpSecGetHmacDigestLength ((UINT8)SaParams->Prf);
1734 Digest = AllocateZeroPool (DigestSize);
1748 DigestSize
1787 DigestSize,
|
H A D | Utility.c | 2648 UINTN DigestSize;
local 2666 DigestSize = AuthKeyLength;
2676 if (OutputKeyLength <= DigestSize) {
2684 DigestSize
2752 DigestSize
2760 DigestSize
2762 if (OutputKeyLength > DigestSize * (Index + 1)) {
2764 OutputKey + Index * DigestSize,
2766 DigestSize
2768 LocalFragments[0].DataSize = DigestSize;
[all...] |
H A D | Payload.c | 398 UINTN DigestSize;
local 426 DigestSize = IpSecGetHmacDigestLength ((UINT8)IkeSaSession->SessionCommon.SaParams->Prf);
427 Digest = AllocateZeroPool (DigestSize);
449 DigestSize
458 KeyBuf = AllocateZeroPool (DigestSize);
464 CopyMem (KeyBuf, Digest, DigestSize);
465 KeySize = DigestSize;
483 DigestSize
493 DigestSize
520 Fragments[2].Data = AllocateZeroPool (DigestSize);
658 UINTN DigestSize; local [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
H A D | Tcg2Dxe.c | 380 TCG_EfiSpecIdEventAlgorithmSize *DigestSize;
local 399 DigestSize = (TCG_EfiSpecIdEventAlgorithmSize *)((UINT8 *)TcgEfiSpecIdEventStruct + sizeof(*TcgEfiSpecIdEventStruct) + sizeof(NumberOfAlgorithms));
402 DEBUG ((EFI_D_INFO, " algorithmId - 0x%04x\n", DigestSize[Index].algorithmId));
403 DEBUG ((EFI_D_INFO, " digestSize - 0x%04x\n", DigestSize[Index].digestSize));
405 VendorInfoSize = (UINT8 *)&DigestSize[NumberOfAlgorithms];
425 TCG_EfiSpecIdEventAlgorithmSize *DigestSize;
local 431 DigestSize = (TCG_EfiSpecIdEventAlgorithmSize *)((UINT8 *)TcgEfiSpecIdEventStruct + sizeof(*TcgEfiSpecIdEventStruct) + sizeof(NumberOfAlgorithms));
432 VendorInfoSize = (UINT8 *)&DigestSize[NumberOfAlgorithms];
450 UINT32 DigestSize;
local 467 DigestSize 502 UINT32 DigestSize; local 879 UINT16 DigestSize; local 919 UINT16 DigestSize; local 1384 TCG_EfiSpecIdEventAlgorithmSize *DigestSize; local [all...] |
Completed in 192 milliseconds