vectors_test.mx raw

   1  package mls
   2  
   3  import "testing"
   4  
   5  // TestTreeMathVectors validates tree math against the RFC 9420 Appendix C
   6  // vectors. The rest of test_support.mx's validators need the wasm crypto
   7  // bridge; this one is pure arithmetic and runs natively.
   8  func TestTreeMathVectors(t *testing.T) {
   9  	if err := TestTreeMath(); err != nil {
  10  		t.Fatalf("tree math: %s", err.Error())
  11  	}
  12  }
  13