mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -07:00
MSVC analyzer FP
This commit is contained in:
parent
f4e5d6cb3b
commit
db139ced5f
@ -160,7 +160,10 @@ int fill_segment_ref(const argon2_instance_t *instance,
|
|||||||
/* 1.2 Computing the index of the reference block */
|
/* 1.2 Computing the index of the reference block */
|
||||||
/* 1.2.1 Taking pseudo-random value from the previous block */
|
/* 1.2.1 Taking pseudo-random value from the previous block */
|
||||||
if (data_independent_addressing) {
|
if (data_independent_addressing) {
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable: 6385)
|
||||||
pseudo_rand = pseudo_rands[i];
|
pseudo_rand = pseudo_rands[i];
|
||||||
|
#pragma warning(pop)
|
||||||
} else {
|
} else {
|
||||||
pseudo_rand = instance->region->memory[prev_offset].v[0];
|
pseudo_rand = instance->region->memory[prev_offset].v[0];
|
||||||
}
|
}
|
||||||
|
@ -156,7 +156,10 @@ int fill_segment_ssse3(const argon2_instance_t *instance,
|
|||||||
/* 1.2 Computing the index of the reference block */
|
/* 1.2 Computing the index of the reference block */
|
||||||
/* 1.2.1 Taking pseudo-random value from the previous block */
|
/* 1.2.1 Taking pseudo-random value from the previous block */
|
||||||
if (data_independent_addressing) {
|
if (data_independent_addressing) {
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable: 6385)
|
||||||
pseudo_rand = pseudo_rands[i];
|
pseudo_rand = pseudo_rands[i];
|
||||||
|
#pragma warning(pop)
|
||||||
} else {
|
} else {
|
||||||
pseudo_rand = instance->region->memory[prev_offset].v[0];
|
pseudo_rand = instance->region->memory[prev_offset].v[0];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user