Home
last modified time | relevance | path

Searched defs:pkey (Results 1 – 25 of 597) sorted by relevance

12345678910>>...24

/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp.c99 static void free_it(EVP_PKEY *pkey) { in free_it()
107 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
120 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
125 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
174 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters()
181 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size()
188 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits()
195 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id()
227 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA()
235 int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_assign_RSA()
[all …]
Dp_x25519_asn1.c26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free()
31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw()
52 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw()
72 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw()
95 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw()
125 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode()
167 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode()
194 static int x25519_size(const EVP_PKEY *pkey) { return 32; } in x25519_size()
196 static int x25519_bits(const EVP_PKEY *pkey) { return 253; } in x25519_bits()
220 int EVP_PKEY_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in EVP_PKEY_set1_tls_encodedpoint()
[all …]
Devp_extra_test.cc369 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local
377 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
405 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
416 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
455 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey() local
475 bssl::UniquePtr<EVP_PKEY> pkey( in TEST() local
489 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local
508 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local
703 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly()
713 static void ExpectECGroupAndKey(const EVP_PKEY *pkey, int nid) { in ExpectECGroupAndKey()
[all …]
Dprint.c204 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print()
209 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_priv_print()
275 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_param_print()
280 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_pub_print()
285 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_priv_print()
399 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_param_print()
404 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_pub_print()
410 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_priv_print()
457 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported()
464 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public()
[all …]
Dp_ed25519_asn1.c26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free()
31 static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_priv_raw()
54 static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_pub_raw()
74 static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_priv_raw()
98 static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_pub_raw()
128 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode()
170 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode()
197 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size()
199 static int ed25519_bits(const EVP_PKEY *pkey) { return 253; } in ed25519_bits()
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/evp/
Devp.c99 static void free_it(EVP_PKEY *pkey) { in free_it()
107 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
120 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
125 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
174 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters()
181 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size()
188 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits()
195 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id()
227 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA()
235 int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_assign_RSA()
[all …]
Dp_x25519_asn1.c26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free()
31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw()
52 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw()
72 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw()
95 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw()
125 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode()
167 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode()
194 static int x25519_size(const EVP_PKEY *pkey) { return 32; } in x25519_size()
196 static int x25519_bits(const EVP_PKEY *pkey) { return 253; } in x25519_bits()
220 int EVP_PKEY_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in EVP_PKEY_set1_tls_encodedpoint()
[all …]
Devp_extra_test.cc369 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local
377 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
405 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
416 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
455 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey() local
475 bssl::UniquePtr<EVP_PKEY> pkey( in TEST() local
489 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local
508 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local
703 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly()
713 static void ExpectECGroupAndKey(const EVP_PKEY *pkey, int nid) { in ExpectECGroupAndKey()
[all …]
Dprint.c204 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print()
209 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_priv_print()
275 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_param_print()
280 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_pub_print()
285 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_priv_print()
399 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_param_print()
404 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_pub_print()
410 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_priv_print()
457 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported()
464 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public()
[all …]
Dp_ed25519_asn1.c26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free()
31 static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_priv_raw()
54 static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_pub_raw()
74 static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_priv_raw()
98 static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_pub_raw()
128 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode()
170 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode()
197 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size()
199 static int ed25519_bits(const EVP_PKEY *pkey) { return 253; } in ed25519_bits()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/vm/
H A Dprotection_keys.c177 static u32 hw_pkey_get(int pkey, unsigned long flags) in hw_pkey_get()
188 static int hw_pkey_set(int pkey, unsigned long rights, unsigned long flags) in hw_pkey_set()
209 void pkey_disable_set(int pkey, int flags) in pkey_disable_set()
250 void pkey_disable_clear(int pkey, int flags) in pkey_disable_clear()
279 void pkey_write_allow(int pkey) in pkey_write_allow()
283 void pkey_write_deny(int pkey) in pkey_write_deny()
287 void pkey_access_allow(int pkey) in pkey_access_allow()
291 void pkey_access_deny(int pkey) in pkey_access_deny()
470 unsigned long pkey) in sys_mprotect_pkey()
543 int sys_pkey_free(unsigned long pkey) in sys_pkey_free()
[all …]
/aosp_15_r20/external/boringssl/src/crypto/evp/
H A Devp.c91 static void free_it(EVP_PKEY *pkey) { in free_it()
99 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
112 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
117 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
178 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters()
185 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size()
192 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits()
199 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id()
223 void evp_pkey_set_method(EVP_PKEY *pkey, const EVP_PKEY_ASN1_METHOD *method) { in evp_pkey_set_method()
235 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key) { in EVP_PKEY_assign()
[all …]
H A Devp_extra_test.cc370 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local
378 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
406 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
417 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
456 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey() local
476 bssl::UniquePtr<EVP_PKEY> pkey( in TEST() local
485 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local
494 static std::string PrintToString(const EVP_PKEY *pkey, int indent, in PrintToString()
803 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local
1001 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly()
[all …]
H A Dp_x25519_asn1.c26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free()
31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw()
51 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw()
70 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw()
93 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw()
111 static int x25519_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in x25519_set1_tls_encodedpoint()
116 static size_t x25519_get1_tls_encodedpoint(const EVP_PKEY *pkey, in x25519_get1_tls_encodedpoint()
140 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode()
182 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode()
209 static int x25519_size(const EVP_PKEY *pkey) { return 32; } in x25519_size()
[all …]
H A Dp_ec_asn1.c180 static int eckey_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in eckey_set1_tls_encodedpoint()
191 static size_t eckey_get1_tls_encodedpoint(const EVP_PKEY *pkey, in eckey_get1_tls_encodedpoint()
202 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size()
207 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits()
217 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters()
260 static void int_ec_free(EVP_PKEY *pkey) { in int_ec_free()
265 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
304 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) { in EVP_PKEY_set1_EC_KEY()
312 int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) { in EVP_PKEY_assign_EC_KEY()
318 EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey) { in EVP_PKEY_get0_EC_KEY()
[all …]
H A Dprint.c183 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in rsa_pub_print()
187 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in rsa_priv_print()
228 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_param_print()
232 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_pub_print()
236 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_priv_print()
296 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_param_print()
300 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_pub_print()
305 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_priv_print()
349 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported()
356 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public()
[all …]
H A Dp_ed25519_asn1.c26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free()
31 static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_priv_raw()
53 static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_pub_raw()
72 static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_priv_raw()
96 static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_pub_raw()
126 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode()
170 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode()
197 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size()
199 static int ed25519_bits(const EVP_PKEY *pkey) { return 253; } in ed25519_bits()
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/evp/
H A Devp.c91 static void free_it(EVP_PKEY *pkey) { in free_it()
99 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
112 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
117 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
178 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters()
185 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size()
192 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits()
199 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id()
223 void evp_pkey_set_method(EVP_PKEY *pkey, const EVP_PKEY_ASN1_METHOD *method) { in evp_pkey_set_method()
235 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key) { in EVP_PKEY_assign()
[all …]
H A Devp_extra_test.cc370 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local
378 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
406 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
417 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local
456 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey() local
476 bssl::UniquePtr<EVP_PKEY> pkey( in TEST() local
485 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local
494 static std::string PrintToString(const EVP_PKEY *pkey, int indent, in PrintToString()
803 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local
1001 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly()
[all …]
H A Dp_x25519_asn1.c26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free()
31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw()
51 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw()
70 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw()
93 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw()
111 static int x25519_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in x25519_set1_tls_encodedpoint()
116 static size_t x25519_get1_tls_encodedpoint(const EVP_PKEY *pkey, in x25519_get1_tls_encodedpoint()
140 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode()
182 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode()
209 static int x25519_size(const EVP_PKEY *pkey) { return 32; } in x25519_size()
[all …]
H A Dp_ec_asn1.c180 static int eckey_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in eckey_set1_tls_encodedpoint()
191 static size_t eckey_get1_tls_encodedpoint(const EVP_PKEY *pkey, in eckey_get1_tls_encodedpoint()
202 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size()
207 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits()
217 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters()
260 static void int_ec_free(EVP_PKEY *pkey) { in int_ec_free()
265 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
304 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) { in EVP_PKEY_set1_EC_KEY()
312 int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) { in EVP_PKEY_assign_EC_KEY()
318 EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey) { in EVP_PKEY_get0_EC_KEY()
[all …]
H A Dprint.c183 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in rsa_pub_print()
187 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in rsa_priv_print()
228 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_param_print()
232 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_pub_print()
236 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_priv_print()
296 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_param_print()
300 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_pub_print()
305 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_priv_print()
349 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported()
356 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public()
[all …]
H A Dp_ed25519_asn1.c26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free()
31 static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_priv_raw()
53 static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_pub_raw()
72 static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_priv_raw()
96 static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_pub_raw()
126 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode()
170 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode()
197 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size()
199 static int ed25519_bits(const EVP_PKEY *pkey) { return 253; } in ed25519_bits()
H A Dp_dh_asn1.c20 static void dh_free(EVP_PKEY *pkey) { in dh_free()
25 static int dh_size(const EVP_PKEY *pkey) { return DH_size(pkey->pkey); } in dh_size()
27 static int dh_bits(const EVP_PKEY *pkey) { return DH_bits(pkey->pkey); } in dh_bits()
29 static int dh_param_missing(const EVP_PKEY *pkey) { in dh_param_missing()
92 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key) { in EVP_PKEY_set1_DH()
100 int EVP_PKEY_assign_DH(EVP_PKEY *pkey, DH *key) { in EVP_PKEY_assign_DH()
106 DH *EVP_PKEY_get0_DH(const EVP_PKEY *pkey) { in EVP_PKEY_get0_DH()
114 DH *EVP_PKEY_get1_DH(const EVP_PKEY *pkey) { in EVP_PKEY_get1_DH()
/aosp_15_r20/tools/security/remote_provisioning/hwtrust/src/
H A Dpublickey.rs41 pkey: PKeyPublicWrapper, field
48 pkey: PKeyPublicWrapper, field
56 pub(crate) fn pkey(&self) -> &PKeyRef<Public> { in pkey() method
89 pub(crate) fn pkey(&self) -> &PKeyRef<Public> { in pkey() method
181 let pkey = load_public_pkey(testkeys::ED25519_KEY_PEM[0]); in from_ed25519_pkey() localVariable
189 let pkey = load_public_pkey(testkeys::P256_KEY_PEM[0]); in from_p256_pkey() localVariable
197 let pkey = load_public_pkey(testkeys::P384_KEY_PEM[0]); in from_p384_pkey() localVariable
205 let pkey = load_public_pkey(testkeys::P521_KEY_PEM[0]); in from_p521_pkey_not_supported() localVariable
211 let pkey = load_public_pkey(testkeys::RSA2048_KEY_PEM[0]); in from_rsa2048_pkey_not_supported() localVariable
217 let pkey = load_public_pkey(testkeys::X25519_KEY_PEM[0]); in from_x25519_pkey_not_supported() localVariable
[all …]

12345678910>>...24