def X25519.value

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/curve25519/x25519.bend:147

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/curve25519/x25519.bend as X25519
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/curve25519/field.bend as FS
import bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/x25519.bend as X

147def X25519.value(+one: Nat, +h1: {one == 1n : Nat}, +k: List<&2, U32>, +u: List<&2, U32>, +hk: {FS.tight(k) == True{} : Bool}, +hu: {FS.tight(u) == True{} : Bool}) -> Type:
148  {X.x25519_raw(k, u) == x25519(one, k, u) : List<&2, U32>}

Uses (7)

Used by (2)