[openssl/openssl] d6e405: Optimize circular buffer to avoid modulo

AtariDreams noreply at github.com
Fri Dec 22 13:49:08 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: d6e4056805f54bb1a0ef41fa3a6a35b70c94edba
      https://github.com/openssl/openssl/commit/d6e4056805f54bb1a0ef41fa3a6a35b70c94edba
  Author: Rose <83477269+AtariDreams at users.noreply.github.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M crypto/bio/bio_dump.c

  Log Message:
  -----------
  Optimize circular buffer to avoid modulo

CLA: trivial

Avoid doing the division via modulo where possible.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23097)




More information about the openssl-commits mailing list