Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 25 of 268) sorted by relevance

1234567891011

/external/tensorflow/tensorflow/python/ops/
Dstateful_random_ops.py139 def _get_state_size(alg): argument
140 if alg == RNG_ALG_PHILOX:
142 elif alg == RNG_ALG_THREEFRY:
145 raise ValueError("Unsupported algorithm id: %s" % alg)
148 def _check_state_shape(shape, alg): argument
149 if isinstance(alg, ops.Tensor) and not context.executing_eagerly():
151 shape.assert_is_compatible_with([_get_state_size(int(alg))])
154 def _make_state_from_seed(seed, alg): argument
155 return _make_1d_state(_get_state_size(alg), seed)
158 def _convert_alg_to_int(alg): argument
[all …]
/external/openssh/
Ddigest-libc.c44 int alg; member
124 ssh_digest_by_alg(int alg) in ssh_digest_by_alg() argument
126 if (alg < 0 || alg >= SSH_DIGEST_MAX) in ssh_digest_by_alg()
128 if (digests[alg].id != alg) /* sanity */ in ssh_digest_by_alg()
130 return &(digests[alg]); in ssh_digest_by_alg()
136 int alg; in ssh_digest_alg_by_name() local
138 for (alg = 0; alg < SSH_DIGEST_MAX; alg++) { in ssh_digest_alg_by_name()
139 if (strcasecmp(name, digests[alg].name) == 0) in ssh_digest_alg_by_name()
140 return digests[alg].id; in ssh_digest_alg_by_name()
146 ssh_digest_alg_name(int alg) in ssh_digest_alg_name() argument
[all …]
Ddigest-openssl.c45 int alg; member
68 ssh_digest_by_alg(int alg) in ssh_digest_by_alg() argument
70 if (alg < 0 || alg >= SSH_DIGEST_MAX) in ssh_digest_by_alg()
72 if (digests[alg].id != alg) /* sanity */ in ssh_digest_by_alg()
74 if (digests[alg].mdfunc == NULL) in ssh_digest_by_alg()
76 return &(digests[alg]); in ssh_digest_by_alg()
82 int alg; in ssh_digest_alg_by_name() local
84 for (alg = 0; digests[alg].id != -1; alg++) { in ssh_digest_alg_by_name()
85 if (strcasecmp(name, digests[alg].name) == 0) in ssh_digest_alg_by_name()
86 return digests[alg].id; in ssh_digest_alg_by_name()
[all …]
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/RSA/oaep-custom/
Doaep-sha1-sha256.txt29 # OAEP Example 1 alg=sha256 mgf1=sha1
34 # OAEP Example 2 alg=sha256 mgf1=sha1
39 # OAEP Example 3 alg=sha256 mgf1=sha1
44 # OAEP Example 4 alg=sha256 mgf1=sha1
49 # OAEP Example 5 alg=sha256 mgf1=sha1
54 # OAEP Example 6 alg=sha256 mgf1=sha1
83 # OAEP Example 1 alg=sha256 mgf1=sha1
88 # OAEP Example 2 alg=sha256 mgf1=sha1
93 # OAEP Example 3 alg=sha256 mgf1=sha1
98 # OAEP Example 4 alg=sha256 mgf1=sha1
[all …]
Doaep-sha512-sha384.txt29 # OAEP Example 1 alg=sha384 mgf1=sha512
34 # OAEP Example 2 alg=sha384 mgf1=sha512
39 # OAEP Example 3 alg=sha384 mgf1=sha512
44 # OAEP Example 4 alg=sha384 mgf1=sha512
49 # OAEP Example 5 alg=sha384 mgf1=sha512
54 # OAEP Example 6 alg=sha384 mgf1=sha512
83 # OAEP Example 1 alg=sha384 mgf1=sha512
88 # OAEP Example 2 alg=sha384 mgf1=sha512
93 # OAEP Example 3 alg=sha384 mgf1=sha512
98 # OAEP Example 4 alg=sha384 mgf1=sha512
[all …]
Doaep-sha512-sha256.txt29 # OAEP Example 1 alg=sha256 mgf1=sha512
34 # OAEP Example 2 alg=sha256 mgf1=sha512
39 # OAEP Example 3 alg=sha256 mgf1=sha512
44 # OAEP Example 4 alg=sha256 mgf1=sha512
49 # OAEP Example 5 alg=sha256 mgf1=sha512
54 # OAEP Example 6 alg=sha256 mgf1=sha512
83 # OAEP Example 1 alg=sha256 mgf1=sha512
88 # OAEP Example 2 alg=sha256 mgf1=sha512
93 # OAEP Example 3 alg=sha256 mgf1=sha512
98 # OAEP Example 4 alg=sha256 mgf1=sha512
[all …]
Doaep-sha224-sha384.txt29 # OAEP Example 1 alg=sha384 mgf1=sha224
34 # OAEP Example 2 alg=sha384 mgf1=sha224
39 # OAEP Example 3 alg=sha384 mgf1=sha224
44 # OAEP Example 4 alg=sha384 mgf1=sha224
49 # OAEP Example 5 alg=sha384 mgf1=sha224
54 # OAEP Example 6 alg=sha384 mgf1=sha224
83 # OAEP Example 1 alg=sha384 mgf1=sha224
88 # OAEP Example 2 alg=sha384 mgf1=sha224
93 # OAEP Example 3 alg=sha384 mgf1=sha224
98 # OAEP Example 4 alg=sha384 mgf1=sha224
[all …]
Doaep-sha1-sha384.txt29 # OAEP Example 1 alg=sha384 mgf1=sha1
34 # OAEP Example 2 alg=sha384 mgf1=sha1
39 # OAEP Example 3 alg=sha384 mgf1=sha1
44 # OAEP Example 4 alg=sha384 mgf1=sha1
49 # OAEP Example 5 alg=sha384 mgf1=sha1
54 # OAEP Example 6 alg=sha384 mgf1=sha1
83 # OAEP Example 1 alg=sha384 mgf1=sha1
88 # OAEP Example 2 alg=sha384 mgf1=sha1
93 # OAEP Example 3 alg=sha384 mgf1=sha1
98 # OAEP Example 4 alg=sha384 mgf1=sha1
[all …]
Doaep-sha224-sha512.txt29 # OAEP Example 1 alg=sha512 mgf1=sha224
34 # OAEP Example 2 alg=sha512 mgf1=sha224
39 # OAEP Example 3 alg=sha512 mgf1=sha224
44 # OAEP Example 4 alg=sha512 mgf1=sha224
49 # OAEP Example 5 alg=sha512 mgf1=sha224
54 # OAEP Example 6 alg=sha512 mgf1=sha224
83 # OAEP Example 1 alg=sha512 mgf1=sha224
88 # OAEP Example 2 alg=sha512 mgf1=sha224
93 # OAEP Example 3 alg=sha512 mgf1=sha224
98 # OAEP Example 4 alg=sha512 mgf1=sha224
[all …]
Doaep-sha256-sha224.txt29 # OAEP Example 1 alg=sha224 mgf1=sha256
34 # OAEP Example 2 alg=sha224 mgf1=sha256
39 # OAEP Example 3 alg=sha224 mgf1=sha256
44 # OAEP Example 4 alg=sha224 mgf1=sha256
49 # OAEP Example 5 alg=sha224 mgf1=sha256
54 # OAEP Example 6 alg=sha224 mgf1=sha256
83 # OAEP Example 1 alg=sha224 mgf1=sha256
88 # OAEP Example 2 alg=sha224 mgf1=sha256
93 # OAEP Example 3 alg=sha224 mgf1=sha256
98 # OAEP Example 4 alg=sha224 mgf1=sha256
[all …]
Doaep-sha256-sha256.txt29 # OAEP Example 1 alg=sha256 mgf1=sha256
34 # OAEP Example 2 alg=sha256 mgf1=sha256
39 # OAEP Example 3 alg=sha256 mgf1=sha256
44 # OAEP Example 4 alg=sha256 mgf1=sha256
49 # OAEP Example 5 alg=sha256 mgf1=sha256
54 # OAEP Example 6 alg=sha256 mgf1=sha256
83 # OAEP Example 1 alg=sha256 mgf1=sha256
88 # OAEP Example 2 alg=sha256 mgf1=sha256
93 # OAEP Example 3 alg=sha256 mgf1=sha256
98 # OAEP Example 4 alg=sha256 mgf1=sha256
[all …]
Doaep-sha384-sha1.txt29 # OAEP Example 1 alg=sha1 mgf1=sha384
34 # OAEP Example 2 alg=sha1 mgf1=sha384
39 # OAEP Example 3 alg=sha1 mgf1=sha384
44 # OAEP Example 4 alg=sha1 mgf1=sha384
49 # OAEP Example 5 alg=sha1 mgf1=sha384
54 # OAEP Example 6 alg=sha1 mgf1=sha384
83 # OAEP Example 1 alg=sha1 mgf1=sha384
88 # OAEP Example 2 alg=sha1 mgf1=sha384
93 # OAEP Example 3 alg=sha1 mgf1=sha384
98 # OAEP Example 4 alg=sha1 mgf1=sha384
[all …]
Doaep-sha1-sha224.txt29 # OAEP Example 1 alg=sha224 mgf1=sha1
34 # OAEP Example 2 alg=sha224 mgf1=sha1
39 # OAEP Example 3 alg=sha224 mgf1=sha1
44 # OAEP Example 4 alg=sha224 mgf1=sha1
49 # OAEP Example 5 alg=sha224 mgf1=sha1
54 # OAEP Example 6 alg=sha224 mgf1=sha1
83 # OAEP Example 1 alg=sha224 mgf1=sha1
88 # OAEP Example 2 alg=sha224 mgf1=sha1
93 # OAEP Example 3 alg=sha224 mgf1=sha1
98 # OAEP Example 4 alg=sha224 mgf1=sha1
[all …]
Doaep-sha512-sha224.txt29 # OAEP Example 1 alg=sha224 mgf1=sha512
34 # OAEP Example 2 alg=sha224 mgf1=sha512
39 # OAEP Example 3 alg=sha224 mgf1=sha512
44 # OAEP Example 4 alg=sha224 mgf1=sha512
49 # OAEP Example 5 alg=sha224 mgf1=sha512
54 # OAEP Example 6 alg=sha224 mgf1=sha512
83 # OAEP Example 1 alg=sha224 mgf1=sha512
88 # OAEP Example 2 alg=sha224 mgf1=sha512
93 # OAEP Example 3 alg=sha224 mgf1=sha512
98 # OAEP Example 4 alg=sha224 mgf1=sha512
[all …]
Doaep-sha1-sha512.txt29 # OAEP Example 1 alg=sha512 mgf1=sha1
34 # OAEP Example 2 alg=sha512 mgf1=sha1
39 # OAEP Example 3 alg=sha512 mgf1=sha1
44 # OAEP Example 4 alg=sha512 mgf1=sha1
49 # OAEP Example 5 alg=sha512 mgf1=sha1
54 # OAEP Example 6 alg=sha512 mgf1=sha1
83 # OAEP Example 1 alg=sha512 mgf1=sha1
88 # OAEP Example 2 alg=sha512 mgf1=sha1
93 # OAEP Example 3 alg=sha512 mgf1=sha1
98 # OAEP Example 4 alg=sha512 mgf1=sha1
[all …]
Doaep-sha256-sha512.txt29 # OAEP Example 1 alg=sha512 mgf1=sha256
34 # OAEP Example 2 alg=sha512 mgf1=sha256
39 # OAEP Example 3 alg=sha512 mgf1=sha256
44 # OAEP Example 4 alg=sha512 mgf1=sha256
49 # OAEP Example 5 alg=sha512 mgf1=sha256
54 # OAEP Example 6 alg=sha512 mgf1=sha256
83 # OAEP Example 1 alg=sha512 mgf1=sha256
88 # OAEP Example 2 alg=sha512 mgf1=sha256
93 # OAEP Example 3 alg=sha512 mgf1=sha256
98 # OAEP Example 4 alg=sha512 mgf1=sha256
[all …]
Doaep-sha224-sha224.txt29 # OAEP Example 1 alg=sha224 mgf1=sha224
34 # OAEP Example 2 alg=sha224 mgf1=sha224
39 # OAEP Example 3 alg=sha224 mgf1=sha224
44 # OAEP Example 4 alg=sha224 mgf1=sha224
49 # OAEP Example 5 alg=sha224 mgf1=sha224
54 # OAEP Example 6 alg=sha224 mgf1=sha224
83 # OAEP Example 1 alg=sha224 mgf1=sha224
88 # OAEP Example 2 alg=sha224 mgf1=sha224
93 # OAEP Example 3 alg=sha224 mgf1=sha224
98 # OAEP Example 4 alg=sha224 mgf1=sha224
[all …]
Doaep-sha256-sha384.txt29 # OAEP Example 1 alg=sha384 mgf1=sha256
34 # OAEP Example 2 alg=sha384 mgf1=sha256
39 # OAEP Example 3 alg=sha384 mgf1=sha256
44 # OAEP Example 4 alg=sha384 mgf1=sha256
49 # OAEP Example 5 alg=sha384 mgf1=sha256
54 # OAEP Example 6 alg=sha384 mgf1=sha256
83 # OAEP Example 1 alg=sha384 mgf1=sha256
88 # OAEP Example 2 alg=sha384 mgf1=sha256
93 # OAEP Example 3 alg=sha384 mgf1=sha256
98 # OAEP Example 4 alg=sha384 mgf1=sha256
[all …]
Doaep-sha224-sha256.txt29 # OAEP Example 1 alg=sha256 mgf1=sha224
34 # OAEP Example 2 alg=sha256 mgf1=sha224
39 # OAEP Example 3 alg=sha256 mgf1=sha224
44 # OAEP Example 4 alg=sha256 mgf1=sha224
49 # OAEP Example 5 alg=sha256 mgf1=sha224
54 # OAEP Example 6 alg=sha256 mgf1=sha224
83 # OAEP Example 1 alg=sha256 mgf1=sha224
88 # OAEP Example 2 alg=sha256 mgf1=sha224
93 # OAEP Example 3 alg=sha256 mgf1=sha224
98 # OAEP Example 4 alg=sha256 mgf1=sha224
[all …]
Doaep-sha384-sha256.txt29 # OAEP Example 1 alg=sha256 mgf1=sha384
34 # OAEP Example 2 alg=sha256 mgf1=sha384
39 # OAEP Example 3 alg=sha256 mgf1=sha384
44 # OAEP Example 4 alg=sha256 mgf1=sha384
49 # OAEP Example 5 alg=sha256 mgf1=sha384
54 # OAEP Example 6 alg=sha256 mgf1=sha384
83 # OAEP Example 1 alg=sha256 mgf1=sha384
88 # OAEP Example 2 alg=sha256 mgf1=sha384
93 # OAEP Example 3 alg=sha256 mgf1=sha384
98 # OAEP Example 4 alg=sha256 mgf1=sha384
[all …]
Doaep-sha384-sha512.txt29 # OAEP Example 1 alg=sha512 mgf1=sha384
34 # OAEP Example 2 alg=sha512 mgf1=sha384
39 # OAEP Example 3 alg=sha512 mgf1=sha384
44 # OAEP Example 4 alg=sha512 mgf1=sha384
49 # OAEP Example 5 alg=sha512 mgf1=sha384
54 # OAEP Example 6 alg=sha512 mgf1=sha384
83 # OAEP Example 1 alg=sha512 mgf1=sha384
88 # OAEP Example 2 alg=sha512 mgf1=sha384
93 # OAEP Example 3 alg=sha512 mgf1=sha384
98 # OAEP Example 4 alg=sha512 mgf1=sha384
[all …]
Doaep-sha384-sha224.txt29 # OAEP Example 1 alg=sha224 mgf1=sha384
34 # OAEP Example 2 alg=sha224 mgf1=sha384
39 # OAEP Example 3 alg=sha224 mgf1=sha384
44 # OAEP Example 4 alg=sha224 mgf1=sha384
49 # OAEP Example 5 alg=sha224 mgf1=sha384
54 # OAEP Example 6 alg=sha224 mgf1=sha384
83 # OAEP Example 1 alg=sha224 mgf1=sha384
88 # OAEP Example 2 alg=sha224 mgf1=sha384
93 # OAEP Example 3 alg=sha224 mgf1=sha384
98 # OAEP Example 4 alg=sha224 mgf1=sha384
[all …]
Doaep-sha512-sha512.txt29 # OAEP Example 1 alg=sha512 mgf1=sha512
34 # OAEP Example 2 alg=sha512 mgf1=sha512
39 # OAEP Example 3 alg=sha512 mgf1=sha512
44 # OAEP Example 4 alg=sha512 mgf1=sha512
49 # OAEP Example 5 alg=sha512 mgf1=sha512
54 # OAEP Example 6 alg=sha512 mgf1=sha512
83 # OAEP Example 1 alg=sha512 mgf1=sha512
88 # OAEP Example 2 alg=sha512 mgf1=sha512
93 # OAEP Example 3 alg=sha512 mgf1=sha512
98 # OAEP Example 4 alg=sha512 mgf1=sha512
[all …]
Doaep-sha256-sha1.txt29 # OAEP Example 1 alg=sha1 mgf1=sha256
34 # OAEP Example 2 alg=sha1 mgf1=sha256
39 # OAEP Example 3 alg=sha1 mgf1=sha256
44 # OAEP Example 4 alg=sha1 mgf1=sha256
49 # OAEP Example 5 alg=sha1 mgf1=sha256
54 # OAEP Example 6 alg=sha1 mgf1=sha256
83 # OAEP Example 1 alg=sha1 mgf1=sha256
88 # OAEP Example 2 alg=sha1 mgf1=sha256
93 # OAEP Example 3 alg=sha1 mgf1=sha256
98 # OAEP Example 4 alg=sha1 mgf1=sha256
[all …]
Doaep-sha224-sha1.txt29 # OAEP Example 1 alg=sha1 mgf1=sha224
34 # OAEP Example 2 alg=sha1 mgf1=sha224
39 # OAEP Example 3 alg=sha1 mgf1=sha224
44 # OAEP Example 4 alg=sha1 mgf1=sha224
49 # OAEP Example 5 alg=sha1 mgf1=sha224
54 # OAEP Example 6 alg=sha1 mgf1=sha224
83 # OAEP Example 1 alg=sha1 mgf1=sha224
88 # OAEP Example 2 alg=sha1 mgf1=sha224
93 # OAEP Example 3 alg=sha1 mgf1=sha224
98 # OAEP Example 4 alg=sha1 mgf1=sha224
[all …]

1234567891011