modules/woz_aliro/include/aliro_assert_ec.h
openaliro/openaliro
Module

aliro_assert_ec.h

modules/woz_aliro/include/aliro_assert_ec.h2 documented symbols

depends on aliro_assert.h aliro_prim.h  ·  used by aliro_assert_ec.c

API

Cstruct aliro_assert_ec_priv

modules/woz_aliro/include/aliro_assert_ec.h:30

Key material the two binders expect as their ctx. Pass a pointer to one of these as the void *ctx argument of aliro_assert_build_p256 / _verify_p256.

Cstruct aliro_assert_ec_pub

modules/woz_aliro/include/aliro_assert_ec.h:37

Uncompressed ECDSA-P256 public key point: 0x04 || X || Y (65 bytes).

Fint aliro_assert_ec_sign(void *ctx, const uint8_t *msg, size_t msg_len, uint8_t sig[ALIRO_ASSERT_SIG_LEN])

modules/woz_aliro/include/aliro_assert_ec.h:43

Fint aliro_assert_ec_verify(void *ctx, const uint8_t *msg, size_t msg_len, const uint8_t sig[ALIRO_ASSERT_SIG_LEN])

modules/woz_aliro/include/aliro_assert_ec.h:48