Rate This Document
Findability
Accuracy
Completeness
Readability

Function Description

Table 1 describes the interfaces that can be called by the algorithm library.

Table 1 Unified interfaces for the SHA1 MB algorithm

Interface

Description

hmac_sha1_key_data

Processes the original key and generates a derived key.

hmac_sha1_init

Initializes the hmac_sha1 computation context structure using the derived key.

hmac_sha1_update

Processes input data blocks and updates the hmac_sha1 context status.

hmac_sha1_update_x2

Processes two independent data streams concurrently.

hmac_sha1_update_x3

Processes three independent data streams concurrently.

hmac_sha1_final

Performs hmac_sha1 computation and generates a 160-bit message digest.