Re: [openssl-users] Use of SEED_ofb128_encrypt in SHA1 calculations

2018-11-16 Thread Paulo Matos via openssl-users
Apologies for my mistake. I think I was profiling the whole CPU instead of just my process. Please disregard. Paulo Matos On 16/11/2018 09:08, Paulo Matos via openssl-users wrote: > Hi, > > I have a program where I am doing millions of calculations of SHA1 per > second. This is a tight loop with

[openssl-users] Use of SEED_ofb128_encrypt in SHA1 calculations

2018-11-16 Thread Paulo Matos via openssl-users
Hi, I have a program where I am doing millions of calculations of SHA1 per second. This is a tight loop with call to SHA1_Init, SHA1_Update and SHA1_Final. Interestingly when I profile with gperf and visualize with pprof, I see 64.8% of the time spent in SEED_ofb128_encrypt. I can't see how seedin