内容简介:libsodium 1.0.17 已发布,更新如下: Bug fix: sodium_pad() didn't properly support block sizes >= 256 bytes. JS/WebAssembly: some old iOS versions can't instantiate the WebAssembly module; fall bac...
libsodium 1.0.17 已发布,更新如下:
Bug fix:
sodium_pad()didn't properly support block sizes >= 256 bytes.JS/WebAssembly: some old iOS versions can't instantiate the WebAssembly module; fall back to Javascript on these.
JS/WebAssembly: compatibility with newer Emscripten versions.
Bug fix:
crypto_pwhash_scryptsalsa208sha256_str_verify()and crypto_pwhash_scryptsalsa208sha256_str_needs_rehash()didn't returnEINVAL` on input strings with a short length, unlike their high-level counterpart.Added a workaround for Visual Studio 2010 bug causing CPU features not to be detected.
Portability improvements.
Test vectors from Project Wycheproof have been added.
New low-level APIs for arithmetic mod the order of the prime order group:
crypto_core_ed25519_scalar_random(),crypto_core_ed25519_scalar_reduce(),crypto_core_ed25519_scalar_invert(),crypto_core_ed25519_scalar_negate(),crypto_core_ed25519_scalar_complement(),crypto_core_ed25519_scalar_add()andcrypto_core_ed25519_scalar_sub().New low-level APIs for scalar multiplication without clamping:
crypto_scalarmult_ed25519_base_noclamp()andcrypto_scalarmult_ed25519_noclamp(). These new APIs are especially useful for blinding.sodium_sub()has been implemented.Support for WatchOS has been added.
getrandom(2)is now used on FreeBSD 12+.The
nonnullattribute has been added to all relevant prototypes.More reliable AVX512 detection.
Javascript/Webassembly builds now use dynamic memory growth.
详细更新内容请查看更新日志和 GitHub 发布主页。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
如何不在网上虚度人生
[美] 肯尼思·戈德史密斯 / 刘畅 / 北京联合出版公司 / 2017-9 / 39.80元
我们平时上网多大程度上是浪费时间,多大程度是在学习、关心社会、激发创造力?我们真能彻底断网,逃离社交网络吗? 手机把都市人变成一群电子僵尸,是福是祸? 浏览记录就是我们将来的回忆录吗?文件归档属于一种现代民间艺术? 不自拍、P图、发朋友圈,我还是我吗? 美国知名概念艺术家戈德史密斯认为:上网绝不是浪费时间,而是一种创造性的活动。在本书中他以跨学科角度、散文式语言进行论证,涉及大众传播学、计算......一起来看看 《如何不在网上虚度人生》 这本书的介绍吧!