Files
nistec/internal/fiat/p256_extra.go

13 lines
418 B
Go
Raw Normal View History

2026-03-08 10:29:13 +00:00
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package fiat
// Bits returns a reference to the underlying little-endian fully-reduced
// Montgomery representation of e. Handle with care.
func (e *P256Element) Bits() *[4]uint64 {
var _ p256MontgomeryDomainFieldElement = e.x
return (*[4]uint64)(&e.x)
}