(name: &str, vm: &VirtualMachine)
| 253 | } |
| 254 | |
| 255 | fn unsupported_hash(name: &str, vm: &VirtualMachine) -> PyBaseExceptionRef { |
| 256 | vm.new_exception_msg( |
| 257 | UnsupportedDigestmodError::static_type().to_owned(), |
| 258 | format!("unsupported hash type {name}").into(), |
| 259 | ) |
| 260 | } |
| 261 | |
| 262 | // Object-safe HMAC trait for type-erased dispatch |
| 263 | trait DynHmac: Send + Sync { |
no test coverage detected