Home
last modified time | relevance | path

Searched refs:iv_size (Results 1 – 18 of 18) sorted by relevance

/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c60 rl->iv_size = data->block_size; in tlsv1_record_set_cipher_suite()
176 rl->iv_size && rl->tls_version >= TLS_VERSION_1_1; in tlsv1_record_send()
179 if (pos + rl->iv_size > buf + buf_size) in tlsv1_record_send()
187 if (os_get_random(pos, rl->iv_size)) in tlsv1_record_send()
189 pos += rl->iv_size; in tlsv1_record_send()
234 if (rl->iv_size) { in tlsv1_record_send()
237 pad = (len + 1) % rl->iv_size; in tlsv1_record_send()
239 pad = rl->iv_size - pad; in tlsv1_record_send()
366 if (rl->iv_size) { in tlsv1_record_receive()
380 if (plen < rl->iv_size) { in tlsv1_record_receive()
[all …]
Dtlsv1_server.c61 conn->rl.iv_size); in tlsv1_server_derive_keys()
89 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); in tlsv1_server_derive_keys()
90 pos += conn->rl.iv_size; in tlsv1_server_derive_keys()
92 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size); in tlsv1_server_derive_keys()
93 pos += conn->rl.iv_size; in tlsv1_server_derive_keys()
568 conn->rl.iv_size); in tlsv1_server_get_keyblock_size()
Dtlsv1_client.c80 key_block_len += 2 * conn->rl.iv_size; in tls_derive_keys()
109 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size); in tls_derive_keys()
110 pos += conn->rl.iv_size; in tls_derive_keys()
112 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); in tls_derive_keys()
113 pos += conn->rl.iv_size; in tls_derive_keys()
120 os_memset(conn->rl.write_iv, 0, conn->rl.iv_size); in tls_derive_keys()
716 conn->rl.iv_size); in tlsv1_client_get_keyblock_size()
Dtlsv1_record.h43 size_t iv_size; /* also block_size */ member
/external/chromium_org/media/mp4/
Dcenc.cc18 bool FrameCENCInfo::Parse(int iv_size, BufferReader* reader) { in Parse() argument
21 RCHECK(iv_size == 8 || iv_size == 16); in Parse()
24 for (int i = 0; i < iv_size; i++) in Parse()
Dcenc.h24 bool Parse(int iv_size, BufferReader* r) WARN_UNUSED_RESULT;
/external/chromium_org/media/webm/
Dwebm_crypto_helpers.cc19 std::string GenerateWebMCounterBlock(const uint8* iv, int iv_size) { in GenerateWebMCounterBlock() argument
20 std::string counter_block(reinterpret_cast<const char*>(iv), iv_size); in GenerateWebMCounterBlock()
21 counter_block.append(DecryptConfig::kDecryptionKeySize - iv_size, 0); in GenerateWebMCounterBlock()
/external/chromium_org/ppapi/c/private/
Dpp_content_decryptor.h124 uint32_t iv_size; member
/external/chromium_org/media/base/android/
Dmedia_codec_bridge.h119 int iv_size,
Dmedia_codec_bridge.cc250 int iv_size, in QueueSecureInputBuffer() argument
264 base::android::ToJavaByteArray(env, iv, iv_size); in QueueSecureInputBuffer()
/external/chromium_org/media/cdm/ppapi/
Dcdm_adapter.cc67 PP_DCHECK(encrypted_block_info.iv_size <= arraysize(encrypted_block_info.iv)); in ConfigureInputBuffer()
68 input_buffer->iv_size = encrypted_block_info.iv_size; in ConfigureInputBuffer()
69 input_buffer->iv = encrypted_block_info.iv_size > 0 ? in ConfigureInputBuffer()
Dclear_key_cdm.cc99 input_buffer.iv_size), in CopyDecoderBufferFrom()
/external/chromium_org/ppapi/api/private/
Dpp_content_decryptor.idl117 uint32_t iv_size;
/external/chromium_org/net/third_party/nss/ssl/
Dderive.c116 IVSize = cipher_def->iv_size; in ssl3_KeyAndMacDeriveBypass()
Dssl3con.c2184 iv.len = cipher_def->iv_size; in ssl3_InitPendingContextsPKCS11()
2206 iv.len = cipher_def->iv_size; in ssl3_InitPendingContextsPKCS11()
2669 ivLen = cipher_def->iv_size; in ssl3_CompressMACEncryptRecord()
2953 spaceNeeded += ss->ssl3.cwSpec->cipher_def->iv_size; in ssl3_SendRecord()
3874 key_material_params.ulIVSizeInBits = cipher_def->iv_size * BPB; in ssl3_DeriveConnectionKeysPKCS11()
3879 memset(pwSpec->client.write_iv, 0, cipher_def->iv_size); in ssl3_DeriveConnectionKeysPKCS11()
3880 memset(pwSpec->server.write_iv, 0, cipher_def->iv_size); in ssl3_DeriveConnectionKeysPKCS11()
11891 minLength += cipher_def->iv_size; in ssl3_HandleRecord()
11914 ivLen = cipher_def->iv_size; in ssl3_HandleRecord()
Dsslimpl.h756 int iv_size; member
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc115 block_info->iv_size = decrypt_config->iv().size(); in MakeEncryptedBlockInfo()
/external/chromium_org/net/third_party/nss/patches/
Daesgcm.patch174 int iv_size;
1103 minLength += cipher_def->iv_size;