Lines Matching refs:pBuffer

852             sal_uInt8    *pBuffer = new sal_uInt8[ RTL_DIGEST_LENGTH_MD2 ];  in MD2_001()  local
853 CPPUNIT_ASSERT( pBuffer ); in MD2_001()
854 memset(pBuffer, 0, RTL_DIGEST_LENGTH_MD2 ); in MD2_001()
859 rtlDigestError aError = rtl_digest_MD2(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_MD2); in MD2_001()
863 rtl::OString aStr = createHex(pBuffer, RTL_DIGEST_LENGTH_MD2); in MD2_001()
867 delete [] pBuffer; in MD2_001()
895 sal_uInt8 *pBuffer = new sal_uInt8[ RTL_DIGEST_LENGTH_MD5 ]; in MD5_001() local
896 CPPUNIT_ASSERT( pBuffer ); in MD5_001()
897 memset(pBuffer, 0, RTL_DIGEST_LENGTH_MD5 ); in MD5_001()
902 rtlDigestError aError = rtl_digest_MD5(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_MD5); in MD5_001()
906 rtl::OString aStr = createHex(pBuffer, RTL_DIGEST_LENGTH_MD5); in MD5_001()
910 delete [] pBuffer; in MD5_001()
940 sal_uInt8 *pBuffer = new sal_uInt8[ RTL_DIGEST_LENGTH_SHA ]; in SHA_001() local
941 CPPUNIT_ASSERT( pBuffer ); in SHA_001()
942 memset(pBuffer, 0, RTL_DIGEST_LENGTH_SHA); in SHA_001()
947 rtlDigestError aError = rtl_digest_SHA(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_SHA); in SHA_001()
951 rtl::OString aStr = createHex(pBuffer, RTL_DIGEST_LENGTH_SHA); in SHA_001()
955 delete [] pBuffer; in SHA_001()
985 sal_uInt8 *pBuffer = new sal_uInt8[ RTL_DIGEST_LENGTH_SHA1 ]; in SHA1_001() local
986 CPPUNIT_ASSERT( pBuffer ); in SHA1_001()
987 memset(pBuffer, 0, RTL_DIGEST_LENGTH_SHA1); in SHA1_001()
992 rtlDigestError aError = rtl_digest_SHA1(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_SHA1); in SHA1_001()
996 rtl::OString aStr = createHex(pBuffer, RTL_DIGEST_LENGTH_SHA1); in SHA1_001()
1000 delete [] pBuffer; in SHA1_001()
1032 sal_uInt8 *pBuffer = new sal_uInt8[ RTL_DIGEST_LENGTH_HMAC_MD5 ]; in HMAC_MD5_001() local
1033 CPPUNIT_ASSERT( pBuffer ); in HMAC_MD5_001()
1034 memset(pBuffer, 0, RTL_DIGEST_LENGTH_HMAC_MD5); in HMAC_MD5_001()
1039 …rtl_digest_HMAC_MD5(pKeyBuffer, RTL_DIGEST_LENGTH_HMAC_MD5, pMsg1, nLen, pBuffer, RTL_DIGEST_LENGT… in HMAC_MD5_001()
1043 rtl::OString aStr = createHex(pBuffer, RTL_DIGEST_LENGTH_HMAC_MD5); in HMAC_MD5_001()
1047 delete [] pBuffer; in HMAC_MD5_001()
1079 sal_uInt8 *pBuffer = new sal_uInt8[ RTL_DIGEST_LENGTH_HMAC_SHA1 ]; in HMAC_SHA1_001() local
1080 CPPUNIT_ASSERT( pBuffer ); in HMAC_SHA1_001()
1081 memset(pBuffer, 0, RTL_DIGEST_LENGTH_HMAC_SHA1); in HMAC_SHA1_001()
1086 …l_digest_HMAC_SHA1(pKeyBuffer, RTL_DIGEST_LENGTH_HMAC_SHA1, pMsg1, nLen, pBuffer, RTL_DIGEST_LENGT… in HMAC_SHA1_001()
1090 rtl::OString aStr = createHex(pBuffer, RTL_DIGEST_LENGTH_HMAC_SHA1); in HMAC_SHA1_001()
1094 delete [] pBuffer; in HMAC_SHA1_001()