Home
last modified time | relevance | path

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

/libcrypt/
A Dsha256.c36 # define SWAP(n) bswap_32 (n) macro
38 # define SWAP(n) \ macro
42 # define SWAP(n) (n) macro
125 W[t] = SWAP (*words); in sha256_process_block()
213 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in __sha256_finish_ctx()
214 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in __sha256_finish_ctx()
222 ((uint32_t *) resbuf)[i] = SWAP (ctx->H[i]); in __sha256_finish_ctx()
A Dsha512.c36 # define SWAP(n) bswap_64 (n) macro
38 # define SWAP(n) \ macro
49 # define SWAP(n) (n) macro
156 W[t] = SWAP (*words); in sha512_process_block()
244 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP (ctx->total[0] << 3); in __sha512_finish_ctx()
245 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in __sha512_finish_ctx()
253 ((uint64_t *) resbuf)[i] = SWAP (ctx->H[i]); in __sha512_finish_ctx()

Completed in 6 milliseconds