ltc_hash_descriptor

hash descriptor

Members

Variables

ID
ubyte ID;

internal ID

OID
c_ulong[16] OID;

ASN.1 OID

OIDlen
c_ulong OIDlen;

Length of DER encoding

blocksize
c_ulong blocksize;

Input block size in octets

done
int function(hash_state* hash, ubyte* _out) nothrow done;

Produce the digest and store it @param hash The hash state @param out out The destination of the digest @return CRYPT_OK if successful

hashsize
c_ulong hashsize;

Size of digest in octets

hmac_block
int function(const ubyte* key, c_ulong keylen, const ubyte* _in, c_ulong inlen, ubyte* _out, c_ulong* outlen) nothrow hmac_block;
Undocumented in source.
init
int function(hash_state* hash) nothrow init;

Init a hash state @param hash The hash to initialize @return CRYPT_OK if successful

name
char* name;

name of hash

process
int function(hash_state* hash, const ubyte* _in, c_ulong inlen) nothrow process;

Process a block of data @param hash The hash state @param in The data to hash @param inlen The length of the data (octets) @return CRYPT_OK if successful

test
int function() nothrow test;

Self-test @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled

Meta