Searched refs:s_rsaKeyCache (Results 1 – 1 of 1) sorted by relevance
103 RSA_KEY_CACHE s_rsaKeyCache[RSA_KEY_CACHE_ENTRIES]; variable146 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()[all …]