Lines Matching refs:public_key_len
288 response->public_key_len = 0; in pack_public_key_ecdsa()
316 response->public_key_len = EC_POINT_point2oct(g, q, in pack_public_key_ecdsa()
318 if (response->public_key_len == 0 || response->public_key_len > 2048) { in pack_public_key_ecdsa()
320 response->public_key_len); in pack_public_key_ecdsa()
323 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_public_key_ecdsa()
328 response->public_key, response->public_key_len, NULL) == 0) { in pack_public_key_ecdsa()
336 memset(response->public_key, 0, response->public_key_len); in pack_public_key_ecdsa()
357 response->public_key_len = 0; in pack_public_key_ed25519()
367 response->public_key_len = len; in pack_public_key_ed25519()
368 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_public_key_ed25519()
973 freezero(srk->key.public_key, srk->key.public_key_len); in read_rks()
1046 freezero(rks[i]->key.public_key, rks[i]->key.public_key_len); in sk_load_resident_keys()