/libcore/support/src/test/java/tests/security/ |
CipherHelper.java | 31 private final String plainData; 35 public CipherHelper(String algorithmName, String plainData, int mode1, int mode2) { 37 this.plainData = plainData; 57 byte[] encrypted = crypt(cipher, plainData.getBytes()); 69 Assert.assertEquals("transformed data does not match", plainData,
|
CipherAsymmetricCryptHelper.java | 24 private static final String plainData = "some data to encrypt and decrypt test"; 27 super(algorithmName, plainData, Cipher.ENCRYPT_MODE,
|
CipherSymmetricCryptHelper.java | 24 private static final String plainData = "some data to encrypt and decrypt test"; 27 super(algorithmName, plainData, Cipher.ENCRYPT_MODE,
|
SignatureHelper.java | 31 private final String plainData = "some data do sign and verify"; 58 signature.update(plainData.getBytes()); 77 signature.update(plainData.getBytes());
|
AlgorithmParameterAsymmetricHelper.java | 34 private static final String plainData = "some data to encrypt and decrypt"; 75 bs = cipher.doFinal(plainData.getBytes()); 99 Assert.assertTrue(Arrays.equals(plainData.getBytes(), decrypted));
|
AlgorithmParameterSignatureHelper.java | 35 private final String plainData = "some data do sign and verify"; 83 signature.update(plainData.getBytes()); 102 signature.update(plainData.getBytes());
|
AlgorithmParameterSymmetricHelper.java | 34 private static final String plainData = "some data to encrypt and decrypt"; 88 bs = cipher.doFinal(plainData.getBytes()); 112 Assert.assertTrue(Arrays.equals(plainData.getBytes(), decrypted));
|
/hardware/samsung_slsi/exynos5/libkeymaster/ |
tlcTeeKeymaster_if.h | 162 * @param plainData [in] Pointer to plain data to be signed 171 const uint8_t* plainData, 185 * @param plainData [in] Pointer to plain data to be signed 195 const uint8_t* plainData, 226 * @param plainData [in] Pointer to plain data to be signed 235 const uint8_t* plainData, 249 * @param plainData [in] Pointer to plain data to be signed 259 const uint8_t* plainData,
|
tlcTeeKeymaster_if.c | 241 * @param plainData [in] Pointer to plain data to be signed 250 const uint8_t* plainData, 280 mcRet = mcMap(&sessionHandle, (void*)plainData, plainDataLength, &plainMapInfo); 297 pTci->rsasign.plaindata = (uint32_t)plainMapInfo.sVirtualAddr; 328 mcRet = mcUnmap(&sessionHandle, (void*)plainData, &plainMapInfo); 369 * @param plainData [in] Pointer to plain data to be signed 379 const uint8_t* plainData, 410 mcRet = mcMap(&sessionHandle, (void*)plainData, plainDataLength, &plainMapInfo); 427 pTci->rsaverify.plaindata = (uint32_t)plainMapInfo.sVirtualAddr; 459 mcRet = mcUnmap(&sessionHandle, (void*)plainData, &plainMapInfo) [all...] |
tlTeeKeymaster_Api.h | 97 uint32_t plaindata; /**< Plaintext data buffer */ member in struct:__anon21222 111 uint32_t plaindata; /**< Plaintext data buffer */ member in struct:__anon21223 140 uint32_t plaindata; /**< Plaintext data buffer */ member in struct:__anon21225 154 uint32_t plaindata; /**< Plaintext data buffer */ member in struct:__anon21226
|