Home
last modified time | relevance | path

Searched refs:is384 (Results 1 - 2 of 2) sorted by relevance

/third_party/mbedtls/include/mbedtls/
H A Dsha512.h56 int MBEDTLS_PRIVATE(is384); /*!< Determines which function to use:
98 * \param is384 Determines which function to use. This must be
101 * \note is384 must be defined accordingly to the enabled
108 int mbedtls_sha512_starts(mbedtls_sha512_context *ctx, int is384);
174 * \param is384 Determines which function to use. This must be either
177 * \note is384 must be defined accordingly with the supported
179 * - is384 is 0, but \c MBEDTLS_SHA384_C is not defined, or
180 * - is384 is 1, but \c MBEDTLS_SHA512_C is not defined
190 int is384);
/third_party/mbedtls/library/
H A Dsha512.c244 int mbedtls_sha512_starts(mbedtls_sha512_context *ctx, int is384) in mbedtls_sha512_starts() argument
247 if (is384 != 0 && is384 != 1) { in mbedtls_sha512_starts()
251 if (is384 != 0) { in mbedtls_sha512_starts()
255 if (is384 == 0) { in mbedtls_sha512_starts()
263 if (is384 == 0) { in mbedtls_sha512_starts()
288 ctx->is384 = is384; in mbedtls_sha512_starts()
868 truncated = ctx->is384; in mbedtls_sha512_finish()
890 int is384) in mbedtls_sha512()
887 mbedtls_sha512(const unsigned char *input, size_t ilen, unsigned char *output, int is384) mbedtls_sha512() argument
1010 mbedtls_sha512_common_self_test(int verbose, int is384) mbedtls_sha512_common_self_test() argument
[all...]

Completed in 2 milliseconds