Lines Matching refs:nKeyLen
585 sal_uInt32 nKeyLen = rtl_digest_queryLength( handle ); in init_MD2() local
586 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in init_MD2()
588 rtl_digest_get( handle, pKeyBuffer, nKeyLen ); in init_MD2()
589 rtl::OString aSum = createHex(pKeyBuffer, nKeyLen); in init_MD2()
613 sal_uInt32 nKeyLen = rtl_digest_queryLength( handle ); in init_MD5() local
614 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in init_MD5()
616 rtl_digest_get( handle, pKeyBuffer, nKeyLen ); in init_MD5()
617 rtl::OString aSum = createHex(pKeyBuffer, nKeyLen); in init_MD5()
641 sal_uInt32 nKeyLen = rtl_digest_queryLength( handle ); in init_SHA() local
642 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in init_SHA()
644 rtl_digest_get( handle, pKeyBuffer, nKeyLen ); in init_SHA()
645 rtl::OString aSum = createHex(pKeyBuffer, nKeyLen); in init_SHA()
668 sal_uInt32 nKeyLen = rtl_digest_queryLength( handle ); in init_SHA1() local
669 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in init_SHA1()
671 rtl_digest_get( handle, pKeyBuffer, nKeyLen ); in init_SHA1()
672 rtl::OString aSum = createHex(pKeyBuffer, nKeyLen); in init_SHA1()
689 sal_uInt32 nKeyLen = rtl_digest_queryLength( handle ); in init_HMAC_MD5() local
690 CPPUNIT_ASSERT_MESSAGE( "Keylen must be greater 0", nKeyLen ); in init_HMAC_MD5()
692 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in init_HMAC_MD5()
694 memset(pKeyBuffer, 0, nKeyLen); in init_HMAC_MD5()
696 rtlDigestError aError = rtl_digest_init(handle, pKeyBuffer, nKeyLen ); in init_HMAC_MD5()
702 rtl_digest_get( handle, pKeyBuffer, nKeyLen ); in init_HMAC_MD5()
703 rtl::OString aSum = createHex(pKeyBuffer, nKeyLen); in init_HMAC_MD5()
720 sal_uInt32 nKeyLen = rtl_digest_queryLength( handle ); in init_HMAC_SHA1() local
721 CPPUNIT_ASSERT_MESSAGE( "Keylen must be greater 0", nKeyLen ); in init_HMAC_SHA1()
723 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in init_HMAC_SHA1()
725 memset(pKeyBuffer, 0, nKeyLen); in init_HMAC_SHA1()
727 rtlDigestError aError = rtl_digest_init(handle, pKeyBuffer, nKeyLen ); in init_HMAC_SHA1()
733 rtl_digest_get( handle, pKeyBuffer, nKeyLen ); in init_HMAC_SHA1()
734 rtl::OString aSum = createHex(pKeyBuffer, nKeyLen); in init_HMAC_SHA1()
1121 sal_uInt32 nKeyLen = RTL_DIGEST_LENGTH_HMAC_SHA1; in run_check_PBKDF2() local
1122 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in run_check_PBKDF2()
1124 memset(pKeyBuffer, 0, nKeyLen); in run_check_PBKDF2()
1140 …rtlDigestError aError = rtl_digest_PBKDF2(pKeyBuffer, nKeyLen, pPassword, nPasswordLen, pSaltData,… in run_check_PBKDF2()
1144 rtl::OString aKey = createHex(pKeyBuffer, nKeyLen); in run_check_PBKDF2()
1339 sal_uInt32 nKeyLen = rtl_digest_queryLength( aHandle ); in getMD5_001() local
1340 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in getMD5_001()
1356 sal_uInt32 nKeyLen = rtl_digest_queryLength( aHandle ); in getMD5_002() local
1357 sal_uInt8 *pKeyBuffer = new sal_uInt8[ nKeyLen ]; in getMD5_002()
1359 rtlDigestError aError = rtl_digest_getMD5(aHandle, NULL /* pKeyBuffer */ , nKeyLen); in getMD5_002()