FD.io VPP  v21.01.1
Vector Packet Processing
aes_ctr.c File Reference
+ Include dependency graph for aes_ctr.c:

Go to the source code of this file.

Functions

 UNITTEST_REGISTER_CRYPTO_TEST (nist_aes128_ctr_tc1)
 
 UNITTEST_REGISTER_CRYPTO_TEST (nist_aes192_ctr_tc1)
 
 UNITTEST_REGISTER_CRYPTO_TEST (nist_aes256_ctr_tc1)
 

Variables

static u8 tc1_key []
 
static u8 tc1_iv []
 
static u8 tc1_plaintext []
 
static u8 tc1_ciphertext []
 
static u8 tc1_192_key []
 
static u8 tc1_192_iv []
 
static u8 tc1_192_ciphertext []
 
static u8 tc1_256_key []
 
static u8 tc1_256_iv []
 
static u8 tc1_256_ciphertext []
 

Function Documentation

◆ UNITTEST_REGISTER_CRYPTO_TEST() [1/3]

UNITTEST_REGISTER_CRYPTO_TEST ( nist_aes128_ctr_tc1  )

◆ UNITTEST_REGISTER_CRYPTO_TEST() [2/3]

UNITTEST_REGISTER_CRYPTO_TEST ( nist_aes192_ctr_tc1  )

◆ UNITTEST_REGISTER_CRYPTO_TEST() [3/3]

UNITTEST_REGISTER_CRYPTO_TEST ( nist_aes256_ctr_tc1  )

Variable Documentation

◆ tc1_192_ciphertext

u8 tc1_192_ciphertext[]
static
Initial value:
= {
0x1a, 0xbc, 0x93, 0x24, 0x17, 0x52, 0x1c, 0xa2,
0x4f, 0x2b, 0x04, 0x59, 0xfe, 0x7e, 0x6e, 0x0b,
}

Definition at line 66 of file aes_ctr.c.

◆ tc1_192_iv

u8 tc1_192_iv[]
static
Initial value:
= {
0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
}

Definition at line 61 of file aes_ctr.c.

◆ tc1_192_key

u8 tc1_192_key[]
static
Initial value:
= {
0x8e, 0x73, 0xb0, 0xf7, 0xda, 0x0e, 0x64, 0x52,
0xc8, 0x10, 0xf3, 0x2b, 0x80, 0x90, 0x79, 0xe5,
0x62, 0xf8, 0xea, 0xd2, 0x52, 0x2c, 0x6b, 0x7b,
}

Definition at line 55 of file aes_ctr.c.

◆ tc1_256_ciphertext

u8 tc1_256_ciphertext[]
static
Initial value:
= {
0x60, 0x1e, 0xc3, 0x13, 0x77, 0x57, 0x89, 0xa5,
0xb7, 0xa7, 0xf5, 0x04, 0xbb, 0xf3, 0xd2, 0x28,
}

Definition at line 94 of file aes_ctr.c.

◆ tc1_256_iv

u8 tc1_256_iv[]
static
Initial value:
= {
0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
}

Definition at line 89 of file aes_ctr.c.

◆ tc1_256_key

u8 tc1_256_key[]
static
Initial value:
= {
0x60, 0x3d, 0xeb, 0x10, 0x15, 0xca, 0x71, 0xbe,
0x2b, 0x73, 0xae, 0xf0, 0x85, 0x7d, 0x77, 0x81,
0x1f, 0x35, 0x2c, 0x07, 0x3b, 0x61, 0x08, 0xd7,
0x2d, 0x98, 0x10, 0xa3, 0x09, 0x14, 0xdf, 0xf4,
}

Definition at line 82 of file aes_ctr.c.

◆ tc1_ciphertext

u8 tc1_ciphertext[]
static
Initial value:
= {
0x87, 0x4d, 0x61, 0x91, 0xb6, 0x20, 0xe3, 0x26,
0x1b, 0xef, 0x68, 0x64, 0x99, 0x0d, 0xb6, 0xce,
}

Definition at line 39 of file aes_ctr.c.

◆ tc1_iv

u8 tc1_iv[]
static
Initial value:
= {
0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
}

Definition at line 29 of file aes_ctr.c.

◆ tc1_key

u8 tc1_key[]
static
Initial value:
= {
0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6,
0xab, 0xf7, 0x15, 0x88, 0x09, 0xcf, 0x4f, 0x3c,
}

Definition at line 24 of file aes_ctr.c.

◆ tc1_plaintext

u8 tc1_plaintext[]
static
Initial value:
= {
0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96,
0xe9, 0x3d, 0x7e, 0x11, 0x73, 0x93, 0x17, 0x2a,
}

Definition at line 34 of file aes_ctr.c.