Lines Matching defs:tdbp
960 tcp_signature_tdb_init(struct tdb *tdbp, const struct xformsw *xsp,
966 tdbp->tdb_amxkey = malloc(ii->ii_authkeylen, M_XDATA, M_NOWAIT);
967 if (tdbp->tdb_amxkey == NULL)
969 memcpy(tdbp->tdb_amxkey, ii->ii_authkey, ii->ii_authkeylen);
970 tdbp->tdb_amxkeylen = ii->ii_authkeylen;
976 tcp_signature_tdb_zeroize(struct tdb *tdbp)
978 if (tdbp->tdb_amxkey) {
979 explicit_bzero(tdbp->tdb_amxkey, tdbp->tdb_amxkeylen);
980 free(tdbp->tdb_amxkey, M_XDATA, tdbp->tdb_amxkeylen);
981 tdbp->tdb_amxkey = NULL;
988 tcp_signature_tdb_input(struct mbuf **mp, struct tdb *tdbp, int skip,
996 tcp_signature_tdb_output(struct mbuf *m, struct tdb *tdbp, int skip,