crypto_private_key_free - Free private key @key: Private key from crypto_private_key_import() This function is only used with internal TLSv1 implementation (CONFIG_TLS=internal). If that is not used, the crypto wrapper does not need to implement this.
crypto_private_key_sign_pkcs1 - Sign with private key (PKCS #1) @key: Private key from crypto_private_key_import() @in: Plaintext buffer @inlen: Length of plaintext buffer in bytes @out: Output buffer for encrypted (signed) data @outlen: Length of output buffer in bytes; set to used length on success Returns: 0 on success, -1 on failure This function is only used with internal TLSv1 implementation (CONFIG_TLS=internal). If that is not used, the crypto wrapper does not need to implement this.
crypto_private_key_decrypt_pkcs1_v15 - Private key decryption (PKCS #1 v1.5) @key: Private key @in: Encrypted buffer @inlen: Length of encrypted buffer in bytes @out: Output buffer for encrypted data @outlen: Length of output buffer in bytes; set to used length on success Returns: 0 on success, -1 on failure This function is only used with internal TLSv1 implementation (CONFIG_TLS=internal). If that is not used, the crypto wrapper does not need to implement this.