Home
last modified time | relevance | path

Searched refs:block_type (Results 1 – 15 of 15) sorted by relevance

/external/dropbear/libtomcrypt/src/pk/pkcs1/
Dpkcs_1_v1_5_encode.c35 int block_type, in pkcs_1_v1_5_encode() argument
47 if ((block_type != LTC_PKCS_1_EMSA) && in pkcs_1_v1_5_encode()
48 (block_type != LTC_PKCS_1_EME)) { in pkcs_1_v1_5_encode()
52 if (block_type == LTC_PKCS_1_EME) { /* encryption padding, we need a valid PRNG */ in pkcs_1_v1_5_encode()
75 if (block_type == LTC_PKCS_1_EME) { in pkcs_1_v1_5_encode()
97 out[1] = (unsigned char)block_type; /* block_type 1 or 2 */ in pkcs_1_v1_5_encode()
Dpkcs_1_v1_5_decode.c34 int block_type, in pkcs_1_v1_5_decode() argument
56 if ((msg[0] != 0x00) || (msg[1] != (unsigned char)block_type)) { in pkcs_1_v1_5_decode()
61 if (block_type == LTC_PKCS_1_EME) { in pkcs_1_v1_5_decode()
/external/chromium/net/base/
Dpem_tokenizer_unittest.cc23 EXPECT_EQ("EXPECTED-BLOCK", tokenizer.block_type()); in TEST()
41 EXPECT_EQ("EXPECTED-BLOCK", tokenizer.block_type()); in TEST()
76 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type()); in TEST()
81 EXPECT_EQ("BLOCK-TWO", tokenizer.block_type()); in TEST()
101 EXPECT_EQ("MISSING-FOOTER", tokenizer.block_type()); in TEST()
125 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type()); in TEST()
163 EXPECT_EQ("BLOCK-ONE", tokenizer.block_type()); in TEST()
Dpem_tokenizer.h37 const std::string& block_type() const { return block_type_; } in block_type() function
/external/wpa_supplicant_8/src/tls/
Dpkcs1.c16 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
44 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
46 switch (block_type) { in pkcs1_generate_encryption_block()
69 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
79 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt() argument
87 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in pkcs1_encrypt()
Dpkcs1.h12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
/external/chromium/net/disk_cache/
Dblock_files.h41 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);
Dblock_files.cc241 bool BlockFiles::CreateBlock(FileType block_type, int block_count, in CreateBlock() argument
244 if (block_type < RANKINGS || block_type > BLOCK_4K || in CreateBlock()
250 MappedFile* file = FileForNewBlock(block_type, block_count); in CreateBlock()
269 Addr address(block_type, block_count, header->this_file, index); in CreateBlock()
469 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) { in FileForNewBlock() argument
471 MappedFile* file = block_files_[block_type - 1]; in FileForNewBlock()
515 int BlockFiles::CreateNextBlockFile(FileType block_type) { in CreateNextBlockFile() argument
517 if (CreateBlockFile(i, block_type, false)) in CreateNextBlockFile()
525 void BlockFiles::RemoveEmptyFile(FileType block_type) { in RemoveEmptyFile() argument
526 MappedFile* file = block_files_[block_type - 1]; in RemoveEmptyFile()
Dbackend_impl.h109 bool CreateBlock(FileType block_type, int block_count,
Dbackend_impl.cc877 bool BackendImpl::CreateBlock(FileType block_type, int block_count, in CreateBlock() argument
879 return block_files_.CreateBlock(block_type, block_count, block_address); in CreateBlock()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_pkcs.h29 int block_type,
38 int block_type,
/external/grub/stage2/
Dgunzip.c147 static int block_type; variable
1084 block_type = (unsigned) b & 3; in get_new_block()
1091 if (block_type == INFLATE_STORED) in get_new_block()
1093 if (block_type == INFLATE_FIXED) in get_new_block()
1095 if (block_type == INFLATE_DYNAMIC) in get_new_block()
1120 if (block_type > INFLATE_DYNAMIC) in inflate_window()
1129 if (block_type == INFLATE_STORED) in inflate_window()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_libtomcrypt.c486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
514 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
516 switch (block_type) { in pkcs1_generate_encryption_block()
539 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
549 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, in crypto_rsa_encrypt_pkcs1() argument
558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in crypto_rsa_encrypt_pkcs1()
/external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
Dprocess.js676 function tighten(statements, block_type) { argument
731 if (block_type == "lambda") statements = (function(i, a, stat){
/external/dropbear/libtomcrypt/
Dcrypt.tex3073 int block_type,
3095 int block_type,