mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 23:35:40 +01:00
51 lines
3.6 KiB
Plaintext
51 lines
3.6 KiB
Plaintext
ASN.1 Write Octet String #0 (Empty string)
|
|
asn1_write_octet_string:"":"0400":2:2
|
|
|
|
ASN.1 Write Octet String #1 (Large buffer)
|
|
asn1_write_octet_string:"AABBCC":"0403AABBCC":10:5
|
|
|
|
ASN.1 Write Octet String #2 (Buffer just fits)
|
|
asn1_write_octet_string:"AABBCC":"0403AABBCC":5:5
|
|
|
|
ASN.1 Write Octet String #3 (Buffer too small for tag)
|
|
asn1_write_octet_string:"AABBCC":"0403AABBCC":4:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write Octet String #4 (Buffer too small for len)
|
|
asn1_write_octet_string:"AABBCC":"0403AABBCC":3:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write Octet String #5 (Buffer too small for string)
|
|
asn1_write_octet_string:"AABBCC":"0403AABBCC":2:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write Octet String #6 (l = 128, large buffer)
|
|
asn1_write_octet_string:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":"048180000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":140:131
|
|
|
|
ASN.1 Write Octet String #7 (l = 128, buffer just fits)
|
|
asn1_write_octet_string:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":"048180000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":131:131
|
|
|
|
ASN.1 Write Octet String #8 (l = 128, buffer too small for tag)
|
|
asn1_write_octet_string:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":"":130:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write Octet String #9 (l = 128, buffer too small for len)
|
|
asn1_write_octet_string:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":"":129:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write Octet String #9 (l = 128, buffer too small for string)
|
|
asn1_write_octet_string:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":"":127:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write IA5 String #0 (Empty string)
|
|
asn1_write_ia5_string:"":"1600":2:2
|
|
|
|
ASN.1 Write IA5 String #1 (Large buffer)
|
|
asn1_write_ia5_string:"ABC":"1603414243":10:5
|
|
|
|
ASN.1 Write IA5 String #2 (Buffer just fits)
|
|
asn1_write_ia5_string:"ABC":"1603414243":5:5
|
|
|
|
ASN.1 Write IA5 String #3 (Buffer too small for tag)
|
|
asn1_write_ia5_string:"ABC":"":4:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write IA5 String #4 (Buffer too small for len)
|
|
asn1_write_ia5_string:"ABC":"":3:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|
|
|
|
ASN.1 Write IA5 String #5 (Buffer too small for string)
|
|
asn1_write_ia5_string:"ABC":"":2:POLARSSL_ERR_ASN1_BUF_TOO_SMALL
|