Home
last modified time | relevance | path

Searched refs:PUT_UINT64_BE (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/u-boot/lib/
H A Dsha512.c58 #ifndef PUT_UINT64_BE
59 #define PUT_UINT64_BE(n,b,i) \ macro
314 PUT_UINT64_BE(high, ctx->buffer, 112); in sha512_finish()
315 PUT_UINT64_BE(low, ctx->buffer, 120); in sha512_finish()
323 PUT_UINT64_BE(ctx->state[0], output, 0); in sha512_finish()
324 PUT_UINT64_BE(ctx->state[1], output, 8); in sha512_finish()
325 PUT_UINT64_BE(ctx->state[2], output, 16); in sha512_finish()
326 PUT_UINT64_BE(ctx->state[3], output, 24); in sha512_finish()
327 PUT_UINT64_BE(ctx->state[4], output, 32); in sha512_finish()
328 PUT_UINT64_BE(ctx->state[5], output, 40); in sha512_finish()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Dhash_sha512.c53 #ifndef PUT_UINT64_BE
54 #define PUT_UINT64_BE(n,b,i) \ macro
328 PUT_UINT64_BE( high, msglen, 0 ); in mbedtls_sha512_finish()
329 PUT_UINT64_BE( low, msglen, 8 ); in mbedtls_sha512_finish()
337 PUT_UINT64_BE( ctx->state[0], output, 0 ); in mbedtls_sha512_finish()
338 PUT_UINT64_BE( ctx->state[1], output, 8 ); in mbedtls_sha512_finish()
339 PUT_UINT64_BE( ctx->state[2], output, 16 ); in mbedtls_sha512_finish()
340 PUT_UINT64_BE( ctx->state[3], output, 24 ); in mbedtls_sha512_finish()
341 PUT_UINT64_BE( ctx->state[4], output, 32 ); in mbedtls_sha512_finish()
342 PUT_UINT64_BE( ctx->state[5], output, 40 ); in mbedtls_sha512_finish()
[all …]