package pqid_test

import (
	"github.com/cloudflare/circl/sign/mldsa/mldsa65"
	"github.com/drjones/quantum-arcade/pkg/pqid"
)

// signWithContext produces an ML-DSA signature under an arbitrary context, so
// the domain-separation test can prove the production context is enforced.
func signWithContext(priv *pqid.PrivateKey, msg, ctx, out []byte) error {
	return mldsa65.SignTo(priv.PQ, msg, ctx, false, out)
}
