Searched refs:from_ref (Results 1 – 5 of 5) sorted by relevance
73 let attr_prime = AttributeMemref::from_ref(AttributeId::DhPrime, prime_slice); in generate_key()74 let attr_base = AttributeMemref::from_ref(AttributeId::DhBase, base_slice); in generate_key()101 let received_public = AttributeMemref::from_ref(AttributeId::DhPublicValue, p0.buffer()); in derive_key()
132 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &key); in alloc_resources()147 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &key); in set_aes_key()
126 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, &tmp_key); in hmac_sha1()
107 let attr = AttributeMemref::from_ref(AttributeId::SecretValue, key); in prepare()
91 pub fn from_ref(id: AttributeId, buffer: &'attrref [u8]) -> Self { in from_ref() method
Completed in 7 milliseconds