fix configure and access by type-punning pointer

This commit is contained in:
NIIBE Yutaka
2013-02-25 15:37:10 +09:00
parent d48f448e0f
commit cee25697a3
3 changed files with 6 additions and 6 deletions

View File

@@ -171,8 +171,8 @@ struct key_data {
};
struct key_data_internal {
uint8_t data[KEY_CONTENT_LEN]; /* p and q */
uint8_t checksum[DATA_ENCRYPTION_KEY_SIZE];
uint32_t data[KEY_CONTENT_LEN/4]; /* p and q */
uint32_t checksum[DATA_ENCRYPTION_KEY_SIZE/4];
};
struct prvkey_data {