[riot-notifications] [RIOT] add sha256 implementation (#96)

Christian Mehlis notifications at github.com
Thu Aug 8 20:25:26 CEST 2013


> +    0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
> +    0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13,
> +    0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
> +    0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3,
> +    0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
> +    0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5,
> +    0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
> +    0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,
> +    0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2,
> +};
> +
> +/*
> + * SHA256 block compression function.  The 256-bit state is transformed via
> + * the 512-bit input block to produce a new state.
> + */
> +static void SHA256_Transform(uint32_t *state, const unsigned char block[64])

these names come from the std api of libcrypto, so I think we should have this api for compatibility with existing code

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/96/files#r5665653
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130808/601c72d9/attachment-0001.html>


More information about the notifications mailing list