Home
last modified time | relevance | path

Searched refs:STORE32_LE (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/salsa/ref/
H A Dcore_salsa_ref.c79 STORE32_LE(out + 0, x0 + j0); in crypto_core_salsa()
80 STORE32_LE(out + 4, x1 + j1); in crypto_core_salsa()
81 STORE32_LE(out + 8, x2 + j2); in crypto_core_salsa()
82 STORE32_LE(out + 12, x3 + j3); in crypto_core_salsa()
83 STORE32_LE(out + 16, x4 + j4); in crypto_core_salsa()
84 STORE32_LE(out + 20, x5 + j5); in crypto_core_salsa()
85 STORE32_LE(out + 24, x6 + j6); in crypto_core_salsa()
86 STORE32_LE(out + 28, x7 + j7); in crypto_core_salsa()
87 STORE32_LE(out + 32, x8 + j8); in crypto_core_salsa()
88 STORE32_LE(out + 36, x9 + j9); in crypto_core_salsa()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c192 STORE32_LE(c + 0, x0); in chacha20_encrypt_bytes()
193 STORE32_LE(c + 4, x1); in chacha20_encrypt_bytes()
194 STORE32_LE(c + 8, x2); in chacha20_encrypt_bytes()
195 STORE32_LE(c + 12, x3); in chacha20_encrypt_bytes()
196 STORE32_LE(c + 16, x4); in chacha20_encrypt_bytes()
197 STORE32_LE(c + 20, x5); in chacha20_encrypt_bytes()
198 STORE32_LE(c + 24, x6); in chacha20_encrypt_bytes()
199 STORE32_LE(c + 28, x7); in chacha20_encrypt_bytes()
200 STORE32_LE(c + 32, x8); in chacha20_encrypt_bytes()
201 STORE32_LE(c + 36, x9); in chacha20_encrypt_bytes()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/hchacha20/
H A Dcore_hchacha20.c59 STORE32_LE(out + 0, x0); in crypto_core_hchacha20()
60 STORE32_LE(out + 4, x1); in crypto_core_hchacha20()
61 STORE32_LE(out + 8, x2); in crypto_core_hchacha20()
62 STORE32_LE(out + 12, x3); in crypto_core_hchacha20()
63 STORE32_LE(out + 16, x12); in crypto_core_hchacha20()
64 STORE32_LE(out + 20, x13); in crypto_core_hchacha20()
65 STORE32_LE(out + 24, x14); in crypto_core_hchacha20()
66 STORE32_LE(out + 28, x15); in crypto_core_hchacha20()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/
H A Dcore_hsalsa20_ref2.c85 STORE32_LE(out + 0, x0); in crypto_core_hsalsa20()
86 STORE32_LE(out + 4, x5); in crypto_core_hsalsa20()
87 STORE32_LE(out + 8, x10); in crypto_core_hsalsa20()
88 STORE32_LE(out + 12, x15); in crypto_core_hsalsa20()
89 STORE32_LE(out + 16, x6); in crypto_core_hsalsa20()
90 STORE32_LE(out + 20, x7); in crypto_core_hsalsa20()
91 STORE32_LE(out + 24, x8); in crypto_core_hsalsa20()
92 STORE32_LE(out + 28, x9); in crypto_core_hsalsa20()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.c375 STORE32_LE(blockhash + ARGON2_PREHASH_DIGEST_LENGTH, 0); in fill_first_blocks()
376 STORE32_LE(blockhash + ARGON2_PREHASH_DIGEST_LENGTH + 4, l); in fill_first_blocks()
382 STORE32_LE(blockhash + ARGON2_PREHASH_DIGEST_LENGTH, 1); in fill_first_blocks()
404 STORE32_LE(value, context->lanes); in initial_hash()
407 STORE32_LE(value, context->outlen); in initial_hash()
410 STORE32_LE(value, context->m_cost); in initial_hash()
413 STORE32_LE(value, context->t_cost); in initial_hash()
416 STORE32_LE(value, ARGON2_VERSION_NUMBER); in initial_hash()
419 STORE32_LE(value, (uint32_t) type); in initial_hash()
422 STORE32_LE(value, context->pwdlen); in initial_hash()
[all …]
H A Dblake2b-long.c25 STORE32_LE(outlen_bytes, (uint32_t) outlen); in blake2b_long()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Dchacha20_dolbeau-avx2.c142 STORE32_LE(&ic_bytes[0], ic_low); in stream_ref_xor_ic()
143 STORE32_LE(&ic_bytes[4], ic_high); in stream_ref_xor_ic()
163 STORE32_LE(ic_bytes, ic); in stream_ietf_ref_xor_ic()
H A Dchacha20_dolbeau-ssse3.c136 STORE32_LE(&ic_bytes[0], ic_low); in stream_ref_xor_ic()
137 STORE32_LE(&ic_bytes[4], ic_high); in stream_ref_xor_ic()
157 STORE32_LE(ic_bytes, ic); in stream_ietf_ref_xor_ic()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/
H A Dpoly1305_donna32.h228 STORE32_LE(mac + 0, (uint32_t) h0); in poly1305_finish()
229 STORE32_LE(mac + 4, (uint32_t) h1); in poly1305_finish()
230 STORE32_LE(mac + 8, (uint32_t) h2); in poly1305_finish()
231 STORE32_LE(mac + 12, (uint32_t) h3); in poly1305_finish()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/
H A Dsalsa20_xmm6int-sse2.c106 STORE32_LE(&ic_bytes[0], ic_low); in stream_sse2_xor_ic()
107 STORE32_LE(&ic_bytes[4], ic_high); in stream_sse2_xor_ic()
H A Dsalsa20_xmm6int-avx2.c115 STORE32_LE(&ic_bytes[0], ic_low); in stream_avx2_xor_ic()
116 STORE32_LE(&ic_bytes[4], ic_high); in stream_avx2_xor_ic()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/
H A Dblake2b-ref.c135 STORE32_LE(P->leaf_length, 0); in blake2b_init()
158 STORE32_LE(P->leaf_length, 0); in blake2b_init_salt_personal()
192 STORE32_LE(P->leaf_length, 0); in blake2b_init_key()
230 STORE32_LE(P->leaf_length, 0); in blake2b_init_key_salt_personal()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Dcommon.h102 #define STORE32_LE(DST, W) store32_le((DST), (W)) macro
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/
H A Dpwhash_scryptsalsa208sha256_nosse.c278 STORE32_LE(&B[4 * k], X[k]); in smix()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/
H A Dpwhash_scryptsalsa208sha256_sse.c293 STORE32_LE(&B[(k * 16 + (i * 5 % 16)) * 4], X32[k * 16 + i]); in smix()