Lines Matching refs:pder

89     const unsigned char *pder;  in test_decode()  local
95 pder = t_dsa_sig; in test_decode()
96 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_dsa_sig)) == 0 in test_decode()
97 || !TEST_ptr_eq(pder, (t_dsa_sig + sizeof(t_dsa_sig))) in test_decode()
105 pder = t_dsa_sig_extra; in test_decode()
106 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_dsa_sig_extra)) == 0 in test_decode()
107 || !TEST_ptr_eq(pder, in test_decode()
116 pder = t_dsa_sig_msb; in test_decode()
117 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_dsa_sig_msb)) == 0 in test_decode()
118 || !TEST_ptr_eq(pder, (t_dsa_sig_msb + sizeof(t_dsa_sig_msb))) in test_decode()
126 pder = t_dsa_sig_two; in test_decode()
127 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_dsa_sig_two)) == 0 in test_decode()
128 || !TEST_ptr_eq(pder, (t_dsa_sig_two + sizeof(t_dsa_sig_two))) in test_decode()
135 pder = t_invalid_int_zero; in test_decode()
136 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_invalid_int_zero)) != 0) { in test_decode()
143 pder = t_invalid_int; in test_decode()
144 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_invalid_int)) != 0) { in test_decode()
151 pder = t_neg_int; in test_decode()
152 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_neg_int)) != 0) { in test_decode()
159 pder = t_trunc_der; in test_decode()
160 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_trunc_der)) != 0) { in test_decode()
167 pder = t_trunc_seq; in test_decode()
168 if (ossl_decode_der_dsa_sig(r, s, &pder, sizeof(t_trunc_seq)) != 0) { in test_decode()