git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SHA-accelerated Git
@ 2019-06-02 10:43 Jeffrey Walton
  2019-06-02 11:21 ` Michal Suchánek
  0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey Walton @ 2019-06-02 10:43 UTC (permalink / raw)
  To: Git List

Hi Everyone,

I have a lot of experience with cutting in SHA acceleration. I have no
experience with Git.

If someone would setup a fork and provide a call like:

    // https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/cpufeature.h
    // Or whatever the project prefers
    has_x86_sha = cpu_feature_enabled(X86_FEATURE_SHA_NI);

    if (has_x86_sha)
    {
        sha1_hash_block(state, ptr, size);
    }

And provide a stub:

    sha1_hash_block(uint32_t* state, uint8_t* ptr, size_t size)
    {
    }

Then I would be happy to fill in the pieces.

I can also help with ARMv8.

In fact, if you want to use Andy Polyakov's asm from Cryptogams
(https://www.openssl.org/~appro/cryptogams/), then I can help with
that, too. Andy's skills are renowned and his code is used in the
kernel.

Jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-03 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-02 10:43 SHA-accelerated Git Jeffrey Walton
2019-06-02 11:21 ` Michal Suchánek
2019-06-02 11:34   ` Jeffrey Walton
2019-06-03 10:14     ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).