Use of C99 int types

From: Dag Arne Osvik (da_at_osvik.no)
Date: 04/03/05

  • Next message: Artem B. Bityuckiy: "Re: [RFC] CryptoAPI & Compression"
    Date:	Sun, 03 Apr 2005 13:55:39 +0200
    To: linux-kernel@vger.kernel.org
    
    

    Hi,

    I've been working on a new DES implementation for Linux, and ran into
    the problem of how to get access to C99 types like uint_fast32_t for
    internal (not interface) use. In my tests, key setup on Athlon 64 slows
    down by 40% when using u32 instead of uint_fast32_t.

    So I wonder if there is any standard way of, say, including stdint.h for
    internal use in kernel code?

       Dag Arne
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Artem B. Bityuckiy: "Re: [RFC] CryptoAPI & Compression"

    Relevant Pages

    • Re: Use of C99 int types
      ... >>I've been working on a new DES implementation for Linux, ... Yes, but wouldn't it be much better to avoid code like the following, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Use of C99 int types
      ... > I've been working on a new DES implementation for Linux, ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • RE: Catching NForce2 lockup with NMI watchdog
      ... >table in the system BIOS which the motherboard vendors supply. ... Is it not possible that Linux could be made to handling this hardware ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.7 (future kernel) wish
      ... > I've never seen one give a STOP error from that but I guess a bad driver ... I would like to see the HAL type crap for Linux. ... to have uniform user device control from a gui programmable means. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: 4level page tables for Linux II
      ... >> It's kind of a mess, ... One of the reasons that Linux is so hackable is that ... Perhaps you shouldn't touch kernel code if you can't ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)