/external/tensorflow/tensorflow/python/ops/ |
D | stateful_random_ops.py | 139 def _get_counter_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 _get_state_size(alg): argument 149 if alg == RNG_ALG_PHILOX: 151 elif alg == RNG_ALG_THREEFRY: 154 raise ValueError("Unsupported algorithm id: %s" % alg) 157 def _check_state_shape(shape, alg): argument 158 if isinstance(alg, ops.Tensor) and not context.executing_eagerly(): [all …]
|
/external/openssh/ |
D | digest-libc.c | 48 int alg; member 118 ssh_digest_by_alg(int alg) in ssh_digest_by_alg() argument 120 if (alg < 0 || alg >= SSH_DIGEST_MAX) in ssh_digest_by_alg() 122 if (digests[alg].id != alg) /* sanity */ in ssh_digest_by_alg() 124 return &(digests[alg]); in ssh_digest_by_alg() 130 int alg; in ssh_digest_alg_by_name() local 132 for (alg = 0; alg < SSH_DIGEST_MAX; alg++) { in ssh_digest_alg_by_name() 133 if (strcasecmp(name, digests[alg].name) == 0) in ssh_digest_alg_by_name() 134 return digests[alg].id; in ssh_digest_alg_by_name() 140 ssh_digest_alg_name(int alg) in ssh_digest_alg_name() argument [all …]
|
D | digest-openssl.c | 46 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/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptSelfTest.c | 60 TPM_ALG_ID alg; in CryptRunSelfTests() local 64 for(alg = TPM_ALG_FIRST; alg <= TPM_ALG_LAST; alg++) in CryptRunSelfTests() 66 if(TEST_BIT(alg, *toTest)) in CryptRunSelfTests() 68 TPM_RC result = CryptTestAlgorithm(alg, toTest); in CryptRunSelfTests() 130 TPM_ALG_ID alg; in CryptIncrementalSelfTest() local 139 alg = toTest->algorithms[i]; in CryptIncrementalSelfTest() 142 if((alg > TPM_ALG_LAST) || !TEST_BIT(alg, g_implementedAlgorithms)) in CryptIncrementalSelfTest() 144 SET_BIT(alg, toTestVector); in CryptIncrementalSelfTest() 153 for(alg = TPM_ALG_FIRST; in CryptIncrementalSelfTest() 154 toDoList->count < MAX_ALG_LIST_SIZE && alg <= TPM_ALG_LAST; in CryptIncrementalSelfTest() [all …]
|
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/RSA/oaep-custom/ |
D | oaep-sha256-sha1.txt | 29 # 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 …]
|
D | oaep-sha512-sha1.txt | 29 # OAEP Example 1 alg=sha1 mgf1=sha512 34 # OAEP Example 2 alg=sha1 mgf1=sha512 39 # OAEP Example 3 alg=sha1 mgf1=sha512 44 # OAEP Example 4 alg=sha1 mgf1=sha512 49 # OAEP Example 5 alg=sha1 mgf1=sha512 54 # OAEP Example 6 alg=sha1 mgf1=sha512 83 # OAEP Example 1 alg=sha1 mgf1=sha512 88 # OAEP Example 2 alg=sha1 mgf1=sha512 93 # OAEP Example 3 alg=sha1 mgf1=sha512 98 # OAEP Example 4 alg=sha1 mgf1=sha512 [all …]
|
D | oaep-sha384-sha256.txt | 29 # 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 …]
|
D | oaep-sha1-sha224.txt | 29 # 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 …]
|
D | oaep-sha224-sha384.txt | 29 # 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 …]
|
D | oaep-sha256-sha256.txt | 29 # 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 …]
|
D | oaep-sha256-sha512.txt | 29 # 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 …]
|
D | oaep-sha384-sha384.txt | 29 # OAEP Example 1 alg=sha384 mgf1=sha384 34 # OAEP Example 2 alg=sha384 mgf1=sha384 39 # OAEP Example 3 alg=sha384 mgf1=sha384 44 # OAEP Example 4 alg=sha384 mgf1=sha384 49 # OAEP Example 5 alg=sha384 mgf1=sha384 54 # OAEP Example 6 alg=sha384 mgf1=sha384 83 # OAEP Example 1 alg=sha384 mgf1=sha384 88 # OAEP Example 2 alg=sha384 mgf1=sha384 93 # OAEP Example 3 alg=sha384 mgf1=sha384 98 # OAEP Example 4 alg=sha384 mgf1=sha384 [all …]
|
D | oaep-sha224-sha256.txt | 29 # 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 …]
|
D | oaep-sha1-sha512.txt | 29 # 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 …]
|
D | oaep-sha384-sha1.txt | 29 # 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 …]
|
D | oaep-sha224-sha1.txt | 29 # 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 …]
|
D | oaep-sha224-sha512.txt | 29 # 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 …]
|
D | oaep-sha512-sha384.txt | 29 # 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 …]
|
D | oaep-sha384-sha512.txt | 29 # 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 …]
|
D | oaep-sha512-sha224.txt | 29 # 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 …]
|
D | oaep-sha224-sha224.txt | 29 # 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 …]
|
D | oaep-sha384-sha224.txt | 29 # 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 …]
|
D | oaep-sha512-sha256.txt | 29 # 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 …]
|
D | oaep-sha1-sha384.txt | 29 # 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 …]
|
D | oaep-sha256-sha384.txt | 29 # 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 …]
|