Struct nrfxlib_sys::ocrypto_srtp_ctx
source · #[repr(C)]pub struct ocrypto_srtp_ctx {
pub key_size: u32,
pub tag_size: u32,
pub encr_key: [u8; 32],
pub auth_key: [u8; 20],
pub salt_key: [u8; 14],
}
Expand description
SRTP Context.
Fields§
§key_size: u32
Key size [bytes].
tag_size: u32
Tag size [bytes].
encr_key: [u8; 32]
Session encryption key (max 256 bits).
auth_key: [u8; 20]
Session authentication key 160 bits.
salt_key: [u8; 14]
Session salt 112 bits.
Trait Implementations§
source§impl Clone for ocrypto_srtp_ctx
impl Clone for ocrypto_srtp_ctx
source§fn clone(&self) -> ocrypto_srtp_ctx
fn clone(&self) -> ocrypto_srtp_ctx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ocrypto_srtp_ctx
impl Debug for ocrypto_srtp_ctx
impl Copy for ocrypto_srtp_ctx
Auto Trait Implementations§
impl RefUnwindSafe for ocrypto_srtp_ctx
impl Send for ocrypto_srtp_ctx
impl Sync for ocrypto_srtp_ctx
impl Unpin for ocrypto_srtp_ctx
impl UnwindSafe for ocrypto_srtp_ctx
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more