Home
last modified time | relevance | path

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

/crypt/
A Dmd5.c55 # define SWAP(n) \ macro
58 # define SWAP(n) (n) macro
89 ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A); in md5_read_ctx()
90 ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B); in md5_read_ctx()
91 ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C); in md5_read_ctx()
92 ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D); in md5_read_ctx()
118 ctx->buffer32[(bytes + pad) / 4] = SWAP (ctx->total[0] << 3); in md5_finish_ctx()
119 ctx->buffer32[(bytes + pad + 4) / 4] = SWAP ((ctx->total[1] << 3) in md5_finish_ctx()
A Dsha256.c36 # define SWAP(n) bswap_32 (n) macro
39 # define SWAP(n) \ macro
52 # define SWAP(n) (n) macro
126 ctx->buffer32[(bytes + pad + 4) / 4] = SWAP (ctx->total[TOTAL64_low] << 3); in __sha256_finish_ctx()
127 ctx->buffer32[(bytes + pad) / 4] = SWAP ((ctx->total[TOTAL64_high] << 3) in __sha256_finish_ctx()
136 ((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
150 ctx->buffer64[(bytes + pad + 8) / 8] = SWAP (ctx->total[TOTAL128_low] << 3); in __sha512_finish_ctx()
151 ctx->buffer64[(bytes + pad) / 8] = SWAP ((ctx->total[TOTAL128_high] << 3) in __sha512_finish_ctx()
159 ((uint64_t *) resbuf)[i] = SWAP (ctx->H[i]); in __sha512_finish_ctx()
A Dsha256-block.c53 W[t] = SWAP (*words); in __sha256_process_block()
A Dsha512-block.c60 W[t] = SWAP (*words); in __sha512_process_block()
A Dmd5-block.c52 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in __md5_process_block()

Completed in 11 milliseconds