Home
last modified time | relevance | path

Searched refs:hmac (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_hmac.py1 import hmac
13 h = hmac.HMAC(key, data)
47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1)
81 h = hmac.HMAC(key, data, digestmod=hashfunc)
217 hmac.HMAC('a', 'b', digestmod=MockCrazyHash)
222 hmac.HMAC('a', 'b', digestmod=MockCrazyHash)
233 h = hmac.HMAC("key")
240 h = hmac.HMAC("key", "hash this!")
247 h = hmac.HMAC("key", "", hashlib.sha1)
256 h = hmac.HMAC("key")
[all …]
Dtest_pep247.py12 import hmac
68 self.check_module(hmac, key='abc')
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
DTpm2Help.c121 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16 (AuthSessionIn->hmac.size)); in CopyAuthSessionCommand()
124 CopyMem (Buffer, AuthSessionIn->hmac.buffer, AuthSessionIn->hmac.size); in CopyAuthSessionCommand()
125 Buffer += AuthSessionIn->hmac.size; in CopyAuthSessionCommand()
183 AuthSessionOut->hmac.size = SwapBytes16 (ReadUnaligned16 ((UINT16 *)Buffer)); in CopyAuthSessionResponse()
186 CopyMem (AuthSessionOut->hmac.buffer, Buffer, AuthSessionOut->hmac.size); in CopyAuthSessionResponse()
187 Buffer += AuthSessionOut->hmac.size; in CopyAuthSessionResponse()
DTpm2Integrity.c571 LocalAuthSession.hmac.size = PlatformAuth->size; in Tpm2PcrAllocateBanks()
572 CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size); in Tpm2PcrAllocateBanks()
669 ZeroMem(&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac)); in Tpm2PcrAllocateBanks()
DTpm2Capability.c651 …UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.details.hmac.hashAlg)); in Tpm2TestParms()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/
DDxeTcg2PhysicalPresenceLib.c89 LocalAuthSession.hmac.size = PlatformAuth->size; in Tpm2CommandClear()
90 CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size); in Tpm2CommandClear()
104 ZeroMem (&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac)); in Tpm2CommandClear()
130 LocalAuthSession.hmac.size = PlatformAuth->size; in Tpm2CommandChangeEps()
131 CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size); in Tpm2CommandChangeEps()
137 ZeroMem(&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac)); in Tpm2CommandChangeEps()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/
DDxeTrEEPhysicalPresenceLib.c87 LocalAuthSession.hmac.size = PlatformAuth->size; in TpmCommandClear()
88 CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size); in TpmCommandClear()
102 ZeroMem (&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac)); in TpmCommandClear()
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/
DInstall.sh20 cp crypto/hmac/hmac.h include/openssl
DInstall.cmd18 copy crypto\hmac\hmac.h include\openssl
DOpensslLib.inf63 $(OPENSSL_PATH)/crypto/hmac/hmac.c
64 $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
65 $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DTpm20.h1234 TPM2B_AUTH hmac; member
1241 TPM2B_AUTH hmac; member
1329 TPMS_SCHEME_HMAC hmac; member
1361 TPMS_SCHEME_HMAC hmac; member
1540 TPMT_HA hmac; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsmtplib.py48 import hmac
553 response = user + " " + hmac.HMAC(password, challenge).hexdigest()
Dimaplib.py523 import hmac
524 return self.user + " " + hmac.HMAC(self.password, challenge).hexdigest()