Implementation of the SHA-384 hashing function.  
More...
Implementation of the SHA-384 hashing function. 
 | 
| file   | sha384.h | 
|   | Header definitions for the SHA384 hash function. 
  | 
|   | 
◆ SHA384_DIGEST_LENGTH
      
        
          | #define SHA384_DIGEST_LENGTH   (48) | 
        
      
 
Length of SHA384 digests in bytes. 
Definition at line 35 of file sha384.h.
 
 
◆ SHA384_INTERNAL_BLOCK_SIZE
      
        
          | #define SHA384_INTERNAL_BLOCK_SIZE   (128) | 
        
      
 
1024 Bit (128 Byte) internally used block size for sha384 
Definition at line 40 of file sha384.h.
 
 
◆ sha384_context_t
Context for cipher operations based on sha384. 
Definition at line 45 of file sha384.h.
 
 
◆ sha384()
      
        
          | void sha384  | 
          ( | 
          const void * |           data,  | 
        
        
           | 
           | 
          size_t |           len,  | 
        
        
           | 
           | 
          void * |           digest ) | 
        
      
 
A wrapper function to simplify the generation of a hash. 
This is useful for generating sha384 for one single buffer in a single step.
- Parameters
 - 
  
    | [in] | data | pointer to the buffer to generate hash from  | 
    | [in] | len | length of the buffer  | 
    | [out] | digest | optional pointer to an array for the result, length must be at least SHA384_DIGEST_LENGTH  | 
  
   
 
 
◆ sha384_final()
SHA-384 finalization. 
Pads the input data, exports the hash value, and clears the context state.
- Parameters
 - 
  
     | ctx | sha384_context_t handle to use, must not be NULL  | 
    | [out] | digest | pointer to resulting digest, this is the hash of all the bytes. Length must be at least SHA384_DIGEST_LENGTH  | 
  
   
Definition at line 74 of file sha384.h.
 
 
◆ sha384_init()
SHA-384 initialization. 
Begins a SHA-384 operation.
- Parameters
 - 
  
  
 
 
 
◆ sha384_update()
  
  
      
        
          | static void sha384_update  | 
          ( | 
          sha384_context_t * |           ctx,  | 
         
        
           | 
           | 
          const void * |           data,  | 
         
        
           | 
           | 
          size_t |           len ) | 
         
       
   | 
  
inlinestatic   | 
  
 
Add bytes into the hash. 
- Parameters
 - 
  
     | ctx | sha384_context_t handle to use, must not be NULL  | 
    | [in] | data | Input data  | 
    | [in] | len | Length of data  | 
  
   
Definition at line 61 of file sha384.h.