Software APIs
Data Fields
p256_masked_scalar Struct Reference

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

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

Data Fields

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

Detailed Description

A type that holds a masked value from the P-256 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 p256_common.h.

Field Documentation

◆ share0

uint32_t p256_masked_scalar::share0[kP256MaskedScalarShareWords]

First share of the secret scalar.

Definition at line 71 of file p256_common.h.

◆ share1

uint32_t p256_masked_scalar::share1[kP256MaskedScalarShareWords]

Second share of the secret scalar.

Definition at line 75 of file p256_common.h.