SPL services: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
= csrng = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || [[#GetRandomBytes]] | |||
|} | |||
== GetRandomBytes == | |||
Takes a type-6 buffer and fills it with random data. | |||
= spl: = | = spl: = | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 82: | Line 93: | ||
== GenerateAesKek == | == GenerateAesKek == | ||
Takes 16- | Takes a 16-byte seed ("BisEncryptionKeySourceForKek") and two words ("KeyGeneration" and "option") as input. | ||
KeyGeneration ranges from 0 to 2. | |||
Same input gives same output. Output changes when system is rebooted. | Same input gives same output. Output changes when system is rebooted. |