HomeSort by relevance Sort by last modified time
    Searched refs:EC_KEY (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /external/boringssl/src/include/openssl/
ec_key.h 82 /* ec_key.h contains functions that handle elliptic-curve points that are
88 /* EC_KEY_new returns a fresh |EC_KEY| object or NULL on error. */
89 OPENSSL_EXPORT EC_KEY *EC_KEY_new(void);
93 OPENSSL_EXPORT EC_KEY *EC_KEY_new_method(const ENGINE *engine);
95 /* EC_KEY_new_by_curve_name returns a fresh EC_KEY for group specified by |nid|
97 OPENSSL_EXPORT EC_KEY *EC_KEY_new_by_curve_name(int nid);
100 OPENSSL_EXPORT void EC_KEY_free(EC_KEY *key);
103 OPENSSL_EXPORT EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src)
    [all...]
ecdsa.h 58 #include <openssl/ec_key.h>
78 unsigned int *sig_len, const EC_KEY *key);
86 size_t sig_len, const EC_KEY *key);
90 OPENSSL_EXPORT size_t ECDSA_size(const EC_KEY *key);
112 size_t digest_len, const EC_KEY *key);
118 const ECDSA_SIG *sig, const EC_KEY *key);
131 OPENSSL_EXPORT int ECDSA_sign_setup(const EC_KEY *eckey, BN_CTX *ctx,
139 const EC_KEY *eckey);
146 const BIGNUM *rp, const EC_KEY *eckey);
ecdh.h 72 #include <openssl/ec_key.h>
89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key,
  /system/keymaster/
ec_key.h 38 EC_KEY* key() const { return ec_key_.get(); }
41 EcKey(EC_KEY* ec_key, const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced,
43 : AsymmetricKey(hw_enforced, sw_enforced, error), ec_key_(ec_key) {}
46 UniquePtr<EC_KEY, EC_KEY_Delete> ec_key_;
kem.h 47 virtual bool Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) = 0;
48 virtual bool Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key,
nist_curve_key_exchange.h 42 NistCurveKeyExchange(EC_KEY* private_key, keymaster_error_t* error);
59 EC_KEY* private_key() { return private_key_.release(); }
64 UniquePtr<EC_KEY, EC_KEY_Delete> private_key_;
ecies_kem.h 47 bool Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) override;
48 bool Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key, size_t encrypted_key_len,
keymaster0_engine.h 57 EC_KEY* BlobToEcKey(const KeymasterKeyBlob& blob) const;
60 const keymaster_key_blob_t* EcKeyToBlob(const EC_KEY* rsa) const;
76 unsigned int* sig_len, EC_KEY* ec_key);
89 EC_KEY* ec_key) const;
keymaster1_engine.h 73 EC_KEY* BuildEcKey(const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params,
78 KeyData* GetData(const EC_KEY* rsa) const;
108 unsigned int* sig_len, EC_KEY* ec_key);
ec_keymaster0_key.h 20 #include <openssl/ec_key.h>
24 #include "ec_key.h"
63 EcKeymaster0Key(EC_KEY* ec_key, const AuthorizationSet& hw_enforced,
65 : EcKey(ec_key, hw_enforced, sw_enforced, error) {}
openssl_utils.h 59 DEFINE_OPENSSL_OBJECT_POINTER(EC_KEY)
96 size_t ec_group_size_bits(EC_KEY* ec_key);
nist_curve_key_exchange.cpp 28 NistCurveKeyExchange::NistCurveKeyExchange(EC_KEY* private_key, keymaster_error_t* error)
58 UniquePtr<EC_KEY, EC_KEY_Delete> key(EC_KEY_new_by_curve_name(curve_name));
  /external/boringssl/src/crypto/fipsmodule/ec/
ec_key.c 68 #include <openssl/ec_key.h>
87 EC_KEY *EC_KEY_new(void) { return EC_KEY_new_method(NULL); }
89 EC_KEY *EC_KEY_new_method(const ENGINE *engine) {
90 EC_KEY *ret = OPENSSL_malloc(sizeof(EC_KEY));
96 OPENSSL_memset(ret, 0, sizeof(EC_KEY));
122 EC_KEY *EC_KEY_new_by_curve_name(int nid) {
123 EC_KEY *ret = EC_KEY_new();
136 void EC_KEY_free(EC_KEY *r) {
159 OPENSSL_cleanse((void *)r, sizeof(EC_KEY));
    [all...]
  /external/boringssl/src/crypto/pem/
pem_all.c 124 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
221 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey)
223 EC_KEY *dtmp;
237 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb,
245 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKEY,
248 IMPLEMENT_PEM_rw(EC_PUBKEY, EC_KEY, PEM_STRING_PUBLIC, EC_PUBKEY)
250 EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb
    [all...]
  /system/security/keystore-engine/
methods.h 40 void operator()(EC_KEY* p) const {
44 typedef std::unique_ptr<EC_KEY, EC_KEY_Delete> Unique_EC_KEY;
  /bootable/recovery/
verifier.h 24 #include <openssl/ec_key.h>
35 void operator()(EC_KEY* ec_key) const {
36 EC_KEY_free(ec_key);
49 std::unique_ptr<EC_KEY, ECKEYDeleter>&& ec_)
59 std::unique_ptr<EC_KEY, ECKEYDeleter> ec;
  /external/libchrome/crypto/
scoped_openssl_types.h 45 using ScopedEC_Key = ScopedOpenSSL<EC_KEY, EC_KEY_free>;
50 using ScopedEC_KEY = ScopedOpenSSL<EC_KEY, EC_KEY_free>;
  /external/openssh/
sshkey.h 37 # define EC_KEY void
44 # define EC_KEY void
105 EC_KEY *ecdsa;
152 int sshkey_ecdsa_key_to_nid(EC_KEY *);
155 int sshkey_ec_validate_private(const EC_KEY *);
178 void sshkey_dump_ec_key(const EC_KEY *);
221 # undef EC_KEY
225 # undef EC_KEY
kex.h 41 # define EC_KEY void
46 # define EC_KEY void
163 EC_KEY *ec_client_key; /* ECDH */
236 # undef EC_KEY
  /external/boringssl/src/crypto/x509/
x_all.c 311 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey)
313 return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_EC_PUBKEY, fp, eckey);
316 int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey)
318 return ASN1_i2d_fp_of_const(EC_KEY, i2d_EC_PUBKEY, fp, eckey);
321 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey)
323 return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_ECPrivateKey, fp, eckey);
326 int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey)
328 return ASN1_i2d_fp_of_const(EC_KEY, i2d_ECPrivateKey, fp, eckey)
    [all...]
x_pubkey.c 300 EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length)
303 EC_KEY *key;
321 int i2d_EC_PUBKEY(const EC_KEY *a, unsigned char **pp)
331 EVP_PKEY_set1_EC_KEY(pktmp, (EC_KEY *)a);
  /external/boringssl/src/crypto/ec_extra/
ec_asn1.c 75 EC_KEY *EC_KEY_parse_private_key(CBS *cbs, const EC_GROUP *group) {
88 EC_KEY *ret = NULL;
193 int EC_KEY_marshal_private_key(CBB *cbb, const EC_KEY *key,
422 EC_KEY *d2i_ECPrivateKey(EC_KEY **out, const uint8_t **inp, long len) {
436 EC_KEY *ret = EC_KEY_parse_private_key(&cbs, group);
448 int i2d_ECPrivateKey(const EC_KEY *key, uint8_t **outp) {
458 EC_KEY *d2i_ECParameters(EC_KEY **out_key, const uint8_t **inp, long len) {
470 EC_KEY *ret = EC_KEY_new()
    [all...]
  /external/boringssl/src/crypto/ecdsa_extra/
ecdsa_asn1.c 61 #include <openssl/ec_key.h>
70 unsigned int *sig_len, const EC_KEY *eckey) {
73 (EC_KEY*) eckey /* cast away const */);
82 const BIGNUM *r, const EC_KEY *eckey) {
118 const uint8_t *sig, size_t sig_len, const EC_KEY *eckey) {
147 size_t ECDSA_size(const EC_KEY *key) {
  /external/boringssl/src/crypto/evp/
evp.c 272 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) {
280 int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) {
284 EC_KEY *EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey) {
292 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey) {
293 EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(pkey); local
294 if (ec_key != NULL) {
295 EC_KEY_up_ref(ec_key);
297 return ec_key;
p_ec.c 64 #include <openssl/ec_key.h>
120 EC_KEY *ec = ctx->pkey->pkey.ec;
147 EC_KEY *eckey;
213 EC_KEY *ec = EC_KEY_new();

Completed in 258 milliseconds

1 2 3 4