Skip to content
Snippets Groups Projects
Select Git revision
  • 436852e985b2cf8f1fbec91c7dffac366a8808a3
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
41 results

errors.h

    • Martin Stjernholm's avatar
      e86c8c3a
      Made the variables in the builtin error objects more accessible by dropping · e86c8c3a
      Martin Stjernholm authored
      the "__" prefix. This so that a de-facto standard can be achieved for user
      error objects simply by having these variables, without the need for
      accessor functions. Also gave the variables more descriptive names since
      they're now more part of an exposed API.
      
      I blatantly ignore compatibility issues due to this - error objects are
      still pretty much unknown.
      
      Rev: src/error.c:1.119
      Rev: src/errors.h:1.24
      e86c8c3a
      History
      Made the variables in the builtin error objects more accessible by dropping
      Martin Stjernholm authored
      the "__" prefix. This so that a de-facto standard can be achieved for user
      error objects simply by having these variables, without the need for
      accessor functions. Also gave the variables more descriptive names since
      they're now more part of an exposed API.
      
      I blatantly ignore compatibility issues due to this - error objects are
      still pretty much unknown.
      
      Rev: src/error.c:1.119
      Rev: src/errors.h:1.24
    camellia192-meta.c 1.47 KiB
    /* camellia192-meta.c
    
       Copyright (C) 2010, 2013, 2014 Niels Möller
    
       This file is part of GNU Nettle.
    
       GNU Nettle is free software: you can redistribute it and/or
       modify it under the terms of either:
    
         * the GNU Lesser General Public License as published by the Free
           Software Foundation; either version 3 of the License, or (at your
           option) any later version.
    
       or
    
         * the GNU General Public License as published by the Free
           Software Foundation; either version 2 of the License, or (at your
           option) any later version.
    
       or both in parallel, as here.
    
       GNU Nettle is distributed in the hope that it will be useful,
       but WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       General Public License for more details.
    
       You should have received copies of the GNU General Public License and
       the GNU Lesser General Public License along with this program.  If
       not, see http://www.gnu.org/licenses/.
    */
    
    #if HAVE_CONFIG_H
    # include "config.h"
    #endif
    
    #include <assert.h>
    
    #include "nettle-meta.h"
    
    #include "camellia.h"
    
    const struct nettle_cipher nettle_camellia192 =
      { "camellia192", sizeof(struct camellia256_ctx),
        CAMELLIA_BLOCK_SIZE, CAMELLIA192_KEY_SIZE,
        (nettle_set_key_func *) camellia192_set_encrypt_key,
        (nettle_set_key_func *) camellia192_set_decrypt_key,
        (nettle_cipher_func *) camellia256_crypt,
        (nettle_cipher_func *) camellia256_crypt
      };