Verify at compile time that blake2b_param is packed as expected
This commit is contained in:
parent
76e3e91576
commit
0c06979260
@ -156,6 +156,7 @@ int blake2b_init_param( blake2b_state *S, const blake2b_param *P )
|
||||
size_t i;
|
||||
const uint8_t *p;
|
||||
|
||||
(void) sizeof(int[sizeof *P == 64 ? 1 : -1]);
|
||||
blake2b_init0( S );
|
||||
p = ( const uint8_t * )( P );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user