Changes

Jump to navigation Jump to search
240 bytes added ,  18:08, 21 July 2017
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-bytes as input and two u32s. Outputs random-looking 16-bytes.
+
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.

Navigation menu