Symbol: GOSTR34_11_94_STATE_SIZE
crypto/libecc/src/examples/hash/gostr34_11_94.c
103
for(j = 0; j < GOSTR34_11_94_STATE_SIZE; j++){
crypto/libecc/src/examples/hash/gostr34_11_94.c
112
for(j = 0; j < GOSTR34_11_94_STATE_SIZE; j++){
crypto/libecc/src/examples/hash/gostr34_11_94.c
121
for(j = 0; j < GOSTR34_11_94_STATE_SIZE; j++){
crypto/libecc/src/examples/hash/gostr34_11_94.c
135
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_block_encryption(const u64 K[GOSTR34_11_94_STATE_SIZE], const u64 P, u64 *E, const u8 sbox[8][16])
crypto/libecc/src/examples/hash/gostr34_11_94.c
191
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_state_encryption(const u64 K[4][GOSTR34_11_94_STATE_SIZE], const u64 H[GOSTR34_11_94_STATE_SIZE], u64 S[GOSTR34_11_94_STATE_SIZE], const u8 sbox[8][16])
crypto/libecc/src/examples/hash/gostr34_11_94.c
196
MUST_HAVE((GOSTR34_11_94_STATE_SIZE == 4), ret, err);
crypto/libecc/src/examples/hash/gostr34_11_94.c
220
u64 A[GOSTR34_11_94_STATE_SIZE];
crypto/libecc/src/examples/hash/gostr34_11_94.c
225
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_state_psi(const u64 G[GOSTR34_11_94_STATE_SIZE], u64 G_[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
237
MUST_HAVE((sizeof(gostr34_11_94_union) == (sizeof(u64) * GOSTR34_11_94_STATE_SIZE)), ret, err);
crypto/libecc/src/examples/hash/gostr34_11_94.c
256
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_state_output_transform(const u64 H[GOSTR34_11_94_STATE_SIZE], const u64 S[GOSTR34_11_94_STATE_SIZE], const u64 M[GOSTR34_11_94_STATE_SIZE], u64 H_[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
262
ret = local_memcpy(H_, S, GOSTR34_11_94_STATE_SIZE * sizeof(u64)); EG(ret, err);
crypto/libecc/src/examples/hash/gostr34_11_94.c
267
for(i = 0; i < GOSTR34_11_94_STATE_SIZE; i++){
crypto/libecc/src/examples/hash/gostr34_11_94.c
270
GET_UINT64_LE(m, (const u8*)&M[GOSTR34_11_94_STATE_SIZE - i - 1], 0);
crypto/libecc/src/examples/hash/gostr34_11_94.c
273
GET_UINT64_BE(m, (const u8*)&M[GOSTR34_11_94_STATE_SIZE - i - 1], 0);
crypto/libecc/src/examples/hash/gostr34_11_94.c
279
for(i = 0; i < GOSTR34_11_94_STATE_SIZE; i++){
crypto/libecc/src/examples/hash/gostr34_11_94.c
282
GET_UINT64_LE(h, (const u8*)&H[GOSTR34_11_94_STATE_SIZE - i - 1], 0);
crypto/libecc/src/examples/hash/gostr34_11_94.c
285
GET_UINT64_BE(h, (const u8*)&H[GOSTR34_11_94_STATE_SIZE - i - 1], 0);
crypto/libecc/src/examples/hash/gostr34_11_94.c
301
static inline void gostr34_11_94_256bit_sum(const u64 A[GOSTR34_11_94_STATE_SIZE], const u64 B[GOSTR34_11_94_STATE_SIZE], u64 C[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
307
for(i = 0; i < GOSTR34_11_94_STATE_SIZE; i++){
crypto/libecc/src/examples/hash/gostr34_11_94.c
309
unsigned int idx = (GOSTR34_11_94_STATE_SIZE - i - 1);
crypto/libecc/src/examples/hash/gostr34_11_94.c
329
u64 K[4][GOSTR34_11_94_STATE_SIZE];
crypto/libecc/src/examples/hash/gostr34_11_94.c
330
u64 H[GOSTR34_11_94_STATE_SIZE], S[GOSTR34_11_94_STATE_SIZE], M[GOSTR34_11_94_STATE_SIZE];
crypto/libecc/src/examples/hash/gostr34_11_94.c
402
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_set_iv(gostr34_11_94_context *ctx, const u64 iv[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
49
static inline void gostr34_11_94_A(const u64 Y[GOSTR34_11_94_STATE_SIZE], u64 Y_[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
66
static inline void gostr34_11_94_P(const u64 Y[GOSTR34_11_94_STATE_SIZE], u64 Y_[GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
75
unsigned int phi_idx = (8 * GOSTR34_11_94_STATE_SIZE) - (i + (4 * (k - 1)));
crypto/libecc/src/examples/hash/gostr34_11_94.c
84
static const u64 gostr34_11_94_C[3][GOSTR34_11_94_STATE_SIZE] = {
crypto/libecc/src/examples/hash/gostr34_11_94.c
91
ATTRIBUTE_WARN_UNUSED_RET static inline int gostr34_11_94_key_generation(const u64 H[GOSTR34_11_94_STATE_SIZE], const u64 M[GOSTR34_11_94_STATE_SIZE], u64 K[4][GOSTR34_11_94_STATE_SIZE])
crypto/libecc/src/examples/hash/gostr34_11_94.c
94
u64 U[GOSTR34_11_94_STATE_SIZE], V[GOSTR34_11_94_STATE_SIZE], W[GOSTR34_11_94_STATE_SIZE];
crypto/libecc/src/examples/hash/gostr34_11_94.h
144
u64 gostr34_11_94_state[GOSTR34_11_94_STATE_SIZE];
crypto/libecc/src/examples/hash/gostr34_11_94.h
148
u64 gostr34_11_94_sum[GOSTR34_11_94_STATE_SIZE];
crypto/libecc/src/examples/hash/gostr34_11_94.h
158
ATTRIBUTE_WARN_UNUSED_RET int gostr34_11_94_set_iv(gostr34_11_94_context *ctx, const u64 iv[GOSTR34_11_94_STATE_SIZE]);