Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 25 of 78) sorted by relevance

1234

/cts/tests/tests/widget/src/android/widget/cts/
DImageSwitcherTest.java89 ImageView iv = new ImageView(mActivity); in testSetImageResource() local
90 mImageSwitcher.addView(iv); in testSetImageResource()
94 assertSame(iv, mImageSwitcher.getCurrentView()); in testSetImageResource()
105 assertSame(iv, mImageSwitcher.getCurrentView()); in testSetImageResource()
119 ImageView iv = new ImageView(mActivity); in testSetImageURI() local
120 mImageSwitcher.addView(iv); in testSetImageURI()
131 assertSame(iv, mImageSwitcher.getCurrentView()); in testSetImageURI()
146 assertSame(iv, mImageSwitcher.getCurrentView()); in testSetImageURI()
162 ImageView iv = new ImageView(mActivity); in testSetImageDrawable() local
163 mImageSwitcher.addView(iv); in testSetImageDrawable()
[all …]
/cts/tests/tests/identity/src/android/security/identity/cts/
DEphemeralKeyTest.java184 ByteBuffer iv = ByteBuffer.allocate(12); in encryptMessageToHolder() local
185 iv.putInt(0, 0x00000000); in encryptMessageToHolder()
186 iv.putInt(4, 0x00000000); in encryptMessageToHolder()
187 iv.putInt(8, mCounter); in encryptMessageToHolder()
189 GCMParameterSpec encryptionParameterSpec = new GCMParameterSpec(128, iv.array()); in encryptMessageToHolder()
207 ByteBuffer iv = ByteBuffer.allocate(12); in decryptMessageFromHolder() local
208 iv.putInt(0, 0x00000000); in decryptMessageFromHolder()
209 iv.putInt(4, 0x00000001); in decryptMessageFromHolder()
210 iv.putInt(8, mMdlExpectedCounter); in decryptMessageFromHolder()
214 cipher.init(Cipher.DECRYPT_MODE, mSecretKey, new GCMParameterSpec(128, iv.array())); in decryptMessageFromHolder()
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp51 uint8_t iv[EVP_CIPHER_iv_length(TEST_EVP_CIPHER)]; in android_security_cts_EncryptionTest_aesIsFast() local
54 memset(iv, 0x11, sizeof(iv)); in android_security_cts_EncryptionTest_aesIsFast()
58 if (!EVP_DecryptInit(&ctx, TEST_EVP_CIPHER, key, iv)) { in android_security_cts_EncryptionTest_aesIsFast()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp103 uint8_t iv[16]; in decrypt() local
104 memset(iv, 0, 16); in decrypt()
105 data.write(iv, 16); in decrypt()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java246 testVector.iv = HexEncoding.decode(value); in runTestsForKatFile()
287 if (testVector.iv != null) { in runKatTest()
288 cipher.init(opmode, key, new IvParameterSpec(testVector.iv)); in runKatTest()
320 public byte[] iv; field in AESCipherNistCavpKatTest.TestVector
DImportWrappedKeyTest.java315 byte[] iv = new byte[12]; in wrapKey()
316 random.nextBytes(iv); in wrapKey()
331 GCMParameterSpec gcmParameterSpec = new GCMParameterSpec(GCM_TAG_SIZE, iv); in wrapKey()
349 items.add(new DEROctetString(iv)); in wrapKey()
DBlockCipherTestBase.java409 byte[] iv = mCipher.getIV(); in testGeneratedIvSurvivesReset()
413 assertEquals(iv, mCipher.getIV()); in testGeneratedIvSurvivesReset()
414 assertAlgoritmParametersIv(iv); in testGeneratedIvSurvivesReset()
424 assertEquals(iv, mCipher.getIV()); in testGeneratedIvSurvivesReset()
425 assertAlgoritmParametersIv(iv); in testGeneratedIvSurvivesReset()
1623 protected final void assertInitRejectsIvParameterSpec(byte[] iv) throws Exception { in assertInitRejectsIvParameterSpec() argument
1626 IvParameterSpec spec = new IvParameterSpec(iv); in assertInitRejectsIvParameterSpec()
1648 param.init(new IvParameterSpec(iv)); in assertInitRejectsIvParameterSpec()
DCipherTest.java725 byte[] iv = cipher.getIV(); in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
726 if ((iv != null) && (iv.length != 12)) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DPacketUtils.java394 byte[] iv = new byte[AES_CBC_IV_LEN]; in getCiphertext()
395 new SecureRandom().nextBytes(iv); in getCiphertext()
396 IvParameterSpec ivParameterSpec = new IvParameterSpec(iv); in getCiphertext()
406 cipherText.put(iv); in getCiphertext()
/cts/tests/tests/net/src/android/net/cts/
DPacketUtils.java388 byte[] iv = new byte[AES_CBC_IV_LEN]; in getCiphertext()
389 new SecureRandom().nextBytes(iv); in getCiphertext()
390 IvParameterSpec ivParameterSpec = new IvParameterSpec(iv); in getCiphertext()
400 cipherText.put(iv); in getCiphertext()
/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java556 byte[] iv = {0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29}; in testCryptoSessionEncrypt()
561 byte[] output = cs.encrypt(keyId, input, iv); in testCryptoSessionEncrypt()
565 assertTrue(Arrays.equals(iv, md.getPropertyByteArray("mock-iv"))); in testCryptoSessionEncrypt()
582 byte[] iv = {0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69}; in testCryptoSessionDecrypt()
587 byte[] output = cs.decrypt(keyId, input, iv); in testCryptoSessionDecrypt()
591 assertTrue(Arrays.equals(iv, md.getPropertyByteArray("mock-iv"))); in testCryptoSessionDecrypt()
DMediaCasTest.java594 byte[] iv = new byte[16]; // not used in descrambleTestInputBuffer()
596 key, iv, MediaCodec.CRYPTO_MODE_AES_CBC); in descrambleTestInputBuffer()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp928 uint8_t iv[16] = { 4,3,2,1,4,3,2,1,4,3,2,1,4,3,2,1 }; in Java_android_media_cts_NativeDecoderTest_testCryptoInfoNative() local
933 …AMediaCodecCryptoInfo_new(numsubsamples, key, iv, AMEDIACODECRYPTOINFO_MODE_CLEAR, clearbytes, enc… in Java_android_media_cts_NativeDecoderTest_testCryptoInfoNative()
946 if (memcmp(iv, bytes, 16) != 0) { in Java_android_media_cts_NativeDecoderTest_testCryptoInfoNative()
/cts/tests/tests/media/assets/hls_variant/387360/
D18.ts25 �8�1�iv� j(���c���j i�N ��*'�B�`@� ,OP���<�������uq�B�.'�ڃ�:3}uսq�H!QK��B��n�Ix�~` �ab�K�5ժyZ�…
D15.ts709 "�}�7�U��\�����l�}!�AHw95���b�Y��B�q�2 �^}"�i�������#fF� ��D���˂��g}���~�{�iv,��^�vH�V�����…
1034 …�X��(ݵ��z�Y��+*"��t�=�f��ĝ����`�Q ���64O�n��^�#`kbo�uB�K.�n"��T0~�k���h)����c~���@�g�iv
D12.ts1064 …E�� �G�T2� G)�G���4aXXng��n=�i�������a��DZK�9�9rd,1��k��w5 ����iv�?�E[fΡ�v���>�`O}ќ�;…
D09.ts95 …T��b����'�t�)����n��G��7W��u���'8�sb̽%ŠDb��?ӄe��6k0��N�mv��w��j9��iv��z�����f���FU�…
D16.ts25 �8�1�iv� j(���c���j i�N ��*'�B�`@� ,OP���<�������uq�B�.'�ڃ�:3}uսq�H!QK��B��n�Ix�~` �ab�K�5ժyZ�…
D19.ts917 1��p���� ���A�>��֮� �� �Wp���&ː7�YL����*[jcWً+�g'��u)?#B����y旧x=����?iv���}��ZKM�魱…
/cts/tests/tests/media/assets/hls_variant/165340/
D18.ts450 …��q�?׶XpQ�di�;�+�i��N���R��U?��ⳣm����������1H����� �k�N�jR�׷zP�-����iv��:�����ꑱ�����������…
/cts/tests/tests/media/assets/hls_variant/765178/
D20.ts51 …���x�s��=���^t�u[��};<^�Y)�;�*�R���!�F����w������J�:�Uf+������b��Nj�-iv�qL�I��K� ������
1010 �NhDڳB�mN���n'�̎�4�iv�!�brp'7K}Һ�N0���
1076 #0����/�t"�]���n��<iv� �Hܫ��/Z�N�]4Y�#��@�E��?��-�zG��c
1515 …u������!w�e�+%����kٳ�/��7.Y��.��(�>��+W��̄����)��I�/����ee��DžB�sx�'32Ai���dB�b�G�!|"�iv
2214 …�������������������������������������GA���� ���!9tQ��� �����ԯ�G���iv��L}�i??��V2�Ɡ����z…
D10.ts2491 …o���y��<y=��+Ɂ��l�,i<��je� 4u|]wvv$պ��MH� ��7X϶_���%�.�B7�&M6��O��iv��/��p�\�+f��QXp�kM�…
2701 1+��+�q��� ���A����&��.�C�X��W�x�k�F�(iv���r��%�Dy��Y���Ύ>//zt��.���+�� .�r��S#���Jf…
/cts/tests/tests/media/assets/hls_variant/344388/
D06.ts433 …���ID 1k���z�f�;�ধ�|�����+�����u�����0�q��?�N�����ݸH�7�����I��U�6=�Hh��� ��G��(iv?�-�h�����OY
1090 ���-���HU"�� �VGA��� ��!�����\@#�(*iv ��ʼ�@�nsFU��FX!���(�{\=��%s��S�c[g|zk��W��5�…
D20.ts68 �.�<���SFQ\c�UG��W� iv�C�Uġ�&3�ۮE�ᦪ��R���� �o B9S�}�i�AS��(G��� ��>���8�]�
/cts/tests/tests/media/assets/hls_variant/1676816/
D11.ts454 …x"o�=NRG��l�E������566�YD���0��� |�Ն�|�RA�P�Q�-�P�����^�n&�:37��Ě��2iv�a�yb�����$�01te-;4�…
2237 …�j2�H��9!���HV�G_�#Q���_�P|/G������)���–������=8�� ��^҅�<�x玚7iv ��yG432�=�����B\��…
5522 C�4��!�0 �V�\7���zZ�x�Y�oR��l4���iv�B����H���,��{�� �))I���l�D
6973 9�0��#��E|�� �8�d�iv{,Bx�퀡�B !�r=�*$���yQs�Q��x����p6H���#Bo7k̜O�bs�1����h`�#�}b�)� �YS���…
7104 �yش��7I�T9,V��!�L���*zk�����r_3~��iv^M��wX��g��8�ߌ�%�vC�~%N�

1234