Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AES(3)			   Library Functions Manual			AES(3)

NAME
       setupAESstate, aesCBCencrypt, aesCBCdecrypt - advanced encryption stan-
       dard (rijndael)

SYNOPSIS
       #include	<u.h>
       #include	<libc.h>
       #include	<mp.h>
       #include	<libsec.h>

       void setupAESstate(AESstate *s, uchar key[], int	keybytes, uchar	*ivec)

       void aesCBCencrypt(uchar*, int, AESstate*)

       void aesCBCdecrypt(uchar*, int, AESstate*)

DESCRIPTION
       DES is being replaced by	Rijndael, also known as	AES, as	the  preferred
       block ciper.  setupAESstate, aesCBCencrypt, and aesCBCdecrypt implement
       cipher block chaining encryption.  Keybytes should be 16,  24,  or  32.
       The  initialization  vector ivec	of AESbsize bytes should random	enough
       to be unlikely to be reused but does not	need to	 be  cryptographically
       strongly	unpredictable.

SOURCE
       /src/libsec

SEE ALSO
									AES(3)

NAME | SYNOPSIS | DESCRIPTION | SOURCE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=aes&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help