Home
last modified time | relevance | path

Searched refs:check_int_result (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Virtualization/libs/bssl/src/
Dec_key.rs20 use crate::util::{check_int_result, to_call_failed_error};
132 check_int_result(ret, ApiName::EC_KEY_set_public_key_affine_coordinates)?; in from_cose_public_key()
144 check_int_result(ret, ApiName::EC_KEY_check_key) in check_key()
166 check_int_result(ret, ApiName::ECDSA_verify) in ecdsa_verify_der()
199 check_int_result(ret, ApiName::ECDSA_sign)?; in ecdsa_sign_der()
236 check_int_result(ret, ApiName::EC_KEY_generate_key) in generate_key()
265 check_int_result(ret, ApiName::EC_POINT_get_affine_coordinates)?; in public_key_coordinates()
337 check_int_result(ret, ApiName::EC_KEY_marshal_private_key)?; in ec_private_key()
340 check_int_result(unsafe { CBB_flush(cbb.as_mut()) }, ApiName::CBB_flush)?; in ec_private_key()
384 check_int_result( in load_from_cose()
[all …]
Devp.rs20 use crate::util::{check_int_result, to_call_failed_error};
71 check_int_result(ret, ApiName::EVP_PKEY_set1_EC_KEY)?; in try_from()
90 check_int_result(ret, ApiName::EVP_marshal_public_key)?; in subject_public_key_info()
93 check_int_result(unsafe { CBB_flush(cbb.as_mut()) }, ApiName::CBB_flush)?; in subject_public_key_info()
192 check_int_result(ret, ApiName::EVP_DigestVerifyInit)?; in verify()
205 check_int_result(ret, ApiName::EVP_DigestVerify) in verify()
Daead.rs17 use crate::util::{check_int_result, to_call_failed_error};
135 check_int_result(ret, ApiName::EVP_AEAD_CTX_seal)?; in seal()
169 check_int_result(ret, ApiName::EVP_AEAD_CTX_open)?; in open()
Drand.rs17 use crate::util::check_int_result;
25 check_int_result(ret, ApiName::RAND_bytes) in rand_bytes()
Dcurve25519.rs17 use crate::util::check_int_result;
38 check_int_result(ret, ApiName::ED25519_verify)
Dhkdf.rs18 use crate::util::check_int_result;
48 check_int_result(ret, ApiName::HKDF)?;
Ddigest.rs17 use crate::util::{check_int_result, to_call_failed_error};
92 check_int_result(ret, ApiName::EVP_Digest)?; in digest()
Dutil.rs21 pub(crate) fn check_int_result(ret: i32, api_name: ApiName) -> Result<()> { in check_int_result() function