Bug 2231 - Use EVP_Digest for oneshot digest calculation
Summary: Use EVP_Digest for oneshot digest calculation
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 6.6p1
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_7
  Show dependency treegraph
 
Reported: 2014-04-18 17:43 AEST by Timo Teräs
Modified: 2014-10-08 08:00 AEDT (History)
1 user (show)

See Also:


Attachments
suggested patch (707 bytes, text/plain)
2014-04-18 17:43 AEST, Timo Teräs
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.