summaryrefslogtreecommitdiffstats
path: root/libavutil/hmac.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-111-81/+0
|\ | | | | | | | | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: Split test programs off into separate filesDiego Biurrun2016-04-071-74/+0
| | | | | | | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
| * fate: add test vectors for HMAC SHA and SHA-2James Almer2015-07-291-10/+36
| | | | | | | | | | | | | | Also replace custom tests for MD5 with those published in RFC 2202 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
| * hmac: add support for SHA-2James Almer2015-07-291-5/+26
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavu/hmac: remove deprecated type idsHendrik Leppkes2015-09-051-6/+0
| |
* | avutil/hmac: fix API/ABI compatibility with the forkJames Almer2015-07-291-24/+35
| | | | | | | | | | | | | | | | | | | | The test code is updated with some cosmetics to avoid the loop using undefined AVHMACType values. The old enum values will be removed in the next major bump, effectively making both projects synced and without API or ABI issues. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/hmac: Check av_hmac_alloc() return codeMichael Niedermayer2015-03-301-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/hmac: use av_freep() to avoid leaving stale pointers in memoryMichael Niedermayer2014-12-271-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/hmac: make const tables static constMichael Niedermayer2013-08-061-6/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: Add test vectors for HMAC SHA and SHA-2James Almer2013-06-121-10/+36
| | | | | | | | | | | | | | Also replace custom tests for MD5 with those published in RFC 2202 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/hmac: Add support for SHA-2James Almer2013-06-121-6/+52
| | | | | | | | | | | | | | | | Includes HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512. Tested using test vectors from https://tools.ietf.org/html/rfc4231 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/hmac: silence pointer type warningsMichael Niedermayer2013-05-201-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1fda184a85178cfd7b98d9e308d18e1ded76a511'Michael Niedermayer2013-05-051-1/+2
|\ \ | |/ | | | | | | | | | | * commit '1fda184a85178cfd7b98d9e308d18e1ded76a511': avutil: Add av_cold attributes to init functions missing them Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-1/+2
| |
* | Merge commit '0eecafc948b74c247ebbc59f18f508db5d590d0b'Michael Niedermayer2013-01-161-0/+48
|\ \ | |/ | | | | | | | | | | | | | | * commit '0eecafc948b74c247ebbc59f18f508db5d590d0b': configure: Make the new srtp protocol depend on the rtp protocol lavf: Add a fate test for the SRTP functions lavu: Add a fate test for the HMAC API Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Add a fate test for the HMAC APIMartin Storsjö2013-01-151-0/+48
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'ab2ad8bd56882c0ea160b154e8b836eb71abc49d'Michael Niedermayer2013-01-151-4/+4
|/ | | | | | | | | | | | * commit 'ab2ad8bd56882c0ea160b154e8b836eb71abc49d': lavf: Add functions for SRTP decryption/encryption lavu: Add an API for calculating HMAC (RFC 2104) Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: Add an API for calculating HMAC (RFC 2104)Martin Storsjö2013-01-151-0/+138
This supports HMAC-MD5 and HMAC-SHA1 for now, other hashes are simple to add. Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud