diff options
author | GrapheneCt | 2021-03-20 16:12:07 -0400 |
---|---|---|
committer | Reiko Asakura | 2021-03-20 16:12:07 -0400 |
commit | 570d94b1429316d02e665db5f7298bef75f2ecdc (patch) | |
tree | 1f1ac783809935660d3eac82d58384c2f252f11e /include/user/paf/misc.h | |
parent | Fix struct SceKernelModuleLibraryInfo (diff) | |
download | vds-libraries-570d94b1429316d02e665db5f7298bef75f2ecdc.tar.gz |
Add C++ paf classes
Diffstat (limited to 'include/user/paf/misc.h')
-rw-r--r-- | include/user/paf/misc.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/include/user/paf/misc.h b/include/user/paf/misc.h new file mode 100644 index 0000000..8b0d8db --- /dev/null +++ b/include/user/paf/misc.h @@ -0,0 +1,45 @@ +/* + Vita Development Suite Libraries +*/ + +#ifndef _VDSUITE_USER_PAF_MISC_H +#define _VDSUITE_USER_PAF_MISC_H + +#include <libsha1.h> + +namespace paf { + + namespace misc { + + class Misc + { + public: + + Misc(); + + ~Misc(); + + static SceBool IsDolce(); + }; + + class Sha1 + { + public: + + Sha1(); + + ~Sha1() { }; + + SceInt32 BlockUpdate(const ScePVoid plain, SceUInt32 len); + + SceInt32 BlockResult(SceUChar8 *digest); + + private: + + SceSha1Context m_sha; + + }; + } +} + +#endif /* _VDSUITE_USER_PAF_MISC_H */ |