(to_digest: &str, key: &str, typ: &str)
| 784 | |
| 785 | #[sqlfunc(sqlname = "hmac")] |
| 786 | fn hmac_string(to_digest: &str, key: &str, typ: &str) -> Result<Vec<u8>, EvalError> { |
| 787 | let to_digest = to_digest.as_bytes(); |
| 788 | let key = key.as_bytes(); |
| 789 | hmac_inner(to_digest, key, typ) |
| 790 | } |
| 791 | |
| 792 | #[sqlfunc(sqlname = "hmac")] |
| 793 | fn hmac_bytes(to_digest: &[u8], key: &[u8], typ: &str) -> Result<Vec<u8>, EvalError> { |
nothing calls this directly
no test coverage detected