25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
348 B

  1. #define TREE_HEIGHT 10
  2. #define WOTS_LOGW 4 // -> w = 16
  3. #define SK_RAND_SEED_BYTES 32
  4. #define MESSAGE_HASH_SEED_BYTES 32
  5. #define WOTS_W (1 << WOTS_LOGW)
  6. #define WOTS_L1 ((256+WOTS_LOGW-1)/WOTS_LOGW)
  7. #define WOTS_L 67 // for WOTS_W == 16
  8. #define WOTS_LOG_L 7 // for WOTS_W == 16
  9. #define WOTS_SIGBYTES (WOTS_L*HASH_BYTES)
  10. #define HASH_BYTES 32