/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
H A D | adaptor_algorithm.c | 146 int32_t Ed25519Sign(const KeyPair *keyPair, const Buffer *data, Buffer **sign) in Ed25519Sign() argument 148 if (!IsEd25519KeyPairValid(keyPair) || !IsBufferValid(data) || sign == NULL) { in Ed25519Sign() 166 LOG_ERROR("init sign failed"); in Ed25519Sign() 169 *sign = CreateBufferBySize(ED25519_FIX_SIGN_BUFFER_SIZE); in Ed25519Sign() 170 if (!IsBufferValid(*sign)) { in Ed25519Sign() 174 size_t signSize = (*sign)->maxSize; in Ed25519Sign() 175 if (EVP_DigestSign(ctx, (*sign)->buf, &signSize, data->buf, data->contentSize) != OPENSSL_SUCCESS) { in Ed25519Sign() 176 LOG_ERROR("sign failed"); in Ed25519Sign() 177 DestoryBuffer(*sign); in Ed25519Sign() 178 *sign in Ed25519Sign() 190 Ed25519Verify(const Buffer *pubKey, const Buffer *data, const Buffer *sign) Ed25519Verify() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_arit.c | 149 if (!type.sign) { in lp_build_min_simple() 155 if (!type.sign) { in lp_build_min_simple() 161 if (!type.sign) { in lp_build_min_simple() 303 if (!type.sign) { in lp_build_max_simple() 309 if (!type.sign) { in lp_build_max_simple() 315 if (!type.sign) { in lp_build_max_simple() 387 if (type.norm && !type.floating && !type.fixed && !type.sign) { in lp_build_comp() 426 if (!type.sign && (a == bld->one || b == bld->one)) in lp_build_add() 432 intrinsic = type.sign ? "llvm.sadd.sat" : "llvm.uadd.sat"; in lp_build_add() 439 intrinsic = type.sign in lp_build_add() 466 uint64_t sign = (uint64_t)1 << (type.width - 1); lp_build_add() local 792 uint64_t sign = (uint64_t)1 << (type.width - 1); lp_build_sub() local 923 LLVMValueRef sign = lp_build_shr_imm(&bld, ab, wide_type.width - 1); lp_build_mul_norm() local 1771 LLVMValueRef sign; lp_build_sgn() local 1810 lp_build_set_sign(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef sign) lp_build_set_sign() argument 2377 LLVMValueRef sign; lp_build_iround() local [all...] |
/third_party/ffmpeg/libavcodec/arm/ |
H A D | aac.h | 74 unsigned sign, const float *scale) in VMUL2S() 92 : "r"(v), "r"(idx), "r"(scale), "r"(sign) in VMUL2S() 99 unsigned sign, const float *scale) in VMUL4S() 134 "+r"(sign), "=r"(nz), in VMUL4S() 73 VMUL2S(float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) VMUL2S() argument 98 VMUL4S(float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) VMUL4S() argument
|
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_data_test.cpp | 7 if (u.bits.sign) { in ConvertDoubleToBiased() 10 u.bits.sign = 1; in ConvertDoubleToBiased() 30 if (u.bits.sign) { in ConvertFloatToBiased() 33 u.bits.sign = 1; in ConvertFloatToBiased()
|
/third_party/skia/include/private/ |
H A D | SkFloatBits.h | 16 /** Convert a sign-bit int (i.e. float interpreted as int) into a 2s compliement 28 /** Convert a 2s compliment int to a sign-bit (i.e. int interpreted as float). 32 int sign = x >> 31; in Sk2sComplimentToSignBit() local 34 x = (x ^ sign) - sign; in Sk2sComplimentToSignBit() 35 // set the sign bit as needed in Sk2sComplimentToSignBit() 36 x |= SkLeftShift(sign, 31); in Sk2sComplimentToSignBit()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | libtommath.c | 127 int used, alloc, sign; member 391 * and sign to positive */ in mp_init() 394 a->sign = MP_ZPOS; in mp_init() 418 a->sign = MP_ZPOS; in mp_clear() 428 /* get sign of both inputs */ in mp_add() 429 sa = a->sign; in mp_add() 430 sb = b->sign; in mp_add() 435 /* add their magnitudes, copy the sign */ in mp_add() 436 c->sign = sa; in mp_add() 442 /* the sign o in mp_add() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | libtommath.c | 127 int used, alloc, sign; member 391 * and sign to positive */ in mp_init() 394 a->sign = MP_ZPOS; in mp_init() 418 a->sign = MP_ZPOS; in mp_clear() 428 /* get sign of both inputs */ in mp_add() 429 sa = a->sign; in mp_add() 430 sb = b->sign; in mp_add() 435 /* add their magnitudes, copy the sign */ in mp_add() 436 c->sign = sa; in mp_add() 442 /* the sign o in mp_add() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | MacroProps.java | 31 public SignDisplay sign; field in MacroProps 70 if (sign == null) in fallback() 71 sign = fallback.sign; in fallback() 101 sign, in hashCode() 131 && Objects.equals(sign, other.sign) in equals()
|
/third_party/libsnd/src/ |
H A D | avr.c | 45 short sign ; /* 0 = unsigned, 0xffff = signed */ member 121 psf_binheader_readf (psf, "E22222", &hdr.mono, &hdr.rez, &hdr.sign, &hdr.loop, &hdr.midi) ; in avr_read_header() 126 (hdr.mono & 1) + 1, hdr.rez, hdr.sign ? "yes" : "no") ; in avr_read_header() 128 switch (arith_shift_left (hdr.rez, 16) + (hdr.sign & 1)) in avr_read_header() 145 psf_log_printf (psf, "Error : bad rez/sign combination.\n") ; in avr_read_header() 184 int sign ; in avr_write_header() local 215 sign = ((SF_CODEC (psf->sf.format)) == SF_FORMAT_PCM_U8) ? 0 : 0xFFFF ; in avr_write_header() 217 psf_binheader_writef (psf, "E222", BHW2 (sign), BHW2 (0), BHW2 (0xFFFF)) ; in avr_write_header()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_utils.h | 808 int32 sign = (halfValue >> 15) & 0x00000001; in DNG_HalfToFloat() local 820 return (uint32) (sign << 31); in DNG_HalfToFloat() 850 return (uint32) ((sign << 31) | ((0x1eL + 127 - 15) << 23) | (0x3ffL << 13)); in DNG_HalfToFloat() 870 // Assemble sign, exponent and mantissa. in DNG_HalfToFloat() 872 return (uint32) ((sign << 31) | (exponent << 23) | mantissa); in DNG_HalfToFloat() 881 int32 sign = (i >> 16) & 0x00008000; in DNG_FloatToHalf() local 893 return (uint16)sign; in DNG_FloatToHalf() 911 // Assemble the half from sign, exponent (zero) and mantissa. in DNG_FloatToHalf() 913 return (uint16)(sign | (mantissa >> 13)); in DNG_FloatToHalf() 924 // infinity with the same sign a in DNG_FloatToHalf() 979 int32 sign = (input [0] >> 7) & 0x01; DNG_FP24ToFloat() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-crypto-binary-default.js | 435 .sign(keyPem, 'base64'); 444 .sign(keyPem); // binary 453 .sign(keyPem, 'buffer'); 627 const rsaSignature = rsaSign.sign(rsaKeyPem, 'hex'); 652 const sign = crypto.createSign('SHA256'); 653 sign.update(input); 655 const output = sign.sign(privateKey, 'hex'); 676 const sign = crypto.createSign('SHA1'); 677 sign [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | burn_file.h | 65 * Parameter of sign algorithm.CNcomment:签名算法参数。CNend 80 hi_u8 sign[RSA_2048_LEN]; /**< RSA signature.CNcomment:RSA签名。CNend */ member 146 upg_rsa_sign sign; /**< Sign of rsa.CNcomment:RSA算法签名。CNend */ member 151 upg_ecc_sign sign; /**< Sign of ecc.CNcomment:ECC算法签名。CNend */ member 156 upg_sha256_sign sign; /**< Hash of sha256.CNcomment:SHA256算法哈希值。CNend */ member 172 } sign; member 178 hi_upg_rsa_alg rsa; /**< Key and sign of RSA.CNcomment:RSA密钥及签名信息。CNend */ 179 hi_upg_ecc_alg ecc; /**< Key and sign of ECC.CNcomment:ECC密钥及签名信息。CNend */ 180 hi_upg_sha256_alg sha;/**< Key and sign of SHA256.CNcomment:SHA256密钥及签名信息。CNend */
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/ |
H A D | hi_upg_file.h | 72 * Parameter of sign algorithm.CNcomment:签名算法参数。CNend 87 hi_u8 sign[RSA_2048_LEN]; /**< RSA signature.CNcomment:RSA签名。CNend */ member 158 upg_rsa_sign sign; /**< Sign of rsa.CNcomment:RSA算法签名。CNend */ member 163 upg_ecc_sign sign; /**< Sign of ecc.CNcomment:ECC算法签名。CNend */ member 168 upg_sha256_sign sign; /**< Hash of sha256.CNcomment:SHA256算法哈希值。CNend */ member 184 } sign; member 190 hi_upg_rsa_alg rsa; /**< Key and sign of RSA.CNcomment:RSA密钥及签名信息。CNend */ 191 hi_upg_ecc_alg ecc; /**< Key and sign of ECC.CNcomment:ECC密钥及签名信息。CNend */ 192 hi_upg_sha256_alg sha;/**< Key and sign of SHA256.CNcomment:SHA256密钥及签名信息。CNend */ 199 hi_upg_rsa_alg rsa; /**< Key and sign o [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_upg_file.h | 61 * Parameter of sign algorithm.CNcomment:签名算法参数。CNend 76 hi_u8 sign[RSA_2048_LEN]; /**< RSA signature.CNcomment:RSA签名。CNend */ member 147 upg_rsa_sign sign; /**< Sign of rsa.CNcomment:RSA算法签名。CNend */ member 152 upg_ecc_sign sign; /**< Sign of ecc.CNcomment:ECC算法签名。CNend */ member 157 upg_sha256_sign sign; /**< Hash of sha256.CNcomment:SHA256算法哈希值。CNend */ member 173 } sign; member 179 hi_upg_rsa_alg rsa; /**< Key and sign of RSA.CNcomment:RSA密钥及签名信息。CNend */ 180 hi_upg_ecc_alg ecc; /**< Key and sign of ECC.CNcomment:ECC密钥及签名信息。CNend */ 181 hi_upg_sha256_alg sha;/**< Key and sign of SHA256.CNcomment:SHA256密钥及签名信息。CNend */ 188 hi_upg_rsa_alg rsa; /**< Key and sign o [all...] |
/third_party/node/tools/ |
H A D | release.sh | 3 # To promote and sign a release that has been prepared by the build jobs, use: 6 # To _only_ sign an existing release, use: 17 signcmd=dist-sign 91 ## Create and sign checksums file for a given version 93 sign() { function 109 echo 'Error: No SHASUMS file returned by sign!' &&\ 125 gpg --default-key "$gpgkey" --detach-sign --digest-algo SHA256 "${tmpdir}/${shafile}" 160 sign "$signversion" 211 sign "$version"
|
/third_party/musl/porting/linux/user/src/passwd/ |
H A D | getspnam_r.c | 18 int sign; in xatol() local 21 sign = (int)(unsigned char)**s; in xatol() 22 if (sign == '-' || sign == '+') ++*s; in xatol() 26 if (sign == '-') return -x; in xatol()
|
/third_party/musl/src/locale/ |
H A D | wcstod_l.c | 77 int sign = 1; in wcstod_l() local 84 sign -= 2 * (*tmp_s == L'-'); in wcstod_l() 91 if (!p) return sign * INFINITY; in wcstod_l() 97 return sign * INFINITY; in wcstod_l() 103 return sign * res; in wcstod_l()
|
/third_party/musl/src/passwd/ |
H A D | getspnam_r.c | 18 int sign; in xatol() local 20 sign = (int)(unsigned char)**s; in xatol() 21 if (sign == '-' || sign == '+') { in xatol() 25 if (sign == '-') { in xatol()
|
/third_party/optimized-routines/math/test/rtest/ |
H A D | dotest.c | 75 int sign = (hl >> 63) ? -1 : +1; in set_mpfr_d() local 78 mpfr_set_inf(x, sign); in set_mpfr_d() 83 mpfr_setsign(x, x, sign < 0, GMP_RNDN); in set_mpfr_d() 89 mpfr_set_sj_2exp(x, mantissa * sign, (int)exp - 0x3ff - 52, GMP_RNDN); in set_mpfr_d() 96 int sign = (f >> 31) ? -1 : +1; in set_mpfr_f() local 99 mpfr_set_inf(x, sign); in set_mpfr_f() 104 mpfr_setsign(x, x, sign < 0, GMP_RNDN); in set_mpfr_f() 110 mpfr_set_sj_2exp(x, mantissa * sign, (int)exp - 0x7f - 23, GMP_RNDN); in set_mpfr_f() 137 uint32_t sign, expfield, mantfield; in get_mpfr_d() local 148 sign in get_mpfr_d() 201 uint32_t sign, expfield, mantfield; get_mpfr_f() local 336 int sign; test_lgamma() local 835 int sign, eptr; float32_case() local 963 int sign, eptr; float64_case() local 1249 uint32 sign = random_sign; log1p_cases() local 1260 uint32 sign = random_sign; log1p_cases_float() local [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | vp3dsp_idct_msa.c | 28 v8i16 r0, r1, r2, r3, r4, r5, r6, r7, sign; in idct_msa() local 53 sign = __msa_clti_s_h(r0, 0); in idct_msa() 54 r0_r = (v4i32) __msa_ilvr_h(sign, r0); in idct_msa() 55 r0_l = (v4i32) __msa_ilvl_h(sign, r0); in idct_msa() 56 sign = __msa_clti_s_h(r1, 0); in idct_msa() 57 r1_r = (v4i32) __msa_ilvr_h(sign, r1); in idct_msa() 58 r1_l = (v4i32) __msa_ilvl_h(sign, r1); in idct_msa() 59 sign = __msa_clti_s_h(r2, 0); in idct_msa() 60 r2_r = (v4i32) __msa_ilvr_h(sign, r2); in idct_msa() 61 r2_l = (v4i32) __msa_ilvl_h(sign, r in idct_msa() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | get_bits.h | 101 * Will return the next num bits and do sign extension. 317 * Read MPEG-1 dc-style VLC (sign bit + mantissa with no MSB). 325 int sign = ~cache >> 31; in get_xbits() local 328 return ((((uint32_t)(sign ^ cache)) >> (32 - n)) ^ sign) - sign; in get_xbits() 330 register int sign; in get_xbits() 336 sign = ~cache >> 31; in get_xbits() 339 return (NEG_USR32(sign ^ cache, n) ^ sign) in get_xbits() 346 register int sign; get_xbits_le() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | avr.c | 42 uint16_t chan, sign, bps; in avr_read_header() local 66 sign = avio_rb16(s->pb); in avr_read_header() 81 st->codecpar->codec_id = ff_get_pcm_codec_id(bps, 0, 1, sign); in avr_read_header() 83 avpriv_request_sample(s, "Bps %d and sign %d", bps, sign); in avr_read_header()
|
/third_party/jerryscript/jerry-libm/ |
H A D | cbrt.c | 47 unsigned int sign; in cbrt() local 51 sign = temp.as_int.hi & 0x80000000; /* sign = sign(x) */ in cbrt() 52 temp.as_int.hi ^= sign; in cbrt() 92 /* retore the sign bit */ in cbrt() 93 t.as_int.hi |= sign; in cbrt()
|
/third_party/node/test/fixtures/0-dns/ |
H A D | create-cert.js | 62 const sign = crypto.createSign(digest); 63 sign.update(tbs_der); 64 const signature = sign.sign(private_key);
|
/third_party/musl/src/math/ |
H A D | __tan.c | 71 int big, sign; in __tan() local 76 sign = hx>>31; in __tan() 77 if (sign) { in __tan() 99 return sign ? -v : v; in __tan()
|