def pow_p14
import bend-collections@1.0.0.0/src/crypto/ed25519/point.bend as Pointimport Base
import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as F
27# 2^((p - 1) / 4), (p - 1) / 4 = 2^253 - 5: 250 one bits, then 0 1 1
28def pow_p14(+x: List<&2, U32>) -> List<&2, U32>:
29 F.pow_bits(x, [False{}, True{}, True{}], F.pow_ones(x, 249n, x))