Searched refs:hmac (Results 1 – 13 of 13) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_hmac.py | 1 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 …]
|
D | test_pep247.py | 12 import hmac 68 self.check_module(hmac, key='abc')
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
D | Tpm2Help.c | 121 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()
|
D | Tpm2Integrity.c | 571 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()
|
D | Tpm2Capability.c | 651 …UINT16 *)Buffer, SwapBytes16 (Parameters->parameters.keyedHashDetail.scheme.details.hmac.hashAlg)); in Tpm2TestParms()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/ |
D | DxeTcg2PhysicalPresenceLib.c | 89 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/ |
D | DxeTrEEPhysicalPresenceLib.c | 87 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/ |
D | Install.sh | 20 cp crypto/hmac/hmac.h include/openssl
|
D | Install.cmd | 18 copy crypto\hmac\hmac.h include\openssl
|
D | OpensslLib.inf | 63 $(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/ |
D | Tpm20.h | 1234 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/ |
D | smtplib.py | 48 import hmac 553 response = user + " " + hmac.HMAC(password, challenge).hexdigest()
|
D | imaplib.py | 523 import hmac 524 return self.user + " " + hmac.HMAC(self.password, challenge).hexdigest()
|