diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-14 19:47:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 19:47:23 +0100 |
commit | 360b0d1b3028a845948d47651bf25492273ce125 (patch) | |
tree | ad9518767d3c9a820b6a1dc329d2290249321090 /src/core/crypto/key_manager.cpp | |
parent | Merge pull request #3092 from lioncash/util (diff) | |
parent | core: Migrate off deprecated mbedtls functions (diff) | |
download | yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.gz yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.bz2 yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.lz yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.xz yuzu-360b0d1b3028a845948d47651bf25492273ce125.tar.zst yuzu-360b0d1b3028a845948d47651bf25492273ce125.zip |
Diffstat (limited to 'src/core/crypto/key_manager.cpp')
-rw-r--r-- | src/core/crypto/key_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp index 12f13b742..487b57053 100644 --- a/src/core/crypto/key_manager.cpp +++ b/src/core/crypto/key_manager.cpp @@ -396,7 +396,7 @@ static std::array<u8, target_size> MGF1(const std::array<u8, in_size>& seed) { while (out.size() < target_size) { out.resize(out.size() + 0x20); seed_exp[in_size + 3] = static_cast<u8>(i); - mbedtls_sha256(seed_exp.data(), seed_exp.size(), out.data() + out.size() - 0x20, 0); + mbedtls_sha256_ret(seed_exp.data(), seed_exp.size(), out.data() + out.size() - 0x20, 0); ++i; } |