Home
last modified time | relevance | path

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

/external/u-boot/lib/
Dsha256.c34 #ifndef PUT_UINT32_BE
35 #define PUT_UINT32_BE(n,b,i) { \ macro
240 PUT_UINT32_BE(high, msglen, 0); in sha256_finish()
241 PUT_UINT32_BE(low, msglen, 4); in sha256_finish()
249 PUT_UINT32_BE(ctx->state[0], digest, 0); in sha256_finish()
250 PUT_UINT32_BE(ctx->state[1], digest, 4); in sha256_finish()
251 PUT_UINT32_BE(ctx->state[2], digest, 8); in sha256_finish()
252 PUT_UINT32_BE(ctx->state[3], digest, 12); in sha256_finish()
253 PUT_UINT32_BE(ctx->state[4], digest, 16); in sha256_finish()
254 PUT_UINT32_BE(ctx->state[5], digest, 20); in sha256_finish()
[all …]
Dsha1.c44 #ifndef PUT_UINT32_BE
45 #define PUT_UINT32_BE(n,b,i) { \ macro
282 PUT_UINT32_BE (high, msglen, 0); in sha1_finish()
283 PUT_UINT32_BE (low, msglen, 4); in sha1_finish()
291 PUT_UINT32_BE (ctx->state[0], output, 0); in sha1_finish()
292 PUT_UINT32_BE (ctx->state[1], output, 4); in sha1_finish()
293 PUT_UINT32_BE (ctx->state[2], output, 8); in sha1_finish()
294 PUT_UINT32_BE (ctx->state[3], output, 12); in sha1_finish()
295 PUT_UINT32_BE (ctx->state[4], output, 16); in sha1_finish()