Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_metaslot.c71 uentry_t *puent; in list_metaslot_info() local
79 if ((puent = getent_uef(METASLOT_KEYWORD)) == NULL) { in list_metaslot_info()
92 (void) printf(gettext("Status: %s\n"), puent->flag_metaslot_enabled ? in list_metaslot_info()
95 puent->flag_metaslot_auto_key_migrate ? gettext("enabled") : in list_metaslot_info()
99 if (memcmp(puent->metaslot_ks_slot, buf, SLOT_DESCRIPTION_SIZE) != 0) { in list_metaslot_info()
101 puent->metaslot_ks_slot); in list_metaslot_info()
104 if (memcmp(puent->metaslot_ks_token, buf, TOKEN_LABEL_SIZE) != 0) { in list_metaslot_info()
106 puent->metaslot_ks_token); in list_metaslot_info()
334 uentry_t *puent; in list_metaslot_policy() local
337 if ((puent = getent_uef(METASLOT_KEYWORD)) == NULL) { in list_metaslot_policy()
[all …]
H A Dadm_uef.c196 uentry_t *puent = NULL; in list_mechlist_for_lib() local
215 if ((puent = getent_uef(libname)) == NULL) { in list_mechlist_for_lib()
220 free_uentry(puent); in list_mechlist_for_lib()
522 uentry_t *puent = NULL; in list_policy_for_lib() local
533 if ((puent = getent_uef(libname)) == NULL) { in list_policy_for_lib()
540 rc = print_uef_policy(puent); in list_policy_for_lib()
541 free_uentry(puent); in list_policy_for_lib()
554 uentry_t *puent; in disable_uef_lib() local
565 if ((puent = getent_uef(libname)) == NULL) { in disable_uef_lib()
581 free_umechlist(puent->policylist); in disable_uef_lib()
[all …]
H A Dcryptoadm.c1267 if ((strcmp(plibptr->puent->name, METASLOT_KEYWORD) != 0) && in list_simple_for_all()
1268 (strcmp(plibptr->puent->name, FIPS_KEYWORD) != 0)) { in list_simple_for_all()
1270 plibptr->puent->name); in list_simple_for_all()
1273 plibptr->puent->name, mecharglist, NULL, in list_simple_for_all()
1406 if ((strcmp(plibptr->puent->name, METASLOT_KEYWORD) != 0) && in list_mechlist_for_all()
1407 (strcmp(plibptr->puent->name, FIPS_KEYWORD) != 0)) { in list_mechlist_for_all()
1409 plibptr->puent->name); in list_mechlist_for_all()
1410 rv = list_mechlist_for_lib(plibptr->puent->name, in list_mechlist_for_all()
1576 if ((strcmp(plibptr->puent->name, in list_policy_for_all()
1578 (strcmp(plibptr->puent->name, in list_policy_for_all()
[all …]
/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c86 pentlist->puent = pent; in get_pkcs11conf_info()
415 free_uentry(entrylist->puent); in free_uentrylist()
503 uentry_t *puent = NULL; in getent_uef() local
516 if (strcmp(plib->puent->name, libname) == 0) { in getent_uef()
525 puent = dup_uentry(plib->puent); in getent_uef()
529 return (puent); in getent_uef()
546 uentry_t *puent; in get_metaslot_info() local
550 if ((puent = getent_uef(METASLOT_KEYWORD)) == NULL) { in get_metaslot_info()
555 *status_enabled = puent->flag_metaslot_enabled; in get_metaslot_info()
556 *migrate_enabled = puent->flag_metaslot_auto_key_migrate; in get_metaslot_info()
[all …]
H A Dcryptoutil.h115 uentry_t *puent; member
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Conf.c276 if (!strcasecmp(phead->puent->name, "metaslot")) { in pkcs11_slot_mapping()
289 metaslot_entry = phead->puent; in pkcs11_slot_mapping()
294 if (!strcasecmp(phead->puent->name, FIPS_KEYWORD)) { in pkcs11_slot_mapping()
304 if ((isa = strstr(phead->puent->name, PKCS11_ISA)) != NULL) { in pkcs11_slot_mapping()
306 len = strlen(phead->puent->name) - in pkcs11_slot_mapping()
320 phead->puent->name, PKCS11_ISA_DIR, isa); in pkcs11_slot_mapping()
321 } else if ((fullpath = strdup(phead->puent->name)) == 0) { in pkcs11_slot_mapping()
518 if (phead->puent->count > 0) { in pkcs11_slot_mapping()
519 rv = pkcs11_mech_parse(phead->puent->policylist, in pkcs11_slot_mapping()
520 &prov_pol_mechs, phead->puent->count); in pkcs11_slot_mapping()
[all …]