diff options
| author | Jan Kiszka <jan.kiszka@siemens.com> | 2025-09-01 07:56:26 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-09-02 17:58:05 +0200 |
| commit | 22ece1a6ebf5d9e0b0a3e376dcfbfe9d96d209b9 (patch) | |
| tree | b499f0730fcacb52ae4499817a1efe2b971dbc73 /hw/net/mipsnet.c | |
| parent | e2d7c1a3cdc46d6b2e8afa8db8a7ef4c2740a2fe (diff) | |
| download | focaccia-qemu-22ece1a6ebf5d9e0b0a3e376dcfbfe9d96d209b9.tar.gz focaccia-qemu-22ece1a6ebf5d9e0b0a3e376dcfbfe9d96d209b9.zip | |
crypto/hmac: Allow to build hmac over multiple qcrypto_gnutls_hmac_bytes[v] calls
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>
Diffstat (limited to 'hw/net/mipsnet.c')
0 files changed, 0 insertions, 0 deletions