RSA: verify only build fixes
configuration: --disable-ecc --disable-dh --disable-aes --disable-aesgcm --disable-sha512 --disable-sha384 --disable-sha --disable-poly1305 --disable-chacha --disable-md5 --disable-sha3 --enable-cryptonly --disable-inline --enable-rsavfy --disable-asn --disable-oaep --disable-rng --disable-filesystem --enable-sp=rsa2048 --enable-sp-math Fixes to make code build again.
This commit is contained in:
@@ -100,7 +100,7 @@ static WC_INLINE byte Base64_Char2Val(byte c)
|
||||
byte mask;
|
||||
|
||||
c -= BASE64_MIN;
|
||||
mask = ctMaskLTE(c, 0x3f);
|
||||
mask = (((byte)(0x3f - c)) >> 7) - 1;
|
||||
/* Load a value from the first cache line and use when mask set. */
|
||||
v = base64Decode[ c & 0x3f ] & mask ;
|
||||
/* Load a value from the second cache line and use when mask not set. */
|
||||
|
||||
Reference in New Issue
Block a user