LCOV - code coverage report
Current view: top level - ballet/secp256r1 - fd_secp256r1.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 2 2 100.0 %
Date: 2025-01-08 12:08:44 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_ballet_secp256r1_fd_secp256r1_h
       2             : #define HEADER_fd_src_ballet_secp256r1_fd_secp256r1_h
       3             : 
       4             : /* fd_secp256r1 provides APIs for secp256r1 signature verification. */
       5             : 
       6             : #include "../fd_ballet_base.h"
       7             : #include "../sha256/fd_sha256.h"
       8             : 
       9       36867 : #define FD_SECP256R1_SUCCESS 1
      10         708 : #define FD_SECP256R1_FAILURE 0
      11             : 
      12             : FD_PROTOTYPES_BEGIN
      13             : 
      14             : /* fd_secp256r1_verify verifies a SECP256r1 signature. */
      15             : int
      16             : fd_secp256r1_verify( uchar const   msg[], /* msg_sz */
      17             :                      ulong         msg_sz,
      18             :                      uchar const   sig[ 64 ],
      19             :                      uchar const   public_key[ 33 ],
      20             :                      fd_sha256_t * sha );
      21             : 
      22             : FD_PROTOTYPES_END
      23             : 
      24             : #endif /* HEADER_fd_src_ballet_secp256r1_fd_secp256r1_h */

Generated by: LCOV version 1.14