pub fn egetkey(key_policy: Keypolicy, context: &[u8]) -> [u8; 32]
Expand description
egetkey returns a 256 bit key suitable for sealing secrets to the
enclave in cold storage, derived from the results of the EGETKEY
instruction. The context
field is a domain separation tag.
Note: The key can also be used for other things (eg: as an X25519 private key).