ecdsa.c 418 B

123456789101112131415161718
  1. /* Copyright (c) 2015 The Chromium OS Authors. All rights reserved.
  2. * Use of this source code is governed by a BSD-style license that can be
  3. * found in the LICENSE file.
  4. *
  5. * Boot descriptor block firmware ECDSA stub
  6. */
  7. #include <string.h>
  8. #include "bdb.h"
  9. int bdb_ecdsa521_verify(const uint8_t *key_data,
  10. const uint8_t *sig,
  11. const uint8_t *digest)
  12. {
  13. /* This is just a stub */
  14. return BDB_ERROR_DIGEST;
  15. }