File: tls_ecdsa.c

package info (click to toggle)
tlswrapper 0~20230101-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,784 kB
  • sloc: ansic: 7,085; sh: 2,247; makefile: 220
file content (10 lines) | stat: -rw-r--r-- 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#include "tls.h"

uint32_t tls_ecdsa_vrfy_asn1(const br_ec_impl *impl, const void *hash,
                             size_t hash_len, const br_ec_public_key *pk,
                             const void *sig, size_t sig_len) {
    (void) impl;
    br_ecdsa_vrfy vrfy = br_ecdsa_vrfy_asn1_get_default();

    return vrfy(br_ec_get_default(), hash, hash_len, pk, sig, sig_len);
}