Searched refs:alglen (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/src/wycheproof_tests/ |
H A D | libecc_wycheproof.c | 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() [all …]
|
/freebsd/crypto/openssh/ |
H A D | monitor.c | 620 size_t datlen, siglen, alglen; in mm_answer_sign() local 629 (r = sshbuf_get_cstring(m, &alg, &alglen)) != 0 || in mm_answer_sign()
|