@@ -325,7 +325,7 @@ struct aws_cryptosdk_cmm_vt {
325
325
};
326
326
327
327
/**
328
- * Initialize the base structure for a CMM. This should be called by the /implementation/ of a CMM, to set up the
328
+ * Initialize the base structure for a CMM. The implementation of a CMM needs to call this function to set up the
329
329
* vtable and reference count. On return, the reference count is initialized to 1.
330
330
*/
331
331
AWS_CRYPTOSDK_STATIC_INLINE void aws_cryptosdk_cmm_base_init (
@@ -336,7 +336,7 @@ AWS_CRYPTOSDK_STATIC_INLINE void aws_cryptosdk_cmm_base_init(
336
336
337
337
/**
338
338
* @ingroup cmm_kr_highlevel
339
- * Decrements the reference count on the CMM; if the new reference count is zero, the CMM is destroyed.
339
+ * Decrements the reference count on the CMM. If the new reference count is zero, the CMM is destroyed.
340
340
*/
341
341
AWS_CRYPTOSDK_STATIC_INLINE void aws_cryptosdk_cmm_release (struct aws_cryptosdk_cmm * cmm ) {
342
342
if (cmm && aws_cryptosdk_private_refcount_down (& cmm -> refcount )) {
@@ -346,7 +346,7 @@ AWS_CRYPTOSDK_STATIC_INLINE void aws_cryptosdk_cmm_release(struct aws_cryptosdk_
346
346
347
347
/**
348
348
* @ingroup cmm_kr_highlevel
349
- * Increments the reference count on the cmm .
349
+ * Increments the reference count on the CMM .
350
350
*/
351
351
AWS_CRYPTOSDK_STATIC_INLINE struct aws_cryptosdk_cmm * aws_cryptosdk_cmm_retain (struct aws_cryptosdk_cmm * cmm ) {
352
352
aws_cryptosdk_private_refcount_up (& cmm -> refcount );
@@ -440,8 +440,8 @@ struct aws_cryptosdk_keyring_vt {
440
440
};
441
441
442
442
/**
443
- * Initialize the base structure for a keyring. This should be called by the / implementation/ of a keyring, to set up
444
- * the vtable and reference count. On return, the reference count is initialized to 1.
443
+ * Initialize the base structure for a keyring. The implementation of a keyring needs to call this function
444
+ * to set up the vtable and reference count. On return, the reference count is initialized to 1.
445
445
*/
446
446
AWS_CRYPTOSDK_STATIC_INLINE void aws_cryptosdk_keyring_base_init (
447
447
struct aws_cryptosdk_keyring * keyring , const struct aws_cryptosdk_keyring_vt * vtable ) {
0 commit comments