Searched refs:stm32_remain (Results 1 – 1 of 1) sorted by relevance
89 static struct stm32_hash_remain stm32_remain; variable209 uint8_t *remain_buf = (uint8_t *)&stm32_remain.buffer; in stm32_hash_update()222 if (stm32_remain.length != 0U) { in stm32_hash_update()225 copysize = MIN((sizeof(uint32_t) - stm32_remain.length), in stm32_hash_update()227 (void)(memcpy(&remain_buf[stm32_remain.length], buf, copysize)); in stm32_hash_update()230 if (stm32_remain.length == sizeof(uint32_t)) { in stm32_hash_update()231 ret = hash_write_data(stm32_remain.buffer); in stm32_hash_update()236 zeromem(&stm32_remain, sizeof(stm32_remain)); in stm32_hash_update()254 assert(stm32_remain.length == 0U); in stm32_hash_update()256 (void)(memcpy((uint8_t *)&stm32_remain.buffer, buf, remain_length)); in stm32_hash_update()[all …]