Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #126374

Re: HMAC library (was something OT)

From "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>
Newsgroups comp.lang.c
Subject Re: HMAC library (was something OT)
Date 2018-02-06 20:04 -0800
Organization n/a
Message-ID <p5dtri$2p5$1@dont-email.me> (permalink)
References (6 earlier) <0123ebf0-d382-4c58-b33e-58d51c74da2b@googlegroups.com> <p55ege$ol2$1@dont-email.me> <lnefm14jlf.fsf@kst-u.example.com> <p55tca$94o$1@dont-email.me> <ln607d4aev.fsf_-_@kst-u.example.com>

Show all headers | View raw


On 2/3/2018 8:59 PM, Keith Thompson wrote:
> "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> writes:
> [snip]
>> Fair enough. Fwiw, to let me start making some more C code, can you
>> point me to a good C based HMAC lib?
> 
> Not me, I just had to look up what HMAC means.
> 
> [...]
> 

Actually, I can code the HMAC part, I am looking for some bug free 
cryptographic hash functions to go along with the MAC part. SHA-2 with 
its suite of hash algorithms with different digest sizes is a nice target.

https://en.wikipedia.org/wiki/SHA-2

I found some interesting code, do not know if it is bug free yet, so it 
goes into my examples folder for now... ;^) :

https://github.com/B-Con/crypto-algorithms/blob/master/sha256.c

That is only one 32-byte digest. I also need bug free sha-512 and 384 at 
least.

I can code these myself, but it would be nice to use something that is 
verified bug free and already existing.

Thanks for even taking the time to look up HMAC Keith, and sorry for not 
giving you a quick link.

Fwiw, here my most recent Python 3 cipher code I need to port to C:

https://pastebin.com/raw/WF3a87Ap

Fwiw, the cipher itself, best discussed over on sci.crypt is fairly 
secure...

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[Jesus Loves You] Seek the truth "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2018-02-03 06:03 -0800
  [Jesus Loves You] Seek the truth "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2018-02-03 06:09 -0800
    [OT] Re: [Jesus Loves You] Seek the truth "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-02-04 01:29 +0800
      Re: [OT] Re: [Jesus Loves You] Seek the truth "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-02-03 12:58 -0800
        Re: [OT] Re: [Jesus Loves You] Seek the truth "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2018-02-03 13:22 -0800
          Re: [OT] Re: [Jesus Loves You] Seek the truth "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-02-03 14:25 -0800
            Re: [OT] Re: [Jesus Loves You] Seek the truth "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2018-02-03 14:46 -0800
              Re: [OT] Re: [Jesus Loves You] Seek the truth "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-02-03 14:53 -0800
                Re: [OT] Re: [Jesus Loves You] Seek the truth gazelle@shell.xmission.com (Kenny McCormack) - 2018-02-03 23:47 +0000
                Re: [OT] Re: [Jesus Loves You] Seek the truth Keith Thompson <kst-u@mib.org> - 2018-02-03 17:41 -0800
                Re: [OT] Re: [Jesus Loves You] Seek the truth "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-02-03 19:06 -0800
                HMAC library (was something OT) Keith Thompson <kst-u@mib.org> - 2018-02-03 20:59 -0800
                Re: HMAC library (was something OT) "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-02-06 20:04 -0800
                Re: [OT] Re: [Jesus Loves You] Seek the truth gazelle@shell.xmission.com (Kenny McCormack) - 2018-02-04 06:12 +0000
              Re: [OT] Re: [Jesus Loves You] Seek the truth gazelle@shell.xmission.com (Kenny McCormack) - 2018-02-03 23:44 +0000
              Re: [OT] Re: [Jesus Loves You] Seek the truth "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-02-04 13:02 +0800
      Re: [OT] Re: [Jesus Loves You] Seek the truth "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2018-02-03 13:18 -0800
        Re: [OT] Re: [Jesus Loves You] Seek the truth "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-02-04 12:31 +0800
          Re: [OT] Re: [Jesus Loves You] Seek the truth Melzzzzz <Melzzzzz@zzzzz.com> - 2018-02-04 04:42 +0000

csiph-web