Skip to content
Snippets Groups Projects
Select Git revision
  • 84560929c2516e387d43ddc56e771d6ba3e2050b
  • master default protected
  • 9.0
  • 8.0
  • nt-tools
  • 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
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2020
  • v8.0.2018
  • v8.0.2016
  • v8.0.2014
  • v8.0.2012
  • v8.0.2008
  • v8.0.2006
  • v8.0.2004
  • v8.0.2002
  • 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
41 results

array_set_index

Blame
    • Fredrik Hübinette (Hubbe)'s avatar
      84560929
      more documentation added · 84560929
      Fredrik Hübinette (Hubbe) authored
      Rev: doc/internal/array/aggregate_array:1.1
      Rev: doc/internal/array/array_index:1.2
      Rev: doc/internal/array/array_remove:1.1
      Rev: doc/internal/array/array_search:1.1
      Rev: doc/internal/array/array_set_index:1.1
      Rev: doc/internal/array/copy_array:1.1
      Rev: doc/internal/array/push_array_items:1.1
      Rev: doc/internal/array/resize_array:1.1
      Rev: doc/internal/array/slice_array:1.1
      Rev: doc/internal/pike/types:1.1
      Rev: doc/internal/program/add_function:1.1
      Rev: doc/internal/program/add_storage:1.1
      Rev: doc/internal/program/end_c_program:1.1
      Rev: doc/internal/program/set_exit_callback:1.1
      Rev: doc/internal/program/set_init_callback:1.1
      Rev: doc/internal/program/start_new_program:1.1
      84560929
      History
      more documentation added
      Fredrik Hübinette (Hubbe) authored
      Rev: doc/internal/array/aggregate_array:1.1
      Rev: doc/internal/array/array_index:1.2
      Rev: doc/internal/array/array_remove:1.1
      Rev: doc/internal/array/array_search:1.1
      Rev: doc/internal/array/array_set_index:1.1
      Rev: doc/internal/array/copy_array:1.1
      Rev: doc/internal/array/push_array_items:1.1
      Rev: doc/internal/array/resize_array:1.1
      Rev: doc/internal/array/slice_array:1.1
      Rev: doc/internal/pike/types:1.1
      Rev: doc/internal/program/add_function:1.1
      Rev: doc/internal/program/add_storage:1.1
      Rev: doc/internal/program/end_c_program:1.1
      Rev: doc/internal/program/set_exit_callback:1.1
      Rev: doc/internal/program/set_init_callback:1.1
      Rev: doc/internal/program/start_new_program:1.1
    gcm-aes192-meta.c 1.77 KiB
    /* gcm-aes192-meta.c
    
       Copyright (C) 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 "gcm.h"
    
    static nettle_set_key_func gcm_aes192_set_nonce_wrapper;
    static void
    gcm_aes192_set_nonce_wrapper (void *ctx, const uint8_t *nonce)
    {
      gcm_aes192_set_iv (ctx, GCM_IV_SIZE, nonce);
    }
    
    const struct nettle_aead nettle_gcm_aes192 =
      { "gcm_aes192", sizeof(struct gcm_aes192_ctx),
        GCM_BLOCK_SIZE, AES192_KEY_SIZE,
        GCM_IV_SIZE, GCM_DIGEST_SIZE,
        (nettle_set_key_func *) gcm_aes192_set_key,
        (nettle_set_key_func *) gcm_aes192_set_key,
        gcm_aes192_set_nonce_wrapper,
        (nettle_hash_update_func *) gcm_aes192_update,
        (nettle_crypt_func *) gcm_aes192_encrypt,
        (nettle_crypt_func *) gcm_aes192_decrypt,
        (nettle_hash_digest_func *) gcm_aes192_digest,
      };