Home
last modified time | relevance | path

Searched refs:pubbuf (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/openssl/fuzz/
H A Dslh-dsa.c211 uint8_t pubbuf[PARAM_BUF_SZ]; /* expressly bigger than max key size * 3 */ in slh_dsa_gen_key_with_params() local
224 RAND_bytes(pubbuf, PARAM_BUF_SZ); in slh_dsa_gen_key_with_params()
239 bufptr = ((*buf)[0] & 0x4) ? NULL : pubbuf; in slh_dsa_gen_key_with_params()
/freebsd/crypto/openssl/test/
H A Dhpke_test.c76 unsigned char pubbuf[256]; in cmpkey() local
80 if (!TEST_true(publen <= sizeof(pubbuf))) in cmpkey()
84 pubbuf, sizeof(pubbuf), &pubbuflen); in cmpkey()
87 if (pub != NULL && !TEST_mem_eq(pubbuf, pubbuflen, pub, publen)) in cmpkey()
/freebsd/crypto/openssl/providers/implementations/kem/
H A Decx_kem.c130 const unsigned char *pubbuf, size_t pubbuflen) in ecxkey_pubfromdata() argument
136 (char *)pubbuf, pubbuflen); in ecxkey_pubfromdata()
H A Dec_kem.c159 const unsigned char *pubbuf, size_t pubbuflen) in eckey_frompub() argument
168 if (!EC_KEY_oct2key(key, pubbuf, pubbuflen, NULL)) in eckey_frompub()