1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-01 20:32:13 +00:00
serenity/Userland/Libraries/LibCrypto/PK
Lenny Maiorani 6bc3ed6266 LibCrypto: Change static constexpr array to function local constexpr
Problem:
- Static variables take memory and can be subject to less optimization
  (https://serenityos.godbolt.org/z/7EYebr1aa)
- This static variable is only used in 1 place.

Solution:
- Move the variable into the function and make it non-static.
2021-05-17 19:37:56 +01:00
..
Code LibCrypto: Change static constexpr array to function local constexpr 2021-05-17 19:37:56 +01:00
PK.h AK+Userland: Use mpfard@serenityos.org for my copyright headers 2021-04-22 22:19:09 +02:00
RSA.cpp Userland: Replace arc4random() with get_random<u32>() 2021-05-14 22:24:02 +02:00
RSA.h AK+Userland: Use mpfard@serenityos.org for my copyright headers 2021-04-22 22:19:09 +02:00