Run Time Type Identification values

Tag Macros

HU_TAG_CLASS ((x & 0x0000ff00))
Gets the algorithm class of a tag.
HU_TAG_ALGO ((x & 0x0000f000))
Gets the algorithm type of a tag.
HU_TAG_TYPE ((x & 0x00000f00))
Gets the TYPE of a tag.
HU_TAG_STRUCT ((x & 0x0000000f))
Gets the structure tags of a tag.
HU_TAG_LIB (( (tag) & (HU_TAG_LIB_LO_MASK | HU_TAG_LIB_HI_MASK) ))
Gets the implementation of a tag.

Algorithm Classes

HU_TAG_ALGO_RSA (0x00000000)
RSA algorithm class.
HU_TAG_ALGO_IDLC (0x00001000)
IDLC algorithm class.
HU_TAG_ALGO_ECC (0x00002000)
ECC algorithm class.
HU_TAG_ALGO_BLOCK (0x00003000)
Block and stream cipher algorithm class.
HU_TAG_ALGO_HASH (0x00004000)
Hash and HMAC algorithm class.
HU_TAG_ALGO_RNG (0x00005000)
RNG algorithm class.
HU_TAG_ALGO_AUTHENC (0x00006000)
Authenticated Encryption algorithm class.

Algorithm Sub-Class

HU_TAG_TYPE_DES (0x00000000)
DES algorithm class.
HU_TAG_TYPE_RC5 (0x00000100)
RC5 algorithm class.
HU_TAG_TYPE_AES (0x00000200)
AES algorithm class.
HU_TAG_TYPE_RC2 (0x00000300)
RC2 algorithm class.
HU_TAG_TYPE_RESERVE (0x00000400)
Reserved.
HU_TAG_TYPE_RC4 (0x00000A00)
RC4 algorithm class.
HU_TAG_TYPE_PAD (0x00000F00)
Padding algorithm class.
HU_TAG_TYPE_SHA1 (0x00000000)
SHA1 algorithm class.
HU_TAG_TYPE_MD5 (0x00000100)
MD5 algorithm class.
HU_TAG_TYPE_MD2 (0x00000200)
MD2 algorithm class.
HU_TAG_TYPE_SHA256 (0x00000300)
SHA256 algorithm class.
HU_TAG_TYPE_SHA384 (0x00000400)
SHA384 algorithm class.
HU_TAG_TYPE_SHA512 (0x00000500)
SHA512 algorithm class.
HU_TAG_TYPE_MD4 (0x00000600)
MD4 algorithm class.
HU_TAG_TYPE_SHA224 (0x00000700)
SHA224 algorithm class.
HU_TAG_TYPE_AES_MMO (0x00000800)
AES MMO algorithm class.
HU_TAG_TYPE_HMAC (0x00000A00)
HMAC algorithm class.
HU_TAG_TYPE_HMAC_V2 (0x00000B00)
HMAC v2 (with key objects) algorithm class.
HU_TAG_TYPE_CIPHERMAC (0x00000C00)
MAC algorithm class
HU_TAG_STRUCT_HMAC_CONTEXT_SHA1 (0x00000001)
HMAC SHA1 context structure tag.
HU_TAG_STRUCT_HMAC_CONTEXT_MD5 (0x00000002)
HMAC MD5 context structure tag.
HU_TAG_STRUCT_HMAC_CONTEXT_SHA256 (0x00000003)
HMAC SHA256 context structure tag.
HU_TAG_STRUCT_HMAC_CONTEXT_SHA384 (0x00000004)
HMAC SHA384 context structure tag.
HU_TAG_STRUCT_HMAC_CONTEXT_SHA512 (0x00000005)
HMAC SHA512 context structure tag.
HU_TAG_STRUCT_HMAC_CONTEXT_SHA224 (0x00000006)
HMAC SHA224 context structure tag.
HU_TAG_STRUCT_HMAC_KEY_MD5 (0x00000007)
HMAC MD5 key structure tag.
HU_TAG_STRUCT_HMAC_KEY_SHA1 (0x00000008)
HMAC SHA1 key structure tag.
HU_TAG_STRUCT_HMAC_KEY_SHA224 (0x00000009)
HMAC SHA224 key structure tag.
HU_TAG_STRUCT_HMAC_KEY_SHA256 (0x0000000A)
HMAC SHA256 key structure tag.
HU_TAG_STRUCT_HMAC_KEY_SHA384 (0x0000000B)
HMAC SHA384 key structure tag.
HU_TAG_STRUCT_HMAC_KEY_SHA512 (0x0000000C)
HMAC SHA512 key structure tag.
HU_TAG_STRUCT_CIPHERMAC_KEY_XCBC_AES (0x00000000)
MAC XCBC AES key structure tag.
HU_TAG_STRUCT_CIPHERMAC_CONTEXT_XCBC_AES (0x00000001)
MAC XCBC AES context structure tag.
HU_TAG_STRUCT_CIPHERMAC_KEY_AES_CMAC (0x00000002)
AES CMAC key structure tag.
HU_TAG_STRUCT_CIPHERMAC_CONTEXT_AES_CMAC (0x00000003)
AES CMAC context structure tag.
HU_TAG_STRUCT_AUTHENC_KEY_CCM (0x00000000)
Authenticated Encryption CCM key tag.
HU_TAG_STRUCT_AUTHENC_KEY_CCMSTAR (0x00000001)
Authenticated Encryption CCMSTAR key tag.
HU_TAG_STRUCT_AUTHENC_KEY_GCM (0x00000002)
Authenticated Encryption GCM key tag.
HU_TAG_STRUCT_AUTHENC_CONTEXT_CCM (0x00000003)
Authenticated Encryption CCM context structure tag.
HU_TAG_STRUCT_AUTHENC_CONTEXT_CCMSTAR (0x00000004)
Authenticated Encryption CCMSTAR context structure tag.
HU_TAG_STRUCT_AUTHENC_CONTEXT_GCM (0x00000005)
Authenticated Encryption GCM context structure tag.
HU_TAG_STRUCT_HASH_CONTEXT_AES_MMO (0x00000001)
AES MMO hash context structure tag.
HU_TAG_TYPE_HMAC_SHA1 (HU_TAG_STRUCT_HMAC_CONTEXT_SHA1)
HMAC SHA1 context structure tag.
HU_TAG_TYPE_HMAC_MD5 (HU_TAG_STRUCT_HMAC_CONTEXT_MD5)
HMAC MD5 context structure tag.
HU_TAG_TYPE_HMAC_SHA256 (HU_TAG_STRUCT_HMAC_CONTEXT_SHA256)
HMAC SHA256 context structure tag.
HU_TAG_TYPE_HMAC_SHA384 (HU_TAG_STRUCT_HMAC_CONTEXT_SHA384)
HMAC SHA384 context structure tag.
HU_TAG_TYPE_HMAC_SHA512 (HU_TAG_STRUCT_HMAC_CONTEXT_SHA512)
HMAC SHA512 context structure tag.
HU_TAG_TYPE_HMAC_SHA224 (HU_TAG_STRUCT_HMAC_CONTEXT_SHA224)
HMAC SHA224 context structure tag.
HU_TAG_PROVIDER (0x0000B001)
Provider Structure tag.

Session Tags

HU_TAG_SESSION (0x0000B100)
Session tag.
HU_TAG_SESSION_CK (0x0000B102)
Cryptoki session tag.
HU_TAG_SESSION_CGX (0x0000B103)
CGX session tag.
HU_TAG_SESSION_SAHARA (0x0000B104)
SAHARA session tag.
HU_TAG_SESSION_CAC (0x0000B105)
CAC session tag.
HU_TAG_SESSION_PQ (0x0000B109)
PowerQuicc session tag.
HU_TAG_SESSION_I300 (0x0000B10A)
HU_TAG_SESSION_GSE22 (0x0000B10B)
GSE2.2 session tag
HU_TAG_SESSION_OMAP1710 (0x0000B10C)
OMAP1710 session tag

Last modified: 2014-05-14



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

comments powered by Disqus