Lines Matching defs:ectr
535 unsigned char ectr[16],
543 ret = mbedtls_block_cipher_encrypt(&ctx->block_cipher_ctx, ctx->y, ectr);
546 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ectr, &olen);
549 mbedtls_platform_zeroize(ectr, 16);
556 mbedtls_xor(output, ectr + offset, input, use_len);
573 unsigned char ectr[16] = { 0 };
610 if ((ret = gcm_mask(ctx, ectr, offset, use_len, p, out_p)) != 0) {
628 if ((ret = gcm_mask(ctx, ectr, 0, 16, p, out_p)) != 0) {
641 if ((ret = gcm_mask(ctx, ectr, 0, input_length, p, out_p)) != 0) {
646 mbedtls_platform_zeroize(ectr, sizeof(ectr));