I couldn't help but notice a strncpy in the diagrams. That's inefficient, and insecure. The reason is that strncpy fills the entire rest of the target string with \x00 but might not do it if the sizes differ. Use strlcpy instead! It's almost a drop in replacement, faster, and more secure. Thanks, Watson Ladd
Attachment:
signature.asc
Description: OpenPGP digital signature