Liste des Groupes | Revenir à c arch |
"Stephen Fuld" <SFuld@alumni.cmu.edu.invalid> writes:Scott Lurndal wrote:=20 >> > > =20
Michael S <already5chosen@yahoo.com> writes:On Mon, 3 Jun 2024 08:03:53 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Thu, 30 May 2024 18:31:46 +0000, MitchAlsup1 wrote:
=2030 years ago you could say the same thing about encryption.the >> > key is 128-bit or shorter.encryption. Inst=I don=E2=80=99t think newer CPUs have been optimized foread,work >> better on current CPUs.=20we see newer encryption algorithms (or ways of using them) that
I think moderate efficiency on CPU, not too low, but not high
either, is a requirement for (symmetric-key) cipher. Esp. whenet >> al).
Most modern CPUs have instruction set support for symmetric ciphers
such as AES, SM2/SM3 as well as message digest/hash (SHA1, SHA256for >> decades now (e.g. bbn or ncypher HSM boxes sitting on a SCSI
High throughput encryption has been done by hardware accelerators
bus; >> now such HSM are an integral part of many SoC).
Queston. For a modern general purpose CPU, if you are including all
the logic to implement encryption instructions, is it much more to
include the control/sequencing logic to do it and not tie up the
rest of the CPU logic to do the encryption? Furthermore, an
"inbuilt" accelerator could interface directly with the I/O
hardware of the CPU (e.g. PCI), saving the "intermediate" step of
writing the encrypted data to memory.
There are always tradeoffs. The issues surrounding the
control/sequencing logic outside of the instruction flow
require some level of asynchronicity, so to avoid bottlenecks
one might need to replicate the "inbuilt accelerator" if
more than one core will be using encryption (e.g. for RSS
with IPSEC flows).
From the operating software standpoint, it becomes most
convenient, then, to model the offload as a device which
requires OS support (and intervention for e.g. interrupt
handling).
For network traffic, there are often other operations
being performed on the flow (routing, encapsulation,
fragmentation/reassembly, etc) which require the packet to be in a
memory buffer (which could be high-speed SRAM or lower-speed DRAM),
even when just routing from an ingress port to an egress port.
Les messages affichés proviennent d'usenet.