ares_crypto: fix typo

This commit is contained in:
Matthew LeVan 2024-02-01 09:23:30 -05:00
parent 0f749965e1
commit c0ca1813a8

View File

@ -51,7 +51,7 @@ pub fn jet_shar(context: &mut Context, subject: Noun) -> Result {
let sec_bytes = sec_key.as_bytes(); let sec_bytes = sec_key.as_bytes();
public[0..pub_bytes.len()].copy_from_slice(pub_bytes); public[0..pub_bytes.len()].copy_from_slice(pub_bytes);
secret[0..pub_bytes.len()].copy_from_slice(sec_bytes); secret[0..sec_bytes.len()].copy_from_slice(sec_bytes);
let (mut shar_ida, shar) = IndirectAtom::new_raw_mut_bytearray::<32, NockStack>(stack); let (mut shar_ida, shar) = IndirectAtom::new_raw_mut_bytearray::<32, NockStack>(stack);
ac_ed_shar(public, secret, shar); ac_ed_shar(public, secret, shar);