def of_bytes
import bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/field.bend as Fieldimport Base
287# bytes to an element, bit 255 ignored
288def of_bytes(bs: List<&2, U32>) -> List<&2, U32>:
289 mask_top(bs)
Uses (3)
Used by (5)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/x25519:x25519_raw
- bend-collections-laws-crypto@1.0.0.0/src/crypto/ed25519/point:decode
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/ladder:x25519_rel
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/curve25519/field:OfBytes.tight
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/proof:of_bytes_tight