wolfSSL / wolfTPM

wolfTPM is a highly portable TPM 2.0 library, designed for embedded use.
https://www.wolfssl.com
GNU General Public License v2.0
244 stars 60 forks source link

Refactor the assignment of structs to use memcpy #176

Closed dgarske closed 3 years ago

dgarske commented 3 years ago

This resolves strict pointer alignment issues with some platforms/compilers. Fix cast warning with g++. Line length cleanups.

dgarske commented 3 years ago

Good feedback. I will write a couple utility functions for copying these structures. There are only a few of them.