Home
last modified time | relevance | path

Searched refs:cert (Results 1 – 9 of 9) sorted by relevance

/uoscore-uedhoc-3.7.0/src/edhoc/
Dretrieve_cred.c42 enum id_cred_x_label label, struct const_byte_array *cert, in verify_cert2cred() argument
46 PRINT_ARRAY("ID_CRED_x contains a certificate", cert->ptr, cert->len); in verify_cert2cred()
47 TRY(encode_bstr((struct byte_array *)cert, cred)); in verify_cert2cred()
56 TRY(cert_x509_verify(cert, cred_array, g, &verified)); in verify_cert2cred()
59 TRY(cert_x509_verify(cert, cred_array, pk, &verified)); in verify_cert2cred()
66 TRY(cert_c509_verify(cert, cred_array, g, &verified)); in verify_cert2cred()
69 TRY(cert_c509_verify(cert, cred_array, pk, &verified)); in verify_cert2cred()
168 struct const_byte_array cert = BYTE_ARRAY_INIT( in retrieve_cred() local
173 TRY(verify_cert2cred(static_dh_auth, cred_array, x5chain, &cert, in retrieve_cred()
179 struct const_byte_array cert = BYTE_ARRAY_INIT( in retrieve_cred() local
[all …]
Dcert.c247 enum err cert_c509_verify(struct const_byte_array *cert, in cert_c509_verify() argument
252 struct cert c; in cert_c509_verify()
254 TRY_EXPECT(cbor_decode_cert(cert->ptr, cert->len, &c, &decode_len), 0); in cert_c509_verify()
276 cert->ptr, cert->len - 2 - (uint32_t)c.cert_signature.len); in cert_c509_verify()
290 enum err cert_x509_verify(struct const_byte_array *cert, in cert_x509_verify() argument
302 TRY_EXPECT(mbedtls_x509_crt_parse_der_nocopy(&m_cert, cert->ptr, in cert_x509_verify()
303 cert->len), in cert_x509_verify()
405 const uint8_t *tbs_start = cert->ptr; in cert_x509_verify()
406 const uint8_t *tbs_end = &cert->ptr[cert->len]; in cert_x509_verify()
413 const uint8_t *cursor = cert->ptr; in cert_x509_verify()
[all …]
/uoscore-uedhoc-3.7.0/src/cbor/
Dedhoc_decode_cert.c19 static bool decode_cert(zcbor_state_t *state, struct cert *result);
23 zcbor_state_t *state, struct cert *result) in decode_cert()
53 struct cert *result, in cbor_decode_cert()
/uoscore-uedhoc-3.7.0/inc/edhoc/
Dcert.h29 enum err cert_c509_verify(struct const_byte_array *cert,
42 enum err cert_x509_verify(struct const_byte_array *cert,
/uoscore-uedhoc-3.7.0/inc/cbor/
Dedhoc_decode_cert.h27 struct cert *result,
Dedhoc_decode_cert_types.h28 struct cert { struct
/uoscore-uedhoc-3.7.0/cddl_models/
Dedhoc_cert.cddl12 cert = (
Dedhoc_plaintext.cddl74 …ertificates (C509 Certificates) https://datatracker.ietf.org/doc/draft-ietf-cose-cbor-encoded-cert/
/uoscore-uedhoc-3.7.0/scripts/
Dcddl2c.sh88 python3 $ZCBOR code -c $MODELS_PATH/edhoc_cert.cddl -d -t cert --oc $SRC/edhoc_decode_cert.c --incl…