The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 
    2 #ifndef stream_chacha20_H
    3 #define stream_chacha20_H
    4 
    5 #include <stdint.h>
    6 
    7 typedef struct crypto_stream_chacha20_implementation {
    8     int (*stream)(unsigned char *c, unsigned long long clen,
    9                   const unsigned char *n, const unsigned char *k);
   10     int (*stream_ietf)(unsigned char *c, unsigned long long clen,
   11                       const unsigned char *n, const unsigned char *k);
   12     int (*stream_xor_ic)(unsigned char *c, const unsigned char *m,
   13                          unsigned long long mlen,
   14                          const unsigned char *n, uint64_t ic,
   15                          const unsigned char *k);
   16     int (*stream_ietf_xor_ic)(unsigned char *c, const unsigned char *m,
   17                               unsigned long long mlen,
   18                               const unsigned char *n, uint32_t ic,
   19                               const unsigned char *k);
   20 } crypto_stream_chacha20_implementation;
   21 
   22 #endif

Cache object: ad6aa943da46befe17f3514312bf8156


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.