Example #1
0
        public virtual int sceKernelUtilsMd5Digest(TPointer inAddr, int inSize, TPointer outAddr)
        {
            int result = SceKernelUtilsMd5Context.digest(inAddr, inSize, outAddr);

            //if (log.DebugEnabled)
            {
                Console.WriteLine(string.Format("sceKernelUtilsMd5Digest input:{0}, output:{1}", Utilities.getMemoryDump(inAddr.Address, inSize), Utilities.getMemoryDump(outAddr.Address, 16)));
            }
            return(result);
        }
Example #2
0
 public virtual int sceKernelUtilsMd5BlockInit(TPointer md5CtxAddr)
 {
     md5Ctx = new SceKernelUtilsMd5Context();
     return(md5Ctx.init(md5CtxAddr));
 }