Structs§
- __
atomic_ wide_ counter__ bindgen_ ty_ 1 - __
fsid_ t - __
once_ flag - __
pthread_ cond_ s - __
pthread_ internal_ list - __
pthread_ internal_ slist - __
pthread_ mutex_ s - __
pthread_ rwlock_ arch_ t - __
sigset_ t - fd_set
- iovec
- kcapi_
handle - timespec
- timeval
Constants§
- BIG_
ENDIAN - BYTE_
ORDER - ECC_
CURVE_ NIST_ P192 - ECC_
CURVE_ NIST_ P256 - FD_
SETSIZE - INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - KCAPI_
ACCESS_ HEURISTIC - KCAPI_
ACCESS_ SENDMSG - KCAPI_
ACCESS_ VMSPLICE - KCAPI_
INIT_ AIO - LITTLE_
ENDIAN - PDP_
ENDIAN - PTRDIFF_
MAX - PTRDIFF_
MIN - SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - UIO_
MAXIOV - WINT_
MAX - WINT_
MIN - _ATFILE_
SOURCE - _BITS_
BYTESWAP_ H - _BITS_
ENDIANNESS_ H - _BITS_
ENDIAN_ H - _BITS_
PTHREADTYPES_ ARCH_ H - _BITS_
PTHREADTYPES_ COMMON_ H - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
UINTN_ IDENTITY_ H - _BITS_
UIO_ LIM_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _ENDIAN_
H - _FEATURES_
H - _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _STRUCT_
TIMESPEC - _SYS_
CDEFS_ H - _SYS_
SELECT_ H - _SYS_
TYPES_ H - _SYS_
UIO_ H - _THREAD_
MUTEX_ INTERNAL_ H - _THREAD_
SHARED_ TYPES_ H - __
BIG_ ENDIAN - __
BIT_ TYPES_ DEFINED__ - __
BYTE_ ORDER - __
FD_ SETSIZE - __
FLOAT_ WORD_ ORDER - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2X - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
IOV_ MAX - __
KERNEL_ OLD_ TIMEVAL_ MATCHES_ TIMEVA L64 - __
LDOUBLE_ REDIRECTS_ TO_ FLOA T128_ ABI - __
LITTLE_ ENDIAN - __
OFF_ T_ MATCHES_ OFF64_ T - __
PDP_ ENDIAN - __
PTHREAD_ MUTEX_ HAVE_ PREV - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
SIZEOF_ PTHREAD_ ATTR_ T - __
SIZEOF_ PTHREAD_ BARRIERATTR_ T - __
SIZEOF_ PTHREAD_ BARRIER_ T - __
SIZEOF_ PTHREAD_ CONDATTR_ T - __
SIZEOF_ PTHREAD_ COND_ T - __
SIZEOF_ PTHREAD_ MUTEXATTR_ T - __
SIZEOF_ PTHREAD_ MUTEX_ T - __
SIZEOF_ PTHREAD_ RWLOCKATTR_ T - __
SIZEOF_ PTHREAD_ RWLOCK_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ IEC_ 60559_ BFP__ - __
STDC_ IEC_ 60559_ COMPLEX__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - __
clock_ t_ defined - __
clockid_ t_ defined - __
glibc_ c99_ flexarr_ available - __
have_ pthread_ attr_ t - __
iovec_ defined - __
sigset_ t_ defined - __
time_ t_ defined - __
timer_ t_ defined - __
timeval_ defined - kcapi_
verbosity_ KCAPI_ LOG_ DEBUG - kcapi_
verbosity_ KCAPI_ LOG_ ERR - kcapi_
verbosity_ KCAPI_ LOG_ NONE - kcapi_
verbosity_ KCAPI_ LOG_ VERBOSE - kcapi_
verbosity_ KCAPI_ LOG_ WARN
Functions§
- kcapi_
aead_ ⚠authsize - kcapi_aead_authsize() - return the maximum size of the tag
- kcapi_
aead_ ⚠blocksize - kcapi_aead_blocksize() - return size of one block of the cipher
- kcapi_
aead_ ⚠ccm_ nonce_ to_ iv - kcapi_aead_ccm_nonce_to_iv() - convert CCM nonce into IV
- kcapi_
aead_ ⚠decrypt - kcapi_aead_decrypt() - synchronously decrypt AEAD data (one shot)
- kcapi_
aead_ ⚠decrypt_ aio - kcapi_aead_decrypt_aio() - asynchronously decrypt AEAD data (one shot)
- kcapi_
aead_ ⚠destroy - kcapi_aead_destroy() - close the AEAD handle and release resources
- kcapi_
aead_ ⚠encrypt - kcapi_aead_encrypt() - synchronously encrypt AEAD data (one shot)
- kcapi_
aead_ ⚠encrypt_ aio - kcapi_aead_encrypt_aio() - asynchronously encrypt AEAD data (one shot)
- kcapi_
aead_ ⚠getdata_ input - kcapi_aead_getdata_input() - get the pointers into input buffer
- kcapi_
aead_ ⚠getdata_ output - kcapi_aead_getdata_output() - get the pointers into output buffer
- kcapi_
aead_ ⚠inbuflen_ dec - kcapi_aead_inbuflen_dec() - return minimum decryption input buffer length
- kcapi_
aead_ ⚠inbuflen_ enc - kcapi_aead_inbuflen_enc() - return minimum encryption input buffer length
- kcapi_
aead_ ⚠init - kcapi_aead_init() - initialization of cipher handle
- kcapi_
aead_ ⚠ivsize - kcapi_aead_ivsize() - return size of IV required for cipher
- kcapi_
aead_ ⚠outbuflen_ dec - kcapi_aead_outbuflen_dec() - return minimum decryption output buffer length
- kcapi_
aead_ ⚠outbuflen_ enc - kcapi_aead_outbuflen_enc() - return minimum encryption output buffer length
- kcapi_
aead_ ⚠setassoclen - kcapi_aead_setassoclen() - set authentication data size
- kcapi_
aead_ ⚠setkey - kcapi_aead_setkey() - set the key for the AEAD handle
- kcapi_
aead_ ⚠settaglen - kcapi_aead_settaglen() - set authentication tag size
- kcapi_
aead_ ⚠stream_ init_ dec - kcapi_aead_stream_init_dec() - start a decryption operation (stream)
- kcapi_
aead_ ⚠stream_ init_ enc - kcapi_aead_stream_init_enc() - start an encryption operation (stream)
- kcapi_
aead_ ⚠stream_ op - kcapi_aead_stream_op() - obtain processed data (stream)
- kcapi_
aead_ ⚠stream_ update - kcapi_aead_stream_update() - send more data for processing (stream)
- kcapi_
aead_ ⚠stream_ update_ last - kcapi_aead_stream_update_last() - send last data for processing (stream)
- kcapi_
akcipher_ ⚠decrypt - kcapi_akcipher_decrypt() - decrypt data
- kcapi_
akcipher_ ⚠decrypt_ aio - kcapi_akcipher_decrypt_aio() - decrypt data (asynchronous one shot)
- kcapi_
akcipher_ ⚠destroy - kcapi_akcipher_destroy() - close the cipher handle and release resources
- kcapi_
akcipher_ ⚠encrypt - kcapi_akcipher_encrypt() - encrypt data
- kcapi_
akcipher_ ⚠encrypt_ aio - kcapi_akcipher_encrypt_aio() - encrypt data (asynchronous one shot)
- kcapi_
akcipher_ ⚠init - kcapi_akcipher_init() - initialize cipher handle
- kcapi_
akcipher_ ⚠setkey - kcapi_akcipher_setkey() - set the private key for the cipher handle
- kcapi_
akcipher_ ⚠setpubkey - kcapi_akcipher_setpubkey() - set the public key for the cipher handle
- kcapi_
akcipher_ ⚠sign - kcapi_akcipher_sign() - signature generation
- kcapi_
akcipher_ ⚠sign_ aio - kcapi_akcipher_sign_aio() - sign data (asynchronous one shot)
- kcapi_
akcipher_ ⚠stream_ init_ dec - kcapi_akcipher_stream_init_dec() - start an decryption operation (stream) @handle: [in] cipher handle @iov: [in] scatter/gather list with data to be decrypted. This is the pointer to the first iov entry if an array of iov entries is supplied. See sendmsg(2) for details on how iov is to be used. This pointer may be NULL if no data to be decrypted is available at the point of the call. @iovlen: [in] number of scatter/gather list elements. If iov is NULL, this value must be zero.
- kcapi_
akcipher_ ⚠stream_ init_ enc - kcapi_akcipher_stream_init_enc() - start an encryption operation (stream)
- kcapi_
akcipher_ ⚠stream_ init_ sgn - kcapi_akcipher_stream_init_sgn() - start an signing operation (stream)
- kcapi_
akcipher_ ⚠stream_ init_ vfy - kcapi_akcipher_stream_init_vfy() - start an signature verification operation (stream)
- kcapi_
akcipher_ ⚠stream_ op - kcapi_akcipher_stream_op() - obtain processed data (stream)
- kcapi_
akcipher_ ⚠stream_ update - kcapi_akcipher_stream_update() - send more data for processing (stream)
- kcapi_
akcipher_ ⚠stream_ update_ last - kcapi_akcipher_stream_update_last() - send last data for processing (stream)
- kcapi_
akcipher_ ⚠verify - kcapi_akcipher_verify() - signature verification
- kcapi_
akcipher_ ⚠verify_ aio - kcapi_akcipher_verify_aio() - verify data (asynchronous one shot)
- kcapi_
cipher_ ⚠blocksize - kcapi_cipher_blocksize() - return size of one block of the cipher
- kcapi_
cipher_ ⚠dec_ aes_ cbc - kcapi_cipher_dec_aes_cbc - Convenience function for AES CBC decryption
- kcapi_
cipher_ ⚠dec_ aes_ ctr - kcapi_cipher_dec_aes_ctr - Convenience function for AES CTR decryption
- kcapi_
cipher_ ⚠dec_ sm4_ cbc - kcapi_cipher_dec_sm4_cbc - Convenience function for SM4 CBC decryption
- kcapi_
cipher_ ⚠dec_ sm4_ ctr - kcapi_cipher_dec_sm4_ctr - Convenience function for SM4 CTR decryption
- kcapi_
cipher_ ⚠decrypt - kcapi_cipher_decrypt() - decrypt data (synchronous one shot)
- kcapi_
cipher_ ⚠decrypt_ aio - kcapi_cipher_decrypt_aio() - decrypt data (asynchronous one shot)
- kcapi_
cipher_ ⚠destroy - kcapi_cipher_destroy() - close the cipher handle and release resources
- kcapi_
cipher_ ⚠enc_ aes_ cbc - kcapi_cipher_enc_aes_cbc - Convenience function for AES CBC encryption
- kcapi_
cipher_ ⚠enc_ aes_ ctr - kcapi_cipher_enc_aes_ctr - Convenience function for AES CTR encryption
- kcapi_
cipher_ ⚠enc_ sm4_ cbc - kcapi_cipher_enc_sm4_cbc - Convenience function for SM4 CBC encryption
- kcapi_
cipher_ ⚠enc_ sm4_ ctr - kcapi_cipher_enc_sm4_ctr - Convenience function for SM4 CTR encryption
- kcapi_
cipher_ ⚠encrypt - kcapi_cipher_encrypt() - encrypt data (synchronous one shot)
- kcapi_
cipher_ ⚠encrypt_ aio - kcapi_cipher_encrypt_aio() - encrypt data (asynchronous one shot)
- kcapi_
cipher_ ⚠init - kcapi_cipher_init() - initialize cipher handle
- kcapi_
cipher_ ⚠ivsize - kcapi_cipher_ivsize() - return size of IV required for cipher
- kcapi_
cipher_ ⚠setkey - kcapi_cipher_setkey() - set the key for the cipher handle
- kcapi_
cipher_ ⚠stream_ init_ dec - kcapi_cipher_stream_init_dec() - start a decryption operation (stream)
- kcapi_
cipher_ ⚠stream_ init_ enc - kcapi_cipher_stream_init_enc() - start an encryption operation (stream)
- kcapi_
cipher_ ⚠stream_ op - kcapi_cipher_stream_op() - obtain processed data (stream)
- kcapi_
cipher_ ⚠stream_ update - kcapi_cipher_stream_update() - send more data for processing (stream)
- kcapi_
cipher_ ⚠stream_ update_ last - kcapi_cipher_stream_update_last() - send last data for processing (stream)
- kcapi_
get_ ⚠maxsplicesize - kcapi_get_maxsplicesize - Get maximum buffer size for splice
- kcapi_
handle_ ⚠reinit - kcapi_handle_reinit() - re-initialize a new kernel interface
- kcapi_
hkdf ⚠ - kcapi_hkdf() - Extract-and-Expand HKDF (RFC5869)
- kcapi_
kdf_ ⚠ctr - kcapi_kdf_ctr() - Counter Mode Key Derivation Function
- kcapi_
kdf_ ⚠dpi - kcapi_kdf_dpi() - Double Pipeline Mode Key Derivation Function
- kcapi_
kdf_ ⚠fb - kcapi_kdf_fb() - Feedback Mode Key Derivation Function
- kcapi_
kpp_ ⚠destroy - kcapi_kpp_destroy() - close the cipher handle and release resources
- kcapi_
kpp_ ⚠dh_ setparam_ pkcs3 - kcapi_kpp_dh_setparam_pkcs3 - set the PG parameters using PKCS3 format
- kcapi_
kpp_ ⚠ecdh_ setcurve - kcapi_kpp_ecdh_setcurve - set the ECC curve to be used for ECDH
- kcapi_
kpp_ ⚠init - kcapi_kpp_init() - initialize cipher handle
- kcapi_
kpp_ ⚠keygen - kcapi_kpp_keygen - generate a public key
- kcapi_
kpp_ ⚠keygen_ aio - kcapi_kpp_keygen_aio() - generate a public key (asynchronous one shot)
- kcapi_
kpp_ ⚠setkey - kcapi_kpp_setkey - set the private key of the DH / ECDH operation
- kcapi_
kpp_ ⚠ssgen - kcapi_kpp_ssgen - generate a shared secret
- kcapi_
kpp_ ⚠ssgen_ aio - kcapi_kpp_ssgen_aio() - generate a shared secret (asynchronous one shot)
- kcapi_
md_ ⚠blocksize - kcapi_md_blocksize() - return size of one block of the message digest
- kcapi_
md_ ⚠destroy - kcapi_md_destroy() - close the message digest handle and release resources
- kcapi_
md_ ⚠digest - kcapi_md_digest() - calculate message digest on buffer (one-shot)
- kcapi_
md_ ⚠digestsize - kcapi_md_digestsize() - return the size of the message digest
- kcapi_
md_ ⚠final - kcapi_md_final() - message digest finalization function (stream)
- kcapi_
md_ ⚠hmac_ sha1 - kcapi_md_hmac_sha1 - HMAC SHA-1 keyed message digest on one buffer
- kcapi_
md_ ⚠hmac_ sha224 - kcapi_md_hmac_sha224 - HMAC SHA-224 keyed message digest on one buffer
- kcapi_
md_ ⚠hmac_ sha256 - kcapi_md_hmac_sha256 - HMAC SHA-256 keyed message digest on one buffer
- kcapi_
md_ ⚠hmac_ sha384 - kcapi_md_hmac_sha384 - HMAC SHA-384 keyed message digest on one buffer
- kcapi_
md_ ⚠hmac_ sha512 - kcapi_md_hmac_sha512 - HMAC SHA-512 keyed message digest on one buffer
- kcapi_
md_ ⚠hmac_ sm3 - kcapi_md_hmac_sm3 - HMAC SM3 keyed message digest on one buffer
- kcapi_
md_ ⚠init - kcapi_md_init() - initialize cipher handle
- kcapi_
md_ ⚠setkey - kcapi_md_setkey() - set the key for the message digest handle
- kcapi_
md_ ⚠sha1 - kcapi_md_sha1 - SHA-1 message digest on one buffer
- kcapi_
md_ ⚠sha224 - kcapi_md_sha224 - SHA-224 message digest on one buffer
- kcapi_
md_ ⚠sha256 - kcapi_md_sha256 - SHA-256 message digest on one buffer
- kcapi_
md_ ⚠sha384 - kcapi_md_sha384 - SHA-384 message digest on one buffer
- kcapi_
md_ ⚠sha512 - kcapi_md_sha512 - SHA-512 message digest on one buffer
- kcapi_
md_ ⚠sm3 - kcapi_md_sm3 - SM3 message digest on one buffer
- kcapi_
md_ ⚠update - kcapi_md_update() - message digest update function (stream)
- kcapi_
memset_ ⚠secure - kcapi_memset_secure() - memset() implementation that will not be optimized away by the compiler
- kcapi_
pad_ ⚠iv - kcapi_pad_iv() - realign the IV as necessary for cipher
- kcapi_
pbkdf ⚠ - kcapi_pbkdf() - Password-based Key Derivation Function
- kcapi_
pbkdf_ ⚠iteration_ count - kcapi_pbkdf_iteration_count() - Calculate numbers of iterations for a PBKDF
- kcapi_
rng_ ⚠destroy - kcapi_rng_destroy() - close the RNG handle and release resources
- kcapi_
rng_ ⚠generate - kcapi_rng_generate() - generate a random number
- kcapi_
rng_ ⚠get_ bytes - kcapi_rng_get_bytes - Convenience function to generate random bytes
- kcapi_
rng_ ⚠init - kcapi_rng_init() - initialize cipher handle
- kcapi_
rng_ ⚠seed - kcapi_rng_seed() - seed the RNG
- kcapi_
rng_ ⚠seedsize - kcapi_rng_seedsize() - return required seed size of DRNG
- kcapi_
rng_ ⚠setaddtl - kcapi_rng_setaddtl() - send additional data to the RNG
- kcapi_
rng_ ⚠setentropy - kcapi_rng_setentropy() - set the initial entropy of the RNG
- kcapi_
set_ ⚠maxsplicesize - kcapi_set_maxsplicesize - Set maximum buffer size for splice
- kcapi_
set_ ⚠verbosity - kcapi_set_verbosity() - set the verbosity level of the library
- kcapi_
version ⚠ - kcapi_version() - return machine-usable version number of kcapi library
- kcapi_
versionstring ⚠ - kcapi_versionstring() - obtain version string of kcapi library
- preadv⚠
- pselect⚠
- pwritev⚠
- readv⚠
- select⚠
- writev⚠
Type Aliases§
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
caddr_ t - __
clock_ t - __
clockid_ t - __
daddr_ t - __dev_t
- __
fd_ mask - __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
pthread_ list_ t - __
pthread_ slist_ t - __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds64_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
thrd_ t - __
time_ t - __
timer_ t - __tss_t
- __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - blkcnt_
t - blksize_
t - caddr_t
- clock_t
- clockid_
t - daddr_t
- dev_t
- fd_mask
- fsblkcnt_
t - fsfilcnt_
t - fsid_t
- gid_t
- id_t
- ino_t
- int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - kcapi_
verbosity - DOC: Common API
- key_t
- loff_t
- mode_t
- nlink_t
- off_t
- pid_t
- pthread_
key_ t - pthread_
once_ t - pthread_
spinlock_ t - pthread_
t - quad_t
- register_
t - sigset_
t - size_t
- ssize_t
- suseconds_
t - time_t
- timer_t
- u_char
- u_int
- u_
int8_ t - u_
int16_ t - u_
int32_ t - u_
int64_ t - u_long
- u_
quad_ t - u_short
- uid_t
- uint
- uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t - ulong
- ushort