Skip to content
Snippets Groups Projects
Select Git revision
  • fd97123083cb3033766d5a5ae9aaeeb3c1f70acc
  • 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

oracle.pike

Blame
    • Martin Stjernholm's avatar
      64b168aa
      Do not fail compilation if the support doesn't exist. Produce a module with · 64b168aa
      Martin Stjernholm authored
      no identifiers instead, like all other optional modules. This is partly to
      make runtime detection of the support easier, and partly to be able to use
      tighter error handling when modules are dumped.
      
      Rev: lib/modules/Sql.pmod/msql.pike:1.13
      Rev: lib/modules/Sql.pmod/mysql.pike:1.17
      Rev: lib/modules/Sql.pmod/odbc.pike:1.11
      Rev: lib/modules/Sql.pmod/oracle.pike:1.7
      Rev: lib/modules/Sql.pmod/postgres.pike:1.18
      Rev: lib/modules/Sql.pmod/sybase.pike:1.7
      64b168aa
      History
      Do not fail compilation if the support doesn't exist. Produce a module with
      Martin Stjernholm authored
      no identifiers instead, like all other optional modules. This is partly to
      make runtime detection of the support easier, and partly to be able to use
      tighter error handling when modules are dumped.
      
      Rev: lib/modules/Sql.pmod/msql.pike:1.13
      Rev: lib/modules/Sql.pmod/mysql.pike:1.17
      Rev: lib/modules/Sql.pmod/odbc.pike:1.11
      Rev: lib/modules/Sql.pmod/oracle.pike:1.7
      Rev: lib/modules/Sql.pmod/postgres.pike:1.18
      Rev: lib/modules/Sql.pmod/sybase.pike:1.7
    aes128-set-decrypt-key.c 1.44 KiB
    /* aes128-set-decrypt-key.c
    
       Key setup for the aes/rijndael block cipher.
    
       Copyright (C) 2013, 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 "aes-internal.h"
    #include "macros.h"
    
    void
    aes128_invert_key (struct aes128_ctx *dst, const struct aes128_ctx *src)
    {
      _aes_invert (_AES128_ROUNDS, dst->keys, src->keys); 
    }
    
    void
    aes128_set_decrypt_key(struct aes128_ctx *ctx, const uint8_t *key)
    {
      aes128_set_encrypt_key (ctx, key);
      aes128_invert_key (ctx, ctx);
    }