(r)
| 1317 | } |
| 1318 | } |
| 1319 | function reduce(r) { |
| 1320 | var x = new Float64Array(64), i; |
| 1321 | for (i = 0; i < 64; i++) |
| 1322 | x[i] = r[i]; |
| 1323 | for (i = 0; i < 64; i++) |
| 1324 | r[i] = 0; |
| 1325 | modL(r, x); |
| 1326 | } |
| 1327 | // Like crypto_sign, but uses secret key directly in hash. |
| 1328 | function crypto_sign_direct(sm, m, n, sk) { |
| 1329 | var h = new Uint8Array(64), r = new Uint8Array(64); |
no test coverage detected