Lines Matching refs:localState
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()
644 _cpri__UpdateHash(&localState, oPadKey->size, oPadKey->buffer); in _cpri__CompleteHMAC()
645 _cpri__UpdateHash(&localState, digestSize, digest); in _cpri__CompleteHMAC()
646 return _cpri__CompleteHash(&localState, dOutSize, dOut); in _cpri__CompleteHMAC()