Home
last modified time | relevance | path

Searched refs:sign (Results 1 – 24 of 24) sorted by relevance

/system/core/toolbox/upstream-netbsd/lib/libc/gen/
Dhumanize_number.c51 int b, r, s1, s2, sign; in humanize_number() local
91 sign = -1; in humanize_number()
101 sign = 1; in humanize_number()
153 sign * s1, localeconv()->decimal_point, s2, in humanize_number()
157 sign * ((bytes + 50) / 100), in humanize_number()
/system/bt/stack/smp/
Dp_256_ecc_pp.c162 uint32_t sign; in ECC_NAF() local
171 sign = (k[0] & 0x03); // 1 or 3 in ECC_NAF()
174 if (sign == 1) in ECC_NAF()
190 sign = 0; in ECC_NAF()
193 naf[i / 4] |= (sign) << ((i % 4) * 2); in ECC_NAF()
203 uint32_t sign; in ECC_PointMult_Bin_NAF() local
241 sign = (naf[i / 4] >> ((i % 4) * 2)) & 0x03; in ECC_PointMult_Bin_NAF()
243 if (sign == 1) in ECC_PointMult_Bin_NAF()
248 else if (sign == 3) in ECC_PointMult_Bin_NAF()
/system/core/fastboot/
Dsignfile.sh9 openssl dgst -passin pass:"$3" -binary -sha1 -sign $1.pem $2 > $2.sign
/system/extras/verity/
DKeystoreSigner.java149 public void sign(PrivateKey privateKey) throws Exception { in sign() method in BootKeystore
151 byte[] rawSignature = Utils.sign(privateKey, innerKeystore); in sign()
203 ks.sign(Utils.loadDERPrivateKeyFromFile(privkeyFname)); in main()
DBootSignature.java163 public byte[] sign(byte[] image, PrivateKey key) throws Exception { in sign() method in BootSignature
165 return Utils.sign(key, signable); in sign()
244 bootsig.setSignature(bootsig.sign(image, key), in doSignature()
DVeritySigner.java65 byte[] signature = Utils.sign(privateKey, content); in main()
DUtils.java274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { in sign() method in Utils
278 return signer.sign(); in sign()
/system/core/libsync/tests/
DAndroid.mk22 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers -Wno-sign-compare
/system/security/keystore-engine/
Drsa_meth.cpp93 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), padded.get(), in keystore_rsa_priv_enc()
139 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), from, in keystore_rsa_priv_dec()
Ddsa_meth.cpp72 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst, in keystore_dsa_do_sign()
Decdsa_meth.cpp78 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst, in keystore_ecdsa_do_sign()
Dandroid_engine.cpp159 int32_t ret = service->sign(String16(key_id), in, len, &reply, &reply_len); in rsa_private_transform()
257 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), in ecdsa_sign()
/system/extras/perfprofd/tests/
DAndroid.mk4 perfprofd_test_cppflags := -Wall -Wno-sign-compare -Wno-unused-parameter -Werror -std=gnu++11
/system/extras/perfprofd/
DAndroid.mk5 -Wno-sign-compare \
/system/core/libpixelflinger/
Dfixed.cpp323 int32_t sign = a^b^c; in gglMulDivi() local
336 if (sign < 0) in gglMulDivi()
/system/security/keystore/tests/
DMakefile36 -Werror=sign-compare -Wmissing-declarations -ftest-coverage -fno-permissive \
/system/keymaster/
Dkeymaster0_engine.cpp57 rsa_method_.sign = nullptr; in Keymaster0Engine()
81 ecdsa_method_.sign = Keymaster0Engine::ecdsa_sign; in Keymaster0Engine()
Dkeymaster1_engine.cpp383 method.sign = nullptr; in BuildRsaMethod()
408 method.sign = Keymaster1Engine::ecdsa_sign; in BuildEcdsaMethod()
DMakefile54 -Werror=sign-compare -Werror=return-type -fno-permissive \
/system/security/keystore/include/keystore/
DIKeystoreService.h170 virtual int32_t sign(const String16& name, const uint8_t* data, size_t length, uint8_t** out,
/system/core/libpixelflinger/codeflinger/
DMIPSAssembler.h183 int dataProcAdrModes(int op, int& source, bool sign = false, int reg_tmp = 1);
/system/core/adb/
Dprotocol.txt82 the recipient can sign with a private key. The recipient replies with an
/system/security/keystore/
DIKeystoreService.cpp698 virtual int32_t sign(const String16& name, const uint8_t* in, size_t inLength, uint8_t** out, in sign() function in android::BpKeystoreService
1450 … int32_t ret = sign(name, (const uint8_t*) in, (size_t) inSize, (uint8_t**) &out, &outSize); in onTransact()
Dkeystore.cpp2196 int32_t sign(const String16& name, const uint8_t* data, size_t length, uint8_t** out, in sign() function in android::KeyStoreProxy