aws_lc_sys

Function PKCS8_encrypt

Source
pub unsafe extern "C" fn PKCS8_encrypt(
    pbe_nid: c_int,
    cipher: *const EVP_CIPHER,
    pass: *const c_char,
    pass_len: c_int,
    salt: *const u8,
    salt_len: usize,
    iterations: c_int,
    p8inf: *mut PKCS8_PRIV_KEY_INFO,
) -> *mut X509_SIG