jakobkroeker / HMAC

Approximate construction of Hurwitz maps using an algebraic-numerical method
Other
0 stars 0 forks source link

example fails due to a bug in C++ code part? #19

Closed jakobkroeker closed 10 years ago

jakobkroeker commented 11 years ago

SetInfoLevel( InfoHMAC , 2 ); SetInfoLevel( InfoFR , 3 );

 fieldSize := 11;; 
 finiteField := GF( fieldSize );;
 partitions := [  [ 3,2,2] ,  [3,2,2], [  3,2,2]];;
 criticalValues := [ infinity, 0 * Z( fieldSize ), Z( fieldSize ) ^ 0 ];;
 strictNormalization := true;;

  # bug?
  searchSpaceSize := HurwitzMapSearchSpaceSize@HMAC( finiteField,partitions, criticalValues);

 maps := FindHurwitzMapModPrime@HMAC( finiteField, partitions, criticalValues, strictNormalization );;

called with:

3 11 1 9 1 7 3 3 2 2 0 3 2 2 0 3 2 2 0

jakobkroeker commented 10 years ago

fixed in https://github.com/jakobkroeker/HMAC/commit/b28ab3e5efa8414c41c28ab4b57ae8a4be206af9