Searched refs:sig_len (Results 1 – 7 of 7) sorted by relevance
/system/core/libmincrypt/ |
D | dsa_sig.c | 54 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/ |
D | keymaster0_engine.h | 76 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,
|
D | keymaster0_engine.cpp | 272 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()
|
D | keymaster1_engine.cpp | 340 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()
|
D | keymaster1_engine.h | 108 unsigned int* sig_len, EC_KEY* ec_key);
|
/system/core/include/mincrypt/ |
D | dsa_sig.h | 37 int dsa_sig_unpack(unsigned char* sig, int sig_len, p256_int* r_int, p256_int* s_int);
|
/system/security/keystore-engine/ |
D | android_engine.cpp | 236 unsigned int* sig_len, EC_KEY* ec_key) { in ecdsa_sign() argument 277 *sig_len = reply_len; in ecdsa_sign()
|