API referencestd/crypto

std/crypto/openssl/windows

Public declarations, types, methods, and source contracts for std/crypto/openssl/windows.

On this page

Library guide · API index and notation

This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.

import "std/crypto/openssl/windows"

This is a provider or implementation package. Start with the linked guide’s application API; native declarations depend on the selected target.

Names used in signatures

Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.

This package has no source imports.

dodo_crypto_error

Function · Source

pub unsafe extern "C" fn dodo_crypto_error() -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_digest_new

Function · Source

pub unsafe extern "C" fn dodo_crypto_digest_new(algorithm: i32, status: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_digest_update

Function · Source

pub unsafe extern "C" fn dodo_crypto_digest_update(state: *mut u8, bytes: *const u8, count: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_digest_finish

Function · Source

pub unsafe extern "C" fn dodo_crypto_digest_finish(state: *mut u8, output: *mut u8, capacity: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_digest_free

Function · Source

pub unsafe extern "C" fn dodo_crypto_digest_free(state: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_hmac_new

Function · Source

pub unsafe extern "C" fn dodo_crypto_hmac_new(algorithm: i32, key: *const u8, key_len: usize, status: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_mac_update

Function · Source

pub unsafe extern "C" fn dodo_crypto_mac_update(state: *mut u8, bytes: *const u8, count: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_mac_finish

Function · Source

pub unsafe extern "C" fn dodo_crypto_mac_finish(state: *mut u8, output: *mut u8, capacity: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_mac_free

Function · Source

pub unsafe extern "C" fn dodo_crypto_mac_free(state: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_pbkdf2_sha256

Function · Source

pub unsafe extern "C" fn dodo_crypto_pbkdf2_sha256(password: *const u8, password_len: usize, salt: *const u8, salt_len: usize, iterations: u32, output: *mut u8, capacity: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_cipher_new

Function · Source

pub unsafe extern "C" fn dodo_crypto_cipher_new(algorithm: i32, encrypt: i32, key: *const u8, key_len: usize, iv: *const u8, iv_len: usize, status: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_cipher_update

Function · Source

pub unsafe extern "C" fn dodo_crypto_cipher_update(state: *mut u8, input: *const u8, output: *mut u8, count: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_cipher_free

Function · Source

pub unsafe extern "C" fn dodo_crypto_cipher_free(state: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_rsa_generate

Function · Source

pub unsafe extern "C" fn dodo_crypto_rsa_generate(bits: u32, status: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_rsa_public_from_der

Function · Source

pub unsafe extern "C" fn dodo_crypto_rsa_public_from_der(der: *const u8, length: usize, status: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_rsa_decrypt

Function · Source

pub unsafe extern "C" fn dodo_crypto_rsa_decrypt(key: *mut u8, input: *const u8, input_len: usize, output: *mut u8, capacity: usize, actual: *mut usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_rsa_encrypt

Function · Source

pub unsafe extern "C" fn dodo_crypto_rsa_encrypt(key: *mut u8, input: *const u8, input_len: usize, output: *mut u8, capacity: usize, actual: *mut usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_key_bits

Function · Source

pub unsafe extern "C" fn dodo_crypto_key_bits(key: *mut u8) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_key_size

Function · Source

pub unsafe extern "C" fn dodo_crypto_key_size(key: *mut u8) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_key_public_der

Function · Source

pub unsafe extern "C" fn dodo_crypto_key_public_der(key: *mut u8, output: *mut u8, capacity: usize, actual: *mut usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_crypto_key_free

Function · Source

pub unsafe extern "C" fn dodo_crypto_key_free(key: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

Search every guide, reference page, and API declaration.