Lines Matching refs:initial_state
32 u32 initial_state[16]; member
107 memcpy(state, ctx->initial_state, sizeof(ctx->initial_state)); in salsa20_init()
124 ctx->initial_state[1] = get_unaligned_le32(key + 0); in salsa20_setkey()
125 ctx->initial_state[2] = get_unaligned_le32(key + 4); in salsa20_setkey()
126 ctx->initial_state[3] = get_unaligned_le32(key + 8); in salsa20_setkey()
127 ctx->initial_state[4] = get_unaligned_le32(key + 12); in salsa20_setkey()
134 ctx->initial_state[11] = get_unaligned_le32(key + 0); in salsa20_setkey()
135 ctx->initial_state[12] = get_unaligned_le32(key + 4); in salsa20_setkey()
136 ctx->initial_state[13] = get_unaligned_le32(key + 8); in salsa20_setkey()
137 ctx->initial_state[14] = get_unaligned_le32(key + 12); in salsa20_setkey()
138 ctx->initial_state[0] = get_unaligned_le32(constants + 0); in salsa20_setkey()
139 ctx->initial_state[5] = get_unaligned_le32(constants + 4); in salsa20_setkey()
140 ctx->initial_state[10] = get_unaligned_le32(constants + 8); in salsa20_setkey()
141 ctx->initial_state[15] = get_unaligned_le32(constants + 12); in salsa20_setkey()
144 ctx->initial_state[6] = 0; in salsa20_setkey()
145 ctx->initial_state[7] = 0; in salsa20_setkey()
148 ctx->initial_state[8] = 0; in salsa20_setkey()
149 ctx->initial_state[9] = 0; in salsa20_setkey()