Skip to content
Snippets Groups Projects
  • Herbert Xu's avatar
    dec8b786
    crypto: hash - Add import/export interface · dec8b786
    Herbert Xu authored
    
    It is often useful to save the partial state of a hash function
    so that it can be used as a base for two or more computations.
    
    The most prominent example is HMAC where all hashes start from
    a base determined by the key.  Having an import/export interface
    means that we only have to compute that base once rather than
    for each message.
    
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    dec8b786
    History
    crypto: hash - Add import/export interface
    Herbert Xu authored
    
    It is often useful to save the partial state of a hash function
    so that it can be used as a base for two or more computations.
    
    The most prominent example is HMAC where all hashes start from
    a base determined by the key.  Having an import/export interface
    means that we only have to compute that base once rather than
    for each message.
    
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.