Home | History | Annotate | Download | only in elliptic

Lines Matching refs:byteLen

278 	byteLen := (bitSize + 7) >> 3
279 priv = make([]byte, byteLen)
299 byteLen := (curve.Params().BitSize + 7) >> 3
301 ret := make([]byte, 1+2*byteLen)
305 copy(ret[1+byteLen-len(xBytes):], xBytes)
307 copy(ret[1+2*byteLen-len(yBytes):], yBytes)
314 byteLen := (curve.Params().BitSize + 7) >> 3
315 if len(data) != 1+2*byteLen {
321 x = new(big.Int).SetBytes(data[1 : 1+byteLen])
322 y = new(big.Int).SetBytes(data[1+byteLen:])