We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fefe08 commit 7f56631Copy full SHA for 7f56631
1 file changed
sw/device/lib/crypto/impl/drbg.c
@@ -38,8 +38,8 @@ static status_t seed_material_construct(
38
seed_material->len = nwords;
39
40
// Copy seed data.
41
- if (misalignment32_of((uintptr_t)&value->data) == 0 &&
42
- value->len % sizeof(uint32_t)) {
+ if (misalignment32_of((uintptr_t)value->data) == 0 &&
+ value->len % sizeof(uint32_t) == 0) {
43
// The data buffer is word-aligned and the data length is a multiple of the
44
// word size. We can use the SCA hardened memcpy.
45
HARDENED_TRY(hardened_memcpy(seed_material->data,
0 commit comments