If the buffers that should be considered for building the hmac are not available at the same time, the current API is unsuitable. Extend it so that passing a NULL pointer as result_len is used as indicator that further buffers will be passed in succeeding calls to qcrypto_gnutls_hmac_bytes[v]. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <2d3539c247a6c323491a3821f0e5b6fc382a4686.1756706188.git.jan.kiszka@siemens.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> |
||
|---|---|---|
| .. | ||
| aes-round.h | ||
| aes.h | ||
| afsplit.h | ||
| akcipher.h | ||
| block.h | ||
| cipher.h | ||
| clmul.h | ||
| desrfb.h | ||
| hash.h | ||
| hmac.h | ||
| init.h | ||
| ivgen.h | ||
| pbkdf.h | ||
| random.h | ||
| secret.h | ||
| secret_common.h | ||
| secret_keyring.h | ||
| sm4.h | ||
| tls-cipher-suites.h | ||
| tlscreds.h | ||
| tlscredsanon.h | ||
| tlscredspsk.h | ||
| tlscredsx509.h | ||
| tlssession.h | ||
| x509-utils.h | ||
| xts.h | ||