Lines Matching refs:h
106 unsigned char h[16]; in gcm_gen_table() local
109 memset( h, 0, 16 ); in gcm_gen_table()
110 if( ( ret = mbedtls_cipher_update( &ctx->cipher_ctx, h, 16, h, &olen ) ) != 0 ) in gcm_gen_table()
114 GET_UINT32_BE( hi, h, 0 ); in gcm_gen_table()
115 GET_UINT32_BE( lo, h, 4 ); in gcm_gen_table()
118 GET_UINT32_BE( hi, h, 8 ); in gcm_gen_table()
119 GET_UINT32_BE( lo, h, 12 ); in gcm_gen_table()
219 unsigned char h[16]; in gcm_mult() local
221 PUT_UINT32_BE( ctx->HH[8] >> 32, h, 0 ); in gcm_mult()
222 PUT_UINT32_BE( ctx->HH[8], h, 4 ); in gcm_mult()
223 PUT_UINT32_BE( ctx->HL[8] >> 32, h, 8 ); in gcm_mult()
224 PUT_UINT32_BE( ctx->HL[8], h, 12 ); in gcm_mult()
226 mbedtls_aesni_gcm_mult( output, x, h ); in gcm_mult()