MBEDTLS_PUT_UINT64_BE macro
Put in memory a 64 bits unsigned integer in big-endian order.
Arguments
n
64 bits unsigned integer to put in memory.
data
Base address of the memory where to put the 64 bits unsigned integer in.
offset
Offset from \p data where to put the most significant byte of the 64 bits unsigned integer \p n.
![]()
#define MBEDTLS_PUT_UINT64_BE(n, data, offset) \![]()
MBEDTLS_PUT_UINT64_BE(ctx->H[i][0], &ctx->H[i][0], 0);![]()
MBEDTLS_PUT_UINT64_BE(ctx->H[i][1], &ctx->H[i][1], 0);![]()
MBEDTLS_PUT_UINT64_BE(u64z[0], output, 0);![]()
MBEDTLS_PUT_UINT64_BE(u64z[1], output, 8);![]()
MBEDTLS_PUT_UINT64_BE(iv_bits, work_buf, 8);![]()
#define sha512_put_uint64_be MBEDTLS_PUT_UINT64_BE![]()
MBEDTLS_PUT_UINT64_BE(start, p, 0);