Yubico / developers.yubico.com

Source code for generating our website
https://developers.yubico.com
53 stars 64 forks source link

yhsm: specify the existence of a nul byte in the encrypted data #494

Closed a-dma closed 1 year ago

a-dma commented 1 year ago

The WRAP_DATA command adds a nul byte to the provided data. This byte must be present when feeding encrypted data to UNWRAP DATA and must be explicitly added when manually encrypting data outside of the device.