Lines Matching refs:nDatLen
79 static void __rtl_digest_swapLong (sal_uInt32 *pData, sal_uInt32 nDatLen) in __rtl_digest_swapLong() argument
85 n = nDatLen; in __rtl_digest_swapLong()
162 rtlDigest Digest, const sal_uInt8 *pData, sal_uInt32 nDatLen) in rtl_digest_init() argument
168 return pImpl->m_init (Digest, pData, nDatLen); in rtl_digest_init()
179 rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) in rtl_digest_update() argument
183 return pImpl->m_update (Digest, pData, nDatLen); in rtl_digest_update()
371 const void *pData, sal_uInt32 nDatLen, in rtl_digest_MD2() argument
380 result = rtl_digest_updateMD2 (&digest, pData, nDatLen); in rtl_digest_MD2()
407 rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) in rtl_digest_updateMD2() argument
420 if (nDatLen == 0) in rtl_digest_updateMD2()
430 if (nDatLen < n) in rtl_digest_updateMD2()
432 rtl_copyMemory (p, d, nDatLen); in rtl_digest_updateMD2()
433 ctx->m_nDatLen += nDatLen; in rtl_digest_updateMD2()
440 nDatLen -= n; in rtl_digest_updateMD2()
446 while (nDatLen >= DIGEST_CBLOCK_MD2) in rtl_digest_updateMD2()
450 nDatLen -= DIGEST_CBLOCK_MD2; in rtl_digest_updateMD2()
455 rtl_copyMemory (ctx->m_pData, d, nDatLen); in rtl_digest_updateMD2()
456 ctx->m_nDatLen = nDatLen; in rtl_digest_updateMD2()
736 const void *pData, sal_uInt32 nDatLen, in rtl_digest_MD5() argument
745 result = rtl_digest_update (&digest, pData, nDatLen); in rtl_digest_MD5()
772 rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) in rtl_digest_updateMD5() argument
786 if (nDatLen == 0) in rtl_digest_updateMD5()
791 len = ctx->m_nL + (nDatLen << 3); in rtl_digest_updateMD5()
793 ctx->m_nH += (nDatLen >> 29); in rtl_digest_updateMD5()
801 if (nDatLen < n) in rtl_digest_updateMD5()
803 rtl_copyMemory (p, d, nDatLen); in rtl_digest_updateMD5()
804 ctx->m_nDatLen += nDatLen; in rtl_digest_updateMD5()
811 nDatLen -= n; in rtl_digest_updateMD5()
821 while (nDatLen >= DIGEST_CBLOCK_MD5) in rtl_digest_updateMD5()
825 nDatLen -= DIGEST_CBLOCK_MD5; in rtl_digest_updateMD5()
834 rtl_copyMemory (ctx->m_pData, d, nDatLen); in rtl_digest_updateMD5()
835 ctx->m_nDatLen = nDatLen; in rtl_digest_updateMD5()
1213 const void *pData, sal_uInt32 nDatLen, in rtl_digest_SHA() argument
1222 result = rtl_digest_updateSHA (&digest, pData, nDatLen); in rtl_digest_SHA()
1249 rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) in rtl_digest_updateSHA() argument
1263 if (nDatLen == 0) in rtl_digest_updateSHA()
1268 len = ctx->m_nL + (nDatLen << 3); in rtl_digest_updateSHA()
1270 ctx->m_nH += (nDatLen >> 29); in rtl_digest_updateSHA()
1278 if (nDatLen < n) in rtl_digest_updateSHA()
1280 rtl_copyMemory (p, d, nDatLen); in rtl_digest_updateSHA()
1281 ctx->m_nDatLen += nDatLen; in rtl_digest_updateSHA()
1288 nDatLen -= n; in rtl_digest_updateSHA()
1298 while (nDatLen >= DIGEST_CBLOCK_SHA) in rtl_digest_updateSHA()
1302 nDatLen -= DIGEST_CBLOCK_SHA; in rtl_digest_updateSHA()
1311 rtl_copyMemory (ctx->m_pData, d, nDatLen); in rtl_digest_updateSHA()
1312 ctx->m_nDatLen = nDatLen; in rtl_digest_updateSHA()
1401 const void *pData, sal_uInt32 nDatLen, in rtl_digest_SHA1() argument
1410 result = rtl_digest_updateSHA1 (&digest, pData, nDatLen); in rtl_digest_SHA1()
1437 rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) in rtl_digest_updateSHA1() argument
1451 if (nDatLen == 0) in rtl_digest_updateSHA1()
1456 len = ctx->m_nL + (nDatLen << 3); in rtl_digest_updateSHA1()
1458 ctx->m_nH += (nDatLen >> 29); in rtl_digest_updateSHA1()
1466 if (nDatLen < n) in rtl_digest_updateSHA1()
1468 rtl_copyMemory (p, d, nDatLen); in rtl_digest_updateSHA1()
1469 ctx->m_nDatLen += nDatLen; in rtl_digest_updateSHA1()
1476 nDatLen -= n; in rtl_digest_updateSHA1()
1486 while (nDatLen >= DIGEST_CBLOCK_SHA) in rtl_digest_updateSHA1()
1490 nDatLen -= DIGEST_CBLOCK_SHA; in rtl_digest_updateSHA1()
1499 rtl_copyMemory (ctx->m_pData, d, nDatLen); in rtl_digest_updateSHA1()
1500 ctx->m_nDatLen = nDatLen; in rtl_digest_updateSHA1()
1639 const void *pData, sal_uInt32 nDatLen, in rtl_digest_HMAC_MD5() argument
1650 result = rtl_digest_updateHMAC_MD5 (&digest, pData, nDatLen); in rtl_digest_HMAC_MD5()
1716 rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) in rtl_digest_updateHMAC_MD5() argument
1728 rtl_digest_updateMD5 (&(ctx->m_hash), pData, nDatLen); in rtl_digest_updateHMAC_MD5()
1868 const void *pData, sal_uInt32 nDatLen, in rtl_digest_HMAC_SHA1() argument
1879 result = rtl_digest_updateHMAC_SHA1 (&digest, pData, nDatLen); in rtl_digest_HMAC_SHA1()
1945 rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) in rtl_digest_updateHMAC_SHA1() argument
1957 rtl_digest_updateSHA1 (&(ctx->m_hash), pData, nDatLen); in rtl_digest_updateHMAC_SHA1()