Home
last modified time | relevance | path

Searched refs:es256_pk_t (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/libfido2/src/fido/
H A Des256.h47 es256_pk_t *es256_pk_new(void);
48 void es256_pk_free(es256_pk_t **);
49 EVP_PKEY *es256_pk_to_EVP_PKEY(const es256_pk_t *);
51 int es256_pk_from_EC_KEY(es256_pk_t *, const EC_KEY *);
52 int es256_pk_from_EVP_PKEY(es256_pk_t *, const EVP_PKEY *);
53 int es256_pk_from_ptr(es256_pk_t *, const void *, size_t);
60 int es256_derive_pk(const es256_sk_t *, es256_pk_t *);
63 int es256_pk_set_x(es256_pk_t *, const unsigned char *);
64 int es256_pk_set_y(es256_pk_t *, const unsigned char *);
H A Dtypes.h91 } es256_pk_t; typedef
135 es256_pk_t es256;
326 typedef struct es256_pk es256_pk_t; typedef
/freebsd/contrib/libfido2/src/
H A Des256.c41 es256_pk_t *k = arg; in decode_pubkey_point()
58 es256_pk_decode(const cbor_item_t *item, es256_pk_t *k) in es256_pk_decode()
71 es256_pk_encode(const es256_pk_t *pk, int ecdh) in es256_pk_encode()
161 es256_pk_t *
164 return (calloc(1, sizeof(es256_pk_t))); in es256_pk_new()
168 es256_pk_free(es256_pk_t **pkp) in es256_pk_free()
170 es256_pk_t *pk; in es256_pk_free()
205 es256_pk_set_x(es256_pk_t *pk, const unsigned char *x) in es256_pk_set_x()
213 es256_pk_set_y(es256_pk_t *pk, const unsigned char *y) in es256_pk_set_y()
269 es256_pk_to_EVP_PKEY(const es256_pk_t *k) in es256_pk_to_EVP_PKEY()
[all …]
H A Dextern.h46 const fido_assert_ext_t *, const fido_blob_t *, const es256_pk_t *);
57 cbor_item_t *es256_pk_encode(const es256_pk_t *, int);
72 int es256_pk_decode(const cbor_item_t *, es256_pk_t *);
92 const es256_pk_t *, const fido_blob_t *, const char *, const char *,
190 int fido_dev_authkey(fido_dev_t *, es256_pk_t *, int *);
193 const fido_blob_t *, const es256_pk_t *, const char *, fido_blob_t *,
196 int fido_do_ecdh(fido_dev_t *, es256_pk_t **, fido_blob_t **, int *);
228 int es256_pk_verify_sig(const fido_blob_t *, const es256_pk_t *,
H A Dauthkey.c13 es256_pk_t *authkey = arg; in parse_authkey()
62 fido_dev_authkey_rx(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey_rx()
92 fido_dev_authkey_wait(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey_wait()
104 fido_dev_authkey(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey()
H A Decdh.c116 do_ecdh(const fido_dev_t *dev, const es256_sk_t *sk, const es256_pk_t *pk, in do_ecdh()
168 fido_do_ecdh(fido_dev_t *dev, es256_pk_t **pk, fido_blob_t **ecdh, int *ms) in fido_do_ecdh()
171 es256_pk_t *ak = NULL; /* authenticator's public key */ in fido_do_ecdh()
H A Dpin.c151 const es256_pk_t *pk, int *ms) in ctap20_uv_token_tx()
208 const es256_pk_t *pk, uint8_t cmd, const char *rpid, int *ms) in ctap21_uv_token_tx()
331 const fido_blob_t *ecdh, const es256_pk_t *pk, const char *rpid, in uv_token_wait()
350 const fido_blob_t *ecdh, const es256_pk_t *pk, const char *rpid, in fido_dev_get_uv_token()
366 es256_pk_t *pk = NULL; in fido_dev_change_pin_tx()
435 es256_pk_t *pk = NULL; in fido_dev_set_pin_tx()
694 const es256_pk_t *pk, const fido_blob_t *ecdh, const char *pin, in cbor_add_uv_params()
H A Dconfig.c48 es256_pk_t *pk = NULL; in config_tx()
H A Dassert.c86 const es256_pk_t *pk, const fido_blob_t *ecdh, const char *pin, int *ms) in fido_dev_get_assert_tx()
269 const es256_pk_t *pk, const fido_blob_t *ecdh, const char *pin, int *ms) in fido_dev_get_assert_wait()
312 es256_pk_t *pk = NULL; in fido_dev_get_assert()
H A Dbio.c65 es256_pk_t *pk = NULL; in bio_tx()
469 es256_pk_t *pk = NULL; in fido_bio_dev_enroll_begin()
H A Dtpm.c261 check_es256_pubarea(const fido_blob_t *buf, const es256_pk_t *pk) in check_es256_pubarea()
H A Dcred.c57 es256_pk_t *pk = NULL; in fido_dev_make_cred_tx()
247 const es256_pk_t *pk) in get_signed_hash_u2f()
H A Dcbor.c785 const fido_blob_t *ecdh, const es256_pk_t *pk, const fido_blob_t *salt) in cbor_encode_hmac_secret_param()
871 const fido_blob_t *ecdh, const es256_pk_t *pk) in cbor_encode_assert_ext()
H A Dcredman.c121 es256_pk_t *pk = NULL; in credman_tx()
H A Dlargeblob.c552 es256_pk_t *pk = NULL; in largeblob_get_uv_token()
H A Du2f.c398 es256_pk_t *pk = NULL; in cbor_blob_from_ec_point()
/freebsd/contrib/libfido2/regress/
H A Des256.c101 es256_pk_t *k = NULL; in es256_pk_cmp()
145 es256_pk_t *pk; in invalid_curve()
151 ASSERT_NULL(es256_pk_to_EVP_PKEY((const es256_pk_t *)raw)); in invalid_curve()
168 es256_pk_t *pkA; in valid_curve()
169 es256_pk_t *pkB; in valid_curve()
H A Dassert.c169 static es256_pk_t *
172 es256_pk_t *pk; in alloc_es256_pk()
226 es256_pk_t *es256; in empty_assert()
351 es256_pk_t *pk; in no_cdh()
373 es256_pk_t *pk; in no_rp()
395 es256_pk_t *pk; in no_authdata()
416 es256_pk_t *pk; in no_sig()
438 es256_pk_t *pk; in junk_cdh()
467 es256_pk_t *pk; in junk_rp()
513 es256_pk_t *pk; in junk_sig()
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_assert.c300 es256_convert(const es256_pk_t *k) in es256_convert()
303 es256_pk_t *pk = NULL; in es256_convert()
386 es256_pk_t *es256_pk = NULL; in test()
/freebsd/contrib/libfido2/tools/
H A Dassert_verify.c97 es256_pk_t *es256_pk = NULL; in load_pubkey()
H A Dutil.c252 es256_pk_t *pk = NULL; in write_es256_pubkey()
/freebsd/contrib/libfido2/examples/
H A Dassert.c50 es256_pk_t *es256_pk = NULL; in verify_assert()
H A Dutil.c167 es256_pk_t *pk = NULL; in write_es256_pubkey()