HomeThat World

Added Drop to SharedSecret and SecretKey (#9)

Authored by Elichai Turkel <elichai.turkel@gmail.com> on Mar 7 2019, 9:27 PM.

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
Parents
rSECPebe9f1d31db9: Add RecoveryId::parse_rpc for recid starting with 27
Branches
Unknown
Tags
Unknown
Build Status
Buildable 276
Build 343: libsecp256k1-rsJenkins