Searched defs:block_type (Results 1 - 14 of 14) sorted by relevance

/external/chromium/net/base/
H A Dpem_tokenizer.h37 const std::string& block_type() const { return block_type_; } function in class:net::PEMTokenizer
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_v1_5_decode.c24 * @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
H A Dpkcs_1_v1_5_encode.c24 * \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
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs1.c16 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 Dpkcs1.c16 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 Dpkcs1.c16 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/disk_cache/
H A Dblock_files.cc241 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 Dbackend_impl.cc877 bool BackendImpl::CreateBlock(FileType block_type, int block_count, argument
879 return block_files_.CreateBlock(block_type, block_count, block_address);
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dcrypto_internal.c569 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
597 *pos++ = block_type; /* BT */
599 switch (block_type) {
622 "%d", __func__, block_type);
632 static int crypto_rsa_encrypt_pkcs1(int block_type, struct crypto_rsa_key *key, argument
641 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
H A Dcrypto_libtomcrypt.c492 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument
520 *pos++ = block_type; /* BT */
522 switch (block_type) {
545 "%d", __func__, block_type);
555 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, argument
564 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_libtomcrypt.c486 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 Dcrypto_libtomcrypt.c486 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 Dcrypto_libtomcrypt.c486 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/grub/stage2/
H A Dgunzip.c147 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)

Completed in 333 milliseconds