bson_md5_t (3) - Linux Manuals
bson_md5_t: BSON MD5 Abstraction
Command to display bson_md5_t
manual in Linux: $ man 3 bson_md5_t
NAME
bson_md5_t - BSON MD5 Abstraction
SYNOPSIS
typedef struct
{
uint32_t count[2]; /* message length in bits, lsw first */
uint32_t abcd[4]; /* digest buffer */
uint8_t buf[64]; /* accumulate block */
} bson_md5_t;
DESCRIPTION
bson_md5_t encapsulates an implementation of the MD5 algorithm. This is used in OID generation for the MD5(hostname) bytes. It is also used by some libraries such as the MongoDB C driver.
COLOPHON
This page is part of libbson.
Please report any bugs at
https://jira.mongodb.org/browse/CDRIVER.
Pages related to bson_md5_t
- bson_md5_append (3) - Feeds more data into the MD5 algorithm.
- bson_md5_finish (3) - Completes the MD5 algorithm and stores the digest in digest.
- bson_md5_init (3) - Initialize a new instance of the MD5 algorithm.
- bson_malloc (3) - This is a portable malloc() wrapper.
- bson_malloc0 (3) - This is a portable malloc() wrapper that also sets the memory to zero. Similar to calloc().
- bson_mem_restore_vtable (3) - This function shall restore the default memory allocator to be used by Libbson.
- bson_mem_set_vtable (3) - This function shall install a new memory allocator to be used by Libbson.
- bson_append_array (3) - The bson_append_array() function shall append child to bson using the specified key. The type of the field will be an array, but it is the responsibility of the caller to ensure that the keys of child are properly formatted with string keys such as "0", "1", "2" and so forth.
- bson_append_array_begin (3) - The bson_append_array_begin() function shall begin appending an array field to bson. This allows for incrementally building a sub-array. Doing so will generally yield better performance as you will serialize to a single buffer. When done building the sub-array, the caller MUST call bson_append_array_end().