Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Dsm4.c167 uint32_t ulbuf[36]; in sm4_one_round() local
169 memset(ulbuf, 0, sizeof(ulbuf)); in sm4_one_round()
171 GET_UINT32_BE(ulbuf[0], input, 0); in sm4_one_round()
172 GET_UINT32_BE(ulbuf[1], input, 4); in sm4_one_round()
173 GET_UINT32_BE(ulbuf[2], input, 8); in sm4_one_round()
174 GET_UINT32_BE(ulbuf[3], input, 12); in sm4_one_round()
177 ulbuf[i + 4] = sm4F(ulbuf[i], ulbuf[i + 1], ulbuf[i + 2], in sm4_one_round()
178 ulbuf[i + 3], sk[i]); in sm4_one_round()
180 PUT_UINT32_BE(ulbuf[35], output, 0); in sm4_one_round()
181 PUT_UINT32_BE(ulbuf[34], output, 4); in sm4_one_round()
[all …]

Completed in 3 milliseconds