/mbedtls-development/include/mbedtls/ |
A D | psa_util.h | 170 char const **oid, size_t *oid_len ) in mbedtls_psa_get_ecc_oid_from_id() argument 180 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192R1 ); in mbedtls_psa_get_ecc_oid_from_id() 186 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP224R1 ); in mbedtls_psa_get_ecc_oid_from_id() 192 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP256R1 ); in mbedtls_psa_get_ecc_oid_from_id() 198 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP384R1 ); in mbedtls_psa_get_ecc_oid_from_id() 204 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP521R1 ); in mbedtls_psa_get_ecc_oid_from_id() 215 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192K1 ); in mbedtls_psa_get_ecc_oid_from_id() 238 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP256R1 ); in mbedtls_psa_get_ecc_oid_from_id() 244 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP384R1 ); in mbedtls_psa_get_ecc_oid_from_id() 250 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP512R1 ); in mbedtls_psa_get_ecc_oid_from_id() [all …]
|
A D | asn1write.h | 135 const char *oid, size_t oid_len ); 154 const char *oid, size_t oid_len, 358 const char *oid, size_t oid_len,
|
A D | x509.h | 343 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, 351 const char *oid, size_t oid_len,
|
A D | x509_csr.h | 246 const char *oid, size_t oid_len,
|
A D | x509_crt.h | 1075 const char *oid, size_t oid_len,
|
/mbedtls-development/library/ |
A D | asn1write.c | 178 const char *oid, size_t oid_len ) in mbedtls_asn1_write_oid() argument 184 (const unsigned char *) oid, oid_len ) ); in mbedtls_asn1_write_oid() 192 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier() argument 203 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in mbedtls_asn1_write_algorithm_identifier() 414 const char *oid, size_t oid_len, in mbedtls_asn1_store_named_data() argument 420 if( ( cur = asn1_find_named_data( *head, oid, oid_len ) ) == NULL ) in mbedtls_asn1_store_named_data() 429 cur->oid.len = oid_len; in mbedtls_asn1_store_named_data() 430 cur->oid.p = mbedtls_calloc( 1, oid_len ); in mbedtls_asn1_store_named_data() 437 memcpy( cur->oid.p, oid, oid_len ); in mbedtls_asn1_store_named_data()
|
A D | x509_create.c | 208 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument 213 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension() 242 size_t oid_len = cur_name->oid.len; in x509_write_name() local 254 oid_len ) ); in x509_write_name() 290 const char *oid, size_t oid_len, in mbedtls_x509_write_sig() argument 315 oid_len, 0 ) ); in mbedtls_x509_write_sig()
|
A D | pkwrite.c | 145 size_t oid_len; in pk_write_ec_param() local 147 if( ( ret = mbedtls_oid_get_oid_by_ec_grp( ec->grp.id, &oid, &oid_len ) ) != 0 ) in pk_write_ec_param() 150 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in pk_write_ec_param() 229 size_t len = 0, par_len = 0, oid_len; in mbedtls_pk_write_pubkey_der() local 283 ret = mbedtls_psa_get_ecc_oid_from_id( curve, bits, &oid, &oid_len ); in mbedtls_pk_write_pubkey_der() 290 oid, oid_len ) ); in mbedtls_pk_write_pubkey_der() 298 &oid_len ) ) != 0 ) in mbedtls_pk_write_pubkey_der() 303 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_algorithm_identifier( &c, buf, oid, oid_len, in mbedtls_pk_write_pubkey_der()
|
A D | x509write_csr.c | 85 const char *oid, size_t oid_len, in mbedtls_x509write_csr_set_extension() argument 89 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_csr_set_extension()
|
A D | x509write_crt.c | 127 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension() argument 131 return( mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_crt_set_extension()
|
/mbedtls-development/tests/suites/ |
A D | test_suite_asn1write.function | 439 size_t oid_len = strlen( (const char *) oid ); 448 (const char *) oid, oid_len, 453 ASSERT_COMPARE( found->oid.p, found->oid.len, oid, oid_len );
|