type crypto/internal/fips140/ecdsa.PrivateKey
19 uses
crypto/internal/fips140/ecdsa (current package)
cast.go#L16: func testPrivateKey() *PrivateKey {
cast.go#L18: return &PrivateKey{
cast.go#L54: func fipsPCT[P Point[P]](c *Curve[P], k *PrivateKey) {
ecdsa.go#L23: type PrivateKey struct {
ecdsa.go#L28: func (priv *PrivateKey) Bytes() []byte {
ecdsa.go#L32: func (priv *PrivateKey) PublicKey() *PublicKey {
ecdsa.go#L159: func NewPrivateKey[P Point[P]](c *Curve[P], D, Q []byte) (*PrivateKey, error) {
ecdsa.go#L169: priv := &PrivateKey{pub: *pub, d: d.Bytes(c.N)}
ecdsa.go#L185: func GenerateKey[P Point[P]](c *Curve[P], rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L195: priv := &PrivateKey{
ecdsa.go#L267: func Sign[P Point[P], H hash.Hash](c *Curve[P], h func() H, priv *PrivateKey, rand io.Reader, hash []byte) (*Signature, error) {
ecdsa.go#L300: func SignDeterministic[P Point[P], H hash.Hash](c *Curve[P], h func() H, priv *PrivateKey, hash []byte) (*Signature, error) {
ecdsa.go#L318: func signGeneric[P Point[P]](c *Curve[P], priv *PrivateKey, drbg *hmacDRBG, hash []byte) (*Signature, error) {
ecdsa_noasm.go#L9: func sign[P Point[P]](c *Curve[P], priv *PrivateKey, drbg *hmacDRBG, hash []byte) (*Signature, error) {
crypto/ecdsa
ecdsa.go#L560: func privateKeyFromFIPS(curve elliptic.Curve, priv *ecdsa.PrivateKey) (*PrivateKey, error) {
ecdsa.go#L576: var privateKeyCache fips140cache.Cache[PrivateKey, ecdsa.PrivateKey]
ecdsa.go#L578: func privateKeyToFIPS[P ecdsa.Point[P]](c *ecdsa.Curve[P], priv *PrivateKey) (*ecdsa.PrivateKey, error) {
ecdsa.go#L583: return privateKeyCache.Get(priv, func() (*ecdsa.PrivateKey, error) {
ecdsa.go#L585: }, func(k *ecdsa.PrivateKey) bool {