Bug 2231

Summary: Use EVP_Digest for oneshot digest calculation
Product: Portable OpenSSH Reporter: Timo Teräs <timo.teras>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm
Priority: P5    
Version: 6.6p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2226    
Attachments:
Description Flags
suggested patch none

Description Timo Teräs 2014-04-18 17:43:07 AEST
Created attachment 2428 [details]
suggested patch

It would be preferable to use EVP_Digest for oneshot digest calculation:
 - one calloc/free less
 - EVP_Digest properly sets oneshot flag (certain hardware accelerators
   work only if the flag is set)
Comment 1 Damien Miller 2014-07-03 13:27:21 AEST
Similar patch applied; thanks!
Comment 2 Damien Miller 2014-10-08 08:00:47 AEDT
Close all bugs left open from 6.6 and 6.7 releases.