diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
commit | 9835e2ae736235810b4ea1c162ca5e65c547e770 (patch) | |
tree | 3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/orion | |
parent | Releasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff) | |
download | rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip |
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/orion')
50 files changed, 91 insertions, 68 deletions
diff --git a/vendor/orion/.cargo-checksum.json b/vendor/orion/.cargo-checksum.json index 6f595cf8d..2c7666e85 100644 --- a/vendor/orion/.cargo-checksum.json +++ b/vendor/orion/.cargo-checksum.json @@ -1 +1 @@ -{"files":{"CHANGELOG.md":"0980bcb687808905425533fc5346eb2e4e770926141593e09bfa289e2e380ef6","CONTRIBUTING.md":"2e70efc8cc811b6f05f889d2cdb6cb8fe4f1c7ecbe628a2db49e0f0fe8b07142","Cargo.toml":"21ee3d9340b6e92c9bf3d772fe8fd0683e6b52aa7b87cf73c1a41b4cb6f70e2d","LICENSE":"ccb92777538eda361a9a11aba0621fe4e5cc4115c8b5cff67400f67fb12813a8","README.md":"d0da94bd3f1f893ed832eba5cc6e84a8071f888e0d0c19265e13cf072c486a9e","SECURITY.md":"374e065f2f624fabda6f9dba059609a81f8377f8d153f050fc9c59171eb62f7e","benches/bench.rs":"8e9e6fc0e71c935a346ecdb23ac7743b1ac941c591225102a92b42eabf68ac97","deny.toml":"e8b8b0af0503711bbbb045fb802aa587911161fd202b74cf485ad3b39f9f58d8","src/errors.rs":"6cd364874e6a04263dbd13efc57c4850b2e486b8e73d6d56baf59a38bc221abd","src/hazardous/aead/chacha20poly1305.rs":"2a181243aa5dc4014e81f5a048b439f877e2aa17ebd07ae49b6aef224048611d","src/hazardous/aead/mod.rs":"73949ffe27a03326a169631ea7a123d5aa119048ec9d9bac3da7f881cbff2242","src/hazardous/aead/streaming.rs":"45b4d1eb30d72a0686f20e3ba47f1c1488305a96387fe58272504ee1d8d316b0","src/hazardous/aead/xchacha20poly1305.rs":"24a1e633d2de42e64edc771a62cca625531ae42412e0eb79b9302342a275971c","src/hazardous/ecc/mod.rs":"d1ec5af31cbbd5384379902895684dfe57314fa4888de53cf3179da8a9e2c184","src/hazardous/ecc/x25519.rs":"8ca4e1645c72ab243150ea18eb36726764cb5623faf05793b8abdd8f81431e36","src/hazardous/hash/blake2/blake2b.rs":"26b6e663b17aebce2fdb6fd0584cb2c4c1e0a613ddb1a0e8dbfb8034cae19067","src/hazardous/hash/blake2/mod.rs":"34193bf53324c1c6d40cfd0653a1a038dfdcc18e0dd861d0ea49a6f4a5839377","src/hazardous/hash/mod.rs":"54579ee4d4192bcdbf8eafb322be9126e522d20f7edb1cdae14f3ae26c0fab7b","src/hazardous/hash/sha2/mod.rs":"02cfd1017b0f19fde9c392082561c72193742b02a3ba68a3bfe7ccd9f3bb71b9","src/hazardous/hash/sha2/sha256.rs":"18d9292b017fd6d1e223377de75441992496ec4181e48db58bd95f81cae73ade","src/hazardous/hash/sha2/sha384.rs":"b66663bf014ae2049f3bd3953ac280098afe4edcda43a459793c198ab6ae568b","src/hazardous/hash/sha2/sha512.rs":"a065d5b477280647ae399f58457504aa45adb8108b0630ac4b0277dac0f4a01f","src/hazardous/kdf/argon2i.rs":"62cf4d850ce05902c23b9ad9ced480d26cce61fba27e4d6f06f39af687ae4c56","src/hazardous/kdf/hkdf.rs":"02b60889064ed699fbab778dd03e092d4b8ecb970ce5c4687813f1ae2f68a37c","src/hazardous/kdf/mod.rs":"31e131f3aa03884cde1ece3472fe37c7564405d3f39081f1725e8c9809bfd7f4","src/hazardous/kdf/pbkdf2.rs":"687b28c34627577f9c71ac0179b6da73a9a138be94d19fa25c8093c5145afaa7","src/hazardous/mac/blake2b.rs":"2b31ff44a9637b5200c55797259f6de0f6b1c6900a0f762edf04c7241760da08","src/hazardous/mac/hmac.rs":"c276d7f4834083a821590055c467c36b00aada3eb16d02271daf065d4bddb5fd","src/hazardous/mac/mod.rs":"a85ced1cd268f9ab3a67e6f3fb750c222ffc768c2c55d022e4354a7e3f621cea","src/hazardous/mac/poly1305.rs":"727a5fa6d3b5288773771877889441e84628179ef4a14c17de14d8d833f7ee29","src/hazardous/mod.rs":"556640a24b0393974e0abb493f05951cece9e434ad1d6adc9eb9c8af5ae3277d","src/hazardous/stream/chacha20.rs":"ce5001ee856b95c1e0fd4eaf3d95e5b2115dca28af624afbe2a5a5de89a49ed0","src/hazardous/stream/mod.rs":"8e74a5d9ca5ce029835b19b12da6a762691ddb5382294ee3c542b584c695b822","src/hazardous/stream/xchacha20.rs":"3b0387658564840d3ffaa509985683cd3d364b9bf6f83a93296900337b43959a","src/high_level/aead.rs":"eb8d43e2a3529e54c193989bf02449bf1d6f4a07d2aa2fa85eb5f1cb6a3c50e9","src/high_level/auth.rs":"509550054109d019a7208fd6050398cf9a9243d6692b6c039a0ebaf728aedb51","src/high_level/hash.rs":"12fe25e4b7c062d17e74a0d4264a392e6518c357fdeb3641c8ece44982ea05a6","src/high_level/hltypes.rs":"3a3eba41bfa53c8a8f0a87bdfe8f621d3b4276d821f4cb783c1a497ad4154fde","src/high_level/kdf.rs":"8196edff2c92b90682c58e961277dc3bec4104f243af71377f7a85f30f9bf214","src/high_level/kex.rs":"6aae6d03ae27f743ddc7166f9c8797490154a84f990889f8f5769b7af4b5640a","src/high_level/mod.rs":"1b31257e59149dc2be165077d4da56f5d1e09643f9c04a7d9f66e3c210674477","src/high_level/pwhash.rs":"770d85f704ec53186f97a91823c36fb18957cc1f1e8f653e33fd046abbd510d7","src/lib.rs":"cbfbbeb5f94e6e721eef0c9db4fcd3865a4532566132c6a614f7f7b1e1da5195","src/test_framework/aead_interface.rs":"6e3ea6849c193d9a8521f7c43f4ee5085e208b208c1e96d70b956800dbfae712","src/test_framework/incremental_interface.rs":"382df00bf0b73fdabe6609dcf4b73f4a139dcbc938a750d6a5cac2a833af8cf6","src/test_framework/mod.rs":"4666a41db29de0d9892a02ac74116eef59ea457d713054a6232deccbab58f8a6","src/test_framework/streamcipher_interface.rs":"4331c3a5fd7d96470829c9dd476c20490daefb75cc6f9eb1a4e425a4ebbd74f2","src/typedefs.rs":"70d3a5d3ff179d448682fc110745a4b9d4de7bcd36c8a1a15ab87e8e62e899b8","src/util/endianness.rs":"64bb80d56174ecc486d6b32210c7b823f3caa988f19571987b95fb60649bcb36","src/util/mod.rs":"b40a038416377d48735520e6db703f11e8a63cdd76ad11e9cbe325a85fcf6785","src/util/u32x4.rs":"857ec8ffc69f8c7f646c047d4268123c6bf1b002e4dd04b9f7f520ccf2db521c","src/util/u64x4.rs":"9582aa4ac6bf43955933743b8107ce02a6d41e44cc40d9f807596f61efac2829"},"package":"f2baf7fd2e326e3895c681176788dd227fcd8369350e53c570592d8563fecbb6"}
\ No newline at end of file +{"files":{"CHANGELOG.md":"50c3dc7c847a954271d6fb3bf98040a23bfb1447658deeb5cc8208014302bb49","CONTRIBUTING.md":"2e70efc8cc811b6f05f889d2cdb6cb8fe4f1c7ecbe628a2db49e0f0fe8b07142","Cargo.toml":"cb26d7f0d5e71db0acaab42ec5aedea9967d333e777d1548d3c90ff386002912","LICENSE":"d077f4de8cd932e30f9d15dca609e12b093b9a78c36e3c4a2a421fa9f9ed3760","README.md":"baeefcb09fd6c21bb63a7e46698fe059ddcbbffe20a1757a6d0000c32d52af88","SECURITY.md":"374e065f2f624fabda6f9dba059609a81f8377f8d153f050fc9c59171eb62f7e","benches/bench.rs":"2fed74e4762117dde5452f6ba6be5edfd5c6f3355fcd25565dd11cdb77239b49","deny.toml":"e8b8b0af0503711bbbb045fb802aa587911161fd202b74cf485ad3b39f9f58d8","src/errors.rs":"5990c08528bba2b193fb2d717551c9bc5918bf0e68ea6df7d8ebbadb9a8c642a","src/hazardous/aead/chacha20poly1305.rs":"f26f5dbd3107fd74b72f1e5f31a35c0c41b52677646827a92c1bbbc2ed3835c4","src/hazardous/aead/mod.rs":"8455ebef75b4490c55c800467579aeaff304d75b69635087f56664e59611a2fe","src/hazardous/aead/streaming.rs":"d6b1a7f0adf64b4ff72a7a286748233287a110a8b4cdb89715d56fec5e1bef56","src/hazardous/aead/xchacha20poly1305.rs":"cde0c2186ad7eeacd1aed58bb20ced4ab2971d3f80cf26a60723e35a2d1ebd1a","src/hazardous/ecc/mod.rs":"c6e2359f0f7a688870225e4ce24cdd357fcccda6fe9344a1d645642eecbe2d2b","src/hazardous/ecc/x25519.rs":"c5d8c5e73b8fba986ca115fe21d8d1c9e50709a9c52c8796ac11e9fc438a69bd","src/hazardous/hash/blake2/blake2b.rs":"a6eaded794734e8c55ec6e9d3aff2dfd372780a5fe991a28c96b243d2f291246","src/hazardous/hash/blake2/mod.rs":"2eeae3d7e57ff0480260c43e8c907cc80e688f5b0f24b76717a2e06e17f2cf00","src/hazardous/hash/mod.rs":"7c5ed9fdb08cebe81770c25c248b8ef41473be3fc1cf5c01fe2096019fbfe9c2","src/hazardous/hash/sha2/mod.rs":"92901ab9e34f3a2ca27955090079533547ae0424d9b88ccb9af4fb77abac2b70","src/hazardous/hash/sha2/sha256.rs":"976b1ce55b9513c52e9912c2502fee89020be83042fbda963c2c397e1a3a16a9","src/hazardous/hash/sha2/sha384.rs":"73e567f8b359519cd68fc7d9246dcb3c1972296a6ecba4383f7a3cf238ff75b9","src/hazardous/hash/sha2/sha512.rs":"419344ec6c998e39b9f54cfc5206e0642f090b0d351df7128ecf422e6923b456","src/hazardous/kdf/argon2i.rs":"7dfc465975ba17b88bb78b00b1cb1aedef53d6c911ec6814c2ce7859515e7f79","src/hazardous/kdf/hkdf.rs":"06ff0eae15c066847546c812095350e18dabdae242874dc48bff5c6ca0f39e74","src/hazardous/kdf/mod.rs":"9305110c66f5c550ebade1c5836cd4e6b98d973688acb48fada8eec6bb2be955","src/hazardous/kdf/pbkdf2.rs":"b05d262d759e975c082da5b2a6b7732bd0c638d2e86b685087076c5c6b94e6a4","src/hazardous/mac/blake2b.rs":"95fa45b3038c1d84c8253b9a3e0c2d247050c6bcc08a24dc15a974c01a998b3b","src/hazardous/mac/hmac.rs":"398f78a3d74327af3c2b95d90892ff6e9e32111a299c31754226f87ae42af902","src/hazardous/mac/mod.rs":"e903ccaa200c767e04cf049fe2a943e29649459dab8919b56d11597b879f34e1","src/hazardous/mac/poly1305.rs":"1162dfda047968910b4339cc6af0ff955206811d90fddb9471e6b7c0a114faa0","src/hazardous/mod.rs":"a7dfcabb514e914f61d64fbc0b3da0b440ddf918bdef093f70d3af09d6df6f5b","src/hazardous/stream/chacha20.rs":"74caa20f8c01c84c46abefac25a23034e42f23283fe09cc5d21f6fb77f7c61b6","src/hazardous/stream/mod.rs":"4a17bdd8f6f4eddece7172ca974e84be9f52d9313bf8c4139750bbec73616a82","src/hazardous/stream/xchacha20.rs":"d3505b0556b3053a7e8402586e9f64e86eb5381dfdcfa4f2e7292c09c02c5e1e","src/high_level/aead.rs":"fad1b6988b6c27c3959aa2ebfc541d4dbb6f542bcd74baccc0aa2c9076209109","src/high_level/auth.rs":"f097441b50525f51f3a9f97a24f58ec39250e6203599218d9a9d556440bd7302","src/high_level/hash.rs":"00033ca3274161d70c07b11357724ff9d7c9ca0add2c8b7f991b6a61ca45b8c4","src/high_level/hltypes.rs":"73f6256509f12ad02d44803934a881e3826469973e47d5283fccdc6878978d19","src/high_level/kdf.rs":"3ca97c61e5f7158c471c3df760f83c825bc49e082978c5d9e183493bb618b54b","src/high_level/kex.rs":"dc9973f98bbfabd31b57299adf506c062f379115490de6addc1df2aa4ca5d448","src/high_level/mod.rs":"ec28cfd546bcdf468114f5a7717a30282b637fb5f0c1d7b8a163f90fec47ffb1","src/high_level/pwhash.rs":"3f30a2ea7c057fa074b2e0b90a565c525cc6c2224347dc3a7f91aaea29b9f827","src/lib.rs":"6ed6a80b6f0f40492a6b0eb746b337bd8adbbe471efabb3c8d507147533e602f","src/test_framework/aead_interface.rs":"b476bbd515ce06f647af4c7112d89c5e9a4ef11d2f22349d3043601b99a70dc1","src/test_framework/incremental_interface.rs":"70aaa65295e98cbcd48d9435673d8024efad6b85b888ef5cd774c92d69a4c382","src/test_framework/mod.rs":"eea0f1f8dacacb365f87d55278623c4746df10185b0732fcbd2c4abce7caab17","src/test_framework/streamcipher_interface.rs":"bc990773291d005f660e77a3abe1dafe78f42e78d1b9f31f3f2f101bf447d927","src/typedefs.rs":"811df47f87ae70e40a282ac8433678fa7415f99074846d56f92d94dc2b1fe1e7","src/util/endianness.rs":"23975059ec10fc71dcd0558ef5523071b90f6ca21169c0f6ef7cb710ad317776","src/util/mod.rs":"cb2946140bcd230644cb3e549807395512c4510f15c2e5acc51285d3cb3e6df3","src/util/u32x4.rs":"00087108b55bfd8f60bb0ce8c33fd5398c805f722dbaf48754ebb92e8e50faad","src/util/u64x4.rs":"b55c6349e3a8e5d2ceb9aaee927766d3867c213d3ae103cff762cd59b8830dfb"},"package":"cbe74a766292f94f7e69db5a7bf010eadd944f24186c463fe578a7e637582066"}
\ No newline at end of file diff --git a/vendor/orion/CHANGELOG.md b/vendor/orion/CHANGELOG.md index 3c82f24a1..e97f513a9 100644 --- a/vendor/orion/CHANGELOG.md +++ b/vendor/orion/CHANGELOG.md @@ -1,3 +1,16 @@ +### 0.17.4 + +__Date:__ March 4, 2023. + +__Changelog:__ + +- Update Wycheproof test vectors ([#320](https://github.com/orion-rs/orion/issues/320)). +- Switch from `actions-rs/tarpaulin` to `cargo-tarpaulin` ([#322](https://github.com/orion-rs/orion/pull/322)) +- Update documentation for PBKDF2 and Argon2i cost parameter selection ([#316](https://github.com/orion-rs/orion/pull/316), [#321](https://github.com/orion-rs/orion/pull/321)). +- Remove `cargo-audit` which was redundant to `cargo-deny` ([#311](https://github.com/orion-rs/orion/issues/311)). +- Bump MSRV to `1.59.0`. +- Remove `html_root_url` ([#325](https://github.com/orion-rs/orion/pull/325)). + ### 0.17.3 __Date:__ December 7, 2022. diff --git a/vendor/orion/Cargo.toml b/vendor/orion/Cargo.toml index aa0e34bde..253c60a02 100644 --- a/vendor/orion/Cargo.toml +++ b/vendor/orion/Cargo.toml @@ -11,9 +11,9 @@ [package] edition = "2021" -rust-version = "1.57" +rust-version = "1.59" name = "orion" -version = "0.17.3" +version = "0.17.4" authors = ["brycx <brycx@protonmail.com>"] exclude = [ ".gitignore", diff --git a/vendor/orion/LICENSE b/vendor/orion/LICENSE index de7d273ca..178fc15e2 100644 --- a/vendor/orion/LICENSE +++ b/vendor/orion/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018-2022 The orion Developers +Copyright (c) 2018-2023 The orion Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/README.md b/vendor/orion/README.md index e8b502f65..833cd3ba2 100644 --- a/vendor/orion/README.md +++ b/vendor/orion/README.md @@ -1,5 +1,5 @@ # orion -[![Tests](https://github.com/orion-rs/orion/workflows/Tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![Daily tests](https://github.com/orion-rs/orion/workflows/Daily%20tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![dudect](https://github.com/orion-rs/orion-dudect/workflows/dudect/badge.svg)](https://github.com/orion-rs/orion-dudect/actions) [![Security Audit](https://github.com/orion-rs/orion/workflows/Security%20Audit/badge.svg)](https://github.com/orion-rs/orion/actions) [![codecov](https://codecov.io/gh/orion-rs/orion/branch/master/graph/badge.svg)](https://codecov.io/gh/orion-rs/orion) [![Documentation](https://docs.rs/orion/badge.svg)](https://docs.rs/orion/) [![Crates.io](https://img.shields.io/crates/v/orion.svg)](https://crates.io/crates/orion) [![Safety Dance](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![MSRV](https://img.shields.io/badge/MSRV-1.57-informational.svg)](https://img.shields.io/badge/MSRV-1.57-informational) [![Matrix](https://img.shields.io/matrix/orion-rs:matrix.org.svg?logo=matrix)](https://matrix.to/#/#orion-rs:matrix.org) +[![Tests](https://github.com/orion-rs/orion/workflows/Tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![Daily tests](https://github.com/orion-rs/orion/workflows/Daily%20tests/badge.svg)](https://github.com/orion-rs/orion/actions) [![dudect](https://github.com/orion-rs/orion-dudect/workflows/dudect/badge.svg)](https://github.com/orion-rs/orion-dudect/actions) [![Audit](https://github.com/orion-rs/orion/actions/workflows/audit_check.yml/badge.svg)](https://github.com/orion-rs/orion/actions/workflows/audit_check.yml) [![codecov](https://codecov.io/gh/orion-rs/orion/branch/master/graph/badge.svg)](https://codecov.io/gh/orion-rs/orion) [![Documentation](https://docs.rs/orion/badge.svg)](https://docs.rs/orion/) [![Crates.io](https://img.shields.io/crates/v/orion.svg)](https://crates.io/crates/orion) [![Safety Dance](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![MSRV](https://img.shields.io/badge/MSRV-1.59-informational.svg)](https://img.shields.io/badge/MSRV-1.59-informational) [![Matrix](https://img.shields.io/matrix/orion-rs:matrix.org.svg?logo=matrix)](https://matrix.to/#/#orion-rs:matrix.org) ### About Orion is a cryptography library written in pure Rust. It aims to provide easy and usable crypto while trying to minimize the use of unsafe code. You can read more about Orion in the [wiki](https://github.com/orion-rs/orion/wiki). @@ -20,7 +20,7 @@ Orion uses formally verified arithmetic, generated by Fiat Crypto, for the X2551 See the [SECURITY.md](https://github.com/orion-rs/orion/blob/master/SECURITY.md) regarding recommendations on correct use, reporting security issues and more. Additional information about security regarding Orion is available in the [wiki](https://github.com/orion-rs/orion/wiki/Security). ### Minimum Supported Rust Version -Rust 1.57 or later is supported however, the majority of testing happens with latest stable Rust. +Rust 1.59 or later is supported however, the majority of testing happens with latest stable Rust. MSRV may be changed at any point and will not be considered a SemVer breaking change. diff --git a/vendor/orion/benches/bench.rs b/vendor/orion/benches/bench.rs index 56537ef3b..a9416b343 100644 --- a/vendor/orion/benches/bench.rs +++ b/vendor/orion/benches/bench.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/errors.rs b/vendor/orion/src/errors.rs index 9a7c99f6c..33a5662e2 100644 --- a/vendor/orion/src/errors.rs +++ b/vendor/orion/src/errors.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/aead/chacha20poly1305.rs b/vendor/orion/src/hazardous/aead/chacha20poly1305.rs index 967516d87..bc1175809 100644 --- a/vendor/orion/src/hazardous/aead/chacha20poly1305.rs +++ b/vendor/orion/src/hazardous/aead/chacha20poly1305.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/aead/mod.rs b/vendor/orion/src/hazardous/aead/mod.rs index f509166fc..61d408728 100644 --- a/vendor/orion/src/hazardous/aead/mod.rs +++ b/vendor/orion/src/hazardous/aead/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/aead/streaming.rs b/vendor/orion/src/hazardous/aead/streaming.rs index 25f6afceb..a030f0683 100644 --- a/vendor/orion/src/hazardous/aead/streaming.rs +++ b/vendor/orion/src/hazardous/aead/streaming.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/aead/xchacha20poly1305.rs b/vendor/orion/src/hazardous/aead/xchacha20poly1305.rs index 392c8c798..1d110f7ed 100644 --- a/vendor/orion/src/hazardous/aead/xchacha20poly1305.rs +++ b/vendor/orion/src/hazardous/aead/xchacha20poly1305.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/ecc/mod.rs b/vendor/orion/src/hazardous/ecc/mod.rs index 803cb09f7..a539b6747 100644 --- a/vendor/orion/src/hazardous/ecc/mod.rs +++ b/vendor/orion/src/hazardous/ecc/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2021-2022 The orion Developers +// Copyright (c) 2021-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/ecc/x25519.rs b/vendor/orion/src/hazardous/ecc/x25519.rs index 44283d4a2..4bbbbc869 100644 --- a/vendor/orion/src/hazardous/ecc/x25519.rs +++ b/vendor/orion/src/hazardous/ecc/x25519.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2021-2022 The orion Developers +// Copyright (c) 2021-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/hash/blake2/blake2b.rs b/vendor/orion/src/hazardous/hash/blake2/blake2b.rs index 06fbd8a1e..877f2bbe6 100644 --- a/vendor/orion/src/hazardous/hash/blake2/blake2b.rs +++ b/vendor/orion/src/hazardous/hash/blake2/blake2b.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/hash/blake2/mod.rs b/vendor/orion/src/hazardous/hash/blake2/mod.rs index d74bedcb6..c64ab5b9f 100644 --- a/vendor/orion/src/hazardous/hash/blake2/mod.rs +++ b/vendor/orion/src/hazardous/hash/blake2/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/hash/mod.rs b/vendor/orion/src/hazardous/hash/mod.rs index a7d823fbc..ad3ac155e 100644 --- a/vendor/orion/src/hazardous/hash/mod.rs +++ b/vendor/orion/src/hazardous/hash/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/hash/sha2/mod.rs b/vendor/orion/src/hazardous/hash/sha2/mod.rs index 4fb62cafb..cbdbb9a63 100644 --- a/vendor/orion/src/hazardous/hash/sha2/mod.rs +++ b/vendor/orion/src/hazardous/hash/sha2/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/hash/sha2/sha256.rs b/vendor/orion/src/hazardous/hash/sha2/sha256.rs index 4300a0dac..737660715 100644 --- a/vendor/orion/src/hazardous/hash/sha2/sha256.rs +++ b/vendor/orion/src/hazardous/hash/sha2/sha256.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/hash/sha2/sha384.rs b/vendor/orion/src/hazardous/hash/sha2/sha384.rs index 3028e384a..e4df99d7a 100644 --- a/vendor/orion/src/hazardous/hash/sha2/sha384.rs +++ b/vendor/orion/src/hazardous/hash/sha2/sha384.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/hash/sha2/sha512.rs b/vendor/orion/src/hazardous/hash/sha2/sha512.rs index 0e0a1120c..f582f78c2 100644 --- a/vendor/orion/src/hazardous/hash/sha2/sha512.rs +++ b/vendor/orion/src/hazardous/hash/sha2/sha512.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/kdf/argon2i.rs b/vendor/orion/src/hazardous/kdf/argon2i.rs index 1257eff43..840c5b885 100644 --- a/vendor/orion/src/hazardous/kdf/argon2i.rs +++ b/vendor/orion/src/hazardous/kdf/argon2i.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -63,6 +63,9 @@ //! in depth against an attacker reading your application's private memory, then you as //! the user are responsible for zeroing out this buffer (see the [`zeroize` crate]). //! +//! The cost parameters were the recommended values at time of writing. Please be sure to also check +//! [OWASP] for the latest recommended values. +//! //! # Example: //! ```rust //! # #[cfg(feature = "safe_api")] { @@ -93,6 +96,7 @@ //! ``` //! [`secure_rand_bytes()`]: crate::util::secure_rand_bytes //! [`zeroize` crate]: https://crates.io/crates/zeroize +//! [OWASP]: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html use crate::errors::UnknownCryptoError; use crate::hazardous::hash::blake2::blake2b::Blake2b; @@ -494,7 +498,7 @@ pub fn derive_key( for segment_idx in offset..segment_length { let reference_idx = gidx.get_next(segment_idx, &mut working_block); - let current_idx = segment_n as u32 * segment_length + segment_idx as u32; + let current_idx = segment_n as u32 * segment_length + segment_idx; let previous_idx = if current_idx > 0 { current_idx - 1 } else { @@ -1481,7 +1485,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -1572,7 +1576,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -1666,7 +1670,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -1760,7 +1764,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -1851,7 +1855,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -1944,7 +1948,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -2038,7 +2042,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -2132,7 +2136,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -2224,7 +2228,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -2317,7 +2321,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -2411,7 +2415,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); @@ -2505,7 +2509,7 @@ mod private { // Mimic offset..segment_length runs with idx assert_eq!( *expected, - gidx.get_next(idx as u32, &mut tmp_block), + gidx.get_next(idx, &mut tmp_block), "Invalid at {}", idx ); diff --git a/vendor/orion/src/hazardous/kdf/hkdf.rs b/vendor/orion/src/hazardous/kdf/hkdf.rs index 8bb9321ab..371566a59 100644 --- a/vendor/orion/src/hazardous/kdf/hkdf.rs +++ b/vendor/orion/src/hazardous/kdf/hkdf.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/kdf/mod.rs b/vendor/orion/src/hazardous/kdf/mod.rs index df1cb66e0..28068769d 100644 --- a/vendor/orion/src/hazardous/kdf/mod.rs +++ b/vendor/orion/src/hazardous/kdf/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/kdf/pbkdf2.rs b/vendor/orion/src/hazardous/kdf/pbkdf2.rs index 58b4e2291..9ed23b06f 100644 --- a/vendor/orion/src/hazardous/kdf/pbkdf2.rs +++ b/vendor/orion/src/hazardous/kdf/pbkdf2.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -44,8 +44,8 @@ //! - Salts should always be generated using a CSPRNG. //! [`secure_rand_bytes()`] can be used for this. //! - The recommended length for a salt is 64 bytes. -//! - The iteration count should be set as high as feasible. The recommended -//! minimum is 100000. +//! - The iteration count should be set as high as feasible. Please check [OWASP] for +//! the recommended minimum amount (600000 at the time of writing). //! - Please note that when verifying, a copy of the computed password hash is placed into //! `dst_out`. If the derived hash is considered sensitive and you want to provide defense //! in depth against an attacker reading your application's private memory, then you as @@ -72,6 +72,7 @@ //! [`Password::generate()`]: pbkdf2::sha512::Password::generate //! [`secure_rand_bytes()`]: crate::util::secure_rand_bytes //! [`zeroize` crate]: https://crates.io/crates/zeroize +//! [OWASP]: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html use crate::{errors::UnknownCryptoError, hazardous::mac::hmac}; diff --git a/vendor/orion/src/hazardous/mac/blake2b.rs b/vendor/orion/src/hazardous/mac/blake2b.rs index 65fc86cf7..9b9bfab6e 100644 --- a/vendor/orion/src/hazardous/mac/blake2b.rs +++ b/vendor/orion/src/hazardous/mac/blake2b.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/mac/hmac.rs b/vendor/orion/src/hazardous/mac/hmac.rs index dea7611bb..f5fecf224 100644 --- a/vendor/orion/src/hazardous/mac/hmac.rs +++ b/vendor/orion/src/hazardous/mac/hmac.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/mac/mod.rs b/vendor/orion/src/hazardous/mac/mod.rs index f8d02c514..114062b25 100644 --- a/vendor/orion/src/hazardous/mac/mod.rs +++ b/vendor/orion/src/hazardous/mac/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/mac/poly1305.rs b/vendor/orion/src/hazardous/mac/poly1305.rs index 2b39421e3..29853f566 100644 --- a/vendor/orion/src/hazardous/mac/poly1305.rs +++ b/vendor/orion/src/hazardous/mac/poly1305.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Based on the algorithm from https://github.com/floodyberry/poly1305-donna // Permission is hereby granted, free of charge, to any person obtaining a copy @@ -163,7 +163,7 @@ impl Poly1305 { mb[..16].copy_from_slice(data); // One byte is appended to detect trailing zeroes if not last chunk. // See https://cr.yp.to/mac/poly1305-20050329.pdf, Section 2 "Conversion and padding". - mb[16] = if self.is_finalized { 0 } else { 1 }; + mb[16] = u8::from(!self.is_finalized); let mut m: fiat_poly1305_tight_field_element = [0u32; 5]; fiat_poly1305_from_bytes(&mut m, &mb); diff --git a/vendor/orion/src/hazardous/mod.rs b/vendor/orion/src/hazardous/mod.rs index 0817404e7..25a5ae227 100644 --- a/vendor/orion/src/hazardous/mod.rs +++ b/vendor/orion/src/hazardous/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/stream/chacha20.rs b/vendor/orion/src/hazardous/stream/chacha20.rs index 774ef8a67..f5c9bcda9 100644 --- a/vendor/orion/src/hazardous/stream/chacha20.rs +++ b/vendor/orion/src/hazardous/stream/chacha20.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/stream/mod.rs b/vendor/orion/src/hazardous/stream/mod.rs index 82b9af410..a211b7d77 100644 --- a/vendor/orion/src/hazardous/stream/mod.rs +++ b/vendor/orion/src/hazardous/stream/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/hazardous/stream/xchacha20.rs b/vendor/orion/src/hazardous/stream/xchacha20.rs index 3116aa62b..b8940aacb 100644 --- a/vendor/orion/src/hazardous/stream/xchacha20.rs +++ b/vendor/orion/src/hazardous/stream/xchacha20.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/high_level/aead.rs b/vendor/orion/src/high_level/aead.rs index 4ab5003c2..4159ef83b 100644 --- a/vendor/orion/src/high_level/aead.rs +++ b/vendor/orion/src/high_level/aead.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/high_level/auth.rs b/vendor/orion/src/high_level/auth.rs index e7957a7b3..7c61f9bd0 100644 --- a/vendor/orion/src/high_level/auth.rs +++ b/vendor/orion/src/high_level/auth.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/high_level/hash.rs b/vendor/orion/src/high_level/hash.rs index e51777354..78b4bda4c 100644 --- a/vendor/orion/src/high_level/hash.rs +++ b/vendor/orion/src/high_level/hash.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/high_level/hltypes.rs b/vendor/orion/src/high_level/hltypes.rs index 5e168f9a5..419cb2202 100644 --- a/vendor/orion/src/high_level/hltypes.rs +++ b/vendor/orion/src/high_level/hltypes.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/high_level/kdf.rs b/vendor/orion/src/high_level/kdf.rs index 9b39f9479..87f019200 100644 --- a/vendor/orion/src/high_level/kdf.rs +++ b/vendor/orion/src/high_level/kdf.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -58,6 +58,8 @@ //! - The recommended minimum size for a salt is 16 bytes. //! - The recommended minimum size for a derived key is 16 bytes. //! +//! If the concrete cost parameters needed are unclear, please refer to [OWASP] for recommended minimum values. +//! //! # Example: //! ```rust //! use orion::kdf; @@ -70,6 +72,7 @@ //! # Ok::<(), orion::errors::UnknownCryptoError>(()) //! ``` //! [libsodium's docs]: https://download.libsodium.org/doc/password_hashing/default_phf#guidelines-for-choosing-the-parameters +//! [OWASP]: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html #![cfg_attr(docsrs, doc(cfg(feature = "safe_api")))] diff --git a/vendor/orion/src/high_level/kex.rs b/vendor/orion/src/high_level/kex.rs index 2d5a406f2..787f514a2 100644 --- a/vendor/orion/src/high_level/kex.rs +++ b/vendor/orion/src/high_level/kex.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2021-2022 The orion Developers +// Copyright (c) 2021-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/high_level/mod.rs b/vendor/orion/src/high_level/mod.rs index b7b573924..25080e8fc 100644 --- a/vendor/orion/src/high_level/mod.rs +++ b/vendor/orion/src/high_level/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/high_level/pwhash.rs b/vendor/orion/src/high_level/pwhash.rs index dd8dbe087..3daee3917 100644 --- a/vendor/orion/src/high_level/pwhash.rs +++ b/vendor/orion/src/high_level/pwhash.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2020-2022 The orion Developers +// Copyright (c) 2020-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -74,6 +74,8 @@ //! - Choosing the correct cost parameters is important for security. Please refer to [libsodium's docs] //! for a description of how to do this. //! +//! If the concrete cost parameters needed are unclear, please refer to [OWASP] for recommended minimum values. +//! //! # Example: //! ```rust //! use orion::pwhash; @@ -86,6 +88,7 @@ //! ``` //! [encoding format here]: https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md //! [libsodium's docs]: https://download.libsodium.org/doc/password_hashing/default_phf#guidelines-for-choosing-the-parameters +//! [OWASP]: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html #![cfg_attr(docsrs, doc(cfg(feature = "safe_api")))] diff --git a/vendor/orion/src/lib.rs b/vendor/orion/src/lib.rs index 32c8e8a88..5064526a2 100644 --- a/vendor/orion/src/lib.rs +++ b/vendor/orion/src/lib.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -64,7 +64,6 @@ unused_qualifications, overflowing_literals )] -#![doc(html_root_url = "https://docs.rs/orion/0.17.3")] #![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(test)] diff --git a/vendor/orion/src/test_framework/aead_interface.rs b/vendor/orion/src/test_framework/aead_interface.rs index fa4bfb7ca..93ed41b25 100644 --- a/vendor/orion/src/test_framework/aead_interface.rs +++ b/vendor/orion/src/test_framework/aead_interface.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/test_framework/incremental_interface.rs b/vendor/orion/src/test_framework/incremental_interface.rs index 060b67f8d..6bb14b93d 100644 --- a/vendor/orion/src/test_framework/incremental_interface.rs +++ b/vendor/orion/src/test_framework/incremental_interface.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/test_framework/mod.rs b/vendor/orion/src/test_framework/mod.rs index 8612baec2..afe93610e 100644 --- a/vendor/orion/src/test_framework/mod.rs +++ b/vendor/orion/src/test_framework/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/test_framework/streamcipher_interface.rs b/vendor/orion/src/test_framework/streamcipher_interface.rs index b6cded990..d46e202ca 100644 --- a/vendor/orion/src/test_framework/streamcipher_interface.rs +++ b/vendor/orion/src/test_framework/streamcipher_interface.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/typedefs.rs b/vendor/orion/src/typedefs.rs index dafc6b6e0..6471c3036 100644 --- a/vendor/orion/src/typedefs.rs +++ b/vendor/orion/src/typedefs.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/util/endianness.rs b/vendor/orion/src/util/endianness.rs index 8d78e2369..e40087350 100644 --- a/vendor/orion/src/util/endianness.rs +++ b/vendor/orion/src/util/endianness.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/util/mod.rs b/vendor/orion/src/util/mod.rs index d71556005..27fc29156 100644 --- a/vendor/orion/src/util/mod.rs +++ b/vendor/orion/src/util/mod.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2018-2022 The orion Developers +// Copyright (c) 2018-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/util/u32x4.rs b/vendor/orion/src/util/u32x4.rs index c17b7e36e..c1ff1bcce 100644 --- a/vendor/orion/src/util/u32x4.rs +++ b/vendor/orion/src/util/u32x4.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/orion/src/util/u64x4.rs b/vendor/orion/src/util/u64x4.rs index 5edde773b..bc181c49a 100644 --- a/vendor/orion/src/util/u64x4.rs +++ b/vendor/orion/src/util/u64x4.rs @@ -1,6 +1,6 @@ // MIT License -// Copyright (c) 2019-2022 The orion Developers +// Copyright (c) 2019-2023 The orion Developers // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal |