summaryrefslogtreecommitdiff
path: root/src/crypto/sha384-prf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/sha384-prf.c')
-rw-r--r--src/crypto/sha384-prf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha384-prf.c b/src/crypto/sha384-prf.c
index 03e3cb353a3d0..420e78c380cd9 100644
--- a/src/crypto/sha384-prf.c
+++ b/src/crypto/sha384-prf.c
@@ -102,7 +102,7 @@ int sha384_prf_bits(const u8 *key, size_t key_len, const char *label,
buf[pos - 1] &= mask;
}
- os_memset(hash, 0, sizeof(hash));
+ forced_memzero(hash, sizeof(hash));
return 0;
}