Lines Matching refs:msg
122 pub fn sign(&self, msg: &[u8]) -> Vec<u8> { in sign()
130 msg.as_ffi_ptr(), in sign()
131 msg.len(), in sign()
146 pub fn sign_with_context(&self, msg: &[u8], context: &[u8]) -> Option<Vec<u8>> { in sign_with_context()
154 msg.as_ffi_ptr(), in sign_with_context()
155 msg.len(), in sign_with_context()
197 pub fn verify(&self, msg: &[u8], signature: &[u8]) -> Result<(), InvalidSignatureError> { in verify()
203 msg.as_ffi_ptr(), in verify()
204 msg.len(), in verify()
219 msg: &[u8], in verify_with_context()
228 msg.as_ffi_ptr(), in verify_with_context()
229 msg.len(), in verify_with_context()