| 512 | } |
| 513 | |
| 514 | static sha256_midstate hashint(uint_fast32_t n) { |
| 515 | sha256_midstate result; |
| 516 | sha256_context ctx = sha256_init(result.s); |
| 517 | sha256_u32le(&ctx, n); |
| 518 | sha256_finalize(&ctx); |
| 519 | |
| 520 | return result; |
| 521 | } |
| 522 | |
| 523 | static sha256_midstate rsort_no_duplicates(uint_fast32_t i) { |
| 524 | return hashint(i); |
no test coverage detected