Sha256: f6e3a7a94c4c50c4f7ccb9033b54d41f9662b6dddedd28b86283aff97b8c20b1

Contents?: true

Size: 458 Bytes

Versions: 35

Compression:

Stored size: 458 Bytes

Contents

#include "ed25519_ref10.h"

int crypto_verify_32(const uint8_t *x,const uint8_t *y)
{
  unsigned int differentbits = 0;
#define F(i) differentbits |= x[i] ^ y[i];
  F(0)
  F(1)
  F(2)
  F(3)
  F(4)
  F(5)
  F(6)
  F(7)
  F(8)
  F(9)
  F(10)
  F(11)
  F(12)
  F(13)
  F(14)
  F(15)
  F(16)
  F(17)
  F(18)
  F(19)
  F(20)
  F(21)
  F(22)
  F(23)
  F(24)
  F(25)
  F(26)
  F(27)
  F(28)
  F(29)
  F(30)
  F(31)
  return (1 & ((differentbits - 1) >> 8)) - 1;
}

Version data entries

35 entries across 31 versions & 2 rubygems

Version Path
ed25519-1.3.0 ext/ed25519_ref10/verify.c
ed25519-1.3.0-java ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/ed25519-1.2.4/ext/ed25519_ref10/verify.c