Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccCrypt.c82 TPM2B_MAX_BUFFER *plainText, // IN: the text to obfuscate in CryptEccEncrypt() argument
131 CryptDigestUpdate2B(&hashState, &plainText->b); in CryptEccEncrypt()
138 c2->t.size = CryptMGF_KDF(plainText->t.size, c2->t.buffer, in CryptEccEncrypt()
141 for (i = 0; i < plainText->t.size; i++) in CryptEccEncrypt()
142 c2->t.buffer[i] ^= plainText->t.buffer[i]; in CryptEccEncrypt()
160 TPM2B_MAX_BUFFER *plainText, // OUT: the recovered text in CryptEccDecrypt() argument
195 plainText->t.size = CryptMGF_KDF(c2->t.size, plainText->t.buffer, in CryptEccDecrypt()
199 for (i = 0; i < plainText->t.size; i++) in CryptEccDecrypt()
200 plainText->t.buffer[i] ^= c2->t.buffer[i]; in CryptEccDecrypt()
203 CryptDigestUpdate2B(&hashState, &plainText->b); in CryptEccDecrypt()
/external/owasp/sanitizer/src/main/org/owasp/html/
DEncoding.java164 static void encodeHtmlOnto(String plainText, Appendable output) in encodeHtmlOnto() argument
166 int n = plainText.length(); in encodeHtmlOnto()
169 char ch = plainText.charAt(i); in encodeHtmlOnto()
173 output.append(plainText, pos, i).append(repl); in encodeHtmlOnto()
181 ch, next = plainText.charAt(i + 1))) { in encodeHtmlOnto()
186 output.append(plainText, pos, i); in encodeHtmlOnto()
191 output.append(plainText, pos, i); in encodeHtmlOnto()
196 output.append(plainText, pos, i); in encodeHtmlOnto()
208 output.append(plainText, pos, n); in encodeHtmlOnto()
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_Encrypt.c76 uint8_t const *plainText, in Fapi_Encrypt() argument
88 check_not_null(plainText); in Fapi_Encrypt()
105 r = Fapi_Encrypt_Async(context, keyPath, plainText, plainTextSize); in Fapi_Encrypt()
161 uint8_t const *plainText, in Fapi_Encrypt_Async() argument
166 if (plainText) { in Fapi_Encrypt_Async()
167 LOGBLOB_TRACE(plainText, plainTextSize, "plainText"); in Fapi_Encrypt_Async()
177 check_not_null(plainText); in Fapi_Encrypt_Async()
188 memcpy(inData, plainText, plainTextSize); in Fapi_Encrypt_Async()
DFapi_Decrypt.c74 uint8_t **plainText, in Fapi_Decrypt() argument
111 r = Fapi_Decrypt_Finish(context, plainText, plainTextSize); in Fapi_Decrypt()
235 uint8_t **plainText, in Fapi_Decrypt_Finish() argument
327 if (plainText) { in Fapi_Decrypt_Finish()
328 *plainText = malloc(tpmPlainText->size); in Fapi_Decrypt_Finish()
329 goto_if_null(*plainText, "Out of memory", TSS2_FAPI_RC_MEMORY, error_cleanup); in Fapi_Decrypt_Finish()
331 memcpy(*plainText, &tpmPlainText->buffer[0], tpmPlainText->size); in Fapi_Decrypt_Finish()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptEccCrypt_fp.h71 TPM2B_MAX_BUFFER *plainText, // IN: the text to obfuscate
90 TPM2B_MAX_BUFFER *plainText, // OUT: the recovered text
DECC_Encrypt_fp.h48 TPM2B_MAX_BUFFER plainText; member
DECC_Decrypt_fp.h56 TPM2B_MAX_BUFFER plainText; member
/external/tpm2-tss/test/integration/
Dfapi-data-crypt.int.c229 uint8_t plainText[SIZE]; in test_fapi_data_crypt() local
233 plainText[i] = i % 256; in test_fapi_data_crypt()
238 r = Fapi_Encrypt(context, "HS/SRK/myRsaCryptKey", &plainText[0], in test_fapi_data_crypt()
255 memcmp(plainText, plainText2, plainText2_size) != 0) { in test_fapi_data_crypt()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
Dprettify.js617 return function (plainText) { argument
623 for (var i = 0, n = plainText.length; i < n; ++i) {
624 var ch = plainText.charAt(i);
629 out.push(plainText.substring(pos, i));
648 if (!out) { return plainText; }
649 out.push(plainText.substring(pos));
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/
DECC_Encrypt.c58 return CryptEccEncrypt(pubKey, &in->inScheme, &in->plainText, in TPM2_ECC_Encrypt()
DECC_Decrypt.c65 return CryptEccDecrypt(key, &in->inScheme, &out->plainText, in TPM2_ECC_Decrypt()
/external/tpm2-tss/include/tss2/
Dtss2_fapi.h311 uint8_t const *plainText,
319 uint8_t const *plainText,
332 uint8_t **plainText,
343 uint8_t **plainText,
/external/fonttools/Lib/fontTools/t1Lib/
D__init__.py323 plainText, R = eexec.decrypt(cypherText, 55665)
324 eEndLocal = plainText.find(EEXECINTERNALEND)
/external/cldr/tools/java/org/unicode/cldr/util/
DVerifyCompactNumbers.java88 PrintWriter plainText = FileUtilities.openUTF8Writer(DIR, "compactTestFile.txt"); in main() local
129 plainText.close(); in main()
/external/dokka/core/src/main/kotlin/javadoc/
Dtags.kt21 val plainText: String in text() constant in org.jetbrains.dokka.javadoc.TextTag
26 override fun text(): String? = plainText in text()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java1533 byte[] plainText = c.doFinal(cipherText); in test_Cipher_aborted_doFinal()
1536 + " but was " + Arrays.toString(plainText), in test_Cipher_aborted_doFinal()
1537 Arrays.equals(expectedPlainText, plainText)); in test_Cipher_aborted_doFinal()
1577 byte[] plainText = decryptCipher.doFinal(cipherText); in testInputPKCS1Padding()
1579 Arrays.toString(plainText)); in testInputPKCS1Padding()
1583 assertEquals(Arrays.toString(plainText), in testInputPKCS1Padding()
1607 byte[] plainText = decryptCipher.doFinal(cipherText); in testOutputPKCS1Padding()
1608 assertPadding(provider, expectedBlockType, ORIGINAL_PLAIN_TEXT, plainText); in testOutputPKCS1Padding()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java1537 byte[] plainText = c.doFinal(cipherText); in test_Cipher_aborted_doFinal()
1540 + " but was " + Arrays.toString(plainText), in test_Cipher_aborted_doFinal()
1541 Arrays.equals(expectedPlainText, plainText)); in test_Cipher_aborted_doFinal()
1581 byte[] plainText = decryptCipher.doFinal(cipherText); in testInputPKCS1Padding()
1583 Arrays.toString(plainText)); in testInputPKCS1Padding()
1587 assertEquals(Arrays.toString(plainText), in testInputPKCS1Padding()
1611 byte[] plainText = decryptCipher.doFinal(cipherText); in testOutputPKCS1Padding()
1612 assertPadding(provider, expectedBlockType, ORIGINAL_PLAIN_TEXT, plainText); in testOutputPKCS1Padding()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCommandDispatcher.h533 result = TPM2B_MAX_BUFFER_Unmarshal(&in->plainText, paramBuffer, paramBufferSize);
567 *respParmSize += TPM2B_MAX_BUFFER_Marshal(&out->plainText,
DCommandDispatchData.h1341 /* offsets */ {(UINT16)(offsetof(ECC_Encrypt_In, plainText)),
/external/doclava/res/assets/templates-sdk/assets/js/
Dandroid_3p-bundle.js622 return function (plainText) { argument
628 for (var i = 0, n = plainText.length; i < n; ++i) {
629 var ch = plainText.charAt(i);
634 out.push(plainText.substring(pos, i));
653 if (!out) { return plainText; }
654 out.push(plainText.substring(pos));
/external/tpm2-tss/doc/
Ddoxygen.dox1318 uint8_t const *plainText,
1326 uint8_t const *plainText,
1343 uint8_t **plainText,
1354 uint8_t **plainText,