Lines Matching refs:h
83 unsigned char h[16]; in gcm_gen_table() local
86 memset( h, 0, 16 ); in gcm_gen_table()
87 if( ( ret = mbedtls_cipher_update( &ctx->cipher_ctx, h, 16, h, &olen ) ) != 0 ) in gcm_gen_table()
91 hi = MBEDTLS_GET_UINT32_BE( h, 0 ); in gcm_gen_table()
92 lo = MBEDTLS_GET_UINT32_BE( h, 4 ); in gcm_gen_table()
95 hi = MBEDTLS_GET_UINT32_BE( h, 8 ); in gcm_gen_table()
96 lo = MBEDTLS_GET_UINT32_BE( h, 12 ); in gcm_gen_table()
201 unsigned char h[16]; in gcm_mult() local
203 MBEDTLS_PUT_UINT32_BE( ctx->HH[8] >> 32, h, 0 ); in gcm_mult()
204 MBEDTLS_PUT_UINT32_BE( ctx->HH[8], h, 4 ); in gcm_mult()
205 MBEDTLS_PUT_UINT32_BE( ctx->HL[8] >> 32, h, 8 ); in gcm_mult()
206 MBEDTLS_PUT_UINT32_BE( ctx->HL[8], h, 12 ); in gcm_mult()
208 mbedtls_aesni_gcm_mult( output, x, h ); in gcm_mult()