Searched refs:CipherError (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Virtualization/libs/bssl/src/ |
D | err.rs | 18 use bssl_avf_error::{CipherError, EcError, EcdsaError, GlobalError, ReasonCode}; 147 fn map_cipher_reason_code(reason: i32) -> Option<CipherError> { in map_cipher_reason_code() argument 149 bssl_sys::CIPHER_R_AES_KEY_SETUP_FAILED => CipherError::AesKeySetupFailed, in map_cipher_reason_code() 150 bssl_sys::CIPHER_R_BAD_DECRYPT => CipherError::BadDecrypt, in map_cipher_reason_code() 151 bssl_sys::CIPHER_R_BAD_KEY_LENGTH => CipherError::BadKeyLength, in map_cipher_reason_code() 152 bssl_sys::CIPHER_R_BUFFER_TOO_SMALL => CipherError::BufferTooSmall, in map_cipher_reason_code() 153 bssl_sys::CIPHER_R_CTRL_NOT_IMPLEMENTED => CipherError::CtrlNotImplemented, in map_cipher_reason_code() 155 CipherError::CtrlOperationNotImplemented in map_cipher_reason_code() 158 CipherError::DataNotMultipleOfBlockLength in map_cipher_reason_code() 160 bssl_sys::CIPHER_R_INITIALIZATION_ERROR => CipherError::InitializationError, in map_cipher_reason_code() [all …]
|
D | lib.rs | 36 pub use bssl_avf_error::{ApiName, CipherError, EcError, EcdsaError, Error, ReasonCode, Result};
|
/packages/modules/Virtualization/libs/bssl/tests/ |
D | aead_test.rs | 15 use bssl_avf::{Aead, AeadContext, ApiName, CipherError, Error, ReasonCode, Result}; 62 ReasonCode::Cipher(CipherError::InvalidNonceSize), in aes_256_gcm_fails_to_encrypt_with_invalid_nonce() 80 Error::CallFailed(ApiName::EVP_AEAD_CTX_open, ReasonCode::Cipher(CipherError::BadDecrypt)); in aes_256_gcm_fails_to_decrypt_with_wrong_key() 97 Error::CallFailed(ApiName::EVP_AEAD_CTX_open, ReasonCode::Cipher(CipherError::BadDecrypt)); in aes_256_gcm_fails_to_decrypt_with_different_ad() 114 Error::CallFailed(ApiName::EVP_AEAD_CTX_open, ReasonCode::Cipher(CipherError::BadDecrypt)); in aes_256_gcm_fails_to_decrypt_with_different_nonce() 132 Error::CallFailed(ApiName::EVP_AEAD_CTX_open, ReasonCode::Cipher(CipherError::BadDecrypt)); in aes_256_gcm_fails_to_decrypt_corrupted_ciphertext()
|
/packages/modules/Virtualization/libs/bssl/error/src/ |
D | code.rs | 27 Cipher(CipherError), 72 pub enum CipherError { enum 96 impl From<CipherError> for ReasonCode { 97 fn from(e: CipherError) -> ReasonCode { in from() 102 impl fmt::Display for CipherError { implementation
|
D | lib.rs | 24 pub use crate::code::{CipherError, EcError, EcdsaError, GlobalError, ReasonCode};
|
/packages/modules/Virtualization/service_vm/requests/src/ |
D | keyblob.rs | 110 use bssl_avf::{ApiName, CipherError, Error}; 146 Error::CallFailed(ApiName::EVP_AEAD_CTX_open, CipherError::BadDecrypt.into()).into(); in decrypting_keyblob_fails_with_a_different_kek()
|