traits
traits copied to clipboard
crypto-common: fallible alternative to `KeyInit`
I was looking at using KeyInit with elliptic-curve, but for that application we need to return an error in the event the deserialized integer for the key overflows the curve's order.
Perhaps there could be a fallible equivalent to KeyInit like TryKeyInit?
Sounds good to me. I wonder whether we should add a blanket impl of TrykeyInit for T: KeyInit.
@tarcieri Since you closed #2092, what do you plan to do with this issue? Should it be closed as "not planned"?
Can make another attempt after #2096