Skip to contents

The reliability of a PUF is defined as \(1 - Intra_{HD}\)

Usage

reliability(crps, ref = 1)

Arguments

crps

A binary vector, 2D matrix or 3D array.

ref

Numeric index for the reference sample: If crps is a vector, is the index of the reference sample; If crps is a 2D matrix, the row to use as reference; If crps is a 3D array, the row for all 3rd dimension matrix.

See also

Examples

## Set of CRPs
mat <- matrix(rbits(200), nrow = 10, ncol = 20)
intra <- intra_hd(mat, 1)
all(1 - intra == reliability(mat, 1))
#> [1] TRUE