void _mongoc_scram_init (mongoc_scram_t *scram) { BSON_ASSERT (scram); memset (scram, 0, sizeof *scram); mongoc_crypto_init (&scram->crypto); }
void _mongoc_scram_init (mongoc_scram_t *scram, mongoc_crypto_hash_algorithm_t algo) { BSON_ASSERT (scram); memset (scram, 0, sizeof *scram); mongoc_crypto_init (&scram->crypto, algo); }