My understanding based on the online resources is that there is a vendor-specific fingerprint library running in the TEE which is responsible for communicating to the fingerprint sensor hardware as well as enrollment, matching, ... of fingerprints.
What is unclear to me is what the sensor's output is? Does it generate the fingerprint template, or it sends just the raw fingerprint data to the library and the template is generated by the library?
enroll()
in sources down to the rabbit hole, don't you think? – alecxs Jan 05 '21 at 22:00