mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 23:08:22 -04:00
crypto: constant-time pss (if it survives optimization)
This commit is contained in:
parent
5fa534fb71
commit
c3656aae30
2 changed files with 22 additions and 18 deletions
|
@ -58,6 +58,8 @@ namespace ams::svc {
|
|||
static constexpr bool IsInput = std::is_const<typename std::remove_pointer<T>::type>::value;
|
||||
private:
|
||||
T pointer;
|
||||
public:
|
||||
constexpr ALWAYS_INLINE UserPointer(T p) : pointer(p) { /* ... */ }
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue