(to_digest: &[u8], key: &[u8], typ: &str)
| 791 | |
| 792 | #[sqlfunc(sqlname = "hmac")] |
| 793 | fn hmac_bytes(to_digest: &[u8], key: &[u8], typ: &str) -> Result<Vec<u8>, EvalError> { |
| 794 | hmac_inner(to_digest, key, typ) |
| 795 | } |
| 796 | |
| 797 | pub fn hmac_inner(to_digest: &[u8], key: &[u8], typ: &str) -> Result<Vec<u8>, EvalError> { |
| 798 | match typ { |
nothing calls this directly
no test coverage detected