Lines Matching refs:s_rsaKeyCache
103 RSA_KEY_CACHE s_rsaKeyCache[RSA_KEY_CACHE_ENTRIES]; variable
146 s_rsaKeyCache[index].publicModulus = publicArea->unique.rsa; in InitializeKeyCache()
147 s_rsaKeyCache[index].privateExponent = sensitive->sensitive.rsa; in InitializeKeyCache()
170 if(fwrite(s_rsaKeyCache, 1, sizeof(s_rsaKeyCache), cacheFile) in InitializeKeyCache()
171 != sizeof(s_rsaKeyCache)) in InitializeKeyCache()
209 if(ftell(cacheFile) == sizeof(s_rsaKeyCache)) in KeyCacheLoaded()
213 fread(&s_rsaKeyCache, 1, sizeof(s_rsaKeyCache), cacheFile) in KeyCacheLoaded()
214 == sizeof(s_rsaKeyCache)); in KeyCacheLoaded()
244 if((s_rsaKeyCache[index].publicModulus.t.size * 8) == keyBits) in GetCachedRsaKey()
246 publicArea->unique.rsa = s_rsaKeyCache[index].publicModulus; in GetCachedRsaKey()
247 sensitive->sensitive.rsa = s_rsaKeyCache[index].privateExponent; in GetCachedRsaKey()