Searched refs:localState (Results 1 – 3 of 3) sorted by relevance
/external/tpm2/ |
D | stubs_hash.c | 18 CPRI_HASH_STATE localState; in _cpri__StartHMAC() local 28 if((digestSize = _cpri__StartHash(hashAlg, FALSE, &localState)) == 0) in _cpri__StartHMAC() 30 _cpri__UpdateHash(&localState, keySize, key); in _cpri__StartHMAC() 31 _cpri__CompleteHash(&localState, digestSize, oPadKey->buffer); in _cpri__StartHMAC() 70 CPRI_HASH_STATE localState; in _cpri__CompleteHMAC() local 74 if(_cpri__StartHash(state->hashAlg, FALSE, &localState) != digestSize) in _cpri__CompleteHMAC() 76 _cpri__UpdateHash(&localState, oPadKey->size, oPadKey->buffer); in _cpri__CompleteHMAC() 77 _cpri__UpdateHash(&localState, digestSize, digest); in _cpri__CompleteHMAC() 78 return _cpri__CompleteHash(&localState, dOutSize, dOut); in _cpri__CompleteHMAC()
|
D | CpriHash.c | 305 EVP_MD_CTX localState; in _cpri__StartHash() local 312 context = &localState; in _cpri__StartHash() 411 EVP_MD_CTX localState; in _cpri__CompleteHash() local 423 context = &localState; in _cpri__CompleteHash() 574 CPRI_HASH_STATE localState; in _cpri__StartHMAC() local 584 if((digestSize = _cpri__StartHash(hashAlg, FALSE, &localState)) == 0) in _cpri__StartHMAC() 586 _cpri__UpdateHash(&localState, keySize, key); in _cpri__StartHMAC() 587 _cpri__CompleteHash(&localState, digestSize, oPadKey->buffer); in _cpri__StartHMAC() 638 CPRI_HASH_STATE localState; in _cpri__CompleteHMAC() local 642 if(_cpri__StartHash(state->hashAlg, FALSE, &localState) != digestSize) in _cpri__CompleteHMAC() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otBase.py | 124 def __init__(self, data, globalState={}, localState=None, offset=0): argument 129 self.localState = localState 136 return self.__class__(self.data, self.globalState, self.localState, offset) 182 state = self.localState.copy() if self.localState else dict() 184 self.localState = state 187 return self.localState[name] 194 def __init__(self, globalState, localState=None): argument 198 self.localState = localState 202 state = self.localState.copy() if self.localState else dict() 204 self.localState = state [all …]
|