Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Daes-gcm-ghash-tbl.c115 uint64_t zh = 0, zl = 0; in internal_aes_gcm_ghash_mult_tbl() local
120 zl = ghash_key->HL[lo]; in internal_aes_gcm_ghash_mult_tbl()
127 rem = (unsigned char)zl & 0xf; in internal_aes_gcm_ghash_mult_tbl()
128 zl = (zh << 60) | (zl >> 4); in internal_aes_gcm_ghash_mult_tbl()
132 zl ^= ghash_key->HL[lo]; in internal_aes_gcm_ghash_mult_tbl()
135 rem = (unsigned char)zl & 0xf; in internal_aes_gcm_ghash_mult_tbl()
136 zl = (zh << 60) | (zl >> 4); in internal_aes_gcm_ghash_mult_tbl()
140 zl ^= ghash_key->HL[hi]; in internal_aes_gcm_ghash_mult_tbl()
144 put_be64(output + 8, zl); in internal_aes_gcm_ghash_mult_tbl()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dgcm.c197 uint64_t zh, zl; in gcm_mult() local
216 zl = ctx->HL[lo]; in gcm_mult()
225 rem = (unsigned char) zl & 0xf; in gcm_mult()
226 zl = ( zh << 60 ) | ( zl >> 4 ); in gcm_mult()
230 zl ^= ctx->HL[lo]; in gcm_mult()
234 rem = (unsigned char) zl & 0xf; in gcm_mult()
235 zl = ( zh << 60 ) | ( zl >> 4 ); in gcm_mult()
239 zl ^= ctx->HL[hi]; in gcm_mult()
244 MBEDTLS_PUT_UINT32_BE( zl >> 32, output, 8 ); in gcm_mult()
245 MBEDTLS_PUT_UINT32_BE( zl, output, 12 ); in gcm_mult()

Completed in 7 milliseconds