Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/wpa/src/tls/
H A Dpkcs1.c18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
46 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
48 switch (block_type) { in pkcs1_generate_encryption_block()
71 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt() argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in pkcs1_encrypt()
H A Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
/freebsd-12.1/contrib/libpcap/
H A Dsf-pcapng.c54 bpf_u_int32 block_type; member
185 bpf_u_int32 block_type; member
289 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
357 cursor->block_type = bhdr.block_type; in read_block()
374 cursor->block_type); in get_from_block_data()
900 bhdrp->block_type = magic; in pcap_ng_check_header()
952 switch (cursor.block_type) { in pcap_ng_check_header()
1081 switch (cursor.block_type) { in pcap_ng_next_packet()
/freebsd-12.1/contrib/wpa/src/crypto/
H A Dcrypto_libtomcrypt.c490 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
518 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
520 switch (block_type) { in pkcs1_generate_encryption_block()
543 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
553 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, in crypto_rsa_encrypt_pkcs1() argument
562 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in crypto_rsa_encrypt_pkcs1()
/freebsd-12.1/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c637 const int block_type = IO_read_bits(in, 2); in decompress_data() local
640 switch (block_type) { in decompress_data()
722 const int block_type,
727 const int block_type,
751 int block_type = IO_read_bits(in, 2); in decode_literals() local
754 if (block_type <= 1) { in decode_literals()
756 return decode_literals_simple(in, literals, block_type, in decode_literals()
767 const int block_type, in decode_literals_simple() argument
801 switch (block_type) { in decode_literals_simple()
825 const int block_type, in decode_literals_compressed() argument
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cab.c74 char block_type; member
2457 ds->block_type = lzx_br_bits(br, 3); in lzx_read_blocks()
2460 switch (ds->block_type) { in lzx_read_blocks()
2484 if (ds->block_type != UNCOMPRESSED_BLOCK) { in lzx_read_blocks()
2485 if (ds->block_type == VERBATIM_BLOCK) in lzx_read_blocks()
2765 char block_type = ds->block_type; in lzx_decode_blocks() local
2890 if (block_type == ALIGNED_OFFSET_BLOCK && in lzx_decode_blocks()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzap.c61 uint64_t block_type = *(uint64_t *)vbuf; in fzap_byteswap() local
63 if (block_type == ZBT_LEAF || block_type == BSWAP_64(ZBT_LEAF)) in fzap_byteswap()
H A Dzap_micro.c268 uint64_t block_type = *(uint64_t *)buf; in zap_byteswap() local
270 if (block_type == ZBT_MICRO || block_type == BSWAP_64(ZBT_MICRO)) { in zap_byteswap()
/freebsd-12.1/contrib/gdb/gdb/
H A Dmdebugread.c289 enum block_type { FUNCTION_BLOCK, NON_FUNCTION_BLOCK }; enum
291 static struct block *new_block (enum block_type);
4678 new_block (enum block_type type) in new_block()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp2239 QualType block_type = m_ast_ap->getBlockPointerType( in CreateBlockPointerType() local
2242 return CompilerType(this, block_type.getAsOpaquePtr()); in CreateBlockPointerType()