Initial commit
[authen-passphrase-scrypt.git] / scrypt-1.2.1 / lib / crypto / crypto_scrypt_smix_sse2.h
1 #ifndef _CRYPTO_SCRYPT_SMIX_SSE2_H_
2 #define _CRYPTO_SCRYPT_SMIX_SSE2_H_
3
4 #include <stddef.h>
5 #include <stdint.h>
6
7 /**
8 * crypto_scrypt_smix_sse2(B, r, N, V, XY):
9 * Compute B = SMix_r(B, N). The input B must be 128r bytes in length;
10 * the temporary storage V must be 128rN bytes in length; the temporary
11 * storage XY must be 256r + 64 bytes in length. The value N must be a
12 * power of 2 greater than 1. The arrays B, V, and XY must be aligned to a
13 * multiple of 64 bytes.
14 *
15 * Use SSE2 instructions.
16 */
17 void crypto_scrypt_smix_sse2(uint8_t *, size_t, uint64_t, void *, void *);
18
19 #endif /* !_CRYPTO_SCRYPT_SMIX_SSE2_H_ */
This page took 0.022351 seconds and 4 git commands to generate.