Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Instruction Proposal: xc.sbox.4 #52

Description

@ben-marshall

An instruction implementing an in-place 4-bit sbox

The concatenation of crs1 and crs2 describes the sbox, where the i'th nibble corresponds to sbox[i].

xc.sbox.4 crd, crs1, crs2
    let t = crs1 || crs2
    for i in 0..15
        let sbox[i] = t[4*i+3 :4*i]
    for i in 0..15
        let crd[4*i+3: 4*i] = sbox[crd[i]]

Metadata

Metadata

Labels

enhancementNew feature or requestspecificationIssue relates to the XCrypto ISE specification

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions