• Niels Möller's avatar
    * Makefile.in (nettle_SOURCES): Added camellia.c and · a4d89a90
    Niels Möller authored
    camellia-meta.c.
    (HEADERS): Added camellia.h.
    
    * camellia-meta.c: New file.
    
    * camellia.h: Rewrote interface to match nettle conventions.
    
    * camellia.c: Converted to nettle conventions.
    (camellia_encrypt128, camellia_encrypt256): Unified to new
    function...
    (camellia_encrypt): ...New function, with a loop doing 6
    regular rounds, one FL round and one FLINV round per iteration,
    with iteration count depending on the key size.
    
    Rev: nettle/ChangeLog:1.89
    Rev: nettle/Makefile.in:1.25
    Rev: nettle/camellia-meta.c:1.1
    Rev: nettle/camellia.c:1.2
    Rev: nettle/camellia.h:1.2
    a4d89a90
camellia.h 2.9 KB