Software APIs
Data Fields
p384_masked_scalar Struct Reference

A type that holds a masked value from the P-384 scalar field. More...

#include <sw/device/lib/crypto/impl/ecc/p384_common.h>

Data Fields

uint32_t share0 [kP384MaskedScalarShareWords]
 First share of the secret scalar.
 
uint32_t share1 [kP384MaskedScalarShareWords]
 Second share of the secret scalar.
 

Detailed Description

A type that holds a masked value from the P-384 scalar field.

This struct is used to represent secret keys, which are integers modulo n. The key d is represented in two 320-bit shares, d0 and d1, such that d = (d0

Definition at line 67 of file p384_common.h.

Field Documentation

◆ share0

uint32_t p384_masked_scalar::share0[kP384MaskedScalarShareWords]

First share of the secret scalar.

Definition at line 71 of file p384_common.h.

◆ share1

uint32_t p384_masked_scalar::share1[kP384MaskedScalarShareWords]

Second share of the secret scalar.

Definition at line 75 of file p384_common.h.