def load_random(self, num_bytes, offset = <NUM_LIT:0>):
return pyhsm.buffer_cmd.YHSM_Cmd_Buffer_Random_Load(self.stick, num_bytes, offset).execute()<EOL>
Ask YubiHSM to generate a number of random bytes to any offset of it's internal
buffer.

The data is stored internally in the YubiHSM in temporary memory -
this operation would typically be followed by one or more L{generate_aead}
commands to actually retreive the generated secret (in encrypted form).

@param num_bytes: Number of bytes to generate
@type num_bytes: integer

@returns: Number of bytes in YubiHSM internal buffer after load
@rtype: integer

@see: L{pyhsm.buffer_cmd.YHSM_Cmd_Buffer_Random_Load}