Home
last modified time | relevance | path

Searched refs:sub_block (Results 1 – 8 of 8) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2sha256.c137 const unsigned char *sub_block; in vb2_sha256_transform() local
145 sub_block = message + (i << 6); in vb2_sha256_transform()
149 PACK32(&sub_block[j << 2], &w[j]); in vb2_sha256_transform()
178 PACK32(&sub_block[ 0], &w[ 0]); PACK32(&sub_block[ 4], &w[ 1]); in vb2_sha256_transform()
179 PACK32(&sub_block[ 8], &w[ 2]); PACK32(&sub_block[12], &w[ 3]); in vb2_sha256_transform()
180 PACK32(&sub_block[16], &w[ 4]); PACK32(&sub_block[20], &w[ 5]); in vb2_sha256_transform()
181 PACK32(&sub_block[24], &w[ 6]); PACK32(&sub_block[28], &w[ 7]); in vb2_sha256_transform()
182 PACK32(&sub_block[32], &w[ 8]); PACK32(&sub_block[36], &w[ 9]); in vb2_sha256_transform()
183 PACK32(&sub_block[40], &w[10]); PACK32(&sub_block[44], &w[11]); in vb2_sha256_transform()
184 PACK32(&sub_block[48], &w[12]); PACK32(&sub_block[52], &w[13]); in vb2_sha256_transform()
[all …]
D2sha512.c180 const uint8_t *sub_block; in vb2_sha512_transform() local
184 sub_block = message + (i << 7); in vb2_sha512_transform()
187 PACK64(&sub_block[ 0], &w[ 0]); in vb2_sha512_transform()
188 PACK64(&sub_block[ 8], &w[ 1]); in vb2_sha512_transform()
189 PACK64(&sub_block[ 16], &w[ 2]); in vb2_sha512_transform()
190 PACK64(&sub_block[ 24], &w[ 3]); in vb2_sha512_transform()
191 PACK64(&sub_block[ 32], &w[ 4]); in vb2_sha512_transform()
192 PACK64(&sub_block[ 40], &w[ 5]); in vb2_sha512_transform()
193 PACK64(&sub_block[ 48], &w[ 6]); in vb2_sha512_transform()
194 PACK64(&sub_block[ 56], &w[ 7]); in vb2_sha512_transform()
[all …]
/external/avb/libavb/
Davb_sha256.c130 const unsigned char* sub_block; in SHA256_transform() local
138 sub_block = message + (i << 6); in SHA256_transform()
142 PACK32(&sub_block[j << 2], &w[j]); in SHA256_transform()
171 PACK32(&sub_block[0], &w[0]); in SHA256_transform()
172 PACK32(&sub_block[4], &w[1]); in SHA256_transform()
173 PACK32(&sub_block[8], &w[2]); in SHA256_transform()
174 PACK32(&sub_block[12], &w[3]); in SHA256_transform()
175 PACK32(&sub_block[16], &w[4]); in SHA256_transform()
176 PACK32(&sub_block[20], &w[5]); in SHA256_transform()
177 PACK32(&sub_block[24], &w[6]); in SHA256_transform()
[all …]
Davb_sha512.c161 const uint8_t* sub_block; in SHA512_transform() local
165 sub_block = message + (i << 7); in SHA512_transform()
168 PACK64(&sub_block[0], &w[0]); in SHA512_transform()
169 PACK64(&sub_block[8], &w[1]); in SHA512_transform()
170 PACK64(&sub_block[16], &w[2]); in SHA512_transform()
171 PACK64(&sub_block[24], &w[3]); in SHA512_transform()
172 PACK64(&sub_block[32], &w[4]); in SHA512_transform()
173 PACK64(&sub_block[40], &w[5]); in SHA512_transform()
174 PACK64(&sub_block[48], &w[6]); in SHA512_transform()
175 PACK64(&sub_block[56], &w[7]); in SHA512_transform()
[all …]
/external/vboot_reference/firmware/lib/cryptolib/
Dsha256.c134 const unsigned char *sub_block; in SHA256_transform() local
142 sub_block = message + (i << 6); in SHA256_transform()
146 PACK32(&sub_block[j << 2], &w[j]); in SHA256_transform()
175 PACK32(&sub_block[ 0], &w[ 0]); PACK32(&sub_block[ 4], &w[ 1]); in SHA256_transform()
176 PACK32(&sub_block[ 8], &w[ 2]); PACK32(&sub_block[12], &w[ 3]); in SHA256_transform()
177 PACK32(&sub_block[16], &w[ 4]); PACK32(&sub_block[20], &w[ 5]); in SHA256_transform()
178 PACK32(&sub_block[24], &w[ 6]); PACK32(&sub_block[28], &w[ 7]); in SHA256_transform()
179 PACK32(&sub_block[32], &w[ 8]); PACK32(&sub_block[36], &w[ 9]); in SHA256_transform()
180 PACK32(&sub_block[40], &w[10]); PACK32(&sub_block[44], &w[11]); in SHA256_transform()
181 PACK32(&sub_block[48], &w[12]); PACK32(&sub_block[52], &w[13]); in SHA256_transform()
[all …]
Dsha512.c177 const uint8_t *sub_block; in SHA512_transform() local
181 sub_block = message + (i << 7); in SHA512_transform()
184 PACK64(&sub_block[ 0], &w[ 0]); PACK64(&sub_block[ 8], &w[ 1]); in SHA512_transform()
185 PACK64(&sub_block[ 16], &w[ 2]); PACK64(&sub_block[ 24], &w[ 3]); in SHA512_transform()
186 PACK64(&sub_block[ 32], &w[ 4]); PACK64(&sub_block[ 40], &w[ 5]); in SHA512_transform()
187 PACK64(&sub_block[ 48], &w[ 6]); PACK64(&sub_block[ 56], &w[ 7]); in SHA512_transform()
188 PACK64(&sub_block[ 64], &w[ 8]); PACK64(&sub_block[ 72], &w[ 9]); in SHA512_transform()
189 PACK64(&sub_block[ 80], &w[10]); PACK64(&sub_block[ 88], &w[11]); in SHA512_transform()
190 PACK64(&sub_block[ 96], &w[12]); PACK64(&sub_block[104], &w[13]); in SHA512_transform()
191 PACK64(&sub_block[112], &w[14]); PACK64(&sub_block[120], &w[15]); in SHA512_transform()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Ddlrr.cc48 for (SubBlock& sub_block : sub_blocks_) { in Parse()
49 sub_block.ssrc = ByteReader<uint32_t>::ReadBigEndian(&read_at[0]); in Parse()
50 sub_block.last_rr = ByteReader<uint32_t>::ReadBigEndian(&read_at[4]); in Parse()
51 sub_block.delay_since_last_rr = in Parse()
74 for (const SubBlock& sub_block : sub_blocks_) { in Create() local
75 ByteWriter<uint32_t>::WriteBigEndian(&write_at[0], sub_block.ssrc); in Create()
76 ByteWriter<uint32_t>::WriteBigEndian(&write_at[4], sub_block.last_rr); in Create()
78 sub_block.delay_since_last_rr); in Create()
/external/mmc-utils/3rdparty/hmac_sha/
Dsha2.c222 const unsigned char *sub_block; in sha256_transf() local
230 sub_block = message + (i << 6); in sha256_transf()
234 PACK32(&sub_block[j << 2], &w[j]); in sha256_transf()
263 PACK32(&sub_block[ 0], &w[ 0]); PACK32(&sub_block[ 4], &w[ 1]); in sha256_transf()
264 PACK32(&sub_block[ 8], &w[ 2]); PACK32(&sub_block[12], &w[ 3]); in sha256_transf()
265 PACK32(&sub_block[16], &w[ 4]); PACK32(&sub_block[20], &w[ 5]); in sha256_transf()
266 PACK32(&sub_block[24], &w[ 6]); PACK32(&sub_block[28], &w[ 7]); in sha256_transf()
267 PACK32(&sub_block[32], &w[ 8]); PACK32(&sub_block[36], &w[ 9]); in sha256_transf()
268 PACK32(&sub_block[40], &w[10]); PACK32(&sub_block[44], &w[11]); in sha256_transf()
269 PACK32(&sub_block[48], &w[12]); PACK32(&sub_block[52], &w[13]); in sha256_transf()
[all …]