HomeSort by relevance Sort by last modified time
    Searched full:secret (Results 76 - 100 of 1192) sorted by null

1 2 34 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/crypto/tls/
prf.go 18 // Split a premaster secret in two as specified in RFC 4346, section 5.
19 func splitPreMasterSecret(secret []byte) (s1, s2 []byte) {
20 s1 = secret[0 : (len(secret)+1)/2]
21 s2 = secret[len(secret)/2:]
26 func pHash(result, secret, seed []byte, hash func() hash.Hash) {
27 h := hmac.New(hash, secret)
51 func prf10(result, secret, label, seed []byte) {
59 s1, s2 := splitPreMasterSecret(secret)
    [all...]
  /prebuilts/go/linux-x86/src/crypto/tls/
prf.go 18 // Split a premaster secret in two as specified in RFC 4346, section 5.
19 func splitPreMasterSecret(secret []byte) (s1, s2 []byte) {
20 s1 = secret[0 : (len(secret)+1)/2]
21 s2 = secret[len(secret)/2:]
26 func pHash(result, secret, seed []byte, hash func() hash.Hash) {
27 h := hmac.New(hash, secret)
51 func prf10(result, secret, label, seed []byte) {
59 s1, s2 := splitPreMasterSecret(secret)
    [all...]
  /system/tpm/trunks/
password_authorization_delegate_test.cc 41 "secret", // password
43 PasswordAuthorizationDelegate delegate("secret");
61 PasswordAuthorizationDelegate delegate("secret");
75 "secret", // password
77 PasswordAuthorizationDelegate delegate("secret");
87 PasswordAuthorizationDelegate delegate("secret");
  /system/vold/
KeyStorage.h 29 // If "token" and "secret" are nonempty, "secret" is appended to the application-specific
31 // If only "secret" is nonempty, it is used to decrypt in a non-Keymaster process.
34 KeyAuthentication(std::string t, std::string s) : token{t}, secret{s} {};
36 bool usesKeymaster() const { return !token.empty() || secret.empty(); };
39 const std::string secret; member in class:android::vold::KeyAuthentication
  /external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
protobufwireadaptertest.cc 260 std::vector<unsigned char> secret(4);
261 secret[0] = 0xAA;
262 secret[1] = 0xBB;
263 secret[2] = 0xCC;
264 secret[3] = 0xDD;
266 Secret proto;
267 proto.set_secret(&secret[0], secret.size());
277 pairing::message::SecretMessage message(secret);
285 std::vector<unsigned char> secret(4)
    [all...]
  /external/curl/tests/data/
test857 45 pop3://%HOSTIP:%POP3PORT/857 -u user:secret
55 PASS secret
  /external/selinux/mcstrans/share/examples/nato/
setrans.conf 12 s5:c0,c2,c11,c200.c511=SECRET
17 s5:c1,c200.c511=NATO SECRET
  /external/wpa_supplicant_8/src/crypto/
sha256.h 23 void tls_prf_sha256(const u8 *secret, size_t secret_len,
26 int hmac_sha256_kdf(const u8 *secret, size_t secret_len,
sha256-kdf.c 17 * @secret: Key for KDF
29 int hmac_sha256_kdf(const u8 *secret, size_t secret_len,
48 if (hmac_sha256_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0)
69 if (hmac_sha256_vector(secret, secret_len, 4, addr, len, T) < 0)
  /external/autotest/frontend/
settings_lite.py 19 SECRET_KEY = 'Three can keep a secret if two are dead.'
  /libcore/ojluni/src/main/java/javax/crypto/spec/
SecretKeySpec.java 34 * This class specifies a secret key in a provider-independent fashion.
40 * <p>This class is only useful for raw secret keys that can be represented as
55 * The secret key.
69 * Constructs a secret key from the given byte array.
72 * secret key of the specified algorithm. For example, if the algorithm is
80 * @param key the key material of the secret key. The contents of
82 * @param algorithm the name of the secret-key algorithm to be associated
103 * Constructs a secret key from the given byte array, using the first
107 * <p> The bytes that constitute the secret key are
112 * secret key of the specified algorithm. For example, if the algorithm i
    [all...]
  /external/ppp/pppd/plugins/radius/
sendserver.c 33 static int rc_pack_list (VALUE_PAIR *vp, char *secret, AUTH_HDR *auth)
106 secretlen = strlen (secret);
110 strcpy ((char *) md5buf, secret);
141 secretlen = strlen (secret);
142 strcpy ((char *) md5buf, secret);
209 char secret[MAX_SECRET_LENGTH + 1]; local
223 strcpy(secret, MGMT_POLL_SECRET);
229 if (rc_find_server (server_name, &auth_ipaddr, secret) != 0)
238 memset (secret, '\0', sizeof (secret));
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
AuthenticationInfo.h 69 /// Network Access Server Secret Length in bytes (OPTIONAL).
74 /// Network Access Server Secret (OPTIONAL).
79 /// CHAP Initiator Secret Length in bytes on offset NasSecret + NasSecretLength.
83 /// CHAP Initiator Secret.
103 /// Reverse CHAP Secret Length in bytes on offseet ReverseChapName + ReverseChapNameLength.
107 /// Reverse CHAP Secret.
122 /// User Secret Length in bytes.
127 /// User Secret.
140 /// CHAP Initiator Secret Length in bytes on offset UserName + UserNameLength.
144 /// CHAP Initiator Secret.
    [all...]
  /external/autotest/frontend/client/test/autotest/moblab/rpc/
CloudStorageInfoTest.java 20 info.setBotoSecret("secret");
27 assertEquals("secret",
39 assertEquals("secret", info.getBotoSecret());
  /external/google-tv-pairing-protocol/cpp/src/polo/encoding/
hexadecimalencoder.h 26 // Encodes and decodes secret challenges as hexadecimal strings.
31 const std::vector<uint8_t>& secret) const;
35 const std::string& secret) const;
  /external/google-tv-pairing-protocol/java/src/com/google/polo/encoding/
SecretEncoder.java 20 * Methods that must be implemented by a secret encoding scheme.
25 * Converts the byte representation of a secret to the appropriate string
31 * Converts the encoded value of a secret to the raw byte representation.
  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
SecretAckMessage.java 31 public SecretAckMessage(byte[] secret) {
33 mSecret = secret;
45 ret.append(" secret=");
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
BaseAgreementSpi.java 199 protected static byte[] trimZeroes(byte[] secret)
201 if (secret[0] != 0)
203 return secret;
208 while (ind < secret.length && secret[ind] == 0)
213 byte[] rv = new byte[secret.length - ind];
215 System.arraycopy(secret, ind, rv, 0, rv.length);
238 byte[] secret = engineGenerateSecret();
240 if (sharedSecret.length - offset < secret.length)
242 throw new ShortBufferException(kaAlgorithm + " key agreement: need " + secret.length + " bytes")
    [all...]
  /external/wpa_supplicant_8/src/radius/
radius.h 230 int radius_msg_finish(struct radius_msg *msg, const u8 *secret,
232 int radius_msg_finish_srv(struct radius_msg *msg, const u8 *secret,
234 int radius_msg_finish_das_resp(struct radius_msg *msg, const u8 *secret,
237 void radius_msg_finish_acct(struct radius_msg *msg, const u8 *secret,
239 void radius_msg_finish_acct_resp(struct radius_msg *msg, const u8 *secret,
242 int radius_msg_verify_acct_req(struct radius_msg *msg, const u8 *secret,
244 int radius_msg_verify_das_req(struct radius_msg *msg, const u8 *secret,
253 int radius_msg_verify(struct radius_msg *msg, const u8 *secret,
256 int radius_msg_verify_msg_auth(struct radius_msg *msg, const u8 *secret,
263 const u8 *secret, size_t secret_len)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
test_config.py 25 password:secret
29 password: secret
37 password:secret
91 waited = [('password', 'secret'), ('realm', 'pypi'),
101 waited = [('password', 'secret'), ('realm', 'pypi'),
  /external/python/cpython2/Lib/distutils/tests/
test_config.py 25 password:secret
29 password: secret
37 password:secret
91 waited = [('password', 'secret'), ('realm', 'pypi'),
101 waited = [('password', 'secret'), ('realm', 'pypi'),
  /prebuilts/go/darwin-x86/test/fixedbugs/issue10700.dir/
test.go 43 z.secret() // ERROR "z\.secret undefined \(type \*other\.Exported is pointer to interface, not interface\)"
44 (*z).secret() // ERROR "\(\*z\)\.secret undefined \(cannot refer to unexported field or method secret\)"
  /prebuilts/go/linux-x86/test/fixedbugs/issue10700.dir/
test.go 43 z.secret() // ERROR "z\.secret undefined \(type \*other\.Exported is pointer to interface, not interface\)"
44 (*z).secret() // ERROR "\(\*z\)\.secret undefined \(cannot refer to unexported field or method secret\)"
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_config.py 25 password:secret
29 password: secret
37 password:secret
91 waited = [('password', 'secret'), ('realm', 'pypi'),
101 waited = [('password', 'secret'), ('realm', 'pypi'),
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
test_config.py 25 password:secret
29 password: secret
37 password:secret
91 waited = [('password', 'secret'), ('realm', 'pypi'),
101 waited = [('password', 'secret'), ('realm', 'pypi'),

Completed in 880 milliseconds

1 2 34 5 6 7 8 91011>>