Skip to content

Commit f7ef01f

Browse files
committed
cleanup
1 parent 0ff7c94 commit f7ef01f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

noir-projects/aztec-nr/aztec/src/keys/ecdh_shared_secret.nr

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ pub fn derive_ecdh_shared_secret(secret: Scalar, public_key: EmbeddedCurvePoint)
2525
/// Computes an app-siloed shared secret from a raw ECDH shared secret point and a contract address.
2626
///
2727
/// `s_app = h(DOM_SEP__APP_SILOED_ECDH_SHARED_SECRET, S.x, S.y, contract_address)`
28-
///
29-
/// Public so that contracts holding a raw `EmbeddedCurvePoint` (e.g. the constrained-delivery handshake registry) can
30-
/// reuse the canonical silo formula rather than re-inlining it and risking drift.
3128
pub fn compute_app_siloed_shared_secret(shared_secret: EmbeddedCurvePoint, contract_address: AztecAddress) -> Field {
3229
poseidon2_hash_with_separator(
3330
[shared_secret.x, shared_secret.y, contract_address.to_field()],

0 commit comments

Comments
 (0)