Skip to main content

Crate botan_sys

Crate botan_sys 

Source

Modules§

ffi_types

Structs§

ESYS_CONTEXT

Enums§

X509CrlReasonCode
X509GeneralNameType
X509KeyConstraints
X509ValueType
botan_asn1_oid_struct
botan_block_cipher_struct
botan_cipher_struct
botan_ec_group_struct
botan_ec_point_struct
botan_ec_scalar_struct
botan_fpe_struct
botan_hash_struct
botan_hotp_struct
botan_mac_struct
botan_mp_struct
botan_pk_op_decrypt_struct
botan_pk_op_encrypt_struct
botan_pk_op_ka_struct
botan_pk_op_kem_decrypt_struct
botan_pk_op_kem_encrypt_struct
botan_pk_op_sign_struct
botan_pk_op_verify_struct
botan_privkey_struct
botan_pubkey_struct
botan_rng_struct
botan_srp6_server_session_struct
botan_totp_struct
botan_tpm2_crypto_backend_state_struct
botan_tpm2_ctx_struct
botan_tpm2_session_struct
botan_x509_cert_struct
botan_x509_crl_entry_struct
botan_x509_crl_struct
botan_x509_general_name_struct
botan_xof_struct

Constants§

BOTAN_FFI_ERROR_BAD_FLAG
BOTAN_FFI_ERROR_BAD_MAC
BOTAN_FFI_ERROR_BAD_PARAMETER
BOTAN_FFI_ERROR_EXCEPTION_THROWN
BOTAN_FFI_ERROR_HTTP_ERROR
BOTAN_FFI_ERROR_INSUFFICIENT_BUFFER_SPACE
BOTAN_FFI_ERROR_INTERNAL_ERROR
BOTAN_FFI_ERROR_INVALID_INPUT
BOTAN_FFI_ERROR_INVALID_KEY_LENGTH
BOTAN_FFI_ERROR_INVALID_OBJECT
BOTAN_FFI_ERROR_INVALID_OBJECT_STATE
BOTAN_FFI_ERROR_KEY_NOT_SET
BOTAN_FFI_ERROR_NOT_IMPLEMENTED
BOTAN_FFI_ERROR_NO_VALUE
BOTAN_FFI_ERROR_NULL_POINTER
BOTAN_FFI_ERROR_OUT_OF_MEMORY
BOTAN_FFI_ERROR_OUT_OF_RANGE
BOTAN_FFI_ERROR_ROUGHTIME_ERROR
BOTAN_FFI_ERROR_STRING_CONVERSION_ERROR
BOTAN_FFI_ERROR_SYSTEM_ERROR
BOTAN_FFI_ERROR_TLS_ERROR
BOTAN_FFI_ERROR_TPM_ERROR
BOTAN_FFI_ERROR_UNKNOWN_ERROR
BOTAN_FFI_INVALID_VERIFIER
BOTAN_FFI_SUCCESS

Functions§

botan_base64_decode
botan_base64_encode
botan_bcrypt_generate
botan_bcrypt_is_valid
botan_block_cipher_block_size
botan_block_cipher_clear
botan_block_cipher_decrypt_blocks
botan_block_cipher_destroy
botan_block_cipher_encrypt_blocks
botan_block_cipher_get_keyspec
botan_block_cipher_init
botan_block_cipher_name
botan_block_cipher_set_key
botan_cipher_clear
botan_cipher_destroy
botan_cipher_get_default_nonce_length
botan_cipher_get_ideal_update_granularity
botan_cipher_get_keyspec
botan_cipher_get_tag_length
botan_cipher_get_update_granularity
botan_cipher_init
botan_cipher_is_authenticated
botan_cipher_name
botan_cipher_output_length
botan_cipher_query_keylen
botan_cipher_requires_entire_message
botan_cipher_reset
botan_cipher_set_associated_data
botan_cipher_set_key
botan_cipher_start
botan_cipher_update
botan_cipher_valid_nonce_length
botan_constant_time_compare
botan_ec_group_destroy
botan_ec_group_equal
botan_ec_group_from_ber
botan_ec_group_from_name
botan_ec_group_from_oid
botan_ec_group_from_params
botan_ec_group_from_pem
botan_ec_group_get_a
botan_ec_group_get_b
botan_ec_group_get_curve_oid
botan_ec_group_get_g_x
botan_ec_group_get_g_y
botan_ec_group_get_order
botan_ec_group_get_p
botan_ec_group_supports_application_specific_group
botan_ec_group_supports_named_group
botan_ec_group_unregister
botan_ec_group_view_der
botan_ec_group_view_pem
botan_ec_point_add
botan_ec_point_destroy
botan_ec_point_equal
botan_ec_point_from_bytes
botan_ec_point_from_xy
botan_ec_point_generator
botan_ec_point_identity
botan_ec_point_is_identity
botan_ec_point_mul
botan_ec_point_negate
botan_ec_point_view_compressed
botan_ec_point_view_uncompressed
botan_ec_point_view_x_bytes
botan_ec_point_view_xy_bytes
botan_ec_point_view_y_bytes
botan_ec_privkey_create
botan_ec_privkey_get_group
botan_ec_privkey_get_private_key
botan_ec_pubkey_get_group
botan_ec_scalar_destroy
botan_ec_scalar_from_mp
botan_ec_scalar_random
botan_ec_scalar_to_mp
botan_error_description
botan_error_last_exception_message
botan_ffi_api_version
botan_ffi_supports_api
botan_fpe_decrypt
botan_fpe_destroy
botan_fpe_encrypt
botan_fpe_fe1_init
botan_hash_block_size
botan_hash_clear
botan_hash_copy_state
botan_hash_destroy
botan_hash_final
botan_hash_init
botan_hash_name
botan_hash_output_length
botan_hash_update
botan_hex_decode
botan_hex_encode
botan_hotp_check
botan_hotp_destroy
botan_hotp_generate
botan_hotp_init
botan_kdf
botan_key_unwrap3394
botan_key_wrap3394
botan_mac_clear
botan_mac_destroy
botan_mac_final
botan_mac_get_keyspec
botan_mac_init
botan_mac_name
botan_mac_output_length
botan_mac_set_key
botan_mac_set_nonce
botan_mac_update
botan_mp_add
botan_mp_add_u32
botan_mp_clear
botan_mp_clear_bit
botan_mp_cmp
botan_mp_destroy
botan_mp_div
botan_mp_equal
botan_mp_flip_sign
botan_mp_from_bin
botan_mp_gcd
botan_mp_get_bit
botan_mp_init
botan_mp_is_even
botan_mp_is_negative
botan_mp_is_odd
botan_mp_is_positive
botan_mp_is_prime
botan_mp_is_zero
botan_mp_lshift
botan_mp_mod_inverse
botan_mp_mod_mul
botan_mp_mul
botan_mp_num_bits
botan_mp_num_bytes
botan_mp_powmod
botan_mp_rand_bits
botan_mp_rand_range
botan_mp_rshift
botan_mp_set_bit
botan_mp_set_from_int
botan_mp_set_from_mp
botan_mp_set_from_radix_str
botan_mp_set_from_str
botan_mp_sub
botan_mp_sub_u32
botan_mp_swap
botan_mp_to_bin
botan_mp_to_hex
botan_mp_to_str
botan_mp_to_uint32
botan_mp_view_bin
botan_mp_view_hex
botan_mp_view_str
botan_nist_kw_dec
botan_nist_kw_enc
botan_oid_cmp
botan_oid_destroy
botan_oid_equal
botan_oid_from_string
botan_oid_register
botan_oid_view_name
botan_oid_view_string
botan_pbkdf
botan_pbkdf_timed
botan_pk_op_decrypt
botan_pk_op_decrypt_create
botan_pk_op_decrypt_destroy
botan_pk_op_decrypt_output_length
botan_pk_op_encrypt
botan_pk_op_encrypt_create
botan_pk_op_encrypt_destroy
botan_pk_op_encrypt_output_length
botan_pk_op_kem_decrypt_create
botan_pk_op_kem_decrypt_destroy
botan_pk_op_kem_decrypt_shared_key
botan_pk_op_kem_decrypt_shared_key_length
botan_pk_op_kem_encrypt_create
botan_pk_op_kem_encrypt_create_shared_key
botan_pk_op_kem_encrypt_destroy
botan_pk_op_kem_encrypt_encapsulated_key_length
botan_pk_op_kem_encrypt_shared_key_length
botan_pk_op_key_agreement
botan_pk_op_key_agreement_create
botan_pk_op_key_agreement_destroy
botan_pk_op_key_agreement_export_public
botan_pk_op_key_agreement_size
botan_pk_op_key_agreement_view_public
botan_pk_op_sign_create
botan_pk_op_sign_destroy
botan_pk_op_sign_finish
botan_pk_op_sign_output_length
botan_pk_op_sign_update
botan_pk_op_verify_create
botan_pk_op_verify_destroy
botan_pk_op_verify_finish
botan_pk_op_verify_update
botan_pkcs_hash_id
botan_privkey_algo_name
botan_privkey_check_key
botan_privkey_create
botan_privkey_create_dh
botan_privkey_create_dsa
botan_privkey_create_ecdh
botan_privkey_create_ecdsa
botan_privkey_create_elgamal
botan_privkey_create_rsa
botan_privkey_destroy
botan_privkey_dsa_get_x
botan_privkey_ed448_get_privkey
botan_privkey_ed25519_get_privkey
botan_privkey_export
botan_privkey_export_encrypted
botan_privkey_export_encrypted_pbkdf_iter
botan_privkey_export_encrypted_pbkdf_msec
botan_privkey_export_pubkey
botan_privkey_get_field
botan_privkey_load
botan_privkey_load_classic_mceliece
botan_privkey_load_dh
botan_privkey_load_dsa
botan_privkey_load_ecdh
botan_privkey_load_ecdsa
botan_privkey_load_ed448
botan_privkey_load_ed25519
botan_privkey_load_elgamal
botan_privkey_load_frodokem
botan_privkey_load_kyber
botan_privkey_load_ml_dsa
botan_privkey_load_ml_kem
botan_privkey_load_rsa
botan_privkey_load_rsa_pkcs1
botan_privkey_load_slh_dsa
botan_privkey_load_sm2
botan_privkey_load_sm2_enc
botan_privkey_load_x448
botan_privkey_load_x25519
botan_privkey_oid
botan_privkey_remaining_operations
botan_privkey_rsa_get_d
botan_privkey_rsa_get_e
botan_privkey_rsa_get_n
botan_privkey_rsa_get_p
botan_privkey_rsa_get_privkey
botan_privkey_rsa_get_q
botan_privkey_stateful_operation
botan_privkey_view_der
botan_privkey_view_encrypted_der
botan_privkey_view_encrypted_der_timed
botan_privkey_view_encrypted_pem
botan_privkey_view_encrypted_pem_timed
botan_privkey_view_pem
botan_privkey_view_raw
botan_privkey_x448_get_privkey
botan_privkey_x25519_get_privkey
botan_pubkey_algo_name
botan_pubkey_check_key
botan_pubkey_destroy
botan_pubkey_dsa_get_g
botan_pubkey_dsa_get_p
botan_pubkey_dsa_get_q
botan_pubkey_dsa_get_y
botan_pubkey_ecc_key_used_explicit_encoding
botan_pubkey_ed448_get_pubkey
botan_pubkey_ed25519_get_pubkey
botan_pubkey_estimated_strength
botan_pubkey_export
botan_pubkey_fingerprint
botan_pubkey_get_field
botan_pubkey_load
botan_pubkey_load_classic_mceliece
botan_pubkey_load_dh
botan_pubkey_load_dsa
botan_pubkey_load_ecdh
botan_pubkey_load_ecdh_sec1
botan_pubkey_load_ecdsa
botan_pubkey_load_ecdsa_sec1
botan_pubkey_load_ed448
botan_pubkey_load_ed25519
botan_pubkey_load_elgamal
botan_pubkey_load_frodokem
botan_pubkey_load_kyber
botan_pubkey_load_ml_dsa
botan_pubkey_load_ml_kem
botan_pubkey_load_rsa
botan_pubkey_load_rsa_pkcs1
botan_pubkey_load_slh_dsa
botan_pubkey_load_sm2
botan_pubkey_load_sm2_enc
botan_pubkey_load_sm2_sec1
botan_pubkey_load_x448
botan_pubkey_load_x25519
botan_pubkey_oid
botan_pubkey_rsa_get_e
botan_pubkey_rsa_get_n
botan_pubkey_sm2_compute_za
botan_pubkey_view_der
botan_pubkey_view_ec_public_point
botan_pubkey_view_pem
botan_pubkey_view_raw
botan_pubkey_x448_get_pubkey
botan_pubkey_x25519_get_pubkey
botan_pwdhash
botan_pwdhash_timed
botan_rng_add_entropy
botan_rng_destroy
botan_rng_generate_with_input
botan_rng_get
botan_rng_init
botan_rng_init_custom
botan_rng_init_drbg
botan_rng_reseed
botan_rng_reseed_from_rng
botan_scrub_mem
botan_scrypt
botan_srp6_client_agree
botan_srp6_generate_verifier
botan_srp6_group_size
botan_srp6_server_session_destroy
botan_srp6_server_session_init
botan_srp6_server_session_step1
botan_srp6_server_session_step2
botan_system_rng_get
botan_totp_check
botan_totp_destroy
botan_totp_generate
botan_totp_init
botan_tpm2_crypto_backend_state_destroy
botan_tpm2_ctx_destroy
botan_tpm2_ctx_enable_crypto_backend
botan_tpm2_ctx_from_esys
botan_tpm2_ctx_init
botan_tpm2_ctx_init_ex
botan_tpm2_enable_crypto_backend
botan_tpm2_rng_init
botan_tpm2_session_destroy
botan_tpm2_supports_crypto_backend
botan_tpm2_unauthenticated_session_init
botan_version_datestamp
botan_version_major
botan_version_minor
botan_version_patch
botan_version_string
botan_x509_cert_allowed_extended_usage_oid
botan_x509_cert_allowed_extended_usage_str
botan_x509_cert_allowed_usage
botan_x509_cert_destroy
botan_x509_cert_dup
botan_x509_cert_excluded_name_constraints
botan_x509_cert_excluded_name_constraints_count
botan_x509_cert_get_authority_key_id
botan_x509_cert_get_fingerprint
botan_x509_cert_get_issuer_dn
botan_x509_cert_get_issuer_dn_count
botan_x509_cert_get_path_length_constraint
botan_x509_cert_get_public_key
botan_x509_cert_get_public_key_bits
botan_x509_cert_get_serial_number
botan_x509_cert_get_subject_dn
botan_x509_cert_get_subject_dn_count
botan_x509_cert_get_subject_key_id
botan_x509_cert_get_time_expires
botan_x509_cert_get_time_starts
botan_x509_cert_hostname_match
botan_x509_cert_is_ca
botan_x509_cert_issuer_alternative_names
botan_x509_cert_issuer_alternative_names_count
botan_x509_cert_load
botan_x509_cert_load_file
botan_x509_cert_not_after
botan_x509_cert_not_before
botan_x509_cert_permitted_name_constraints
botan_x509_cert_permitted_name_constraints_count
botan_x509_cert_serial_number
botan_x509_cert_subject_alternative_names
botan_x509_cert_subject_alternative_names_count
botan_x509_cert_to_string
botan_x509_cert_validation_status
botan_x509_cert_verify
botan_x509_cert_verify_with_crl
botan_x509_cert_view_as_string
botan_x509_cert_view_binary_values
botan_x509_cert_view_binary_values_count
botan_x509_cert_view_public_key_bits
botan_x509_cert_view_string_values
botan_x509_cert_view_string_values_count
botan_x509_crl_create
botan_x509_crl_destroy
botan_x509_crl_entries
botan_x509_crl_entries_count
botan_x509_crl_entry_create
botan_x509_crl_entry_destroy
botan_x509_crl_entry_reason
botan_x509_crl_entry_revocation_date
botan_x509_crl_entry_serial_number
botan_x509_crl_entry_view_serial_number
botan_x509_crl_load
botan_x509_crl_load_file
botan_x509_crl_next_update
botan_x509_crl_this_update
botan_x509_crl_update
botan_x509_crl_verify_signature
botan_x509_crl_view_binary_values
botan_x509_crl_view_binary_values_count
botan_x509_crl_view_string_values
botan_x509_crl_view_string_values_count
botan_x509_general_name_destroy
botan_x509_general_name_get_type
botan_x509_general_name_view_binary_value
botan_x509_general_name_view_string_value
botan_x509_is_revoked
botan_xof_accepts_input
botan_xof_block_size
botan_xof_clear
botan_xof_copy_state
botan_xof_destroy
botan_xof_init
botan_xof_name
botan_xof_output
botan_xof_update
botan_zfec_decode
botan_zfec_encode

Type Aliases§

BOTAN_FFI_ERROR
botan_asn1_oid_t
botan_block_cipher_t
botan_cipher_t
botan_ec_group_t
botan_ec_point_t
botan_ec_scalar_t
botan_fpe_t
botan_hash_t
botan_hotp_t
botan_mac_t
botan_mp_t
botan_pk_op_decrypt_t
botan_pk_op_encrypt_t
botan_pk_op_ka_t
botan_pk_op_kem_decrypt_t
botan_pk_op_kem_encrypt_t
botan_pk_op_sign_t
botan_pk_op_verify_t
botan_privkey_t
botan_pubkey_t
botan_rng_t
botan_srp6_server_session_t
botan_totp_t
botan_tpm2_crypto_backend_state_t
botan_tpm2_ctx_t
botan_tpm2_session_t
botan_x509_cert_t
botan_x509_crl_entry_t
botan_x509_crl_t
botan_x509_general_name_t
botan_xof_t