Package: nist_vectors_pkg
- File: nist_vectors_pkg.sv
Description
Copyright lowRISC contributors.
Licensed under the Apache License, Version 2.0, see LICENSE for details.
SPDX-License-Identifier: Apache-2.0
##############################################
https://csrc.nist.gov/CSRC/media/Projects/Cryptographic
#-Standards-and-Guidelines/documents/examples/AES_ModesA_All.pdf
###############################################
AES TEST VECTORS
Modes: ECB, CTR, OFB, CFB CBC
Key Lengths: 128bit, 192bit, 256bit
#
This File was autogenerated by an external
script converting the PDF to systemverilog
###############################################
Signals
Name | Type | Description |
---|---|---|
num | int | |
endpackage | endclass |
Types
Name | Type | Description |
---|---|---|
nist_vector_t | struct { aes_mode_e mode; key_len_e key_len; aes_op_e operation; bit [127:0] iv; bit [255:0] key; bit [3:0] [31:0] plain_text[4]; bit [3:0] [31:0] cipher_text[4]; } |
Functions
- vector2string (nist_vector_t vector) return (string)
- get_vectors (ref nist_vector_t nist_vectors[]) return (void)
Description
new
- get_num_vectors () return (int)