box_easy2 test: increase the minimum test size
This commit is contained in:
parent
ad2e2a9268
commit
4809639ae1
@ -29,7 +29,7 @@ main(void)
|
|||||||
size_t c_size;
|
size_t c_size;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
m2_size = m_size = 1U + randombytes_uniform(1000);
|
m2_size = m_size = 7U + randombytes_uniform(1000);
|
||||||
c_size = crypto_box_MACBYTES + m_size;
|
c_size = crypto_box_MACBYTES + m_size;
|
||||||
m = (unsigned char *) sodium_malloc(m_size);
|
m = (unsigned char *) sodium_malloc(m_size);
|
||||||
m2 = (unsigned char *) sodium_malloc(m2_size);
|
m2 = (unsigned char *) sodium_malloc(m2_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user