g10: Add TOFU support.