• Niels Möller's avatar
    (SHA1_DATA_LENGTH): Deleted unused macro. · e19c66cf
    Niels Möller authored
    (sha1_init): Use memcpy to initialize the state vector.
    (SHA1_INCR): Deleted macro.
    (sha1_update): Use MD_UPDATE macro, to reduce code duplication.
    (sha1_digest): Use MD_FINAL macro.
    (sha1_final): Deleted function.
    
    Rev: nettle/sha1.c:1.3
    e19c66cf
sha1.c 2.75 KB