Martin Buchner
Martin Buchner
The `s_read_wincsp` function has a `size_t` argument `n` to specify the number of random bytes to generate. https://github.com/libtom/libtommath/blob/8355b88db088e41d6f7e19a8d58d46c9ed0333d3/s_mp_rand_platform.c#L33 This argument blindly gets converted into a `DWORD` https://github.com/libtom/libtommath/blob/8355b88db088e41d6f7e19a8d58d46c9ed0333d3/s_mp_rand_platform.c#L46 According to the...
On Windows libtommath [uses `CryptAcquireContextW` and `CryptGenRandom`](https://github.com/libtom/libtommath/blob/8355b88db088e41d6f7e19a8d58d46c9ed0333d3/s_mp_rand_platform.c#L38) to generate random numbers. According to the documentation [here](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptacquirecontexta) and [here](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom) both functions are deprecated. > **Important** This API is deprecated. New and...
"CTRL-W x" should exchange the current window with the next one (`:help window-moving`), but it has no effect in Onivim 2.
Whenever I update Oni2 using the integrated auto update feature on MacOS, the "Updating Onivim 2" dialog looks like the following The two numbers at the bottom are always the...
On Windows libtomcrypt uses CryptAcquireContext, CryptGenRandom and CryptReleaseContext to generate random numbers. https://github.com/libtom/libtomcrypt/blob/v1.18.2/src/prngs/rng_get_bytes.c#L105 According to the documentation [here](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptacquirecontexta, [here](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom) and [here](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptreleasecontext), those functions are deprecated. > **Important** This API is...
The `ltc_math_descriptor.unsigned_read` function pointer has a non-const `src` pointer argument, which the function is not supposed to modify https://github.com/libtom/libtomcrypt/blob/673f5ce29015a9bba3c96792920a10601b5b0718/src/headers/tomcrypt_math.h#L179 This is error prone as one might accidentally swap dst and...
libtomcrypt defines many macros and preprocessor definitions. Some of them use a `LTM_` prefix, but many of them don't. For example, take a look at the [`tomcrypt_macros.h`](https://github.com/libtom/libtomcrypt/blob/develop/src/headers/tomcrypt_macros.h). This can easily...
Building libtomcrypt for Windows ARM (UWP) using Visual Studio 2019 fails with the following error > Cannot detect endianness emitted from https://github.com/libtom/libtomcrypt/blob/v1.18.2/src/headers/tomcrypt_cfg.h#L191
(Neo)vim highlights large portions of my pig script as spelling error. Would it be possible to only perform spell checking for comments?
The background image of a previous sub-section appears when zooming (alt + click) in one of the following sibling sections. I made an example to demonstrate this problem: https://gist.github.com/mabuchner/e1fe13aa91c67b34c265 Tested...