HomeSort by relevance Sort by last modified time
    Searched refs:block_type (Results 1 - 25 of 27) sorted by null

1 2

  /external/dropbear/libtomcrypt/src/pk/pkcs1/
pkcs_1_v1_5_encode.c 24 * \param block_type Block type to use in padding (\sa ltc_pkcs_1_v1_5_blocks)
35 int block_type,
46 /* valid block_type? */
47 if ((block_type != LTC_PKCS_1_EMSA) &&
48 (block_type != LTC_PKCS_1_EME)) {
52 if (block_type == LTC_PKCS_1_EME) { /* encryption padding, we need a valid PRNG */
75 if (block_type == LTC_PKCS_1_EME) {
97 out[1] = (unsigned char)block_type; /* block_type 1 or 2 */
pkcs_1_v1_5_decode.c 24 * @param block_type Block type to use in padding (\sa ltc_pkcs_1_v1_5_blocks)
34 int block_type,
56 if ((msg[0] != 0x00) || (msg[1] != (unsigned char)block_type)) {
61 if (block_type == LTC_PKCS_1_EME) {
  /external/chromium/net/disk_cache/
block_files.h 38 // Creates a new entry on a block file. block_type indicates the size of block
41 bool CreateBlock(FileType block_type, int block_count, Addr* block_address);
68 MappedFile* FileForNewBlock(FileType block_type, int block_count);
74 int CreateNextBlockFile(FileType block_type);
77 void RemoveEmptyFile(FileType block_type);
block_files.cc 241 bool BlockFiles::CreateBlock(FileType block_type, int block_count,
244 if (block_type < RANKINGS || block_type > BLOCK_4K ||
250 MappedFile* file = FileForNewBlock(block_type, block_count);
269 Addr address(block_type, block_count, header->this_file, index);
469 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) {
471 MappedFile* file = block_files_[block_type - 1];
515 int BlockFiles::CreateNextBlockFile(FileType block_type) {
517 if (CreateBlockFile(i, block_type, false))
525 void BlockFiles::RemoveEmptyFile(FileType block_type) {
    [all...]
backend_impl.h 109 bool CreateBlock(FileType block_type, int block_count,
backend_impl.cc 877 bool BackendImpl::CreateBlock(FileType block_type, int block_count,
879 return block_files_.CreateBlock(block_type, block_count, block_address);
    [all...]
  /external/wpa_supplicant_8/src/tls/
pkcs1.h 12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
pkcs1.c 16 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen,
44 *pos++ = block_type; /* BT */
46 switch (block_type) {
69 "%d", __func__, block_type);
79 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
87 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
  /external/chromium/net/base/
pem_tokenizer_unittest.cc 23 EXPECT_EQ("EXPECTED-BLOCK", tokenizer.block_type());
41 EXPECT_EQ("EXPECTED-BLOCK", tokenizer.block_type());
76 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type());
81 EXPECT_EQ("BLOCK-TWO", tokenizer.block_type());
101 EXPECT_EQ("MISSING-FOOTER", tokenizer.block_type());
125 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type());
163 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type());
pem_tokenizer.h 37 const std::string& block_type() const { return block_type_; } function in class:net::PEMTokenizer
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_pkcs.h 29 int block_type,
38 int block_type,
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_get_side_info.cpp 165 si->ch[ch].gran[gr].block_type = (tmp << 10) >> 30; /* 2 */;
177 if (si->ch[ch].gran[gr].block_type == 0)
181 else if ((si->ch[ch].gran[gr].block_type == 2)
204 si->ch[ch].gran[gr].block_type = 0;
235 si->ch[ch].gran[0].block_type = (tmp << 10) >> 30; /* 2 */;
247 if (si->ch[ch].gran[0].block_type == 0)
251 else if ((si->ch[ch].gran[0].block_type == 2)
274 si->ch[ch].gran[0].block_type = 0;
pvmp3_dec_defs.h 145 uint32 block_type; member in struct:__anon19365
pvmp3_mpeg2_get_scale_factors.cpp 143 if (gr_info->window_switching_flag && (gr_info->block_type == 2))
pvmp3_reorder.cpp 52 If short blocks are used (block_type[gr][ch]=='10'), the rescaled data
128 if (gr_info->window_switching_flag && (gr_info->block_type == 2))
pvmp3_get_scale_factors.cpp 143 if (gr_info->window_switching_flag && (gr_info->block_type == 2))
pvmp3_mpeg2_get_scale_data.cpp 213 if (gr_info->block_type == 2)
pvmp3_alias_reduction.cpp 175 if (gr_info->window_switching_flag && gr_info->block_type == 2)
pvmp3_huffman_parsing.cpp 144 /*int32 bt = (*si).ch[ch].gr[gr].window_switching_flag && ((*si).ch[ch].gr[gr].block_type == 2);*/
151 if ((grInfo->window_switching_flag) && (grInfo->block_type == 2))
pvmp3_dequantize_sample.cpp 200 if (gr_info->window_switching_flag && (gr_info->block_type == 2))
444 } /* if (gr_info->window_switching_flag && (gr_info->block_type == 2)) */
pvmp3_stereo_proc.cpp 286 if (gr_info->window_switching_flag && (gr_info->block_type == 2))
543 } /* if (gr_info->window_switching_flag && (gr_info->block_type == 2)) */
657 } /* if (gr_info->window_switching_flag && (gr_info->block_type == 2)) */
pvmp3_mpeg2_stereo_proc.cpp 261 if (gr_info_l->window_switching_flag && (gr_info_l->block_type == 2))
563 } /* if (gr_info->window_switching_flag && (gr_info->block_type == 2)) */
681 } /* if (gr_info->window_switching_flag && (gr_info->block_type == 2)) */
pvmp3_framedecoder.cpp 479 pVars->sideInfo.ch[ch].gran[gr].block_type,
  /external/grub/stage2/
gunzip.c 147 static int block_type; variable
1084 block_type = (unsigned) b & 3;
1091 if (block_type == INFLATE_STORED)
1093 if (block_type == INFLATE_FIXED)
1095 if (block_type == INFLATE_DYNAMIC)
    [all...]
  /external/wpa_supplicant_8/src/crypto/
crypto_libtomcrypt.c 486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen,
514 *pos++ = block_type; /* BT */
516 switch (block_type) {
539 "%d", __func__, block_type);
549 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type,
558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,

Completed in 852 milliseconds

1 2