Questions tagged [aes]

Acronym for "Advanced Encryption Standard." Use this tag for questions about implementations of AES. Questions about the algorithm and theory of AES would be more appropriate on Cryptography Stack Exchange.

This tag should only be used for questions about hardware and software implementations of the algorithm. Questions about the algorithm and underlying theories would be more appropriate on Cryptography Stack Exchange.

The Advanced Encryption Standard is a specification for digital encryption approved by the U.S. National Institute of Standards and Technology NIST in 2001. It operates on 128-bit blocks of plaintext to produce 128-bit blocks of cyphertext, using a 128-, 192-, or 256-bit key.

AES is also known as Rijndael's Algorithm, even though it is actually a subset of a larger family of Rijndael encryption algorithms that use varying block sizes for the plaintext, cyphertext, and keys.

Useful Links:

Wikipedia: Advanced Encryption Standard
Wikipedia: Rijndael Key Schedule
Sam Trenholm's Blog, AES Series

8 questions
1
vote
2 answers

How do I implement authentication on an embedded device?

I have been reading a lot about encryption lately but most sources just care about making sure that the connection between two parties is secure. I want to know how I can be sure that the party I am talking to is actually the party I want to be…
1
vote
2 answers

How can I assign a 256-bit std_logic_vector input

I realized an AES-256 algorithm which encrypts a 128-bit std_logic_vector (plain_text) with a 256-bit std_logic_vector (master_key). I made a test-bench in order to verify the behavior of the encryption process, and now I would like to implement…
Cedric
  • 25
  • 5
1
vote
0 answers

STM32F43xxx and AES-128 CFB

I want to implement AES-128 CFB (Chiper Feedback) algorithm using HW Cryptographic processor on STM32F437 microcontroller. I don't want to use "STM32 crypto library" (DocID028112 Rev 2), but I want to write my custom library from scratch. The…
leoc7
  • 111
  • 3
0
votes
1 answer

S/PDIF standard sample rate and channel status bits

I am planning to create a S/PDIF output stream for a digital audio device, but there is some ambiguity on the standard and how it is used. I would like to have the confusion cleared up. To start, there are two similar standards the AES3 and S/PDIF.…
techmann
  • 23
  • 4
0
votes
0 answers

AES encryption with CBC: result length

I checked a piece of library code intended for encryption/decryption with AES, CBC, 256 Bit Key length. To check the results I consulted the following website: https://www.devglan.com/online-tools/aes-encryption-decryption Since AES uses a block…
Junius
  • 979
  • 11
  • 23
0
votes
1 answer

How to implement AES Encrypting for ESP8266 implemented on Hardware?

I need to write a basic encryption program for ESP8266. I did read the datasheet (https://www.espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf), and them says that existis the methods of encrypt: WEP/TKIP/AES. My main…
Augusto
  • 191
  • 2
  • 6
0
votes
1 answer

STM32F4 Discovery AES Encryption Problem

I am trying to implement very basic AES192-CBC Mode encryption routine on STM32F407 Discovery board and I want to do that process with the onboard Cryptographic processor in STM32F407 MCU. I copied most of my code parts from ST's exampe projects.…
Batu92k
  • 65
  • 10
0
votes
2 answers

Parameter vs macros to control which function is called

I am working on an AES encryptor/decryptor project that can handled AES-128, AES-192, and AES-256. The cipher key length is chosen at compile time. The module I am working on generates the key schedule. The algorithm to do so varies slightly for AES…
skrrgwasme
  • 828
  • 8
  • 32