tc_aes_decrypt() function
AES-128 Encryption procedure Decrypts in buffer into out buffer under key schedule s
Arguments
out
IN/OUT -- buffer to receive ciphertext block
in
IN -- a plaintext block to encrypt
s
IN -- initialized AES key schedule
Return value
returns TC_CRYPTO_SUCCESS (1) returns TC_CRYPTO_FAIL (0) if: out is NULL or in is NULL or s is NULL
Notes
Assumes s was initialized by aes_set_encrypt_key out and in point to 16 byte buffers
tc_aes_decrypt() is called by 1 function and calls 10 functions:
![]()
tc_aes_decrypt()
tc_aes_decrypt() reads 1 variable:
![]()
tc_aes_decrypt()