[−][src]Function tss_esapi::utils::create_unrestricted_encryption_decryption_rsa_public
pub fn create_unrestricted_encryption_decryption_rsa_public(
key_bits: u16,
pub_exponent: u32
) -> Result<TPM2B_PUBLIC>
Create the TPM2B_PUBLIC structure for an unrestricted encryption/decryption key.
symmetric
- Cipher to be used for decrypting children of the keykey_bits
- Size in bits of the decryption keypub_exponent
- Public exponent of the RSA key. A value of 0 defaults to 2^16 + 1