Home
last modified time | relevance | path

Searched refs:sig_len (Results 1 – 7 of 7) sorted by relevance

/system/core/adb/crypto/tests/
Dkey_test.cpp50 unsigned sig_len; in TEST() local
52 &sig_len, rsa), in TEST()
54 sig.resize(sig_len); in TEST()
Drsa_2048_key_test.cpp53 unsigned sig_len; in TEST() local
55 &sig_len, rsa), in TEST()
57 sig.resize(sig_len); in TEST()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster0_engine.h77 unsigned int* sig_len, EC_KEY* ec_key);
89 int EcdsaSign(const uint8_t* digest, size_t digest_len, uint8_t* sig, unsigned int* sig_len,
Dkeymaster1_engine.h108 unsigned int* sig_len, EC_KEY* ec_key);
/system/keymaster/legacy_support/
Dkeymaster0_engine.cpp254 unsigned int* sig_len, EC_KEY* ec_key) { in ecdsa_sign() argument
257 return instance_->EcdsaSign(digest, digest_len, sig, sig_len, ec_key); in ecdsa_sign()
344 unsigned int* sig_len, EC_KEY* ec_key) const { in EcdsaSign() argument
375 *sig_len = signature_length; in EcdsaSign()
Dkeymaster1_engine.cpp335 unsigned int* sig_len, EC_KEY* ec_key) { in ecdsa_sign() argument
352 *sig_len = std::min(output.data_length, ECDSA_size(ec_key)); in ecdsa_sign()
353 memcpy(sig, output.data, *sig_len); in ecdsa_sign()
/system/security/keystore-engine/
Dandroid_engine.cpp145 unsigned int* sig_len, EC_KEY* ec_key) { in ecdsa_sign() argument
175 *sig_len = reply_len; in ecdsa_sign()