Searched refs:to_sign (Results 1 – 6 of 6) sorted by relevance
/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 | 87 Status CreateSignature(RSA* private_key, StringPiece to_sign, in CreateSignature() argument 116 if (EVP_DigestSignUpdate(md_ctx.get(), to_sign.data(), to_sign.size()) != 1) { in CreateSignature() 213 const string to_sign = encoded_header + "." + encoded_claim; in GetTokenFromServiceAccountJson() local 215 TF_RETURN_IF_ERROR(CreateSignature(private_key.get(), to_sign, &signature)); in GetTokenFromServiceAccountJson() 216 const string jwt = to_sign + "." + signature; in GetTokenFromServiceAccountJson()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | math.cc | 600 auto to_sign = And(to_as_int, ScalarLike(to_as_int, sign_mask)); in NextAfter() local 605 Or(to_sign, ScalarLike(from_as_int, 1)); in NextAfter() 618 auto signs_disagree = Ne(from_sign, to_sign); in NextAfter()
|
/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])
|