/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
H A D | 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 */ 33 pkcs_1_v1_5_encode(const unsigned char *msg, unsigned long msglen, int block_type, unsigned long modulus_bitlen, prng_state *prng, int prng_idx, unsigned char *out, unsigned long *outlen) argument
|
H A D | 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) { 32 pkcs_1_v1_5_decode(const unsigned char *msg, unsigned long msglen, int block_type, unsigned long modulus_bitlen, unsigned char *out, unsigned long *outlen, int *is_valid) argument
|
/external/chromium/net/disk_cache/ |
H A D | 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);
|
H A D | block_files.cc | 241 bool BlockFiles::CreateBlock(FileType block_type, int block_count, argument 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) { argument 471 MappedFile* file = block_files_[block_type - 1]; 515 int BlockFiles::CreateNextBlockFile(FileType block_type) { argument 517 if (CreateBlockFile(i, block_type, false)) 525 void BlockFiles::RemoveEmptyFile(FileType block_type) { argument [all...] |
H A D | backend_impl.h | 109 bool CreateBlock(FileType block_type, int block_count,
|
/external/chromium_org/net/disk_cache/v3/ |
H A D | block_bitmaps.h | 31 // Creates a new entry on a block file. block_type indicates the size of block 34 bool CreateBlock(FileType block_type, int block_count, Addr* block_address); 60 MappedFile* FileForNewBlock(FileType block_type, int block_count);
|
H A D | block_bitmaps.cc | 57 bool BlockFiles::CreateBlock(FileType block_type, int block_count, argument 60 if (block_type < RANKINGS || block_type > BLOCK_4K || 66 MappedFile* file = FileForNewBlock(block_type, block_count); 86 Addr address(block_type, block_count, header->this_file, index); 236 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) { argument 238 MappedFile* file = block_files_[block_type - 1];
|
/external/chromium_org/net/disk_cache/ |
H A D | block_files.h | 86 // Creates a new entry on a block file. block_type indicates the size of block 89 bool CreateBlock(FileType block_type, int block_count, Addr* block_address); 116 MappedFile* FileForNewBlock(FileType block_type, int block_count); 122 int CreateNextBlockFile(FileType block_type); 125 bool RemoveEmptyFile(FileType block_type);
|
H A D | block_files.cc | 279 bool BlockFiles::CreateBlock(FileType block_type, int block_count, argument 282 if (block_type < RANKINGS || block_type > BLOCK_4K || 288 MappedFile* file = FileForNewBlock(block_type, block_count); 308 Addr address(block_type, block_count, header->this_file, index); 516 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) { argument 518 MappedFile* file = block_files_[block_type - 1]; 563 int BlockFiles::CreateNextBlockFile(FileType block_type) { argument 565 if (CreateBlockFile(i, block_type, false)) 573 bool BlockFiles::RemoveEmptyFile(FileType block_type) { argument [all...] |
H A D | backend_impl.h | 103 bool CreateBlock(FileType block_type, int block_count,
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | pkcs1.h | 12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
|
H A D | pkcs1.c | 16 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 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, argument 87 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
|
/external/wpa_supplicant_8/src/tls/ |
H A D | pkcs1.h | 12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
|
H A D | pkcs1.c | 16 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 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, argument 87 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
|
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | pkcs1.h | 12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
|
H A D | pkcs1.c | 16 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 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, argument 87 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
|
/external/chromium/net/base/ |
H A D | 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());
|
H A D | pem_tokenizer.h | 37 const std::string& block_type() const { return block_type_; } function in class:net::PEMTokenizer
|
/external/chromium_org/net/cert/ |
H A D | 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());
|
H A D | pem_tokenizer.h | 37 const std::string& block_type() const { return block_type_; } function in class:net::PEMTokenizer
|
/external/dropbear/libtomcrypt/src/headers/ |
H A D | tomcrypt_pkcs.h | 29 int block_type, 38 int block_type,
|
/external/grub/stage2/ |
H A D | 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) 1120 if (block_type > INFLATE_DYNAMIC) 1129 if (block_type == INFLATE_STORED)
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_libtomcrypt.c | 486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 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, argument 558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_libtomcrypt.c | 486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 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, argument 558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_libtomcrypt.c | 486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 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, argument 558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
|