Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我有开发人员的库中,将源密钥和CK_INVALID_HANDLE(而不是包装密钥)传递给C_wrapKeyAPI,作为回报,我得到了成功。
CK_INVALID_HANDLE
C_wrapKey
我怀疑这种行为。这是正确的返回码吗?
如果您的意思是C_WrapKey接收到无效的hWrappingKey参数值,那么它应该返回CKR_WRAPPING_KEY_HANDLE_INVALID.
C_WrapKey
hWrappingKey
CKR_WRAPPING_KEY_HANDLE_INVALID