From ba4c9399a9f3ef1b7b9bdd3bf02e550830d34f15 Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Sun, 30 Jan 2022 20:09:28 +0000 Subject: [PATCH] Add missing params to docstring. --- src/romulus-m.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/romulus-m.ts b/src/romulus-m.ts index 54f9446..ed7d45a 100644 --- a/src/romulus-m.ts +++ b/src/romulus-m.ts @@ -35,9 +35,9 @@ function parse (message: number[], blockLength: number): number[][] { /** * Pads the byte length of message to padLength. The final byte (when padded) contains the original message length. - * @param message - * @param padLength - * @returns A complete 16 byte block. + * @param message The message to pad. + * @param padLength The length to pad the message to. + * @returns A padded block. */ function pad (message: number[], padLength: number): number[] { // If there is no message, return a fully padded block. @@ -63,7 +63,7 @@ function pad (message: number[], padLength: number): number[] { /** * Generate the key stream from the internal state by multiplying the state S and the constant matrix G. - * @param state + * @param state The state from which the key stream will be generated. * @returns The key stream. */ function g (state: number[]): number[] {