Coder Social home page Coder Social logo

tweetnacl's Introduction

TweetNaCl git repository

This repository is inteded to create a git version of the upstream sources located on http://tweetnacl.cr.yp.to/20140427/tweetnacl.c and http://tweetnacl.cr.yp.to/20140427/tweetnacl.h

The version of these sources is 20140427

Original MD5:

tweetnacl.c -> d4455ac1e11db9c3b05c9d3b3d1abb23

tweetnacl.h -> 02aee579efbe4f12ad8ffb23c6772841

Fixes

Change integer type in commit b98e0ca

Fix warning:

tweetnacl.c:57:3: warning: comparison of integers of different signs: 'u32' (aka 'unsigned long') and 'int' [-Wsign-compare]
  FOR(i,n) d |= x[i]^y[i];
  ^   ~ ~
tweetnacl.c:2:31: note: expanded from macro 'FOR'
#define FOR(i,n) for (i = 0;i < n;++i)
                            ~ ^ ~

Change integer type in commit 93c4f6c

Fix warning:

tweetnacl.c:723:3: warning: comparison of integers of different signs: 'i64' (aka 'long long') and 'u64' (aka 'unsigned long long') [-Wsign-compare]
  FOR(i,n) sm[64 + i] = m[i];
  ^   ~ ~
tweetnacl.c:2:31: note: expanded from macro 'FOR'
#define FOR(i,n) for (i = 0;i < n;++i)
                            ~ ^ ~

Change integer type in commit 2bda3ee

Fix warnings:

tweetnacl.c:790:3: warning: comparison of integers of different signs: 'int' and 'u64' (aka 'unsigned long long') [-Wsign-compare]
  FOR(i,n) m[i] = sm[i];
  ^   ~ ~
tweetnacl.c:2:31: note: expanded from macro 'FOR'
#define FOR(i,n) for (i = 0;i < n;++i)
                            ~ ^ ~
tweetnacl.c:802:5: warning: comparison of integers of different signs: 'int' and 'u64' (aka 'unsigned long long') [-Wsign-compare]
    FOR(i,n) m[i] = 0;
    ^   ~ ~
tweetnacl.c:2:31: note: expanded from macro 'FOR'
#define FOR(i,n) for (i = 0;i < n;++i)
                            ~ ^ ~
tweetnacl.c:806:3: warning: comparison of integers of different signs: 'int' and 'u64' (aka 'unsigned long long') [-Wsign-compare]
  FOR(i,n) m[i] = sm[i + 64];
  ^   ~ ~

tweetnacl's People

Contributors

kyc0o avatar miri64 avatar

Watchers

Kaspar Schleiser avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.