ISAPv2 is an authenticated encryption system hardened against side channels and fault attacks. https://csrc.nist.gov/CSRC/media/Projects/lightweight-cryptography/documents/round-2/spec-doc-rnd2/isap-spec-round2.pdf

Note that ISAP is not suitable for high-performance applications.

However:

  • if allowing physical access to the device is part of your threat model,
  • or if you need resistance against microcode/hardware-level side channel attacks,
  • or if software-induced fault attacks such as rowhammer are a concern,

then you may consider ISAP for highly sensitive data.

Fields

st: Ascon,

Functions

fn decrypt(m: []u8, c: []const u8, tag: [tag_length]u8, ad: []const u8, npub: [nonce_length]u8, key: [key_length]u8) AuthenticationError!void

No documentation provided.

fn encrypt(c: []u8, tag: *[tag_length]u8, m: []const u8, ad: []const u8, npub: [nonce_length]u8, key: [key_length]u8) void

No documentation provided.

Values

key_length
comptime_int
nonce_length
comptime_int
tag_length
usize