/external/cronet/third_party/boringssl/src/crypto/evp/ |
D | evp.c | 98 static void free_it(EVP_PKEY *pkey) { in free_it() 106 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free() 119 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref() 124 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque() 187 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters() 194 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size() 201 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits() 208 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id() 240 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA() 248 int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_assign_RSA() [all …]
|
D | p_x25519_asn1.c | 26 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 …]
|
D | p_ed25519_asn1.c | 26 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()
|
D | evp_extra_test.cc | 369 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 484 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local 493 static std::string PrintToString(const EVP_PKEY *pkey, int indent, in PrintToString() 802 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local 1004 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly() [all …]
|
D | print.c | 183 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() 227 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_param_print() 231 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_pub_print() 235 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_priv_print() 295 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_param_print() 299 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_pub_print() 304 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_priv_print() 348 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported() 355 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public() [all …]
|
D | p_ec_asn1.c | 184 static int eckey_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in eckey_set1_tls_encodedpoint() 195 static size_t eckey_get1_tls_encodedpoint(const EVP_PKEY *pkey, in eckey_get1_tls_encodedpoint() 206 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size() 211 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits() 221 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters() 264 static void int_ec_free(EVP_PKEY *pkey) { in int_ec_free() 269 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
|
/external/boringssl/src/crypto/evp/ |
D | evp.c | 98 static void free_it(EVP_PKEY *pkey) { in free_it() 106 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free() 119 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref() 124 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque() 187 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters() 194 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size() 201 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits() 208 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id() 240 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA() 248 int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_assign_RSA() [all …]
|
D | p_x25519_asn1.c | 26 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 …]
|
D | p_ed25519_asn1.c | 26 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()
|
D | evp_extra_test.cc | 369 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 484 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local 493 static std::string PrintToString(const EVP_PKEY *pkey, int indent, in PrintToString() 802 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local 1004 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly() [all …]
|
D | print.c | 183 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() 227 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_param_print() 231 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_pub_print() 235 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in dsa_priv_print() 295 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_param_print() 299 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_pub_print() 304 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent) { in eckey_priv_print() 348 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported() 355 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public() [all …]
|
D | p_ec_asn1.c | 184 static int eckey_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in eckey_set1_tls_encodedpoint() 195 static size_t eckey_get1_tls_encodedpoint(const EVP_PKEY *pkey, in eckey_get1_tls_encodedpoint() 206 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size() 211 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits() 221 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters() 264 static void int_ec_free(EVP_PKEY *pkey) { in int_ec_free() 269 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
|
D | p_rsa_asn1.c | 159 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque() 164 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size() 169 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits() 174 static void int_rsa_free(EVP_PKEY *pkey) { in int_rsa_free()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | evp.c | 99 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 …]
|
D | p_x25519_asn1.c | 26 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 …]
|
D | p_ed25519_asn1.c | 26 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()
|
D | evp_extra_test.cc | 369 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 …]
|
D | print.c | 204 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 …]
|
D | p_ec_asn1.c | 191 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size() 195 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits() 204 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters() 222 static void int_ec_free(EVP_PKEY *pkey) { EC_KEY_free(pkey->pkey.ec); } in int_ec_free() 224 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
|
D | p_rsa_asn1.c | 155 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque() 159 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size() 163 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits() 167 static void int_rsa_free(EVP_PKEY *pkey) { RSA_free(pkey->pkey.rsa); } in int_rsa_free()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | protection_keys.c | 177 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 …]
|
/external/cronet/base/allocator/partition_allocator/ |
D | pkey.cc | 38 int PkeyMprotectIfEnabled(void* addr, size_t len, int prot, int pkey) { in PkeyMprotectIfEnabled() 48 void TagMemoryWithPkey(int pkey, void* address, size_t size) { in TagMemoryWithPkey() 58 void TagVariableWithPkey(int pkey, T& var) { in TagVariableWithPkey() 62 void TagGlobalsWithPkey(int pkey) { in TagGlobalsWithPkey()
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_pkey.c | 28 EVP_PKEY *pkey; in __EVP_PKEY_new() local 67 void EVP_PKEY_free(EVP_PKEY *pkey) in EVP_PKEY_free() 87 EVP_PKEY *pkey; in d2i_PrivateKey() local 126 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey() 145 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey()
|
/external/ltp/testcases/kernel/syscalls/pkeys/ |
D | pkey.h | 20 inline int ltp_pkey_mprotect(void *addr, size_t len, int prot, int pkey) in ltp_pkey_mprotect() 30 inline int ltp_pkey_free(int pkey) in ltp_pkey_free() 42 int pkey = ltp_pkey_alloc(0, 0); in check_pkey_support() local
|
/external/linux-kselftest/tools/testing/selftests/powerpc/include/ |
D | pkeys.h | 52 void pkey_set_rights(int pkey, unsigned long rights) in pkey_set_rights() 63 int sys_pkey_mprotect(void *addr, size_t len, int prot, int pkey) in sys_pkey_mprotect() 73 int sys_pkey_free(int pkey) in sys_pkey_free() 81 int pkey; in pkeys_unsupported() local
|