• Niels Möller's avatar
    * camellia-meta.c: Use _NETTLE_CIPHER_SEP_SET_KEY. · 5af86074
    Niels Möller authored
    * camellia.h (struct camellia_ctx): Replaced flag camellia128 by
    expanded key length nkeys.
    
    * camellia.c (camellia_set_encrypt_key): Renamed, from...
    (camellia_set_key): ... old name.
    (camellia_invert_key): New function.
    (camellia_set_decrypt_key): New function, using
    camellia_invert_key.
    (camellia_crypt): Renamed, from...
    (camellia_encrypt): ... old name.
    (camellia_decrypt): Deleted, no longer needed. camellia_crypt used
    for both encryption and decryption.
    
    Rev: nettle/ChangeLog:1.95
    Rev: nettle/camellia-meta.c:1.2
    Rev: nettle/camellia.c:1.4
    Rev: nettle/camellia.h:1.4
    5af86074
camellia.c 31.7 KB