Home
last modified time | relevance | path

Searched refs:IDEA_SCRATCH_BUFFER_SIZE (Results 1 – 5 of 5) sorted by relevance

/dports/security/wolfssl/wolfssl-5.1.0/wolfcrypt/test/
H A Dtest.c11335 #define IDEA_SCRATCH_BUFFER_SIZE 1000 in idea_test() macro
11336 rnd = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11337 enc = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11338 dec = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11371 ret = wc_RNG_GenerateBlock(&rng, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11384 XMEMSET(enc, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11385 ret = wc_IdeaCbcEncrypt(&idea, enc, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11400 XMEMSET(dec, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11401 ret = wc_IdeaCbcDecrypt(&idea, dec, enc, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11407 if (XMEMCMP(rnd, dec, IDEA_SCRATCH_BUFFER_SIZE)) { in idea_test()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/test/
H A Dtest.c11335 #define IDEA_SCRATCH_BUFFER_SIZE 1000 in idea_test() macro
11336 rnd = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11337 enc = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11338 dec = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11371 ret = wc_RNG_GenerateBlock(&rng, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11384 XMEMSET(enc, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11385 ret = wc_IdeaCbcEncrypt(&idea, enc, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11400 XMEMSET(dec, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11401 ret = wc_IdeaCbcDecrypt(&idea, dec, enc, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11407 if (XMEMCMP(rnd, dec, IDEA_SCRATCH_BUFFER_SIZE)) { in idea_test()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/test/
H A Dtest.c11335 #define IDEA_SCRATCH_BUFFER_SIZE 1000 in idea_test() macro
11336 rnd = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11337 enc = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11338 dec = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11371 ret = wc_RNG_GenerateBlock(&rng, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11384 XMEMSET(enc, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11385 ret = wc_IdeaCbcEncrypt(&idea, enc, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11400 XMEMSET(dec, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11401 ret = wc_IdeaCbcDecrypt(&idea, dec, enc, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11407 if (XMEMCMP(rnd, dec, IDEA_SCRATCH_BUFFER_SIZE)) { in idea_test()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/test/
H A Dtest.c11335 #define IDEA_SCRATCH_BUFFER_SIZE 1000 in idea_test() macro
11336 rnd = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11337 enc = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11338 dec = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11371 ret = wc_RNG_GenerateBlock(&rng, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11384 XMEMSET(enc, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11385 ret = wc_IdeaCbcEncrypt(&idea, enc, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11400 XMEMSET(dec, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11401 ret = wc_IdeaCbcDecrypt(&idea, dec, enc, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11407 if (XMEMCMP(rnd, dec, IDEA_SCRATCH_BUFFER_SIZE)) { in idea_test()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/test/
H A Dtest.c11335 #define IDEA_SCRATCH_BUFFER_SIZE 1000 in idea_test() macro
11336 rnd = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11337 enc = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11338 dec = (byte *)XMALLOC(IDEA_SCRATCH_BUFFER_SIZE, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER); in idea_test()
11371 ret = wc_RNG_GenerateBlock(&rng, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11384 XMEMSET(enc, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11385 ret = wc_IdeaCbcEncrypt(&idea, enc, rnd, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11400 XMEMSET(dec, 0, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11401 ret = wc_IdeaCbcDecrypt(&idea, dec, enc, IDEA_SCRATCH_BUFFER_SIZE); in idea_test()
11407 if (XMEMCMP(rnd, dec, IDEA_SCRATCH_BUFFER_SIZE)) { in idea_test()
[all …]