REG_ENCR_SEG_SIZE
qce_write(qce, REG_ENCR_SEG_SIZE, 0);
qce_write(qce, REG_ENCR_SEG_SIZE, rctx->cryptlen);
qce_write(qce, REG_ENCR_SEG_SIZE, rctx->cryptlen + ctx->authsize);
qce_write(qce, REG_ENCR_SEG_SIZE, rctx->cryptlen);