Searched refs:_keyCache (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10/Security-57031.1.35/Security/sec/Security/
H A DSecOTRSessionPriv.h96 SecOTRCacheElement _keyCache[kOTRKeyCacheSize]; member in struct:_SecOTRSession
H A DSecOTRSession.c178 bzero(session->_keyCache, sizeof(session->_keyCache));
269 if (0 == constant_memcmp(session->_keyCache[i]._fullKeyHash, SecFDHKGetHash(myKey), CCSHA1_OUTPUT_SIZE)
270 && (0 == constant_memcmp(session->_keyCache[i]._publicKeyHash, SecPDHKGetHash(theirKey), CCSHA1_OUTPUT_SIZE))) {
271 cachedKeys = &session->_keyCache[i];
275 if (emptyKeys == NULL && SOSOTRSCacheEntryIsEmpty(&(session->_keyCache[i]))) {
276 emptyKeys = &session->_keyCache[i];
283 emptyKeys = &session->_keyCache[0];
332 bzero(session->_keyCache, sizeof(session->_keyCache));
[all...]
H A DSecOTRSessionAKE.c57 bzero(session->_keyCache, sizeof(session->_keyCache));

Completed in 116 milliseconds