/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 73 private AlgorithmParameterSpec iv; field in class:CipherInputStreamTest 78 iv = new IvParameterSpec(aesIvBytes); 111 cipher.init(Cipher.DECRYPT_MODE, key, iv); 120 cipher.init(Cipher.DECRYPT_MODE, key, iv); 133 cipher.init(Cipher.ENCRYPT_MODE, key, iv); 157 cipher.init(Cipher.DECRYPT_MODE, key, iv); 173 cipher.init(Cipher.DECRYPT_MODE, key, iv); 190 cipher.init(Cipher.DECRYPT_MODE, key, iv); 198 cipher.init(Cipher.DECRYPT_MODE, key, iv); 223 cipher.init(Cipher.DECRYPT_MODE, key, iv); [all...] |
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
example_test.go | 88 // The IV needs to be unique, but not secure. Therefore it's common to 93 iv := ciphertext[:aes.BlockSize] 101 mode := cipher.NewCBCDecrypter(block, iv) 139 // The IV needs to be unique, but not secure. Therefore it's common to 142 iv := ciphertext[:aes.BlockSize] 143 if _, err := io.ReadFull(rand.Reader, iv); err != nil { 147 mode := cipher.NewCBCEncrypter(block, iv) 170 // The IV needs to be unique, but not secure. Therefore it's common to 175 iv := ciphertext[:aes.BlockSize] 178 stream := cipher.NewCFBDecrypter(block, iv) [all...] |
/prebuilts/go/linux-x86/src/crypto/cipher/ |
example_test.go | 88 // The IV needs to be unique, but not secure. Therefore it's common to 93 iv := ciphertext[:aes.BlockSize] 101 mode := cipher.NewCBCDecrypter(block, iv) 139 // The IV needs to be unique, but not secure. Therefore it's common to 142 iv := ciphertext[:aes.BlockSize] 143 if _, err := io.ReadFull(rand.Reader, iv); err != nil { 147 mode := cipher.NewCBCEncrypter(block, iv) 170 // The IV needs to be unique, but not secure. Therefore it's common to 175 iv := ciphertext[:aes.BlockSize] 178 stream := cipher.NewCFBDecrypter(block, iv) [all...] |
/external/boringssl/src/include/openssl/ |
aes.h | 149 // bytes. |iv| must point to an 8 byte value or be NULL to use the default IV. 153 OPENSSL_EXPORT int AES_wrap_key(const AES_KEY *key, const uint8_t *iv, 157 // bytes. |iv| must point to an 8 byte value or be NULL to use the default IV. 161 OPENSSL_EXPORT int AES_unwrap_key(const AES_KEY *key, const uint8_t *iv,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
GcmSpecUtil.java | 57 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); local 59 return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramSpec, new Object[0])).intValue() / 8);
|
/external/libhevc/common/arm/ |
ihevc_weighted_pred_uni.s | 173 vld1.s16 {d9},[r5],r2 @load and increment the pi2_src_tmp iv iteration 186 vmull.s16 q6,d9,d0[0] @vmull_n_s16(pi2_src_val2, (int16_t) wgt0) iv iteration 192 vadd.i32 q6,q6,q15 @vaddq_s32(i4_tmp2_t, tmp_lvl_shift_t) iv iteration 197 vshl.s32 q6,q6,q14 @vshlq_s32(i4_tmp2_t, tmp_shift_t) iv iteration 205 vqmovun.s32 d12,q6 @vqmovun_s32(sto_res_tmp1) iv iteration 207 vmov.s32 d13,d12 @vcombine_u16(sto_res_tmp2, sto_res_tmp2) iv iteration 209 vqmovn.u16 d12,q6 @vqmovn_u16(sto_res_tmp3) iv iteration 212 vst1.32 {d12[0]},[r6],r3 @store pu1_dst iv iteration
|
ihevc_weighted_pred_bi.s | 217 vld1.s16 {d2},[r6],r3 @load and increment the pi2_src_tmp1 iv iteration 221 vld1.s16 {d3},[r8],r4 @load and increment the pi2_src_tmp1 iv iteration 232 vmull.s16 q9,d2,d7[0] @vmull_n_s16(pi2_src1_val2, (int16_t) wgt0) iv iteration 237 vmull.s16 q10,d3,d7[1] @vmull_n_s16(pi2_src2_val2, (int16_t) wgt1) iv iteration 242 vadd.s32 q9,q9,q10 @vaddq_s32(i4_tmp2_t1, i4_tmp2_t2) iv iteration 245 vadd.s32 q9,q9,q15 @vaddq_s32(i4_tmp2_t1, tmp_lvl_shift_t) iv iteration 249 vshl.s32 q9,q9,q14 @vshlq_s32(i4_tmp2_t1, tmp_shift_t) iv iteration 255 vqmovun.s32 d18,q9 @vqmovun_s32(sto_res_tmp1) iv iteration 258 vqmovn.u16 d18,q9 @vqmovn_u16(sto_res_tmp3) iv iteration 260 vst1.s32 {d18[0]},[r10],r5 @store pu1_dst iv iteratio [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
CryptoPlugin.cpp | 35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples,
|
Session.cpp | 65 const KeyId keyId, const Iv iv, const void* source, 79 key, iv,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDrm.h | 98 uint8_t iv[kBlockSize]; member in struct:android::NuPlayerDrm::CryptoInfo 107 uint8_t iv[kBlockSize],
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
shadows.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
shadows.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
shadows.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
shadows_f.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/system/iot/attestation/atap/libatap/ |
atap_ops.h | 126 /* Encrypts |len| bytes of |plaintext| using |key| and |iv|, and outputs 133 const uint8_t iv[ATAP_GCM_IV_LEN], 138 /* Decrypts |len| bytes of |ciphertext| using |key|, |iv|, and |tag|, and 144 const uint8_t iv[ATAP_GCM_IV_LEN],
|
/system/iot/attestation/atap/ops/ |
atap_ops_delegate.h | 77 const uint8_t iv[ATAP_GCM_IV_LEN], 85 const uint8_t iv[ATAP_GCM_IV_LEN],
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
CipherBasicsTest.java | 97 // to throw an exception due to a lack of IV (required for CTR, prohibited for ECB). 116 byte[] iv = toBytes(line[IV_INDEX]); 120 // Initialize the IV, if there is one 122 if (iv.length > 0) { 124 params.init(iv, "RAW"); 168 byte[] iv = toBytes(line[IV_INDEX]); 182 params = new GCMParameterSpec(8 * tag.length, iv); 184 params = new IvParameterSpec(iv);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UResource.java | 428 int[] iv = getIntVector(); local 430 sb.append(iv.length).append("]{"); 431 if (iv.length != 0) { 432 sb.append(iv[0]); 433 for (int i = 1; i < iv.length; ++i) { 434 sb.append(", ").append(iv[i]);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UResource.java | 426 int[] iv = getIntVector(); local 428 sb.append(iv.length).append("]{"); 429 if (iv.length != 0) { 430 sb.append(iv[0]); 431 for (int i = 1; i < iv.length; ++i) { 432 sb.append(", ").append(iv[i]);
|
/external/libpcap/ |
pcap-bt-monitor-linux.c | 81 struct iovec iv[2]; local 91 iv[0].iov_base = &hdr; 92 iv[0].iov_len = sizeof(hdr); 93 iv[1].iov_base = pktd + sizeof(pcap_bluetooth_linux_monitor_header); 94 iv[1].iov_len = handle->snapshot; 98 msg.msg_iov = iv;
|
/external/scapy/scapy/layers/ |
ipsec.py | 147 StrField('iv', ''), 204 @param salt_size: the length of the salt to use as the IV prefix. 246 self._format_mode_iv = lambda iv, **kw: iv 323 payload_len = len(esp.iv) + len(esp.data) + len(esp.padding) + 2 342 mode_iv = self._format_mode_iv(algo=self, sa=sa, iv=esp.iv) 354 return ESP(spi=esp.spi, seq=esp.seq, data=esp.iv + data) 372 iv = esp.data[:self.iv_size] 377 mode_iv = self._format_mode_iv(sa=sa, iv=iv [all...] |
/frameworks/base/services/core/java/com/android/server/locksettings/ |
SyntheticPasswordCrypto.java | 59 byte[] iv = Arrays.copyOfRange(blob, 0, PROFILE_KEY_IV_SIZE); 63 cipher.init(Cipher.DECRYPT_MODE, key, new GCMParameterSpec(128, iv)); 78 byte[] iv = cipher.getIV(); 79 if (iv.length != PROFILE_KEY_IV_SIZE) { 80 throw new RuntimeException("Invalid iv length: " + iv.length); 83 outputStream.write(iv);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MiniDrawerView.java | 147 final ImageView iv = (ImageView) view.findViewById(R.id.image_view); local 148 iv.setTag(new FolderItem(f, iv)); 149 iv.setContentDescription(f.name); 162 public FolderItem(Folder f, ImageView iv) { 164 view = iv;
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug242.go | 118 var iv I 120 *e3(&iv, 19), p1 = e2(s1, 20).(I) 122 *e3(&iv, 21), p2 = e2(s2, 22).(I)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug242.go | 118 var iv I 120 *e3(&iv, 19), p1 = e2(s1, 20).(I) 122 *e3(&iv, 21), p2 = e2(s2, 22).(I)
|