Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c326 mechlist_t *pmech; in get_dev_info() local
374 pmech = create_mech(&dev_info->di_list[i][0]); in get_dev_info()
375 if (pmech == NULL) { in get_dev_info()
380 phead = pcur = pmech; in get_dev_info()
382 pcur->next = pmech; in get_dev_info()
383 pcur = pmech; in get_dev_info()
413 mechlist_t *pmech; in get_soft_info() local
511 pmech = create_mech(&psoft_info->si_list[i][0]); in get_soft_info()
512 if (pmech == NULL) { in get_soft_info()
517 phead = pcur = pmech; in get_soft_info()
[all …]
H A Dadm_kef_util.c183 mechlist_t *pmech = NULL; in parse_sup_dis_list() local
213 if ((pmech = create_mech(next_token)) == NULL) { in parse_sup_dis_list()
223 pent->suplist = phead = pmech; in parse_sup_dis_list()
231 pent->dislist = phead = pmech; in parse_sup_dis_list()
238 if ((pmech = create_mech(next_token)) == NULL) { in parse_sup_dis_list()
243 phead->next = pmech; in parse_sup_dis_list()
763 mechlist_t *pmech = NULL; in get_admindev_info() local
784 pmech = NULL; in get_admindev_info()
785 if (get_dev_info(devname, inst_num, mcount, &pmech) != in get_admindev_info()
795 free_mechlist(pmech); in get_admindev_info()
[all …]
H A Dcryptoadm.c466 mechlist_t *pmech; in process_mech_operands() local
506 if ((pmech = create_mech(curmech)) == NULL) { in process_mech_operands()
511 phead = pcur = pmech; in process_mech_operands()
513 pcur->next = pmech; in process_mech_operands()
514 pcur = pmech; in process_mech_operands()
/titanic_50/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c232 umechlist_t *pmech; in parse_policylist() local
333 if ((pmech = create_umech(next_token)) == NULL) { in parse_policylist()
341 phead = pcur = pmech; in parse_policylist()
343 pcur->next = pmech; in parse_policylist()
368 umechlist_t *pmech = NULL; in create_umech() local
374 if ((pmech = malloc(sizeof (umechlist_t))) != NULL) { in create_umech()
375 (void) strlcpy(pmech->name, name, sizeof (pmech->name)); in create_umech()
376 pmech->next = NULL; in create_umech()
379 return (pmech); in create_umech()
/titanic_50/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c125 static CK_RV do_mac(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pmech,
128 static CK_RV do_digest(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pmech,
831 do_digest(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pmech, in do_digest() argument
838 if ((rv = C_DigestInit(hSession, pmech)) != CKR_OK) { in do_digest()
897 do_mac(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pmech, in do_mac() argument
905 if ((rv = C_SignInit(hSession, pmech, key)) != CKR_OK) { in do_mac()
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c836 nsldapi_get_sasl_mechs ( LDAP *ld, char **pmech ) in nsldapi_get_sasl_mechs() argument
898 *pmech = mech; in nsldapi_get_sasl_mechs()