Lines Matching refs:DO
468 DO(mp_init(&mpinteger)); in der_choice_test()
489 DO(der_encode_sequence(&types[x>6?x-7:x], 1, outbuf, &outlen)); in der_choice_test()
493 DO(der_decode_sequence(outbuf, inlen, &host[0], 1)); in der_choice_test()
543 DO(mp_init_multi(&a, &b, &c, &d, &e, &f, &g, NULL));
554 DO(mp_read_unsigned_bin(a, buf[0], z));
557 DO(der_encode_integer(a, buf[0], &x));
558 DO(der_length_integer(a, &y));
561 DO(der_decode_integer(buf[0], y, b));
578 DO(mp_read_unsigned_bin(a, buf[0], z));
581 DO(der_encode_integer(a, buf[0], &x));
585 DO(der_encode_short_integer(mp_get_int(a), buf[1], &y));
596 DO(der_decode_short_integer(buf[1], y, &x));
614 DO(der_encode_bit_string(buf[0], zz, buf[1], &x));
615 DO(der_length_bit_string(zz, &y));
622 DO(der_decode_bit_string(buf[1], x, buf[2], &y));
633 DO(der_encode_octet_string(buf[0], zz, buf[1], &x));
634 DO(der_length_octet_string(zz, &y));
640 DO(der_decode_octet_string(buf[1], x, buf[2], &y));
649 …DO(der_encode_object_identifier((unsigned long*)rsa_oid, sizeof(rsa_oid)/sizeof(rsa_oid[0]), buf[0…
658 DO(der_decode_object_identifier(buf[0], x, oid[0], &y));
684 DO(der_encode_object_identifier(oid[0], z, buf[0], &x));
685 DO(der_length_object_identifier(oid[0], z, &y));
694 DO(der_decode_object_identifier(buf[0], x, oid[1], &y));
709 DO(der_encode_ia5_string(rsa_ia5, strlen((char*)rsa_ia5), buf[0], &x));
714 DO(der_length_ia5_string(rsa_ia5, strlen((char*)rsa_ia5), &y));
720 DO(der_decode_ia5_string(buf[0], x, buf[1], &y));
728 DO(der_encode_printable_string(rsa_printable, strlen((char*)rsa_printable), buf[0], &x));
733 DO(der_length_printable_string(rsa_printable, strlen((char*)rsa_printable), &y));
739 DO(der_decode_printable_string(buf[0], x, buf[1], &y));
747 DO(der_encode_utctime((ltc_utctime*)&rsa_time1, buf[0], &x));
755 DO(der_length_utctime((ltc_utctime*)&rsa_time1, &y));
760 DO(der_decode_utctime(buf[0], &y, &tmp_time));
777 DO(der_encode_utctime((ltc_utctime*)&rsa_time2, buf[0], &x));
785 DO(der_length_utctime((ltc_utctime*)&rsa_time2, &y));
790 DO(der_decode_utctime(buf[0], &y, &tmp_time));
811 DO(der_encode_utf8_string(utf8_1, sizeof(utf8_1) / sizeof(utf8_1[0]), utf8_buf, &x));
819 DO(der_decode_utf8_string(utf8_buf, x, utf8_out, &y));
828 DO(der_encode_utf8_string(utf8_2, sizeof(utf8_2) / sizeof(utf8_2[0]), utf8_buf, &x));
836 DO(der_decode_utf8_string(utf8_buf, x, utf8_out, &y));