Home
last modified time | relevance | path

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

/system/core/libmincrypt/
Ddsa_sig.c54 int dsa_sig_unpack(unsigned char* sig, int sig_len, p256_int* r_int, p256_int* s_int) { in dsa_sig_unpack() argument
82 if (sig_len < 8 || sig[0] != 0x30 || sig[2] != 0x02) { in dsa_sig_unpack()
87 if ((seq_len <= 0) || (seq_len + 2 != sig_len)) { in dsa_sig_unpack()
/system/keymaster/
Dkeymaster0_engine.h76 unsigned int* sig_len, EC_KEY* ec_key);
88 int EcdsaSign(const uint8_t* digest, size_t digest_len, uint8_t* sig, unsigned int* sig_len,
Dkeymaster0_engine.cpp272 unsigned int* sig_len, EC_KEY* ec_key) { in ecdsa_sign() argument
275 return instance_->EcdsaSign(digest, digest_len, sig, sig_len, ec_key); in ecdsa_sign()
362 unsigned int* sig_len, EC_KEY* ec_key) const { in EcdsaSign() argument
393 *sig_len = signature_length; in EcdsaSign()
Dkeymaster1_engine.cpp340 unsigned int* sig_len, EC_KEY* ec_key) { in ecdsa_sign() argument
357 *sig_len = std::min(output.data_length, ECDSA_size(ec_key)); in ecdsa_sign()
358 memcpy(sig, output.data, *sig_len); in ecdsa_sign()
Dkeymaster1_engine.h108 unsigned int* sig_len, EC_KEY* ec_key);
/system/core/include/mincrypt/
Ddsa_sig.h37 int dsa_sig_unpack(unsigned char* sig, int sig_len, p256_int* r_int, p256_int* s_int);
/system/security/keystore-engine/
Dandroid_engine.cpp236 unsigned int* sig_len, EC_KEY* ec_key) { in ecdsa_sign() argument
277 *sig_len = reply_len; in ecdsa_sign()