cbor: rename crate to sk-cbor

In anticipation of publishing to crates.io, which already has a `cbor`
crate.
This commit is contained in:
David Drysdale
2021-06-08 11:26:24 +01:00
committed by kaczmarczyck
parent f2812e4fe2
commit 7719078d46
15 changed files with 26 additions and 16 deletions

View File

@@ -16,11 +16,12 @@ use super::status_code::Ctap2StatusCode;
use alloc::string::String;
use alloc::vec::Vec;
use arrayref::array_ref;
use cbor::{cbor_array_vec, cbor_map, cbor_map_options, destructure_cbor_map};
use core::convert::TryFrom;
use crypto::{ecdh, ecdsa};
#[cfg(test)]
use enum_iterator::IntoEnumIterator;
use sk_cbor as cbor;
use sk_cbor::{cbor_array_vec, cbor_map, cbor_map_options, destructure_cbor_map};
// Used as the identifier for ECDSA in assertion signatures and COSE.
const ES256_ALGORITHM: i64 = -7;