AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Umfrage/Architekturfrage zur DEC

Ein Thema von TurboMagic · begonnen am 17. Mai 2025 · letzter Beitrag vom 21. Mai 2025
Antwort Antwort
Seite 2 von 2     12   
Kas Ob.

Registriert seit: 3. Sep 2023
461 Beiträge
 
#1

AW: Umfrage/Architekturfrage zur DEC

  Alt 20. Mai 2025, 11:29
Ok Now i see it, it is doing the clipping/clamping on 32bit
///* r &= 0xffffffc0ffffffc0ffffffc0fffffff */
Kas
  Mit Zitat antworten Zitat
rabatscher

Registriert seit: 13. Dez 2007
Ort: Bruck an der Mur
77 Beiträge
 
#2

AW: Umfrage/Architekturfrage zur DEC

  Alt 21. Mai 2025, 09:33
Here a first version that includes poly1305 to the chacha cipher - tests according to rfc7539 are included.
The code is far from beeing ready but it's a start
There are also some changes to the base classes... so if one could take a look at it would be great...

Still - I guess if the Mr. Humm likes the changes I need to figure on how to create a pull request on that lib....
Angehängte Dateien
Dateityp: zip chachPoly1305.zip (67,4 KB, 2x aufgerufen)
  Mit Zitat antworten Zitat
TurboMagic

Registriert seit: 28. Feb 2016
Ort: Nordost Baden-Württemberg
3.096 Beiträge
 
Delphi 12 Athens
 
#3

AW: Umfrage/Architekturfrage zur DEC

  Alt 21. Mai 2025, 20:45
Here a first version that includes poly1305 to the chacha cipher - tests according to rfc7539 are included.
The code is far from beeing ready but it's a start
There are also some changes to the base classes... so if one could take a look at it would be great...

Still - I guess if the Mr. Humm likes the changes I need to figure on how to create a pull request on that lib....
Well, somebody is creating security risks by leaking real names of forum users
I think the other version presented in this thread only works on x86/x64 systems because of ASM usage.
Correct? While I like the use of AVX code to speed things up any implementation which shall get added to DEC
one daymust also have a pure pascal implementation for cross platform compatibility.

Oh and about autodetection whether a CPU supports AVX: somewhere in system.pas is some code available for
querying CPUID and from that one can find out if it supports AVX/AVX2.

Oh and since the current minimum supported Delphi version is 10.1 any version of Delphi prior to the one with
built in AVX asm support (11.0 Alexandria) needs to use the pure Pascal implementation.

That's my take for this evening on this one.
Grüße
TurboMagic

Geändert von TurboMagic (21. Mai 2025 um 21:30 Uhr)
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 2     12   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:55 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz