Home
last modified time | relevance | path

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

/freebsd/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/contrib/libpcap/
H A Dsf-pcapng.c53 bpf_u_int32 block_type; member
185 bpf_u_int32 block_type; member
295 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
383 cursor->block_type = bhdr.block_type; in read_block()
400 cursor->block_type); in get_from_block_data()
945 bhdrp->block_type = magic_int; in pcap_ng_check_header()
1011 switch (cursor.block_type) { in pcap_ng_check_header()
1128 switch (cursor.block_type) { in pcap_ng_next_packet()
/freebsd/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/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c605 const int block_type = (int)IO_read_bits(in, 2); in decompress_data() local
608 switch (block_type) { in decompress_data()
690 const int block_type,
695 const int block_type,
719 int block_type = (int)IO_read_bits(in, 2); in decode_literals() local
722 if (block_type <= 1) { in decode_literals()
724 return decode_literals_simple(in, literals, block_type, in decode_literals()
728 return decode_literals_compressed(ctx, in, literals, block_type, in decode_literals()
735 const int block_type, in decode_literals_simple() argument
769 switch (block_type) { in decode_literals_simple()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cab.c74 char block_type; member
2458 ds->block_type = lzx_br_bits(br, 3); in lzx_read_blocks()
2461 switch (ds->block_type) { in lzx_read_blocks()
2485 if (ds->block_type != UNCOMPRESSED_BLOCK) { in lzx_read_blocks()
2486 if (ds->block_type == VERBATIM_BLOCK) in lzx_read_blocks()
2766 char block_type = ds->block_type; in lzx_decode_blocks() local
2891 if (block_type == ALIGNED_OFFSET_BLOCK && in lzx_decode_blocks()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzap.c98 uint64_t block_type = *(uint64_t *)vbuf; in fzap_byteswap() local
100 if (block_type == ZBT_LEAF || block_type == BSWAP_64(ZBT_LEAF)) in fzap_byteswap()
H A Dzap_micro.c378 uint64_t block_type = *(uint64_t *)buf; in zap_byteswap() local
380 if (block_type == ZBT_MICRO || block_type == BSWAP_64(ZBT_MICRO)) { in zap_byteswap()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2228 QualType block_type = m_ast_up->getBlockPointerType( in CreateBlockPointerType() local
2231 return GetType(block_type); in CreateBlockPointerType()