CCHmacFinal man page on Darwin

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
Darwin logo
[printable version]

CCHMAC(3)		 BSD Library Functions Manual		     CCHMAC(3)

NAME
     CCHmacInit, CCHmacUpdate, CCHmacFinal, CCHmac — Common HMAC Algorithm
     Interfaces

LIBRARY
     These functions are found in libSystem.

SYNOPSIS
     #include <CommonCrypto/CommonHMAC.h>

     void
     CCHmacInit(CCHmacContext *ctx, CCHmacAlgorithm algorithm,
	 const void *key, size_t keyLength);

     void
     CCHmacUpdate(CCHmacContext *ctx, const void *data, size_t dataLength);

     void
     CCHmacFinal(CCHmacContext *ctx, void *macOut);

     void
     CCHmac(CCHmacAlgorithm algorithm, const void *key, size_t keyLength,
	 const void *data, size_t dataLength, void *macOut);

DESCRIPTION
     This interface provides access to a number of HMAC algorithms. The fol‐
     lowing algorithms are available:

     kCCHmacAlgSHA1    - HMAC with SHA1 digest

     kCCHmacAlgMD5     - HMAC with MD5 digest

     kCCHmacAlgSHA256  - HMAC with SHA256 digest

     kCCHmacAlgSHA384  - HMAC with SHA384 digest

     kCCHmacAlgSHA224  - HMAC with SHA224 digest

     kCCHmacAlgSHA512  - HMAC with SHA512 digest

     The object declared in this interface, CCHmacContext, provides a handle
     for use with the CCHmacInit() CCHmacUpdate() and CCHmacFinal() calls to
     complete the HMAC operation.  In addition there is a one shot function,
     CCHmac() that performs a complete HMAC on a single piece of data.

HISTORY
     These functions are available in OS X 10.5 and later.

SEE ALSO
     CC_MD5(3cc), CC_SHA(3cc), CC_crypto(3cc), CCCrypto(3cc)

BSD				March 22, 2007				   BSD
[top]

List of man pages available for Darwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net