Lines Matching refs:alglen
291 unsigned int alglen = 0; in check_wycheproof_xdh() local
307 alglen = X25519_SIZE; in check_wycheproof_xdh()
313 alglen = X448_SIZE; in check_wycheproof_xdh()
316 if(alglen == 0){ in check_wycheproof_xdh()
322 if(t->privkeylen != alglen){ in check_wycheproof_xdh()
333 if(t->peerpubkeylen != alglen){ in check_wycheproof_xdh()
344 if(t->sharedsecretlen != alglen){ in check_wycheproof_xdh()
355 if((t->ourpubkeylen != 0) && (t->ourpubkeylen != alglen)){ in check_wycheproof_xdh()
378 ret = are_equal(t->ourpubkey, pubkey_check, alglen, &check); OPENMP_EG(ret, err); in check_wycheproof_xdh()
412 ret = are_equal(t->sharedsecret, sharedsecret_check, alglen, &check); OPENMP_EG(ret, err); in check_wycheproof_xdh()
433 ret = are_equal(t->ourpubkey, pubkey_check, alglen, &check); OPENMP_EG(ret, err); in check_wycheproof_xdh()
466 ret = are_equal(t->sharedsecret, sharedsecret_check, alglen, &check); OPENMP_EG(ret, err); in check_wycheproof_xdh()