[openssl-users] Use of SEED_ofb128_encrypt in SHA1 calculations

Paulo Matos paulo at matos-sorge.com
Fri Nov 16 09:26:53 UTC 2018


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 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 seeding is related to SHA1. At the same time, I can't break into it
> in gdb and I can't understand where it's being called.
> 
> Could you please shed some light on why this function is called and if
> there's something I can do about it?
> 
> Kind regards,
> 

-- 
Paulo Matos


More information about the openssl-users mailing list