| 5983 | static void Sha256_dealloc(Sha256 *self) { Py_TYPE(self)->tp_free((PyObject *)self); } |
| 5984 | |
| 5985 | static PyObject *Sha256_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { |
| 5986 | (void)args; |
| 5987 | (void)kwds; |
| 5988 | Sha256 *self = (Sha256 *)type->tp_alloc(type, 0); |
| 5989 | if (!self) return NULL; |
| 5990 | sz_sha256_state_init(&self->state); |
| 5991 | return (PyObject *)self; |
| 5992 | } |
| 5993 | |
| 5994 | static int Sha256_init(Sha256 *self, PyObject *args, PyObject *kwargs) { |
| 5995 | // No arguments expected |
no test coverage detected
searching dependent graphs…