/external/chromium_org/media/webm/ |
webm_crypto_helpers.cc | 17 // |iv_size| is the size of |iv| in btyes. Returns a string of 19 std::string GenerateWebMCounterBlock(const uint8* iv, int iv_size) { 20 std::string counter_block(reinterpret_cast<const char*>(iv), iv_size); local 21 counter_block.append(DecryptConfig::kDecryptionKeySize - iv_size, 0);
|
/external/chromium_org/media/mp4/ |
cenc.cc | 18 bool FrameCENCInfo::Parse(int iv_size, BufferReader* reader) { 21 RCHECK(iv_size == 8 || iv_size == 16); 24 for (int i = 0; i < iv_size; i++)
|
cenc.h | 24 bool Parse(int iv_size, BufferReader* r);
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_record.c | 60 rl->iv_size = data->block_size; 176 rl->iv_size && rl->tls_version >= TLS_VERSION_1_1; 179 if (pos + rl->iv_size > buf + buf_size) 187 if (os_get_random(pos, rl->iv_size)) 189 pos += rl->iv_size; 234 if (rl->iv_size) { 237 pad = (len + 1) % rl->iv_size; 239 pad = rl->iv_size - pad; 366 if (rl->iv_size) { 380 if (plen < rl->iv_size) { [all...] |
tlsv1_record.h | 43 size_t iv_size; /* also block_size */ member in struct:tlsv1_record_layer
|
tlsv1_server.c | 61 conn->rl.iv_size); 89 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); 90 pos += conn->rl.iv_size; 92 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size); 93 pos += conn->rl.iv_size; 568 conn->rl.iv_size);
|
tlsv1_client.c | 80 key_block_len += 2 * conn->rl.iv_size; 109 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size); 110 pos += conn->rl.iv_size; 112 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); 113 pos += conn->rl.iv_size; 120 os_memset(conn->rl.write_iv, 0, conn->rl.iv_size); 716 conn->rl.iv_size);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
ConnectionStateTLS.java | 92 int iv_size = cipherSuite.ivSize; local 105 logger.println(" IV size:" + iv_size); 112 // 2*hash_size + 2*key_size + 2*iv_size 113 byte[] key_block = new byte[2*hash_size + 2*key_size + 2*iv_size]; 155 byte[] iv_block = new byte[2*iv_size]; 157 clientIV = new IvParameterSpec(iv_block, 0, iv_size); 158 serverIV = new IvParameterSpec(iv_block, iv_size, iv_size); 162 2*(hash_size+key_size), iv_size); 164 2*(hash_size+key_size)+iv_size, iv_size) [all...] |
ConnectionStateSSLv3.java | 70 int iv_size = cipherSuite.ivSize; local 83 logger.println(" IV size:" + iv_size); 90 // 2*hash_size + 2*key_size + 2*iv_size 91 byte[] key_block = new byte[2*hash_size + 2*key_size + 2*iv_size]; 137 clientIV = new IvParameterSpec(md5.digest(), 0, iv_size); 140 serverIV = new IvParameterSpec(md5.digest(), 0, iv_size); 144 2*hash_size+2*key_size, iv_size); 146 2*hash_size+2*key_size+iv_size, iv_size);
|
/external/chromium_org/ppapi/api/private/ |
pp_content_decryptor.idl | 117 uint32_t iv_size;
|
/external/chromium_org/media/base/android/ |
media_codec_bridge.h | 73 const uint8* iv, int iv_size,
|
media_codec_bridge.cc | 127 int key_id_size, const uint8* iv, int iv_size, 136 base::android::ToJavaByteArray(env, iv, iv_size);
|
/external/chromium_org/ppapi/c/private/ |
pp_content_decryptor.h | 124 uint32_t iv_size; member in struct:PP_EncryptedBlockInfo
|
/external/chromium_org/media/cdm/ |
aes_decryptor_unittest.cc | 184 // |iv_size| is the size of |iv| in bytes. Returns a string of 186 static std::string GenerateCounterBlock(const uint8* iv, int iv_size) { 187 CHECK_GT(iv_size, 0); 188 CHECK_LE(iv_size, DecryptConfig::kDecryptionKeySize); 190 std::string counter_block(reinterpret_cast<const char*>(iv), iv_size); local 191 counter_block.append(DecryptConfig::kDecryptionKeySize - iv_size, 0); 238 const uint8* iv, int iv_size, 247 std::string(reinterpret_cast<const char*>(iv), iv_size),
|
/external/chromium_org/media/cdm/ppapi/ |
cdm_wrapper.cc | 81 PP_DCHECK(encrypted_block_info.iv_size <= arraysize(encrypted_block_info.iv)); 82 input_buffer->iv_size = encrypted_block_info.iv_size; 83 input_buffer->iv = encrypted_block_info.iv_size > 0 ? [all...] |
clear_key_cdm.cc | 97 input_buffer.iv_size),
|
/external/chromium_org/content/renderer/pepper/ |
content_decryptor_delegate.cc | 115 block_info->iv_size = decrypt_config->iv().size(); [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
derive.c | 116 IVSize = cipher_def->iv_size; 266 ** client_write_IV[CipherSpec.IV_size] 274 ** server_write_IV[CipherSpec.IV_size] 392 ** client_write_IV[SecurityParameters.IV_size] 393 ** server_write_IV[SecurityParameters.IV_size]
|
sslimpl.h | 720 int iv_size; member in struct:ssl3BulkCipherDefStr [all...] |
ssl3con.c | [all...] |