multiversx_sc/api/uncallable/
crypto_api_uncallable.rsuse super::UncallableApi;
use crate::{
api::{CryptoApi, CryptoApiImpl},
types::MessageHashType,
};
impl CryptoApi for UncallableApi {
type CryptoApiImpl = UncallableApi;
fn crypto_api_impl() -> Self::CryptoApiImpl {
unreachable!()
}
}
impl CryptoApiImpl for UncallableApi {
fn sha256_managed(
&self,
_dest: Self::ManagedBufferHandle,
_data_handle: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn keccak256_managed(
&self,
_dest: Self::ManagedBufferHandle,
_data_handle: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn ripemd160_managed(
&self,
_dest: Self::ManagedBufferHandle,
_data_handle: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn verify_bls_managed(
&self,
_key: Self::ManagedBufferHandle,
_message: Self::ManagedBufferHandle,
_signature: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn verify_ed25519_managed(
&self,
_key: Self::ManagedBufferHandle,
_message: Self::ManagedBufferHandle,
_signature: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn verify_secp256k1_managed(
&self,
_key: Self::ManagedBufferHandle,
_message: Self::ManagedBufferHandle,
_signature: Self::ManagedBufferHandle,
) -> bool {
unreachable!()
}
fn verify_custom_secp256k1_managed(
&self,
_key: Self::ManagedBufferHandle,
_message: Self::ManagedBufferHandle,
_signature: Self::ManagedBufferHandle,
_hash_type: MessageHashType,
) -> bool {
unreachable!()
}
fn encode_secp256k1_der_signature_managed(
&self,
_r: Self::ManagedBufferHandle,
_s: Self::ManagedBufferHandle,
_dest: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn verify_secp256r1_managed(
&self,
_key: Self::ManagedBufferHandle,
_message: Self::ManagedBufferHandle,
_signature: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn verify_bls_signature_share_managed(
&self,
_key: Self::ManagedBufferHandle,
_message: Self::ManagedBufferHandle,
_signature: Self::ManagedBufferHandle,
) {
unreachable!()
}
fn verify_bls_aggregated_signature_managed(
&self,
_key: Self::ManagedBufferHandle,
_message: Self::ManagedBufferHandle,
_signature: Self::ManagedBufferHandle,
) {
unreachable!()
}
}