/hardware/interfaces/identity/aidl/default/libeic/ |
D | EicCbor.c | 19 void eicCborInit(EicCbor* cbor, uint8_t* buffer, size_t bufferSize) { in eicCborInit() argument 20 eicMemSet(cbor, '\0', sizeof(EicCbor)); in eicCborInit() 21 cbor->size = 0; in eicCborInit() 22 cbor->bufferSize = bufferSize; in eicCborInit() 23 cbor->buffer = buffer; in eicCborInit() 24 cbor->digestType = EIC_CBOR_DIGEST_TYPE_SHA256; in eicCborInit() 25 eicOpsSha256Init(&cbor->digester.sha256); in eicCborInit() 28 void eicCborInitHmacSha256(EicCbor* cbor, uint8_t* buffer, size_t bufferSize, in eicCborInitHmacSha256() argument 30 eicMemSet(cbor, '\0', sizeof(EicCbor)); in eicCborInitHmacSha256() 31 cbor->size = 0; in eicCborInitHmacSha256() [all …]
|
D | EicPresentation.c | 146 EicCbor cbor; in eicPresentationGenerateSigningKeyPair() local 147 eicCborInit(&cbor, cborBuf, sizeof cborBuf); in eicPresentationGenerateSigningKeyPair() 148 eicCborAppendArray(&cbor, 2); in eicPresentationGenerateSigningKeyPair() 149 eicCborAppendStringZ(&cbor, "ProofOfBinding"); in eicPresentationGenerateSigningKeyPair() 150 eicCborAppendByteString(&cbor, ctx->proofOfProvisioningSha256, EIC_SHA256_DIGEST_SIZE); in eicPresentationGenerateSigningKeyPair() 151 if (cbor.size > sizeof(cborBuf)) { in eicPresentationGenerateSigningKeyPair() 156 size_t proofOfBindingSize = cbor.size; in eicPresentationGenerateSigningKeyPair() 269 EicCbor cbor; in eicPresentationValidateRequestMessage() local 270 eicCborInit(&cbor, NULL, 0); in eicPresentationValidateRequestMessage() 271 eicCborAppendArray(&cbor, 4); in eicPresentationValidateRequestMessage() [all …]
|
D | EicCbor.h | 69 void eicCborInit(EicCbor* cbor, uint8_t* buffer, size_t bufferSize); 73 void eicCborInitHmacSha256(EicCbor* cbor, uint8_t* buffer, size_t bufferSize, 82 void eicCborEnableSecondaryDigesterSha256(EicCbor* cbor, EicSha256Ctx* sha256); 85 void eicCborFinal(EicCbor* cbor, uint8_t digest[EIC_SHA256_DIGEST_SIZE]); 88 void eicCborAppend(EicCbor* cbor, const uint8_t* data, size_t size); 105 void eicCborBegin(EicCbor* cbor, int majorType, uint64_t size); 108 void eicCborAppendByteString(EicCbor* cbor, const uint8_t* data, size_t dataSize); 111 void eicCborAppendString(EicCbor* cbor, const char* str, size_t strLength); 114 void eicCborAppendStringZ(EicCbor* cbor, const char* str); 117 void eicCborAppendSimple(EicCbor* cbor, uint8_t simpleValue); [all …]
|
D | EicProvisioning.c | 180 eicCborInit(&ctx->cbor, NULL, 0); in eicProvisioningStartPersonalization() 193 eicCborAppendArray(&ctx->cbor, 4); in eicProvisioningStartPersonalization() 194 eicCborAppendStringZ(&ctx->cbor, "Signature1"); in eicProvisioningStartPersonalization() 200 eicCborAppendByteString(&ctx->cbor, coseEncodedProtectedHeaders, in eicProvisioningStartPersonalization() 206 eicCborAppendByteString(&ctx->cbor, externalAad, sizeof(externalAad)); in eicProvisioningStartPersonalization() 211 eicCborBegin(&ctx->cbor, EIC_CBOR_MAJOR_TYPE_BYTE_STRING, expectedProofOfProvisioningSize); in eicProvisioningStartPersonalization() 212 ctx->expectedCborSizeAtEnd = expectedProofOfProvisioningSize + ctx->cbor.size; in eicProvisioningStartPersonalization() 215 eicCborEnableSecondaryDigesterSha256(&ctx->cbor, &ctx->proofOfProvisioningDigester); in eicProvisioningStartPersonalization() 217 eicCborAppendArray(&ctx->cbor, 5); in eicProvisioningStartPersonalization() 218 eicCborAppendStringZ(&ctx->cbor, "ProofOfProvisioning"); in eicProvisioningStartPersonalization() [all …]
|
D | EicProvisioning.h | 60 EicCbor cbor; member
|
D | EicPresentation.h | 104 EicCbor cbor; member
|
/hardware/interfaces/security/rkp/aidl/android/hardware/security/keymint/ |
D | generateCertificateRequest.cddl | 7 protected: bstr .cbor { 11 payload: bstr .cbor SignatureKeyEd25519 / 12 bstr .cbor SignatureKeyP256, 13 signature: bstr ; PureEd25519(.cbor SignatureKeySignatureInput) / 14 ; ECDSA(.cbor SignatureKeySignatureInput) 34 body_protected: bstr .cbor { 1 : AlgorithmEdDSA / AlgorithmES256 }, 36 payload: bstr .cbor SignatureKeyEd25519 / 37 bstr .cbor SignatureKeyP256 41 protected: bstr .cbor { 1 : AlgorithmEdDSA / AlgorithmES256 }, 43 payload: bstr .cbor EekX25519 / EekP256, [all …]
|
D | MacedPublicKey.cddl | 2 protected: bstr .cbor { 1 : 5}, ; Algorithm : HMAC-256 4 payload : bstr .cbor PublicKey, 10 protected : bstr .cbor { 1 : 5 }, 12 payload : bstr .cbor PublicKey
|
D | generateCertificateRequestV2.cddl | 30 bstr .cbor T, 36 protected: bstr .cbor { 1 : AlgorithmEdDSA / AlgorithmES256 / AlgorithmES384 }, 38 payload: bstr .cbor Data / nil, 46 protected: bstr .cbor { 1 : AlgorithmEdDSA / AlgorithmES256 / AlgorithmES384 }, 48 payload: bstr .cbor Data / nil, 95 -4670552 : bstr .cbor PubKeyEd25519 / 96 bstr .cbor PubKeyECDSA256 / 97 bstr .cbor PubKeyECDSA384, ; Subject Public Key 105 -4670548 : bstr .cbor ConfigurationDescriptor, 122 protected : bstr .cbor { 1 : AlgorithmEdDSA / AlgorithmES256 / AlgorithmES384 }, [all …]
|
/hardware/interfaces/security/authgraph/aidl/android/hardware/security/authgraph/ |
D | ExplicitKeyDiceCertChain.cddl | 23 DiceCertChainInitialPayload = bstr .cbor PubKeyEd25519 24 / bstr .cbor PubKeyECDSA256 25 / bstr .cbor PubKeyECDSA384 ; subjectPublicKey
|
D | SignedPubKey.cddl | 17 protected: bstr .cbor SignedPubKeyProtected, 19 payload: bstr .cbor PlainPubKey, 34 payload: bstr .cbor PlainPubKey,
|
D | Identity.cddl | 18 cert_chain: bstr .cbor ExplicitKeyDiceCertChain, 19 policy: bstr .cbor DicePolicy / nil,
|
D | Arc.cddl | 17 protected : bstr .cbor ArcProtectedHeaders, 21 ciphertext : bstr ; Enc(K, bstr .cbor Payload, encoded ArcEncStruct) 65 IdentityEncoded = bstr .cbor Identity 108 protected : bstr .cbor ArcProtectedHeaders,
|
D | SessionIdSignature.cddl | 17 protected: bstr .cbor SessionIdSignatureProtected,
|
/hardware/interfaces/security/secretkeeper/aidl/android/hardware/security/secretkeeper/ |
D | SecretManagement.cddl | 11 protected: bstr .cbor { 19 ciphertext : bstr ; AES-GCM-256(Key, bstr .cbor Payload) 44 sealing_policy : bstr .cbor DicePolicy, 56 updated_sealing_policy : bstr .cbor DicePolicy / nil, 67 RequestSeqNum = bstr .cbor uint ; Encoded in accordance with Core Deterministic Encoding 115 ResponseSeqNum = bstr .cbor uint ; Encoded in accordance with Core Deterministic Encoding
|
/hardware/interfaces/security/secretkeeper/aidl/vts/ |
D | dice_sample.rs | 26 use ciborium::{cbor, de, ser, value::Value}; 173 Subcomponents::Minimal => cbor!([ 189 let config_desc = cbor!({ 242 cbor!([ in compos_subcomponent_descriptors()
|
/hardware/interfaces/confirmationui/aidl/vts/functional/ |
D | Android.bp | 36 "libcn-cbor",
|
/hardware/interfaces/confirmationui/1.0/vts/functional/ |
D | Android.bp | 36 "libcn-cbor",
|
/hardware/interfaces/confirmationui/support/ |
D | Android.bp | 31 "src/cbor.cpp",
|
/hardware/interfaces/security/keymint/aidl/default/ta/ |
D | rpc.rs | 27 use kmr_wire::{cbor::value::Value, coset::AsCborValue, rpc, CborError};
|