Home
last modified time | relevance | path

Searched refs:subject_attr (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c410 CK_ATTRIBUTE *subject_attr = NULL; in publ_key_set_default_attributes() local
429 subject_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in publ_key_set_default_attributes()
439 if (! class || ! subject_attr || ! encrypt_attr || in publ_key_set_default_attributes()
442 if (subject_attr) free(subject_attr); in publ_key_set_default_attributes()
457 subject_attr->type = CKA_SUBJECT; in publ_key_set_default_attributes()
458 subject_attr->ulValueLen = 0; // empty string in publ_key_set_default_attributes()
459 subject_attr->pValue = NULL; in publ_key_set_default_attributes()
486 (void) template_update_attribute(tmpl, subject_attr); in publ_key_set_default_attributes()
527 CK_ATTRIBUTE *subject_attr = NULL; in priv_key_set_default_attributes() local
545 subject_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in priv_key_set_default_attributes()
[all …]