Package libkcapi-devel

Development files for the libkcapi package

https://www.chronox.de/libkcapi/

Header files for applications that use libkcapi.

Version: 1.5.0

Library Functions

kcapi_aead_authsize return the maximum size of the tag
kcapi_aead_blocksize return size of one block of the cipher
kcapi_aead_ccm_nonce_to_iv convert CCM nonce into IV
kcapi_aead_decrypt synchronously decrypt AEAD data (one shot)
kcapi_aead_decrypt_aio asynchronously decrypt AEAD data (one shot)
kcapi_aead_destroy close the AEAD handle and release resources
kcapi_aead_encrypt synchronously encrypt AEAD data (one shot)
kcapi_aead_encrypt_aio asynchronously encrypt AEAD data (one shot)
kcapi_aead_getdata_input get the pointers into input buffer
kcapi_aead_getdata_output get the pointers into output buffer
kcapi_aead_inbuflen_dec return minimum decryption input buffer length
kcapi_aead_inbuflen_enc return minimum encryption input buffer length
kcapi_aead_init initialization of cipher handle
kcapi_aead_ivsize return size of IV required for cipher
kcapi_aead_outbuflen_dec return minimum decryption output buffer length
kcapi_aead_outbuflen_enc return minimum encryption output buffer length
kcapi_aead_setassoclen set authentication data size
kcapi_aead_setkey set the key for the AEAD handle
kcapi_aead_settaglen set authentication tag size
kcapi_aead_stream_init_dec start a decryption operation (stream)
kcapi_aead_stream_init_enc start an encryption operation (stream)
kcapi_aead_stream_op obtain processed data (stream)
kcapi_aead_stream_update send more data for processing (stream)
kcapi_aead_stream_update_last send last data for processing (stream)
kcapi_akcipher_decrypt decrypt data
kcapi_akcipher_decrypt_aio decrypt data (asynchronous one shot)
kcapi_akcipher_destroy close the cipher handle and release resources
kcapi_akcipher_encrypt encrypt data
kcapi_akcipher_encrypt_aio encrypt data (asynchronous one shot)
kcapi_akcipher_init initialize cipher handle
kcapi_akcipher_setkey set the private key for the cipher handle
kcapi_akcipher_setpubkey set the public key for the cipher handle
kcapi_akcipher_sign signature generation
kcapi_akcipher_sign_aio sign data (asynchronous one shot)
kcapi_akcipher_stream_init_dec start an decryption operation (stream)
kcapi_akcipher_stream_init_enc start an encryption operation (stream)
kcapi_akcipher_stream_init_sgn start an signing operation (stream)
kcapi_akcipher_stream_init_vfy start an signature verification operation (stream)
kcapi_akcipher_stream_op obtain processed data (stream)
kcapi_akcipher_stream_update send more data for processing (stream)
kcapi_akcipher_verify signature verification
kcapi_akcipher_verify_aio verify data (asynchronous one shot)
kcapi_cipher_blocksize return size of one block of the cipher
kcapi_cipher_dec_aes_cbc Convenience function for AES CBC decryption
kcapi_cipher_dec_aes_ctr Convenience function for AES CTR decryption
kcapi_cipher_dec_sm4_cbc Convenience function for SM4 CBC decryption
kcapi_cipher_dec_sm4_ctr Convenience function for SM4 CTR decryption
kcapi_cipher_decrypt decrypt data (synchronous one shot)
kcapi_cipher_decrypt_aio decrypt data (asynchronous one shot)
kcapi_cipher_destroy close the cipher handle and release resources
kcapi_cipher_enc_aes_cbc Convenience function for AES CBC encryption
kcapi_cipher_enc_aes_ctr Convenience function for AES CTR encryption
kcapi_cipher_enc_sm4_cbc Convenience function for SM4 CBC encryption
kcapi_cipher_enc_sm4_ctr Convenience function for SM4 CTR encryption
kcapi_cipher_encrypt encrypt data (synchronous one shot)
kcapi_cipher_encrypt_aio encrypt data (asynchronous one shot)
kcapi_cipher_init initialize cipher handle
kcapi_cipher_ivsize return size of IV required for cipher
kcapi_cipher_setkey set the key for the cipher handle
kcapi_cipher_stream_init_dec start a decryption operation (stream)
kcapi_cipher_stream_init_enc start an encryption operation (stream)
kcapi_cipher_stream_op obtain processed data (stream)
kcapi_cipher_stream_update send more data for processing (stream)
kcapi_cipher_stream_update_last send last data for processing (stream)
kcapi_get_maxsplicesize Get maximum buffer size for splice
kcapi_handle_reinit re-initialize a new kernel interface
kcapi_hkdf Extract-and-Expand HKDF (RFC5869)
kcapi_kdf_ctr Counter Mode Key Derivation Function
kcapi_kdf_dpi Double Pipeline Mode Key Derivation Function
kcapi_kdf_fb Feedback Mode Key Derivation Function
kcapi_kpp_destroy close the cipher handle and release resources
kcapi_kpp_dh_setparam_pkcs3 set the PG parameters using PKCS3 format
kcapi_kpp_ecdh_setcurve set the ECC curve to be used for ECDH
kcapi_kpp_init initialize cipher handle
kcapi_kpp_keygen generate a public key
kcapi_kpp_keygen_aio generate a public key (asynchronous one shot)
kcapi_kpp_setkey set the private key of the DH / ECDH operation
kcapi_kpp_ssgen generate a shared secret
kcapi_kpp_ssgen_aio generate a shared secret (asynchronous one shot)
kcapi_md_destroy close the message digest handle and release resources
kcapi_md_digest calculate message digest on buffer (one-shot)
kcapi_md_digestsize return the size of the message digest
kcapi_md_final message digest finalization function (stream)
kcapi_md_hmac_sha1 HMAC SHA-1 keyed message digest on one buffer
kcapi_md_hmac_sha224 HMAC SHA-224 keyed message digest on one buffer
kcapi_md_hmac_sha256 HMAC SHA-256 keyed message digest on one buffer
kcapi_md_hmac_sha384 HMAC SHA-384 keyed message digest on one buffer
kcapi_md_hmac_sha512 HMAC SHA-512 keyed message digest on one buffer
kcapi_md_hmac_sm3 HMAC SM3 keyed message digest on one buffer
kcapi_md_init initialize cipher handle
kcapi_md_setkey set the key for the message digest handle
kcapi_md_sha1 SHA-1 message digest on one buffer
kcapi_md_sha224 SHA-224 message digest on one buffer
kcapi_md_sha256 SHA-256 message digest on one buffer
kcapi_md_sha384 SHA-384 message digest on one buffer
kcapi_md_sha3_224 SHA3-224 message digest on one buffer
kcapi_md_sha3_256 SHA3-256 message digest on one buffer
kcapi_md_sha3_384 SHA3-384 message digest on one buffer
kcapi_md_sha3_512 SHA3-512 message digest on one buffer
kcapi_md_sha512 SHA-512 message digest on one buffer
kcapi_md_sm3 SM3 message digest on one buffer
kcapi_md_update message digest update function (stream)
kcapi_memset_secure memset implementation that will not be optimized away by the compiler
kcapi_pad_iv realign the IV as necessary for cipher
kcapi_pbkdf Password-based Key Derivation Function
kcapi_pbkdf_iteration_count Calculate numbers of iterations for a PBKDF
kcapi_rng_destroy close the RNG handle and release resources
kcapi_rng_generate generate a random number
kcapi_rng_get_bytes Convenience function to generate random bytes
kcapi_rng_init initialize cipher handle
kcapi_rng_seed seed the RNG
kcapi_rng_seedsize return required seed size of DRNG
kcapi_set_maxsplicesize Set maximum buffer size for splice
kcapi_set_verbosity set the verbosity level of the library
kcapi_version return machine-usable version number of kcapi library
kcapi_versionstring obtain version string of kcapi library