Rename ElGamalSK to ElGamalSecretKey

This commit is contained in:
Michael Vines
2021-10-01 09:48:45 -07:00
parent 5445e13828
commit 8bb6f0dc6f
5 changed files with 35 additions and 35 deletions

View File

@@ -6,7 +6,7 @@ use {
use {
crate::{
encryption::{
elgamal::{ElGamalCiphertext, ElGamalPubkey, ElGamalSK},
elgamal::{ElGamalCiphertext, ElGamalPubkey, ElGamalSecretKey},
pedersen::{Pedersen, PedersenBase, PedersenComm, PedersenDecHandle, PedersenOpen},
},
errors::ProofError,
@@ -38,7 +38,7 @@ impl TransferData {
spendable_balance: u64,
spendable_ct: ElGamalCiphertext,
source_pk: ElGamalPubkey,
source_sk: &ElGamalSK,
source_sk: &ElGamalSecretKey,
dest_pk: ElGamalPubkey,
auditor_pk: ElGamalPubkey,
) -> Self {
@@ -234,7 +234,7 @@ impl TransferProofs {
#[allow(clippy::too_many_arguments)]
#[allow(clippy::many_single_char_names)]
pub fn new(
source_sk: &ElGamalSK,
source_sk: &ElGamalSecretKey,
source_pk: &ElGamalPubkey,
dest_pk: &ElGamalPubkey,
auditor_pk: &ElGamalPubkey,