type crypto/internal/fips140/ecdsa.PrivateKey
16 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) error {
ecdsa.go#L22: type PrivateKey struct {
ecdsa.go#L27: func (priv *PrivateKey) Bytes() []byte {
ecdsa.go#L31: func (priv *PrivateKey) PublicKey() *PublicKey {
ecdsa.go#L158: func NewPrivateKey[P Point[P]](c *Curve[P], D, Q []byte) (*PrivateKey, error) {
ecdsa.go#L168: priv := &PrivateKey{pub: *pub, d: d.Bytes(c.N)}
ecdsa.go#L189: func GenerateKey[P Point[P]](c *Curve[P], rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L199: priv := &PrivateKey{
ecdsa.go#L274: func Sign[P Point[P], H fips140.Hash](c *Curve[P], h func() H, priv *PrivateKey, rand io.Reader, hash []byte) (*Signature, error) {
ecdsa.go#L307: func SignDeterministic[P Point[P], H fips140.Hash](c *Curve[P], h func() H, priv *PrivateKey, hash []byte) (*Signature, error) {
ecdsa.go#L325: 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#L388: func privateKeyFromFIPS(curve elliptic.Curve, priv *ecdsa.PrivateKey) (*PrivateKey, error) {
ecdsa.go#L404: func privateKeyToFIPS[P ecdsa.Point[P]](c *ecdsa.Curve[P], priv *PrivateKey) (*ecdsa.PrivateKey, error) {