Searched refs:check_int_result (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Virtualization/libs/bssl/src/ |
D | ec_key.rs | 20 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 …]
|
D | evp.rs | 20 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()
|
D | aead.rs | 17 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()
|
D | rand.rs | 17 use crate::util::check_int_result; 25 check_int_result(ret, ApiName::RAND_bytes) in rand_bytes()
|
D | curve25519.rs | 17 use crate::util::check_int_result; 38 check_int_result(ret, ApiName::ED25519_verify)
|
D | hkdf.rs | 18 use crate::util::check_int_result; 48 check_int_result(ret, ApiName::HKDF)?;
|
D | digest.rs | 17 use crate::util::{check_int_result, to_call_failed_error}; 92 check_int_result(ret, ApiName::EVP_Digest)?; in digest()
|
D | util.rs | 21 pub(crate) fn check_int_result(ret: i32, api_name: ApiName) -> Result<()> { in check_int_result() function
|