Function bearssl::br_rsa_i62_pkcs1_sign
[−]
[src]
pub unsafe extern "C" fn br_rsa_i62_pkcs1_sign(
hash_oid: *const c_uchar,
hash: *const c_uchar,
hash_len: usize,
sk: *const br_rsa_private_key,
x: *mut c_uchar
) -> u32
\brief RSA signature generation engine "i62".
This function is defined only on architecture that offer a 64x64->128
opcode. Use br_rsa_i62_pkcs1_sign_get()
to dynamically obtain a pointer
to that functiom.
\see br_rsa_pkcs1_sign
\param hash_oid encoded hash algorithm OID (or NULL
).
\param hash hash value.
\param hash_len hash value length (in bytes).
\param sk RSA private key.
\param x output buffer for the hash value.
\return 1 on success, 0 on error.