Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreateCopyDestroyObject, read only error for CKA_VALUE #55

Closed
metekesler opened this issue Sep 8, 2021 · 0 comments
Closed

CreateCopyDestroyObject, read only error for CKA_VALUE #55

metekesler opened this issue Sep 8, 2021 · 0 comments

Comments

@metekesler
Copy link
Contributor

Updating the CKA_VALUE attribute. It says read-only in the standard. Could the testing process here be wrong?

// Make another copy but change the value attribute along the way.
CK_OBJECT_HANDLE object3;
CK_BYTE facefeed[] = { 0xFA, 0xCE, 0xFE, 0xED};
CK_ATTRIBUTE attrs3[] = {
{CKA_VALUE, facefeed, sizeof(facefeed)},
};
EXPECT_CKR_OK(g_fns->C_CopyObject(session_, object, attrs3, 1, &object3));

#53 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants