Lines Matching refs:strs
23 unsigned char strs[10][10], outbuf[128]; in der_set_test() local
41 LTC_SET_ASN1(list, 0, LTC_ASN1_BIT_STRING, strs[1], sizeof(strs[1])); in der_set_test()
43 LTC_SET_ASN1(list, 2, LTC_ASN1_OCTET_STRING, strs[0], sizeof(strs[0])); in der_set_test()
51 if (memcmp(strs[0], oct_str, sizeof(oct_str))) { in der_set_test()
56 if (memcmp(strs[1], bin_str, sizeof(bin_str))) { in der_set_test()
66 strcpy((char*)strs[0], "one"); in der_set_test()
67 strcpy((char*)strs[1], "one2"); in der_set_test()
68 strcpy((char*)strs[2], "two"); in der_set_test()
69 strcpy((char*)strs[3], "aaa"); in der_set_test()
70 strcpy((char*)strs[4], "aaaa"); in der_set_test()
71 strcpy((char*)strs[5], "aab"); in der_set_test()
72 strcpy((char*)strs[6], "aaab"); in der_set_test()
73 strcpy((char*)strs[7], "bbb"); in der_set_test()
74 strcpy((char*)strs[8], "bbba"); in der_set_test()
75 strcpy((char*)strs[9], "bbbb"); in der_set_test()
78 LTC_SET_ASN1(list, x, LTC_ASN1_PRINTABLE_STRING, strs[x], strlen((char*)strs[x])); in der_set_test()
88 LTC_SET_ASN1(list, x, LTC_ASN1_PRINTABLE_STRING, strs[x], sizeof(strs[x]) - 1); in der_set_test()
90 XMEMSET(strs, 0, sizeof(strs)); in der_set_test()
99 …if (!(strlen((char*)strs[x-1]) <= strlen((char*)strs[x])) && strcmp((char*)strs[x-1], (char*)strs[… in der_set_test()