Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/
H A Dcgd.c1263 sc->sc_cfuncs = cryptfuncs_find(inbuf); in cgd_ioctl_set()
1264 if (!sc->sc_cfuncs) { in cgd_ioctl_set()
1303 if (strcmp(sc->sc_cfuncs->cf_name, "aes-cbc") && in cgd_ioctl_set()
1304 strcmp(sc->sc_cfuncs->cf_name, "3des-cbc") && in cgd_ioctl_set()
1305 strcmp(sc->sc_cfuncs->cf_name, "blowfish-cbc")) { in cgd_ioctl_set()
1308 encblkno[i].n, sc->sc_cfuncs->cf_name); in cgd_ioctl_set()
1316 sc->sc_cdata.cf_priv = sc->sc_cfuncs->cf_init(ci->ci_keylen, inbuf, in cgd_ioctl_set()
1376 sc->sc_cfuncs->cf_destroy(sc->sc_cdata.cf_priv); in cgd_ioctl_clr()
1423 strncpy(cgu->cgu_alg, sc->sc_cfuncs->cf_name, in cgd_ioctl_get()
1591 cfunc_cipher *cipher = sc->sc_cfuncs->cf_cipher; in cgd_cipher()
[all …]
H A Dcgdvar.h114 const struct cryptfuncs *sc_cfuncs; /* encryption functions */ member