Fixed datatype in function sha384_hmac_init_vector_128() that could come into effect if vector datatype was manually set

pull/2879/head
Jens Steube 3 years ago
parent 7d43b6e1eb
commit 9421e1f89d

@ -1502,14 +1502,14 @@ DECLSPEC void sha384_hmac_init_128 (sha384_hmac_ctx_t *ctx, const u32 *w0, const
// opad
u32x b0[4];
u32x b1[4];
u32x b2[4];
u32x b3[4];
u32x b4[4];
u32x b5[4];
u32x b6[4];
u32x b7[4];
u32 b0[4];
u32 b1[4];
u32 b2[4];
u32 b3[4];
u32 b4[4];
u32 b5[4];
u32 b6[4];
u32 b7[4];
b0[0] = w0[0] ^ 0x5c5c5c5c;
b0[1] = w0[1] ^ 0x5c5c5c5c;
@ -3009,14 +3009,14 @@ DECLSPEC void sha384_hmac_init_vector_128 (sha384_hmac_ctx_vector_t *ctx, const
// opad
u32 b0[4];
u32 b1[4];
u32 b2[4];
u32 b3[4];
u32 b4[4];
u32 b5[4];
u32 b6[4];
u32 b7[4];
u32x b0[4];
u32x b1[4];
u32x b2[4];
u32x b3[4];
u32x b4[4];
u32x b5[4];
u32x b6[4];
u32x b7[4];
b0[0] = w0[0] ^ 0x5c5c5c5c;
b0[1] = w0[1] ^ 0x5c5c5c5c;

@ -1,5 +1,25 @@
* changes v6.2.3 -> v6.2.x
##
## Bugs
##
- Fixed autotune unitialized tmps variable for slow hashes by calling _init kernel before calling _loop kernel
- Fixed datatype in function sha384_hmac_init_vector_128() that could come into effect if vector datatype was manually set
##
## Improvements
##
- Blake Kernels: Optimize BLAKE2B_ROUND() 64 bit rotates giving a 5% performance increase
##
## Technical
##
- HIP Kernels: Got rid of hip/hip_runtime.h dependancy to enable more easy integration of the HIP backend on Windows
* changes v6.2.2 -> v6.2.3
##

Loading…
Cancel
Save