AntonMeep / pbkdf2

ISC License
0 stars 0 forks source link

Mark the package as Pure, Preelaborate #2

Closed AntonMeep closed 2 years ago

AntonMeep commented 2 years ago

Because of the internal dependency on GNAT.SHA*, PBKDF2 package cannot be marked as Pure, Preelaborate. This is a great shame since cryptography functions are inherently Pure (same function called with the same parameters will always return same result) and don't usually have any initialization needed that would affect elaboration order. Only solution - use an external sha and hmac implementation, as per #1

AntonMeep commented 2 years ago

Done