ses_encode
req->result = ses_encode(enc, buf, plength, req);
static int ses_encode(enc_softc_t *, uint8_t *, int, int,