OS Manuals

/usr/bin/kcapi

libkcapi (commandline utilities)

From libkcapi-tools 1.5.1-r2 (os), captured 2026-11-05 by running kcapi --help (exit 1). permalink

/usr/bin/kcapi: unrecognized option '--help'

Kernel Crypto API CAVS Test

Kernel Crypto API interface library version: libkcapi 1.5.1
Reported numeric version number 1050100

Usage:
	-m --aligned	If set, AEAD/sym cipher buffers are aligned at PAGE_SIZE
	-e --enc	If set, encrypt otherwise decrypt
	-o --operation	Asymmetric operation:
		0 for encryption
		1 for decryption
		2 for signing
		3 for verification
	-c --cipher	Kernel Crypto API cipher name to be used for operation
	-p --pt		Plaintext used during encryption / message digest
	-q --ct		Ciphertext used during decryption
	-i --iv		IV used for operation
	-n --nonce	Nonce used for CCM operation
	-k --key	Symmetric cipher key / HMAC key
	-j --asymkey	Asymmetric cipher key in BER format
	-a --assoc	Associated data used for AEAD cipher
	-l --taglen	Tag length to be produced with AEAD encryption
	-t --tag	Tag to be used for decryption
	-x --ciphertype	Cipher type with one out of the following
		1 for symmetric cipher algorithm
		2 for AEAD cipher algorithm
		3 for message digest and keyed message digest
		4 for asymmetric ciphers
		5 for counter KDF
		6 for feedback KDF
		7 for double pipeline KDF
		8 for PBKDF
		9 for AIO symmetric cipher algorithm
		10 for AIO AEAD cipher algorithm
		11 for AIO asymmetric cipher algorithm
	-z --aux	Auxiliary tests of the API
	-s --stream	Use the stream API
	-y --largeinput	Test long AD with AEAD cipher
	-d --execloops	Number of execution loops
	-v --vmsplice	Use vmsplice for AEAD oneshot
	-b --outlen	Length of the data to be generated
	-f --timing	Start timing measurements for execution duration
	-g --aiofallback	Invoke AIO fallback
	-h --fuzztest	Invoke fuzzing tests
	-j --multithreaded	Multithreaded test
	-u --printaad	Print the AAD data after cipher op (AEAD only)
Options (24)
OptionDescriptionSource
-m --alignedIf set, AEAD/sym cipher buffers are aligned at PAGE_SIZEhelp
-e --encIf set, encrypt otherwise decrypthelp
-o --operationAsymmetric operation: 0 for encryption 1 for decryption 2 for signing 3 for verificationhelp
-c --cipherKernel Crypto API cipher name to be used for operationhelp
-p --ptPlaintext used during encryption / message digesthelp
-q --ctCiphertext used during decryptionhelp
-i --ivIV used for operationhelp
-n --nonceNonce used for CCM operationhelp
-k --keySymmetric cipher key / HMAC keyhelp
-j --asymkeyAsymmetric cipher key in BER formathelp
-a --assocAssociated data used for AEAD cipherhelp
-l --taglenTag length to be produced with AEAD encryptionhelp
-t --tagTag to be used for decryptionhelp
-x --ciphertypeCipher type with one out of the following 1 for symmetric cipher algorithm 2 for AEAD cipher algorithm 3 for message digest and keyed message digest 4 for asymmetric ciphers 5 for counter KDF 6 for…help
-z --auxAuxiliary tests of the APIhelp
-s --streamUse the stream APIhelp
-y --largeinputTest long AD with AEAD cipherhelp
-d --execloopsNumber of execution loopshelp
-v --vmspliceUse vmsplice for AEAD oneshothelp
-b --outlenLength of the data to be generatedhelp
-f --timingStart timing measurements for execution durationhelp
-g --aiofallbackInvoke AIO fallbackhelp
-h --fuzztestInvoke fuzzing testshelp
-u --printaadPrint the AAD data after cipher op (AEAD only)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.