Home
last modified time | relevance | path

Searched defs:pk (Results 1 – 25 of 165) sorted by relevance

1234567

/freebsd/contrib/libfido2/regress/
H A Dassert.c172 es256_pk_t *pk; in alloc_es256_pk() local
181 free_es256_pk(es256_pk_t *pk) in free_es256_pk() argument
190 rs256_pk_t *pk; in alloc_rs256_pk() local
199 free_rs256_pk(rs256_pk_t * pk) free_rs256_pk() argument
208 eddsa_pk_t *pk; alloc_eddsa_pk() local
217 free_eddsa_pk(eddsa_pk_t * pk) free_eddsa_pk() argument
349 es256_pk_t *pk; no_cdh() local
371 es256_pk_t *pk; no_rp() local
393 es256_pk_t *pk; no_authdata() local
414 es256_pk_t *pk; no_sig() local
436 es256_pk_t *pk; junk_cdh() local
465 es256_pk_t *pk; junk_rp() local
507 es256_pk_t *pk; junk_sig() local
536 es256_pk_t *pk; wrong_options() local
[all...]
/freebsd/crypto/openssl/crypto/asn1/
H A Dameth_lib.c282 void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_public()
286 const EVP_PKEY *pk), in EVP_PKEY_asn1_set_public()
303 void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_private()
308 const EVP_PKEY *pk), in EVP_PKEY_asn1_set_private()
319 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_param()
355 void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_security_bits()
388 void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_check()
394 void EVP_PKEY_asn1_set_public_check(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_public_check()
400 void EVP_PKEY_asn1_set_param_check(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_param_check()
406 void EVP_PKEY_asn1_set_set_priv_key(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_set_priv_key()
[all …]
/freebsd/contrib/libfido2/src/
H A Des256.c71 es256_pk_encode(const es256_pk_t *pk, int ecdh) in es256_pk_encode()
170 es256_pk_t *pk; in es256_pk_free() local
180 es256_pk_from_ptr(es256_pk_t *pk, const void *ptr, size_t len) in es256_pk_from_ptr()
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()
337 es256_pk_from_EC_KEY(es256_pk_t *pk, const EC_KEY *ec) in es256_pk_from_EC_KEY()
397 es256_pk_from_EVP_PKEY(es256_pk_t *pk, const EVP_PKEY *pkey) in es256_pk_from_EVP_PKEY()
461 es256_derive_pk(const es256_sk_t *sk, es256_pk_t *pk) in es256_derive_pk()
524 es256_pk_verify_sig(const fido_blob_t *dgst, const es256_pk_t *pk, in es256_pk_verify_sig()
H A Des384.c77 es384_pk_t *pk; in es384_pk_free() local
87 es384_pk_from_ptr(es384_pk_t *pk, const void *ptr, size_t len) in es384_pk_from_ptr()
180 es384_pk_from_EC_KEY(es384_pk_t *pk, const EC_KEY *ec) in es384_pk_from_EC_KEY()
240 es384_pk_from_EVP_PKEY(es384_pk_t *pk, const EVP_PKEY *pkey) in es384_pk_from_EVP_PKEY()
279 es384_pk_verify_sig(const fido_blob_t *dgst, const es384_pk_t *pk, in es384_pk_verify_sig()
H A Drs256.c126 rs256_pk_t *pk; in rs256_pk_free() local
136 rs256_pk_from_ptr(rs256_pk_t *pk, const void *ptr, size_t len) in rs256_pk_from_ptr()
212 rs256_pk_from_RSA(rs256_pk_t *pk, const RSA *rsa) in rs256_pk_from_RSA()
247 rs256_pk_from_EVP_PKEY(rs256_pk_t *pk, const EVP_PKEY *pkey) in rs256_pk_from_EVP_PKEY()
299 rs256_pk_verify_sig(const fido_blob_t *dgst, const rs256_pk_t *pk, in rs256_pk_verify_sig()
H A Deddsa.c114 eddsa_pk_t *pk; in eddsa_pk_free() local
124 eddsa_pk_from_ptr(eddsa_pk_t *pk, const void *ptr, size_t len) in eddsa_pk_from_ptr()
156 eddsa_pk_from_EVP_PKEY(eddsa_pk_t *pk, const EVP_PKEY *pkey) in eddsa_pk_from_EVP_PKEY()
215 eddsa_pk_verify_sig(const fido_blob_t *dgst, const eddsa_pk_t *pk, in eddsa_pk_verify_sig()
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() local
435 es256_pk_t *pk = NULL; in fido_dev_set_pin_tx() local
694 const es256_pk_t *pk, const fido_blob_t *ecdh, const char *pin, in cbor_add_uv_params()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/
H A Dbox_curve25519xchacha20poly1305.c18 crypto_box_curve25519xchacha20poly1305_seed_keypair(unsigned char *pk, in crypto_box_curve25519xchacha20poly1305_seed_keypair()
32 crypto_box_curve25519xchacha20poly1305_keypair(unsigned char *pk, in crypto_box_curve25519xchacha20poly1305_keypair()
42 const unsigned char *pk, in crypto_box_curve25519xchacha20poly1305_beforenm()
65 unsigned long long mlen, const unsigned char *n, const unsigned char *pk, in crypto_box_curve25519xchacha20poly1305_detached()
100 const unsigned char *n, const unsigned char *pk, const unsigned char *sk) in crypto_box_curve25519xchacha20poly1305_easy()
122 unsigned long long clen, const unsigned char *n, const unsigned char *pk, in crypto_box_curve25519xchacha20poly1305_open_detached()
154 const unsigned char *n, const unsigned char *pk, const unsigned char *sk) in crypto_box_curve25519xchacha20poly1305_open_easy()
H A Dbox_seal_curve25519xchacha20poly1305.c31 const unsigned char *pk) in crypto_box_curve25519xchacha20poly1305_seal()
56 const unsigned char *pk, in crypto_box_curve25519xchacha20poly1305_seal_open()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/
H A Dcrypto_box.c65 crypto_box_seed_keypair(unsigned char *pk, unsigned char *sk, in crypto_box_seed_keypair()
72 crypto_box_keypair(unsigned char *pk, unsigned char *sk) in crypto_box_keypair()
78 crypto_box_beforenm(unsigned char *k, const unsigned char *pk, in crypto_box_beforenm()
103 const unsigned char *pk, const unsigned char *sk) in crypto_box()
111 const unsigned char *pk, const unsigned char *sk) in crypto_box_open()
H A Dcrypto_box_easy.c23 const unsigned char *n, const unsigned char *pk, in crypto_box_detached()
54 const unsigned char *pk, const unsigned char *sk) in crypto_box_easy()
77 const unsigned char *pk, const unsigned char *sk) in crypto_box_open_detached()
107 const unsigned char *pk, const unsigned char *sk) in crypto_box_open_easy()
H A Dcrypto_box_seal.c25 unsigned long long mlen, const unsigned char *pk) in crypto_box_seal()
49 const unsigned char *pk, const unsigned char *sk) in crypto_box_seal_open()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_sign/
H A Dcrypto_sign.c47 crypto_sign_seed_keypair(unsigned char *pk, unsigned char *sk, in crypto_sign_seed_keypair()
54 crypto_sign_keypair(unsigned char *pk, unsigned char *sk) in crypto_sign_keypair()
70 const unsigned char *pk) in crypto_sign_open()
85 unsigned long long mlen, const unsigned char *pk) in crypto_sign_verify_detached()
112 const unsigned char *pk) in crypto_sign_final_verify()
/freebsd/crypto/openssl/crypto/evp/
H A Dkeymgmt_lib.c87 int evp_keymgmt_util_export(const EVP_PKEY *pk, int selection, in evp_keymgmt_util_export() argument
96 void *evp_keymgmt_util_export_to_provider(EVP_PKEY *pk, EVP_KEYMGMT *keymgmt, in evp_keymgmt_util_export_to_provider() argument
222 evp_keymgmt_util_clear_operation_cache(EVP_PKEY * pk,int locking) evp_keymgmt_util_clear_operation_cache() argument
236 evp_keymgmt_util_find_operation_cache(EVP_PKEY * pk,EVP_KEYMGMT * keymgmt,int selection) evp_keymgmt_util_find_operation_cache() argument
255 evp_keymgmt_util_cache_keydata(EVP_PKEY * pk,EVP_KEYMGMT * keymgmt,void * keydata,int selection) evp_keymgmt_util_cache_keydata() argument
288 evp_keymgmt_util_cache_keyinfo(EVP_PKEY * pk) evp_keymgmt_util_cache_keyinfo() argument
328 evp_keymgmt_util_has(EVP_PKEY * pk,int selection) evp_keymgmt_util_has() argument
[all...]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dopen.c17 const unsigned char *pk, in _crypto_sign_ed25519_verify_detached()
61 const unsigned char *pk) in crypto_sign_ed25519_verify_detached()
69 const unsigned char *pk) in crypto_sign_ed25519_open()
H A Dkeypair.c13 crypto_sign_ed25519_seed_keypair(unsigned char *pk, unsigned char *sk, in crypto_sign_ed25519_seed_keypair()
37 crypto_sign_ed25519_keypair(unsigned char *pk, unsigned char *sk) in crypto_sign_ed25519_keypair()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/
H A Dbox_curve25519xsalsa20poly1305.c12 crypto_box_curve25519xsalsa20poly1305_seed_keypair(unsigned char *pk, in crypto_box_curve25519xsalsa20poly1305_seed_keypair()
26 crypto_box_curve25519xsalsa20poly1305_keypair(unsigned char *pk, in crypto_box_curve25519xsalsa20poly1305_keypair()
36 const unsigned char *pk, in crypto_box_curve25519xsalsa20poly1305_beforenm()
72 const unsigned char *pk, in crypto_box_curve25519xsalsa20poly1305()
90 const unsigned char *n, const unsigned char *pk, const unsigned char *sk) in crypto_box_curve25519xsalsa20poly1305_open()
/freebsd/contrib/bearssl/tools/
H A Dverify.c35 rsa_bit_length(const br_rsa_public_key *pk) in rsa_bit_length()
58 print_rsa(const br_rsa_public_key *pk, int print_text, int print_C) in print_rsa()
111 print_ec(const br_ec_public_key *pk, int print_text, int print_C) in print_ec()
186 br_x509_pkey *pk; in do_verify() local
H A Dxmem.c78 xpkeydup(const br_x509_pkey *pk) in xpkeydup()
110 xfreepkey(br_x509_pkey *pk) in xfreepkey()
/freebsd/contrib/libfido2/examples/
H A Dutil.c167 es256_pk_t *pk = NULL; in write_es256_pubkey() local
224 es384_pk_t *pk = NULL; in write_es384_pubkey() local
313 rs256_pk_t *pk = NULL; in write_rs256_pubkey() local
394 eddsa_pk_t *pk = NULL; in write_eddsa_pubkey() local
/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_assert.c256 int ext, void *pk) in verify_assert() argument
303 es256_pk_t *pk = NULL; in es256_convert() local
324 es384_pk_t *pk = NULL; in es384_convert() local
345 rs256_pk_t *pk = NULL; rs256_convert() local
366 eddsa_pk_t *pk = NULL; eddsa_convert() local
393 void *pk; test() local
[all...]
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_prn.c55 EVP_PKEY *pk; in DSA_print() local
69 EVP_PKEY *pk; in DSAparams_print() local
/freebsd/contrib/bearssl/src/x509/
H A Dencode_ec_rawder.c53 const br_ec_private_key *sk, const br_ec_public_key *pk, in br_encode_ec_raw_der_inner()
158 const br_ec_private_key *sk, const br_ec_public_key *pk) in br_encode_ec_raw_der()
H A Dx509_knownkey.c30 const br_rsa_public_key *pk, unsigned usages) in br_x509_knownkey_init_rsa()
41 const br_ec_public_key *pk, unsigned usages) in br_x509_knownkey_init_ec()
/freebsd/crypto/openssl/test/
H A Devp_pkey_provided_test.c141 static int test_print_key_using_pem(const char *alg, const EVP_PKEY *pk) in test_print_key_using_pem() argument
206 test_print_key_type_using_encoder(const char * alg,int type,const EVP_PKEY * pk) test_print_key_type_using_encoder() argument
314 test_print_key_using_encoder(const char * alg,const EVP_PKEY * pk) test_print_key_using_encoder() argument
327 test_print_key_using_encoder_public(const char * alg,const EVP_PKEY * pk) test_print_key_using_encoder_public() argument
353 EVP_PKEY *pk = NULL, *copy_pk = NULL, *dup_pk = NULL; test_fromdata_rsa() local
450 EVP_PKEY *pk = NULL; test_evp_pkey_get_bn_param_large() local
506 EVP_PKEY *pk = NULL, *copy_pk = NULL, *dup_pk = NULL; test_fromdata_dh_named_group() local
717 EVP_PKEY *pk = NULL, *dup_pk = NULL; test_fromdata_dh_fips186_4() local
911 EVP_PKEY *pk = NULL, *copy_pk = NULL, *dup_pk = NULL; test_fromdata_ecx() local
1170 EVP_PKEY *pk = NULL, *copy_pk = NULL, *dup_pk = NULL; test_fromdata_ec() local
1430 EVP_PKEY *pk = NULL, *copy_pk = NULL, *dup_pk = NULL; test_fromdata_dsa_fips186_4() local
[all...]

1234567