Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dgcm.c279 unsigned char work_buf[16]; in mbedtls_gcm_starts() local
311 memset( work_buf, 0x00, 16 ); in mbedtls_gcm_starts()
312 PUT_UINT32_BE( iv_len * 8, work_buf, 12 ); in mbedtls_gcm_starts()
329 ctx->y[i] ^= work_buf[i]; in mbedtls_gcm_starts()
425 unsigned char work_buf[16]; in mbedtls_gcm_finish() local
443 memset( work_buf, 0x00, 16 ); in mbedtls_gcm_finish()
445 PUT_UINT32_BE( ( orig_add_len >> 32 ), work_buf, 0 ); in mbedtls_gcm_finish()
446 PUT_UINT32_BE( ( orig_add_len ), work_buf, 4 ); in mbedtls_gcm_finish()
447 PUT_UINT32_BE( ( orig_len >> 32 ), work_buf, 8 ); in mbedtls_gcm_finish()
448 PUT_UINT32_BE( ( orig_len ), work_buf, 12 ); in mbedtls_gcm_finish()
[all …]