Home
last modified time | relevance | path

Searched refs:pPlainTextBuffer (Results 1 – 1 of 1) sorted by relevance

/trunk/main/sal/qa/rtl/cipher/
H A Drtl_cipher.cxx184 sal_uInt8 *pPlainTextBuffer = new sal_uInt8[ nPlainTextLen ]; in test_encode() local
185 memset(pPlainTextBuffer, 0, nPlainTextLen); in test_encode()
186 strncpy((char*)pPlainTextBuffer, _sPlainTextStr.getStr(), 16); in test_encode()
192 …/* rtlCipherError */ aError = rtl_cipher_encode(aCipher, pPlainTextBuffer, nPlainTextLen, pCipherB… in test_encode()
197 printf(" Plain: %s\n", createHex(pPlainTextBuffer, nPlainTextLen).getStr()); in test_encode()
250 sal_uInt8 *pPlainTextBuffer = new sal_uInt8[ nPlainTextLen ]; in test_encode_and_decode() local
251 memset(pPlainTextBuffer, 0, nPlainTextLen); in test_encode_and_decode()
252 strncpy((char*)pPlainTextBuffer, _sPlainTextStr.getStr(), 16); in test_encode_and_decode()
263 printf(" Plain: %s\n", createHex(pPlainTextBuffer, nPlainTextLen).getStr()); in test_encode_and_decode()
279 sal_Int32 nCompare = memcmp(pPlainTextBuffer, pPlainText2Buffer, 16); in test_encode_and_decode()
[all …]

Completed in 18 milliseconds