Implementation of the SHA-224 hashing function.  
More...
Implementation of the SHA-224 hashing function. 
 | 
| file   | sha224.h | 
|   | Header definitions for the SHA224 hash function. 
  | 
|   | 
◆ SHA224_DIGEST_LENGTH
      
        
          | #define SHA224_DIGEST_LENGTH   (28) | 
        
      
 
Length of SHA224 digests in bytes. 
Definition at line 63 of file sha224.h.
 
 
◆ SHA224_INTERNAL_BLOCK_SIZE
      
        
          | #define SHA224_INTERNAL_BLOCK_SIZE   (64) | 
        
      
 
512 Bit (64 Byte) internally used block size for sha224 
Definition at line 68 of file sha224.h.
 
 
◆ sha224_context_t
Context for cipher operations based on sha224. 
Definition at line 73 of file sha224.h.
 
 
◆ sha224()
      
        
          | void sha224  | 
          ( | 
          const void * |           data,  | 
        
        
           | 
           | 
          size_t |           len,  | 
        
        
           | 
           | 
          void * |           digest ) | 
        
      
 
A wrapper function to simplify the generation of a hash, this is useful for generating sha224 for one buffer. 
- Parameters
 - 
  
    | [in] | data | pointer to the buffer to generate hash from  | 
    | [in] | len | length of the buffer  | 
    | [out] | digest | Pointer to an array for the result, length must be SHA224_DIGEST_LENGTH  | 
  
   
 
 
◆ sha224_final()
SHA-224 finalization. 
Pads the input data, exports the hash value, and clears the context state.
- Parameters
 - 
  
    | ctx | sha224_context_t handle to use  | 
    | digest | resulting digest, this is the hash of all the bytes  | 
  
   
Definition at line 101 of file sha224.h.
 
 
◆ sha224_init()
SHA-224 initialization. 
Begins a SHA-224 operation.
- Parameters
 - 
  
  
 
 
 
◆ sha224_update()
  
  
      
        
          | static void sha224_update  | 
          ( | 
          sha224_context_t * |           ctx,  | 
         
        
           | 
           | 
          const void * |           data,  | 
         
        
           | 
           | 
          size_t |           len ) | 
         
       
   | 
  
inlinestatic   | 
  
 
Add bytes into the hash. 
- Parameters
 - 
  
  
 
Definition at line 89 of file sha224.h.