mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-08 00:03:38 -04:00
Prettyprint.
This commit is contained in:
parent
f9d8d95979
commit
076b7533a6
@ -98,7 +98,7 @@ int OQS_SIG_picnic_get(OQS_SIG *s, enum OQS_SIG_algid algid) {
|
|||||||
}
|
}
|
||||||
// set the ctx, sizes, and API functions
|
// set the ctx, sizes, and API functions
|
||||||
s->ctx = pctx;
|
s->ctx = pctx;
|
||||||
s->priv_key_len = (uint16_t) (PRIV_KEY_LEN[pctx->params] + PUB_KEY_LEN[pctx->params]); // priv key also contains pub key
|
s->priv_key_len = (uint16_t)(PRIV_KEY_LEN[pctx->params] + PUB_KEY_LEN[pctx->params]); // priv key also contains pub key
|
||||||
s->pub_key_len = (uint16_t) PUB_KEY_LEN[pctx->params];
|
s->pub_key_len = (uint16_t) PUB_KEY_LEN[pctx->params];
|
||||||
s->max_sig_len = (uint32_t) SIG_LEN[pctx->params];
|
s->max_sig_len = (uint32_t) SIG_LEN[pctx->params];
|
||||||
s->keygen = &OQS_SIG_picnic_keygen;
|
s->keygen = &OQS_SIG_picnic_keygen;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user