1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-24 01:41:35 +03:00

Implement hmac truncation

This commit is contained in:
Manuel Pégourié-Gonnard
2013-07-19 12:19:21 +02:00
committed by Paul Bakker
parent 57c2852807
commit 277f7f23e2
2 changed files with 9 additions and 0 deletions

View File

@ -150,6 +150,7 @@
#define SSL_TRUNC_HMAC_DISABLED 0
#define SSL_TRUNC_HMAC_ENABLED 1
#define SSL_TRUNCATED_HMAC_LEN 10 /* 80 bits, rfc 6066 section 7 */
/*
* Size of the input / output buffer.