HomeSort by: relevance | last modified time | path
    Searched refs:crypto_core_hchacha20_outputbytes (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
crypto_core_hchacha20.h 11 #define crypto_core_hchacha20_OUTPUTBYTES 32U
13 size_t crypto_core_hchacha20_outputbytes(void);
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/hchacha20/
core_hchacha20.c 72 crypto_core_hchacha20_outputbytes(void) function in typeref:typename:size_t
74 return crypto_core_hchacha20_OUTPUTBYTES;
  /src/sys/external/isc/libsodium/dist/test/default/
xchacha20.c 8 const char out[crypto_core_hchacha20_OUTPUTBYTES * 2 + 1];
43 out = (unsigned char *) sodium_malloc(crypto_core_hchacha20_OUTPUTBYTES);
44 out2 = (unsigned char *) sodium_malloc(crypto_core_hchacha20_OUTPUTBYTES);
51 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES,
54 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0);
60 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES,
62 crypto_core_hchacha20_OUTPUTBYTES * 2 + 1, NULL, NULL, NULL);
65 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0);
73 assert(crypto_core_hchacha20_outputbytes() == crypto_core_hchacha20_OUTPUTBYTES);
    [all...]

Completed in 15 milliseconds