Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef.c699 crypto_load_soft_config_t *pload_soft_conf = NULL; in install_kef() local
913 if ((pload_soft_conf = setup_soft_conf(pent)) == NULL) { in install_kef()
922 free(pload_soft_conf); in install_kef()
926 if (ioctl(fd, CRYPTO_LOAD_SOFT_CONFIG, pload_soft_conf) == -1) { in install_kef()
930 free(pload_soft_conf); in install_kef()
935 if (pload_soft_conf->sc_return_value != CRYPTO_SUCCESS) { in install_kef()
937 "return_value = %d", pload_soft_conf->sc_return_value); in install_kef()
939 free(pload_soft_conf); in install_kef()
945 free(pload_soft_conf); in install_kef()
964 crypto_load_soft_config_t *pload_soft_conf = NULL; in uninstall_kef() local
[all …]
H A Dadm_kef_ioctl.c53 crypto_load_soft_config_t *pload_soft_conf; in setup_soft_conf() local
69 pload_soft_conf = malloc(sizeof (crypto_load_soft_config_t) + in setup_soft_conf()
71 if (pload_soft_conf == NULL) { in setup_soft_conf()
76 (void) strlcpy(pload_soft_conf->sc_name, pent->name, MAXNAMELEN); in setup_soft_conf()
77 pload_soft_conf->sc_count = sup_count; in setup_soft_conf()
82 (void) strlcpy(pload_soft_conf->sc_list[i++], in setup_soft_conf()
87 return (pload_soft_conf); in setup_soft_conf()