/freebsd/crypto/libecc/src/hash/ |
H A D | sha512_core.c | 156 PUT_UINT64_BE(ctx->sha512_state[0], output, 0); in sha512_core_final() 157 PUT_UINT64_BE(ctx->sha512_state[1], output, 8); in sha512_core_final() 158 PUT_UINT64_BE(ctx->sha512_state[2], output, 16); in sha512_core_final() 159 PUT_UINT64_BE(ctx->sha512_state[3], output, 24); in sha512_core_final() 160 PUT_UINT64_BE(ctx->sha512_state[4], output, 32); in sha512_core_final() 161 PUT_UINT64_BE(ctx->sha512_state[5], output, 40); in sha512_core_final() 162 PUT_UINT64_BE(ctx->sha512_state[6], output, 48); in sha512_core_final() 163 PUT_UINT64_BE(ctx->sha512_state[7], output, 56); in sha512_core_final() 166 PUT_UINT64_BE(ctx->sha512_state[0], tmp_output, 0); in sha512_core_final() 167 PUT_UINT64_BE(ctx->sha512_state[1], tmp_output, 8); in sha512_core_final() [all …]
|
H A D | sha384.c | 188 PUT_UINT64_BE(ctx->sha384_state[0], output, 0); in sha384_final() 189 PUT_UINT64_BE(ctx->sha384_state[1], output, 8); in sha384_final() 190 PUT_UINT64_BE(ctx->sha384_state[2], output, 16); in sha384_final() 191 PUT_UINT64_BE(ctx->sha384_state[3], output, 24); in sha384_final() 192 PUT_UINT64_BE(ctx->sha384_state[4], output, 32); in sha384_final() 193 PUT_UINT64_BE(ctx->sha384_state[5], output, 40); in sha384_final()
|
H A D | sm3.c | 42 #ifndef PUT_UINT64_BE 43 #define PUT_UINT64_BE(n,b,i) \ macro 290 PUT_UINT64_BE(8 * ctx->sm3_total, last_padded_block, in sm3_final() 296 PUT_UINT64_BE(8 * ctx->sm3_total, last_padded_block, in sm3_final()
|
H A D | sha224.c | 171 PUT_UINT64_BE(8 * ctx->sha224_total, last_padded_block, in sha224_final() 177 PUT_UINT64_BE(8 * ctx->sha224_total, last_padded_block, in sha224_final()
|
H A D | sha256.c | 171 PUT_UINT64_BE(8 * ctx->sha256_total, last_padded_block, in sha256_final() 177 PUT_UINT64_BE(8 * ctx->sha256_total, last_padded_block, in sha256_final()
|
/freebsd/crypto/libecc/src/examples/hash/ |
H A D | gostr34_11_94.c | 317 PUT_UINT64_BE(c, (u8*)(&C[idx]), 0); in gostr34_11_94_256bit_sum() 529 PUT_UINT64_BE(ctx->gostr34_11_94_sum[3], last_padded_block, 0); in gostr34_11_94_final() 530 PUT_UINT64_BE(ctx->gostr34_11_94_sum[2], last_padded_block, 8); in gostr34_11_94_final() 531 PUT_UINT64_BE(ctx->gostr34_11_94_sum[1], last_padded_block, 16); in gostr34_11_94_final() 532 PUT_UINT64_BE(ctx->gostr34_11_94_sum[0], last_padded_block, 24); in gostr34_11_94_final() 542 PUT_UINT64_BE(ctx->gostr34_11_94_state[0], output, 0); in gostr34_11_94_final() 543 PUT_UINT64_BE(ctx->gostr34_11_94_state[1], output, 8); in gostr34_11_94_final() 544 PUT_UINT64_BE(ctx->gostr34_11_94_state[2], output, 16); in gostr34_11_94_final() 545 PUT_UINT64_BE(ctx->gostr34_11_94_state[3], output, 24); in gostr34_11_94_final()
|
H A D | md5.h | 64 #ifndef PUT_UINT64_BE 65 #define PUT_UINT64_BE(n,b,i) \ macro
|
H A D | md4.h | 63 #ifndef PUT_UINT64_BE 64 #define PUT_UINT64_BE(n,b,i) \ macro
|
H A D | sha0.h | 64 #ifndef PUT_UINT64_BE 65 #define PUT_UINT64_BE(n,b,i) \ macro
|
H A D | sha1.h | 64 #ifndef PUT_UINT64_BE 65 #define PUT_UINT64_BE(n,b,i) \ macro
|
H A D | gostr34_11_94.h | 92 #ifndef PUT_UINT64_BE 93 #define PUT_UINT64_BE(n,b,i) \ macro
|
H A D | sha0.c | 194 PUT_UINT64_BE(8 * ctx->sha0_total, last_padded_block, in sha0_final() 200 PUT_UINT64_BE(8 * ctx->sha0_total, last_padded_block, in sha0_final()
|
H A D | sha1.c | 194 PUT_UINT64_BE(8 * ctx->sha1_total, last_padded_block, in sha1_final() 200 PUT_UINT64_BE(8 * ctx->sha1_total, last_padded_block, in sha1_final()
|
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | sha2.h | 35 PUT_UINT64_BE((high), (b), (i));\ 36 PUT_UINT64_BE((low), (b), (i)+8);\ 89 #ifndef PUT_UINT64_BE 90 #define PUT_UINT64_BE(n,b,i) \ macro
|
H A D | streebog.h | 26 #ifndef PUT_UINT64_BE 27 #define PUT_UINT64_BE(n,b,i) \ macro 58 PUT_UINT64_BE(n,b,i); \
|
H A D | belt-hash.h | 60 #ifndef PUT_UINT64_BE 61 #define PUT_UINT64_BE(n,b,i) \ macro
|