Giter VIP home page Giter VIP logo

Comments (8)

synopse avatar synopse commented on August 15, 2024

Please switch to mORMot 2, which already includes the fix.

from mormot.

zunzster avatar zunzster commented on August 15, 2024

Thanks, Arnaud. I figured that was likely the case.

We're only using a selected few pieces of mORMot v1 so I'll look at what is involved in switching those to mORMot v2. I've coded up the required fixes in case anyone else wants them.

from mormot.

synopse avatar synopse commented on August 15, 2024

You are welcome to make a pull request here, of course!

from mormot.

myonlylonely avatar myonlylonely commented on August 15, 2024

Thanks, Arnaud. I figured that was likely the case.

We're only using a selected few pieces of mORMot v1 so I'll look at what is involved in switching those to mORMot v2. I've coded up the required fixes in case anyone else wants them.

@zunzster May I ask what the fix is? Is it possible to make a pull request or just show us the fixed code? We also use mORMot V1 for few selected pieces, it will be a great help for us if the legacy V1 has fixes for bugs.

from mormot.

synopse avatar synopse commented on August 15, 2024

The fix exists in mormot 2.

from mormot.

myonlylonely avatar myonlylonely commented on August 15, 2024

@synopse Is it possible to port it back to v1? synopse/mORMot2@4708b03

from mormot.

zunzster avatar zunzster commented on August 15, 2024

I've forked Mormot and pushed up my SynCrypto.pas changes for inspection. I've adapted my changes to be even closer to the Mormot2 changes but I'm 16-byte aligning the stack so I can use movaps for a slight speed boost.

I still have the original changes I made before seeing the v2 changes - that's the {$IFNDEF LINUX} section where I was following the Intel SHA1 convention from the example further down that file.

zunzster@8d6eb99

from mormot.

synopse avatar synopse commented on August 15, 2024

Thanks a lot for sharing!
You can make a Pull Request!

I am not sure there is any benefit with using the MORMOT2 version of the code, for these procedures.

from mormot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.