HomeSource World

Added Drop to SharedSecret and SecretKey (#9)

Authored by Elichai Turkel <elichai.turkel@gmail.com> on Mar 7 2019, 9:27 PM.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Added Drop to SharedSecret and SecretKey (#9)

  • Added Drop trait for SecretKey and SharedSecret
  • Replaced simple clear with write_volatile to prevent compiler optimizations
  • Removed the clear() from SharedSecret and added Into<Scalar> back

Details

Committed
sorpaasMar 7 2019, 9:27 PM
Build Status
Buildable 276
Build 343: libsecp256k1-rsJenkins

Commit No Longer Exists

This commit no longer exists in the repository.