Lines Matching defs:output
251 static void gcm_mult_largetable(uint8_t *output, const uint8_t *x, uint64_t H[256][2])
286 mbedtls_xor_no_simd(output, u8z, (uint8_t *) H[x[0]], 16);
302 static void gcm_mult_smalltable(uint8_t *output, const uint8_t *x, uint64_t H[16][2])
338 MBEDTLS_PUT_UINT64_BE(u64z[0], output, 0);
339 MBEDTLS_PUT_UINT64_BE(u64z[1], output, 8);
344 * Sets output to x times H using the precomputed tables.
345 * x and output are seen as elements of GF(2^128) as in [MGV].
348 unsigned char output[16])
353 mbedtls_aesni_gcm_mult(output, x, (uint8_t *) ctx->H[MBEDTLS_GCM_HTABLE_SIZE/2]);
359 mbedtls_aesce_gcm_mult(output, x, (uint8_t *) ctx->H[MBEDTLS_GCM_HTABLE_SIZE/2]);
365 gcm_mult_largetable(output, x, ctx->H);
369 gcm_mult_smalltable(output, x, ctx->H);
538 unsigned char *output)
556 mbedtls_xor(output, ectr + offset, input, use_len);
558 mbedtls_xor(ctx->buf + offset, ctx->buf + offset, output, use_len);
566 unsigned char *output, size_t output_size,
571 unsigned char *out_p = output;
588 if (output > input && (size_t) (output - input) < input_length) {
651 unsigned char *output, size_t output_size,
659 /* We never pass any output in finish(). The output parameter exists only
661 (void) output;
711 unsigned char *output,
727 output, length, &olen)) != 0) {
747 unsigned char *output)
755 input, output, tag_len, check_tag)) != 0) {
763 mbedtls_platform_zeroize(output, length);