hu_AESMMOBegin()

Creates an AES MMO hash context object.

Synopsis:

#include "huaesmmo.h"
 
int hu_AESMMOBegin(size_t digestLen, sb_YieldCtx yieldCtx, sb_Context *hashContext, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

digestLen

The length (in bytes) of an AES MMO hash digest. The only acceptable value is SB_AESMMO_DIGEST_LEN.

yieldCtx

Ignored.

hashContext

The AES MMO context object pointer.

sbCtx

A global context.

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

Note: Yielding is not supported for message digest operations.

Returns:

SB_ERR_BAD_DIGEST_LEN

digestLen is an invalid digest length.

SB_ERR_NULL_CONTEXT_PTR

The hashContext object pointer is NULL.

SB_FAIL_ALLOC

Memory allocation failure.

SB_SUCCESS

Success.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus