Lines Matching defs:keylabel
1672 char *keylabel = NULL;
1866 keylabel = kmf_get_attr_ptr(KMF_KEYLABEL_ATTR, attlist, numattr);
1867 if (keylabel != NULL && strlen(keylabel)) {
1868 SETATTR(labelattr, 0, CKA_LABEL, keylabel, strlen(keylabel));
1877 pubkey->keylabel = (char *)strdup(keylabel);
1878 if (pubkey->keylabel == NULL) {
1888 privkey->keylabel = (char *)strdup(keylabel);
1889 if (privkey->keylabel == NULL) {
1934 if (privkey->keylabel)
1935 free(privkey->keylabel);
1936 if (pubkey->keylabel)
1937 free(pubkey->keylabel);
2261 &key->keylabel);
3068 &(keys[n].keylabel));
3209 char *keylabel = NULL;
3234 keylabel = kmf_get_attr_ptr(KMF_KEYLABEL_ATTR, attrlist, numattr);
3239 if (keylabel == NULL) {
3240 keylabel = rawkey->label;
3342 if (keylabel != NULL) {
3343 SETATTR(templ, i, CKA_LABEL, keylabel, strlen(keylabel));
3479 char *keylabel = NULL;
3499 keylabel = kmf_get_attr_ptr(KMF_KEYLABEL_ATTR, attrlist, numattr);
3500 if (keylabel == NULL)
3616 if (keylabel != NULL) {
3617 SETATTR(templ, i, CKA_LABEL, keylabel, strlen(keylabel));
3846 char *keylabel = NULL;
3850 keylabel = kmf_get_attr_ptr(KMF_KEYLABEL_ATTR, attrlist, numattr);
3851 if (keylabel == NULL)
3939 if (keylabel != NULL) {
3940 SETATTR(templ, i, CKA_LABEL, keylabel, strlen(keylabel));