diff options
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 */ |