[csrng/doc] Fix glen description in app command
The documentation for the glen command was not precise.
Field description includes what the bit and blocklen values are supported.
Fixes #12454.
Signed-off-by: Mark Branstad <mark.branstad@wdc.com>
diff --git a/hw/ip/csrng/doc/_index.md b/hw/ip/csrng/doc/_index.md
index 39f74d6..556023e 100644
--- a/hw/ip/csrng/doc/_index.md
+++ b/hw/ip/csrng/doc/_index.md
@@ -297,17 +297,17 @@
</td>
</tr>
<tr>
- <td>30:12</td>
+ <td>24:12</td>
<td>glen</td>
- <td> Generate Length: Only defined for the generate command, this field is the total number of crytographic entropy bits requested.
- The NIST reference name is <tt>max_number_of_bit_per_request</tt>, and this field size supports the maximum size allowed.
+ <td> Generate Length: Only defined for the generate command, this field is the total number of crytographic entropy blocks requested.
Each unit represents 128 bits of entropy returned.
- For example, a value of 8 would return a total of 1024 bits.
- The maximum value for this field is 2<sup>19</sup>.
+ The NIST reference name is <tt>max_number_of_bit_per_request</tt>, and this field size supports the maximum size of 2<sup>19</sup> bits.
+ For the maximum size, this field should be set to 4096, resulting in a <tt>max_number_of_bit_per_request</tt> value of 4096 x 128 bits.
+ For a smaller example, a value of 8 would return a total of 1024 bits.
</td>
</tr>
<tr>
- <td>31</td>
+ <td>31:25</td>
<td>resv</td>
<td> Unused and reserved.
</td>