Searched refs:to_sign (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/ |
D | json_token.cc | 228 const char* to_sign) { in compute_and_encode_signature() argument 246 if (EVP_DigestSignUpdate(md_ctx, to_sign, strlen(to_sign)) != 1) { in compute_and_encode_signature() 276 char* to_sign = dot_concat_and_free_strings( in grpc_jwt_encode_and_sign() local 279 char* sig = compute_and_encode_signature(json_key, sig_algo, to_sign); in grpc_jwt_encode_and_sign() 281 gpr_free(to_sign); in grpc_jwt_encode_and_sign() 284 return dot_concat_and_free_strings(to_sign, sig); in grpc_jwt_encode_and_sign()
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | json_token.cc | 251 const char* to_sign) { in compute_and_encode_signature() argument 269 if (EVP_DigestSignUpdate(md_ctx, to_sign, strlen(to_sign)) != 1) { in compute_and_encode_signature() 299 char* to_sign = dot_concat_and_free_strings( in grpc_jwt_encode_and_sign() local 302 char* sig = compute_and_encode_signature(json_key, sig_algo, to_sign); in grpc_jwt_encode_and_sign() 304 gpr_free(to_sign); in grpc_jwt_encode_and_sign() 307 return dot_concat_and_free_strings(to_sign, sig); in grpc_jwt_encode_and_sign()
|
/external/python/oauth2client/tests/ |
D | test__pure_python_crypt.py | 52 to_sign = b'foo' 54 actual_signature = signer.sign(to_sign) 58 self.assertTrue(verifier.verify(to_sign, actual_signature)) 61 to_sign = u'foo' 63 actual_signature = signer.sign(to_sign) 67 self.assertTrue(verifier.verify(to_sign, actual_signature))
|
D | test__pycrypto_crypt.py | 39 to_sign = b'foo' 42 actual_signature = signer.sign(to_sign) 46 self.assertTrue(verifier.verify(to_sign, actual_signature))
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | oauth_client.cc | 88 Status CreateSignature(RSA* private_key, StringPiece to_sign, in CreateSignature() argument 117 if (EVP_DigestSignUpdate(md_ctx.get(), to_sign.data(), to_sign.size()) != 1) { in CreateSignature() 214 const string to_sign = encoded_header + "." + encoded_claim; in GetTokenFromServiceAccountJson() local 216 TF_RETURN_IF_ERROR(CreateSignature(private_key.get(), to_sign, &signature)); in GetTokenFromServiceAccountJson() 217 const string jwt = to_sign + "." + signature; in GetTokenFromServiceAccountJson()
|
/external/mesa3d/.gitlab-ci/tracie/ |
D | tracie.py | 111 …to_sign = "PUT\n\n%s\n%s\nx-amz-security-token:%s\n%s" % (content_type, date, minio_token, resourc… 112 signature = sign_with_hmac(minio_secret, to_sign)
|
/external/python/oauth2client/tests/contrib/ |
D | test_appengine.py | 220 to_sign = b'blob' 222 result = credentials.sign_blob(to_sign) 224 self.assertEqual(app_identity_stub._sign_calls, [to_sign])
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | math.cc | 1393 auto to_sign = And(to_as_int, ScalarLike(to_as_int, sign_mask)); in NextAfter() local 1398 Or(to_sign, ScalarLike(from_as_int, 1)); in NextAfter() 1411 auto signs_disagree = Ne(from_sign, to_sign); in NextAfter()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | bfloat16.cc | 1276 uint16_t to_sign = to_as_int & sign_mask; in operator ()() local 1280 (from_abs > to_abs || from_sign != to_sign) ? 0xFFFF : 0x0001; in operator ()()
|