Questions tagged [relic]

RELIC is an Efficient LIbrary for Cryptography

RELIC is a modern cryptographic meta-toolkit with emphasis on efficiency and flexibility. RELIC can be used to build efficient and usable cryptographic toolkits tailored for specific security levels and algorithmic choices.

Goals

RELIC is an ongoing project and features will be added on demand. The focus is to provide:

  • Ease of portability and inclusion of architecture-dependent code
  • Simple experimentation with alternative implementations
  • Tests and benchmarks for every implemented function
  • Flexible configuration
  • Maximum efficiency

Algorithms

RELIC implements to date:

  • Multiple-precision integer arithmetic
  • Prime and Binary field arithmetic (and preliminary ternary field arithmetic)
  • Elliptic curves over prime and binary fields (NIST curves and pairing-friendly curves)
  • Bilinear maps (Tate pairing over supersingular binary curves and optimal pairings over BN curves) and related extension fields
  • Cryptographic protocols (RSA, Rabin, ECDSA, ECMQV, ECSS (Schnorr), Sakai-Ohgishi-Kasahara ID-based authenticated key agreement, Boneh-Lynn-Schacham and Boneh-Boyen short signatures)
7 questions
7
votes
1 answer

Is there any way of doing multiprecision arithmetic(with integers that are greater than 64-bit) in msp430?

I'd like to know if there is any way, if possible any simple way, to do arithmetic with integers that are larger than 64-bit in size on MSP430? I'm asking this specifically because I'm trying to implement encryption algorithms (RSA, AES, hash…
Nae
  • 14,209
  • 7
  • 52
  • 79
3
votes
1 answer

Compiling relic library (for msp430)

I'm trying to compile relic in order make some simulations on COOJA. For your information I am using COOJA in a virtual machine ( Instant contiki 2.7 ), It comes with msp430-gcc-4.7.0 I ran the following commands ( according to the…
yushaa yave
  • 145
  • 1
  • 9
1
vote
0 answers

How to chose elliptic curve in RELIC library?

RELIC cryptography library is supporting the following pairing curves now. BN_158, BN_254, BN_256, BN_382, BN_446, KSS_508, B12_381, B12_455, B24_477, BN_638, SS_1536 I got this list from src/fp/relic_fp_param.c. Does RELIC support any pairing…
satya
  • 469
  • 1
  • 6
  • 14
1
vote
1 answer

dSYM file not uploaded manually on New Relic

https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile-ios/configuration/upload-dsyms-bitcode-apps#manual-dsym As per the above new relic link; I created a zipped of my dSYM file using below command **/usr/bin/zip --recurse-paths --quiet…
Sommm
  • 527
  • 4
  • 22
1
vote
2 answers

A typedef can resolve to one of two types, but both seem impossible to me

I see a type (fb_t) defined like so in the RELIC library (docs here https://code.google.com/p/relic-toolkit/downloads/list): #if ALLOC == AUTO typedef align dig_t fb_t[FB_DIGS + PADDING(FB_BYTES)/(FB_DIGIT / 8)]; #else typedef dig_t…
leewz
  • 3,201
  • 1
  • 18
  • 38
1
vote
1 answer

boost matrix with relic

I'm trying to use a boost matrix of fb_t, which is a relic object that represents element of finite field. Here is how fb_t is defined from the doc: typedef uint64_t dig_t typedef align dig_t fb_t[FB_DIGS+PADDING(FB_BYTES)/(FB_DIGIT/8)] and here's…
nullgraph
  • 297
  • 1
  • 6
  • 17
0
votes
0 answers

Using customized Random number in keypair generation in uECC_make_key method in micro-ecc - Riot OS

I am trying to implement an elliptic curve scheme in micro_ecc, wherein the secret key is the addition of two random numbers and the public key is derived from the secret key as follows priv_key = (a+b) public_key = (a+b)G. I have checked the code…
Aisha
  • 127
  • 10