Name

crypto_cipher_encrypt_one — encrypt one block of plaintext

Synopsis

void crypto_cipher_encrypt_one (struct crypto_cipher * tfm,
 u8 * dst,
 const u8 * src);
 

Arguments

tfm

cipher handle

dst

points to the buffer that will be filled with the ciphertext

src

buffer holding the plaintext to be encrypted

Description

Invoke the encryption operation of one block. The caller must ensure that the plaintext and ciphertext buffers are at least one block in size.