Commit Graph

17 Commits

Author SHA1 Message Date
Michael Vines
c33e24de57 Rename ElGamal to ElGamalKeypair 2022-01-05 08:51:18 -08:00
Michael Vines
f272c025bd Rename ElGamal::new() to ElGamal::default() 2022-01-05 08:51:18 -08:00
Michael Vines
2c1aa715b0 Adjust ElGamal::new() signature 2022-01-05 08:51:18 -08:00
samkim-crypto
09b8baa4b1 merge 2022-01-05 08:51:18 -08:00
Sam Kim
73c06d9e33 Rename ElGamalPubkey::gen_decrypt_handle method to ElGamalPubkey::decrypt_handle 2022-01-05 08:51:18 -08:00
Sam Kim
c150b4b197 Replace to_elgamal_ciphertext with From trait for ElGamalCiphertext 2022-01-05 08:51:18 -08:00
Sam Kim
a40e7fc59b Rename Pedersen related structs and methods for consistency 2022-01-05 08:51:18 -08:00
Michael Vines
17cda46531 Merge transfer instructions 2022-01-05 08:51:18 -08:00
Michael Vines
42f7c0c7f6 Update tests 2022-01-05 08:51:18 -08:00
Sam Kim
9b73e351aa minor name change 2022-01-05 08:51:18 -08:00
Sam Kim
d6a808f41a simplify get_ciphertext methods 2022-01-05 08:51:18 -08:00
Sam Kim
93f2323e52 add ciphertext extraction methods for TransferData 2022-01-05 08:51:18 -08:00
Michael Vines
a622ee4b8d Rename ElGamal::keygen to ElGamal::new 2022-01-05 08:51:18 -08:00
Michael Vines
8bb6f0dc6f Rename ElGamalSK to ElGamalSecretKey 2022-01-05 08:51:18 -08:00
Michael Vines
78799640ea Rename ElGamalCT to ElGamalCiphertext, ElGamalPK to ElGamalPubkey 2022-01-05 08:51:18 -08:00
Michael Vines
f3e7e62813 Refactor sdk/src/pod.rs 2022-01-05 08:51:18 -08:00
Michael Vines
d01d425e4b Rename crypto crate to sdk 2022-01-05 08:51:18 -08:00