Lines Matching defs:operation
11 /* Test ML-DSA operation. */
207 * operation will fail, but it will still exercise the code paths below,
538 * @brief Represents an operation table entry for cryptographic operations.
547 /** Name of the operation. */
550 /** Description of the operation. */
554 * @brief Function pointer for setting up the operation.
564 * @brief Function pointer for executing the operation.
568 * @param in1 First input parameter for the operation.
569 * @param in2 Second input parameter for the operation.
570 * @param out1 Pointer to store the first output of the operation.
571 * @param out2 Pointer to store the second output of the operation.
577 * @brief Function pointer for cleaning up after the operation.
598 { "Do a sign/verify operation on a key",
603 { "Do a digest sign/verify operation on a key",
626 * @brief Processes a fuzzing input by selecting and executing an operation.
629 * operation to execute. It then follows a setup, execution, and cleanup
630 * sequence based on the selected operation.
638 * It utilizes the `ops` operation table to dynamically determine and
639 * execute the selected operation.
643 uint8_t operation;
651 /* Get the first byte of the buffer to tell us what operation to perform */
652 buffer_cursor = consume_uint8_t(buf, &len, &operation);
657 operation %= OSSL_NELEM(ops);
660 if (ops[operation].setup != NULL)
661 ops[operation].setup(&buffer_cursor, &len, &in1, &in2);
662 if (ops[operation].doit != NULL)
663 ops[operation].doit(&buffer_cursor, &len, in1, in2, &out1, &out2);
664 if (ops[operation].cleanup != NULL)
665 ops[operation].cleanup(in1, in2, out1, out2);