| [in] | attributes | The attributes for the new key. |
| [in] | wrapping_key_attributes | The attributes for the key to use for the unwrapping operation. |
| [in] | wrapping_key_data | Wrapping key material. |
| [in] | wrapping_key_size | Size of the wrapping key in bytes. |
| [in] | alg | Key wrapping algorithm. |
| [in] | data | Buffer containing the wrapped key data. The content of this buffer is unwrapped. |
| [in] | data_length | Size of the data buffer in bytes. |
| [out] | key | Key material of the unwrapped key. |
| [in] | key_size | Size of the buffer containing the unwrapped key. |
| [out] | key_length | On success, the number of bytes that make up the unwrapped key data |
| [out] | bits | On success, the number of bits that make up the unwrapped key data |