Home
last modified time | relevance | path

Searched refs:block_len (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/base/
Dmessagedigest.cc114 size_t block_len = kBlockSize; in ComputeHmac() local
120 scoped_ptr<uint8_t[]> new_key(new uint8_t[block_len]); in ComputeHmac()
121 if (key_len > block_len) { in ComputeHmac()
122 ComputeDigest(digest, key, key_len, new_key.get(), block_len); in ComputeHmac()
123 memset(new_key.get() + digest->Size(), 0, block_len - digest->Size()); in ComputeHmac()
126 memset(new_key.get() + key_len, 0, block_len - key_len); in ComputeHmac()
129 scoped_ptr<uint8_t[]> o_pad(new uint8_t[block_len]); in ComputeHmac()
130 scoped_ptr<uint8_t[]> i_pad(new uint8_t[block_len]); in ComputeHmac()
131 for (size_t i = 0; i < block_len; ++i) { in ComputeHmac()
137 digest->Update(i_pad.get(), block_len); in ComputeHmac()
[all …]
/external/e2fsprogs/debugfs/
Ddo_journal.c264 blk64_t *block_list, size_t block_len, in journal_add_blocks_to_trans() argument
283 if (block_len == 0) in journal_add_blocks_to_trans()
312 for (i = 0; i < block_len; i++) { in journal_add_blocks_to_trans()
359 if (i == block_len - 1) in journal_add_blocks_to_trans()
499 size_t block_len, blk64_t *revoke_list, in journal_write() argument
511 blocks = journal_guess_blocks(journal, block_len, revoke_len); in journal_write()
516 err = journal_add_blocks_to_trans(&trans, block_list, block_len, fp); in journal_write()
/external/openssh/
Ddigest-libc.c51 size_t block_len; member
166 return digest == NULL ? 0 : digest->block_len; in ssh_digest_blocksize()
/external/e2fsprogs/e2fsck/
Dpass2.c681 unsigned int block_len) in salvage_directory() argument
693 if (block_len - *offset < EXT2_DIR_ENTRY_HEADER_LEN) { in salvage_directory()
695 rec_len = block_len - *offset; in salvage_directory()
700 left = block_len - *offset - rec_len; in salvage_directory()
730 (*offset + rec_len <= block_len)) { in salvage_directory()
745 prev_rec_len += block_len - *offset; in salvage_directory()
749 rec_len = block_len - *offset; in salvage_directory()
/external/valgrind/coregrind/m_debuginfo/
Dreaddwarf.c979 ULong block_len = step_leb128U(&p); in read_unitinfo_dwarf2() local
980 p = ML_(cur_plus)(p, block_len); in read_unitinfo_dwarf2()