Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dasn1write.c179 const char *oid, size_t oid_len ) in mbedtls_asn1_write_oid() argument
185 (const unsigned char *) oid, oid_len ) ); in mbedtls_asn1_write_oid()
193 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier() argument
204 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in mbedtls_asn1_write_algorithm_identifier()
332 const char *oid, size_t oid_len, in mbedtls_asn1_store_named_data() argument
338 if( ( cur = mbedtls_asn1_find_named_data( *head, oid, oid_len ) ) == NULL ) in mbedtls_asn1_store_named_data()
347 cur->oid.len = oid_len; in mbedtls_asn1_store_named_data()
348 cur->oid.p = mbedtls_calloc( 1, oid_len ); in mbedtls_asn1_store_named_data()
355 memcpy( cur->oid.p, oid, oid_len ); in mbedtls_asn1_store_named_data()
Dx509_create.c166 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument
171 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension()
196 const char *oid, size_t oid_len, in x509_write_name() argument
204 if( MBEDTLS_OID_SIZE( MBEDTLS_OID_PKCS9_EMAIL ) == oid_len && in x509_write_name()
205 memcmp( oid, MBEDTLS_OID_PKCS9_EMAIL, oid_len ) == 0 ) in x509_write_name()
220 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in x509_write_name()
256 const char *oid, size_t oid_len, in mbedtls_x509_write_sig() argument
281 oid_len, 0 ) ); in mbedtls_x509_write_sig()
Dpkwrite.c119 size_t oid_len; in pk_write_ec_param() local
121 if( ( ret = mbedtls_oid_get_oid_by_ec_grp( ec->grp.id, &oid, &oid_len ) ) != 0 ) in pk_write_ec_param()
124 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in pk_write_ec_param()
155 size_t len = 0, par_len = 0, oid_len; in mbedtls_pk_write_pubkey_der() local
177 &oid, &oid_len ) ) != 0 ) in mbedtls_pk_write_pubkey_der()
189 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_algorithm_identifier( &c, buf, oid, oid_len, in mbedtls_pk_write_pubkey_der()
Dx509write_csr.c81 const char *oid, size_t oid_len, in mbedtls_x509write_csr_set_extension() argument
84 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_csr_set_extension()
Dx509write_crt.c130 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension() argument
134 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_crt_set_extension()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dasn1write.h111 const char *oid, size_t oid_len );
127 const char *oid, size_t oid_len,
231 const char *oid, size_t oid_len,
Dx509.h307 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
315 const char *oid, size_t oid_len,
Dx509_csr.h235 const char *oid, size_t oid_len,
Dx509_crt.h530 const char *oid, size_t oid_len,