I was thinking of porting this TPM to a different platform, and I noticed the "plat" marking on all of the functions that would probably have to be ported, which helps with that goal. But still, some functions with this marking are very simple and don't seem like they need to be reimplemented. So I wanted to ask, is there some documentation on how this should be ported?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know of any specific documentation. Porting to a different crypto library is a major task. The clock is often not portable. Be careful of endian and packing, be suspicious of all casts.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I was thinking of porting this TPM to a different platform, and I noticed the "plat" marking on all of the functions that would probably have to be ported, which helps with that goal. But still, some functions with this marking are very simple and don't seem like they need to be reimplemented. So I wanted to ask, is there some documentation on how this should be ported?
I don't know of any specific documentation. Porting to a different crypto library is a major task. The clock is often not portable. Be careful of endian and packing, be suspicious of all casts.